:root{--ink:#22352e;--muted:#718078;--green:#254f3f;--green-dark:#193e30;--bg:#f6f7f2;--line:#e4e8df;--paper:#fff;--cream:#eef1c8;--amber:#a25a16;--danger:#ac3f30;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:15px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:9px;min-height:46px;padding:10px 16px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s}button:hover,.button:hover{text-decoration:none;filter:brightness(.96)}button:disabled{cursor:wait;opacity:.6}.primary{background:var(--green);color:white}.secondary{background:white;border-color:var(--line);color:var(--ink)}.cream{background:var(--cream);color:var(--green)}.danger{background:var(--danger);color:#fff}.small{padding:8px 12px;font-size:13px;min-height:44px}.wide{width:100%;justify-content:space-between}.link-button{border:0;background:none;color:var(--muted);font-size:13px;padding:8px}.icon-button{background:white;border:1px solid var(--line);min-width:46px;padding:8px}input:not([type=checkbox]),select,textarea{width:100%;min-height:48px;border:1px solid #d5ddd2;border-radius:8px;padding:11px 12px;background:white;color:var(--ink)}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #b6ce7c;outline-offset:2px}input[type=checkbox]{width:22px;height:22px;vertical-align:middle;accent-color:var(--green)}label{display:block;font-weight:600;font-size:13px;margin-bottom:7px}small{font-size:12px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin-bottom:0;font-weight:650}h2{font-size:19px;letter-spacing:-.4px;line-height:1.3;margin-bottom:8px}h3{font-size:15px;margin-bottom:4px}p{margin-bottom:12px}strong{font-weight:650}.muted{color:var(--muted)}.small-text{font-size:12px}.right{text-align:right}.grow{flex:1;min-width:0}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.5px;color:var(--muted);margin-bottom:12px}.eyebrow span{padding:0 7px;color:#b5bdb4}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 18px 16px;display:flex;flex-direction:column;z-index:40;overflow:auto}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:21px;letter-spacing:-.7px;color:var(--ink);white-space:nowrap}.brand:hover{text-decoration:none}.brand-icon{width:38px;height:38px;border-radius:11px;background:var(--green);display:grid;place-items:center;color:var(--cream);font-size:29px;letter-spacing:-4px;padding-right:4px}.sidebar .brand{margin-left:8px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#929d94;margin:30px 12px 12px}.sidebar nav>a{display:flex;align-items:center;gap:13px;min-height:44px;padding:9px 12px;border-radius:8px;margin-bottom:3px;font-size:19px;color:#63716a}.sidebar nav>a span{font-size:13px;font-weight:500}.sidebar nav>a:hover{background:#f5f7f1;text-decoration:none}.sidebar nav>a.active{background:#edf2e7;color:var(--green)}.sidebar nav>a.active span{font-weight:700}.sidebar-foot{margin-top:auto;padding:32px 10px 0;font-size:9px;color:var(--muted)}.sidebar-foot p{margin:7px 0 0}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7a9859;margin-right:4px}.workspace{margin-left:238px}.topbar{height:89px;background:#fff;border-bottom:1px solid var(--line);padding:18px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px}.location-picker{display:flex;align-items:center;gap:9px}.location-picker label{font-size:11px;color:var(--muted);margin:0}.location-picker select{width:auto;max-width:230px;border:none;background:#f4f6f0;font-weight:650;min-height:44px}.location-picker button{font-size:12px;min-height:40px;padding:8px}.identity{display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;width:35px;height:35px;border:1px solid #dce4d1;background:#eef1e0;color:#507243;border-radius:50%;font-weight:700;font-size:12px}.identity strong{display:block;font-size:12px}.identity small{display:block;font-size:10px;color:var(--muted)}.identity form{margin-left:8px}.menu-toggle,.mobile-bottom{display:none}main{padding:32px 38px 12px;max-width:1700px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:3px 0 28px}.account-link{font-size:11px;color:var(--muted)}.page-heading .eyebrow{margin-bottom:10px}.welcome{min-height:275px;border-radius:var(--radius);background:var(--green);color:white;padding:29px 34px;position:relative;overflow:hidden;display:flex;justify-content:space-between;margin-bottom:24px}.welcome h2{font-size:35px;font-weight:550;letter-spacing:-1.2px;line-height:1.17;margin:15px 0 13px}.welcome p{color:#c2d2c6;font-size:12px;margin-bottom:20px}.pill{display:inline-block;padding:5px 9px;background:#f0f2eb;color:#637060;border-radius:6px;font-size:10px;font-weight:600;line-height:1.2}.pill.light{color:#d8e4c7;background:#3e6350;font-size:8px;letter-spacing:1.3px}.welcome .button{font-size:12px;min-height:43px;gap:35px}.welcome-art{position:absolute;right:45px;bottom:0;width:340px;height:270px;pointer-events:none}.jar{position:absolute;border:2px solid #b6c48c;border-radius:12px 12px 30px 30px;background:repeating-linear-gradient(90deg,#b5bd83 0px,#b5bd83 4px,#c5ca9b 5px,#c5ca9b 11px);display:grid;place-items:center;transform:rotate(9deg);box-shadow:inset 0 -25px 35px #7d975e66,10px 15px 30px #173e2a77}.jar:before{content:'';position:absolute;top:-13px;width:105%;height:22px;background:#d0d1a9;border-radius:5px;border-top:4px solid #e4dfb8}.jar span{font-size:13px;line-height:1.2;letter-spacing:2px;color:#4c603c;border:1px solid #82946577;padding:25px 15px;background:#d8dcb080;text-align:center}.jar-one{height:177px;width:135px;right:140px;bottom:10px;transform:rotate(-10deg);z-index:2}.jar-two{height:215px;width:150px;right:4px;bottom:-17px;transform:rotate(12deg);background:repeating-linear-gradient(90deg,#ddb078 0px,#ddb078 4px,#dfbc8b 5px,#dfbc8b 11px);z-index:3;border-color:#c8ad7d}.jar-two span{color:#865a34;background:#efd9b499;font-size:11px;border-color:#b48c6777}.jar-two:before{background:#d1ba8f;border-color:#e3c99c}.art-leaf{position:absolute;width:55px;height:95px;background:#83975e;border-radius:0 90% 0 90%;transform:rotate(-38deg);right:92px;top:6px;z-index:2}.leaf-two{right:147px;top:20px;transform:rotate(20deg);height:75px;width:40px;background:#c2c886}.art-circle{height:245px;width:245px;border:1px solid #7d987366;position:absolute;border-radius:50%;top:5px;right:38px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:26px}.metrics.two{grid-template-columns:1fr 1fr}.metric{padding:20px 23px;background:white;border:1px solid var(--line);border-radius:var(--radius)}.metric-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:14px}.metric-label>span{background:#f1f4eb;border-radius:8px;width:30px;height:30px;display:grid;place-items:center;font-size:15px;color:#567446}.metric strong{display:block;font-size:30px;font-weight:650;letter-spacing:-.8px;line-height:1.2;margin-bottom:12px}.metric strong small{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}.metric>small,.metric>a{font-size:10px;color:var(--muted)}.metric>a{color:var(--green)}.metric-label .amber{color:var(--amber);background:#fff1df}.two-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;margin-bottom:24px;min-width:0}.two-columns .panel{margin-bottom:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-heading h2{font-size:16px;margin-bottom:5px}.section-heading p{font-size:10px;color:var(--muted);margin:0}.section-heading>a{font-size:10px;white-space:nowrap}.list-row{display:flex;align-items:center;gap:11px;min-height:65px;border-top:1px solid #edf0e8}.list-row strong{display:block;font-size:12px}.list-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.item-symbol{display:grid;place-items:center;flex:0 0 37px;height:37px;border-radius:9px;background:#f0f3e8;color:#657b4e;font-family:Georgia,serif;font-size:20px}.amber-text{color:var(--amber)}.shortcut{display:flex;gap:13px;align-items:center;padding:16px 0;border-top:1px solid #edf0e8;color:var(--ink)}.shortcut:hover{text-decoration:none;background:#fcfcf8}.shortcut strong{display:block;font-size:12px}.shortcut small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.shortcut>span:last-child{margin-left:auto;color:var(--muted)}.shortcut-icon{width:38px;height:38px;display:grid;place-items:center;font-size:21px;background:#edf2e4;border-radius:9px;color:#6a8152}.shortcut-icon.peach{background:#f9eddf;color:#b08b5d}.shortcut-icon.blue{background:#eaf0f0;color:#6d939a}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:normal}th{color:#809075;font-size:9px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:12px 14px;border-bottom:1px solid var(--line);background:#fafbf7}td{padding:16px 14px;border-bottom:1px solid #eef1e9;vertical-align:middle}td:first-child,th:first-child{padding-left:0}tr:last-child td{border-bottom:0}td strong{font-size:12px}td small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.pill.receive,.pill.count{background:#edf3e5;color:#607941}.pill.waste{background:#fcf0df;color:#9e6e34}.pill.transfer{background:#eaf0f3;color:#607c8e}.table-wrap table{min-width:600px}.page-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:20px 0;color:#83927e;font-size:10px;margin-top:30px}.page-footer span{font-size:9px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.toolbar>p{font-size:12px;margin:0}.actions,.inline-form{display:flex;align-items:center;gap:8px}.actions{flex-wrap:wrap}.inline-form input[type=number]{width:100px;min-height:44px;padding:8px}.inline-form label{margin:0}.inline-form select{min-width:140px}.filters{display:flex;gap:10px;align-items:center;margin-bottom:20px}.filters label{margin:0}.filters .search-label{flex:1}.filters .search-label input{padding-left:17px}.filters select{min-width:160px}.clear-filter{font-size:12px;padding:12px}.stocktake-banner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:23px 25px;background:#eaf0df;border:1px solid #dbe4cb;border-radius:var(--radius);margin-bottom:23px}.stocktake-banner h2{font-size:18px;margin-bottom:5px}.stocktake-banner p{font-size:12px;margin:0;color:#6e7f61}.stocktake-banner .eyebrow{color:#6e7f61;margin-bottom:6px}.count-list{display:grid;gap:12px}.count-card{border:1px solid var(--line);border-radius:13px;padding:21px 24px;background:white;display:flex;align-items:center;justify-content:space-between;gap:25px}.count-card.counted{border-left:4px solid #9eb582}.count-item{display:flex;align-items:center;gap:14px;flex:1;min-width:200px}.count-item small{color:var(--muted);font-size:10px}.count-item h2{font-size:16px;margin:2px 0 5px}.count-item p{font-size:11px;color:var(--muted);margin:0}.count-state{font-size:10px;color:#6b8653;margin-left:auto}.count-form{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;max-width:420px}.quantity-stepper{display:flex;align-items:center;border:1px solid #dbe2d3;border-radius:8px;overflow:hidden}.quantity-stepper button{border-radius:0;background:#f5f7f0;min-width:46px;font-size:22px;font-weight:400;padding:5px}.quantity-stepper label{display:flex;align-items:center;max-width:140px;margin:0}.quantity-stepper input{border:none;width:88px;min-height:46px;text-align:center;font-size:19px;padding:8px 2px;border-radius:0;-moz-appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button{-webkit-appearance:none}.quantity-stepper label>span:last-child{font-size:11px;color:var(--muted);padding-right:10px}.count-form>.primary{font-size:12px}.row-feedback{font-size:11px;flex-basis:100%;margin:0;text-align:right;color:#567343}.row-feedback:empty{display:none}.row-feedback.error{color:var(--danger)}.form-panel{max-width:760px;padding:28px}.form-intro{font-size:13px;color:var(--muted);margin-bottom:25px}.stack-form .field{margin-bottom:22px}.stack-form .field>label{margin-bottom:8px}.field div label{font-size:14px;font-weight:400;display:flex;gap:9px;align-items:center;margin-bottom:10px}.help{display:block;color:var(--muted);font-size:11px;margin-top:6px}.form-actions{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:24px;flex-wrap:wrap}.form-actions a{font-size:12px}.errorlist{padding-left:18px;color:var(--danger);font-size:12px}.invalid input{border-color:var(--danger)}.hint{color:var(--muted);font-size:11px;margin:18px 0}.delivery-header{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.delivery-line{display:grid;grid-template-columns:2fr 1fr 1fr 46px;align-items:end;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}#add-line{margin-top:18px}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.supplier-items{display:flex;gap:7px;flex-wrap:wrap}.supplier-card .section-heading{align-items:baseline}.supplier-card p{font-size:13px;color:var(--muted)}.location-illustration{font-size:45px;color:#7b9364;display:block;margin-bottom:15px}.location-card{padding:30px}.location-card h2{font-size:21px}.location-card p{font-size:12px}.danger-panel{background:#fff8f5;border:1px solid #f0ddd3;border-radius:var(--radius);padding:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.danger-panel h2{font-size:17px}.danger-panel p{font-size:12px;margin:0;color:#94746a}.audit-entry{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.audit-entry:last-child{border:0}.timeline-dot{flex:0 0 9px;height:9px;background:#b2c390;border-radius:50%;margin-top:6px}.audit-entry p{font-size:11px;color:var(--muted)}details{font-size:12px}summary{cursor:pointer;color:var(--green);padding:7px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-width:100%;background:#f7f8f2;border-radius:7px;padding:15px}.date-filter{display:flex;gap:12px;align-items:end}.date-filter label{margin:0;font-size:10px;color:var(--muted)}.date-filter input{margin-top:6px}.waste-reasons{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.waste-reasons>div{background:#f8f8f2;border-radius:9px;padding:18px}.waste-reasons span{font-size:11px;display:block;color:var(--muted);margin-bottom:10px}.waste-reasons strong{font-size:23px}.report-note{font-size:12px;color:var(--muted);max-width:900px;margin-bottom:24px}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;font-size:12px}.notice,#network-status,#form-alert{border:1px solid #d7e4c9;background:#eef6e7;color:#3b622e;border-radius:9px;padding:14px 18px;font-size:13px;margin-bottom:20px}.notice.error,#form-alert,#network-status{background:#fff0e9;border-color:#efc6b4;color:#9f3d23}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:13px}.empty>span{display:block;font-size:28px;color:#91a16d;margin:10px 0}.empty h3{color:var(--ink)}.empty p{font-size:12px;max-width:350px;margin:10px auto}.empty h2{color:var(--ink)}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;padding:14px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.login-main{padding:0;max-width:none}.login-layout{min-height:100svh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-story{background:var(--green);color:#eef4de;padding:40px 55px;display:flex;flex-direction:column;justify-content:space-between;min-height:730px}.login-story .brand{color:#eef4de}.login-story .brand-icon{background:#eef1c8;color:var(--green)}.login-story .eyebrow{color:#aec39e;font-size:9px}.login-story h1{font-size:65px;font-weight:500;letter-spacing:-3px;line-height:1.05;margin:23px 0}.login-story p{font-size:15px;color:#b9cbb9;max-width:310px;line-height:1.8}.login-story small{font-size:10px;color:#9fb698}.story-grid{border-top:1px solid #58705a;display:flex;gap:25px;margin-top:45px;padding-top:22px}.story-grid div{display:flex;flex-direction:column;gap:10px}.story-grid strong{font-family:Georgia,serif;color:#c3d199;font-size:26px;font-weight:400}.story-grid span{font-size:10px;color:#c3d0bd}.login-card{width:100%;max-width:490px;align-self:center;justify-self:center;padding:40px}.login-card h2{font-size:34px;margin:15px 0 10px;letter-spacing:-1px}.login-card>.muted{font-size:13px;margin-bottom:32px}.login-card label{margin-top:20px;font-size:12px}.login-card .primary{margin-top:25px}.secret-wrap{display:flex;gap:8px}.login-note{font-size:11px;line-height:1.9;color:var(--muted);background:#f7f8f3;border-radius:9px;padding:17px;margin:26px 0 20px}.login-note strong{color:var(--ink)}[hidden]{display:none!important}
@media(min-width:1500px){.welcome-art{right:100px}.welcome{min-height:300px}.welcome-art{height:280px}.welcome h2{font-size:40px}.welcome>div:first-child{z-index:4}.welcome p{font-size:14px}}
@media(max-width:1180px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.sidebar .brand{font-size:18px;gap:8px}.workspace{margin-left:205px}main{padding:26px 24px 12px}.topbar{padding:18px 24px}.welcome-art{right:12px;transform:scale(.8);transform-origin:bottom right}.welcome h2{font-size:30px}.welcome>div:first-child{position:relative;z-index:5}.two-columns{grid-template-columns:1fr 1fr;gap:16px}.panel{padding:20px}.count-card{flex-direction:column;align-items:stretch;gap:17px}.count-form{max-width:none}.count-item{min-width:0}.count-form>.primary{flex:0 0 120px}.quantity-stepper{flex:1}.quantity-stepper label{max-width:none;flex:1;justify-content:center}.identity form{margin-left:0}.location-picker label{display:none}.metric{padding:18px}.metric strong{font-size:26px}.metric-label{font-size:10px}}
@media(max-width:900px){.two-columns{grid-template-columns:1fr}.welcome-art{opacity:.5}.welcome p{max-width:260px}.identity strong,.identity small{display:none}.toolbar{align-items:flex-start;flex-wrap:wrap}.actions{gap:7px}.date-filter{flex-wrap:wrap}.login-story{padding:35px}.login-story h1{font-size:48px}.story-grid{gap:15px}.story-grid span{font-size:9px}}
@media(max-width:700px){:root{font-size:15px}.sidebar{display:none;width:270px;top:72px;bottom:64px;box-shadow:20px 0 40px #1c312c33}.sidebar.open{display:flex}.sidebar .brand{display:none}.sidebar .nav-label:first-of-type{margin-top:4px}.sidebar nav>a{min-height:48px}.sidebar nav>a span{font-size:14px}.sidebar-foot{padding-top:20px}.workspace{margin:0}.topbar{height:72px;padding:12px 16px;position:sticky;top:0;z-index:30;gap:10px}.menu-toggle{display:flex;min-width:42px;min-height:44px}.location-picker{flex:1;gap:5px;min-width:0}.location-picker select{padding:9px 7px;width:100%;max-width:none;font-size:12px;min-width:0}.location-picker .small{display:none}.location-picker:focus-within .small{display:flex;min-width:38px;padding:4px;font-size:10px}.identity{gap:2px}.identity .avatar{display:none}.identity .link-button{font-size:11px;padding:5px;min-height:44px}main{padding:23px 16px 80px}.page-heading{margin:0 0 22px;align-items:flex-start;gap:10px}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:8px;letter-spacing:1px;max-width:230px}.account-link{font-size:9px;max-width:70px;text-align:right;padding-top:3px}.welcome{padding:24px 22px;min-height:268px;margin-bottom:16px;border-radius:13px}.welcome h2{font-size:30px;margin-top:18px}.welcome p{font-size:11px;max-width:220px}.welcome-art{right:-12px;transform:scale(.55);opacity:.4}.welcome .pill{font-size:7px}.metrics{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:18px}.metrics .metric:last-child:nth-child(3){display:none}.metric{border-radius:12px;padding:16px 13px}.metric-label{font-size:9px;margin-bottom:12px;gap:5px}.metric-label>span{width:23px;height:23px;font-size:12px;flex-shrink:0}.metric strong{font-size:26px;margin-bottom:10px}.metric strong small{font-size:11px}.metric>small,.metric>a{font-size:9px}.two-columns{gap:16px;margin-bottom:16px}.panel{border-radius:13px;padding:18px;margin-bottom:16px}.section-heading h2{font-size:16px}.section-heading p{font-size:10px}.section-heading>a{font-size:10px}.list-row{min-height:74px}.list-row strong{font-size:13px}.list-row small{font-size:10px}.item-symbol{height:40px;flex-basis:40px}.shortcut{min-height:85px}.shortcut strong{font-size:13px}.shortcut small{font-size:11px}.toolbar{gap:14px;margin-bottom:18px}.toolbar>p{font-size:12px}.toolbar .button{font-size:12px}.filters{gap:8px;flex-wrap:wrap;margin-bottom:16px}.filters .search-label{flex-basis:100%}.filters label:nth-of-type(2){flex:1}.filters select{min-width:100px}.filters .secondary{min-width:64px}.clear-filter{font-size:11px}.stocktake-banner{padding:20px;flex-direction:column;align-items:stretch;gap:16px}.stocktake-banner button{width:100%}.stocktake-banner p{font-size:12px}.stocktake-banner h2{font-size:18px}.count-card{padding:18px 16px;gap:18px}.count-item h2{font-size:17px}.count-item p{font-size:12px}.count-state{font-size:10px}.count-form{gap:10px}.count-form>.primary{flex:0 0 100px;padding:12px 9px;min-height:52px;font-size:12px}.quantity-stepper button{min-height:52px;min-width:43px}.quantity-stepper input{width:60px;min-height:52px;font-size:21px}.quantity-stepper label>span:last-child{font-size:10px;padding-right:6px}.quantity-stepper{flex:1}.row-feedback{text-align:left;font-size:12px}.form-panel{padding:22px 18px}.stack-form .field{margin-bottom:23px}.stack-form input,.stack-form select{font-size:16px}.form-actions{gap:14px}.form-actions>.primary{width:100%}.form-actions>.secondary{width:100%}.delivery-header{grid-template-columns:1fr;gap:20px}.delivery-line{grid-template-columns:1fr 1fr 44px;gap:12px;padding:18px 0}.delivery-line>div:first-child{grid-column:1 / -1}.delivery-line .remove-line{grid-column:3;grid-row:2}.delivery-line>div:nth-child(2){grid-column:1}.delivery-line>div:nth-child(3){grid-column:2}.supplier-grid{grid-template-columns:1fr;gap:0}.supplier-card .section-heading>a{font-size:12px}.danger-panel{flex-direction:column;align-items:stretch;padding:20px}.danger-panel button{width:100%}.date-filter{gap:10px;width:100%}.date-filter label{flex:1;min-width:130px}.date-filter button{width:100%}.waste-reasons{grid-template-columns:1fr 1fr;gap:10px}.waste-reasons>div{padding:15px}.waste-reasons strong{font-size:23px}.audit-entry{gap:14px}.audit-entry p{line-height:1.7}.page-footer{font-size:9px;padding:18px 0;margin-top:25px}.mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--line);z-index:50;padding:6px 5px max(6px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #254f3f05}.mobile-bottom a,.mobile-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:56px;min-height:48px;color:#7d8c72;font-size:20px;background:none;padding:0;border:0;line-height:1.2}.mobile-bottom span{font-size:9px}.mobile-bottom a.active{color:var(--green);font-weight:700}.login-layout{display:block;min-height:100svh}.login-story{min-height:0;padding:25px 25px 30px}.login-story .brand{font-size:21px}.login-story>div{padding-top:30px}.login-story .eyebrow{font-size:8px}.login-story h1{font-size:39px;letter-spacing:-1.7px;margin:15px 0 0}.login-story p,.story-grid,.login-story>small{display:none}.login-card{max-width:500px;padding:34px 25px}.login-card h2{font-size:29px}.login-card>.eyebrow{font-size:9px}.login-card input{font-size:16px}.login-card>.muted{margin-bottom:24px}.login-note{margin:23px 0 20px}.login-main{padding:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Supplier selection uses native checkboxes on phones and keyboards. */
.supplier-filter{position:relative;min-width:190px;flex-shrink:0}
.supplier-filter>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 13px;border:1px solid #d5ddd2;border-radius:8px;background:white;color:var(--ink);font-size:13px;list-style:none}
.supplier-filter>summary::-webkit-details-marker{display:none}
.supplier-filter>summary::after{content:'▾';color:var(--muted)}
.supplier-filter[open]>summary{outline:2px solid #b6ce7c;outline-offset:1px}
.supplier-filter>summary:focus-visible{outline:3px solid #b6ce7c;outline-offset:2px}
.supplier-options{position:absolute;top:calc(100% + 7px);right:0;z-index:20;width:300px;max-width:calc(100vw - 32px);max-height:min(360px,60vh);overflow:auto;padding:14px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #22352e22}
.supplier-options>p,.supplier-options fieldset>p{font-size:11px;color:var(--muted);margin:0 0 10px}
.supplier-options fieldset{border:0;padding:0;margin:0}
.supplier-options .supplier-option{display:flex;align-items:center;gap:11px;min-height:48px;padding:9px 4px;margin:0;font-size:14px;font-weight:400;cursor:pointer;overflow-wrap:anywhere}
.supplier-option input{flex-shrink:0;margin:0}
@media(max-width:700px){.supplier-filter{min-width:0;flex:1 1 100%}.supplier-options{left:0;right:auto;width:100%}.supplier-filter>summary{font-size:14px}}

.invoice-line{border:1px solid var(--line);border-radius:12px;padding:20px;margin:18px 0;background:#fcfdf9}
.invoice-source{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:16px}.invoice-source strong{font-size:10px;text-transform:uppercase;letter-spacing:.6px}.invoice-source p{margin:6px 0 0}
.invoice-line-grid{display:grid;grid-template-columns:1fr 1.6fr 1fr 1fr;gap:14px}.invoice-new-fields{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.invoice-confirm{padding:20px;border:1px solid #dae4ca;background:#f3f7ec;border-radius:10px;margin-top:24px}.invoice-confirm label{display:flex;gap:12px;align-items:flex-start;font-size:13px;font-weight:400;line-height:1.6;margin:0}.invoice-confirm input{flex-shrink:0;margin-top:3px}
.invoice-text{max-height:340px;overflow:auto}.invoice-line label{font-size:11px}.invoice-line input,.invoice-line select{font-size:14px}
@media(max-width:900px){.invoice-line-grid{grid-template-columns:1fr 1fr}.invoice-new-fields{grid-template-columns:1fr}}
@media(max-width:700px){.invoice-line{padding:17px 14px}.invoice-line-grid{grid-template-columns:1fr}.invoice-line input,.invoice-line select{font-size:16px}.invoice-confirm{padding:16px}}
