*{box-sizing:border-box}body{margin:0;background:#f5f6f3;color:#25282e;font:15px 'Segoe UI',Arial,sans-serif}aside{width:235px;background:#25282e;color:#fff;position:fixed;inset:0 auto 0 0;padding:34px 22px}.brand{font-size:27px;font-weight:700;letter-spacing:-1px}aside small{display:block;color:#9299a4;font-size:10px;letter-spacing:2px;margin:15px 0 40px}nav button{display:block;width:100%;text-align:left;background:none;color:#cdd1d8;border:0;margin:7px 0;padding:14px}nav button.active{background:#25282e;color:white}button,.button{cursor:pointer;border:1px solid #e8eaee;border-radius:7px;background:white;color:#25282e;font:inherit;padding:10px 15px;display:inline-block}button:hover,.button:hover{filter:brightness(.96)}.asidefoot{position:absolute;bottom:30px;font-size:12px;line-height:1.8;color:#cdd1d8}.asidefoot span{font-size:10px;color:#9299a4}main{margin-left:235px;padding:0 42px 24px;max-width:1700px}header{height:93px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eaee;color:#626975;font-size:13px}.title{display:flex;justify-content:space-between;align-items:center;margin:35px 0 25px}h1{font-size:32px;margin:5px 0 10px;letter-spacing:-1px}h2{font-size:19px;margin:0 0 20px}p{line-height:1.6}.muted{color:#626975;font-size:13px}.eyebrow{font-size:11px;letter-spacing:2px;color:#626975;text-transform:uppercase}.primary{background:#25282e;color:white;border-color:#25282e}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:25px 0}.stat,.panel{background:#fff;border:1px solid #e8eaee;border-radius:12px;padding:24px}.stat small{color:#626975}.stat strong{font-size:31px;display:block;margin:13px 0 6px}.stat em{font-size:12px;font-style:normal;color:#9299a4}.accent{background:#e8eaee}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.panel{margin-bottom:22px}.row{display:flex;justify-content:space-between;align-items:center;gap:16px}.product{border-top:1px solid #e8eaee;padding:22px 0 5px}.pill{font-size:11px;padding:5px 9px;border-radius:20px;background:#e8eaee;color:#626975}.warn{color:#ae682d;background:#fff3e2}.bar{background:#e8eaee;border-radius:9px;height:7px;margin:15px 0 10px;overflow:hidden}.bar i{display:block;height:100%;background:#626975}.numbers{font-size:12px;color:#626975}.material{padding:18px 0;border-top:1px solid #e8eaee}.material strong{font-size:23px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:#626975;font-size:11px;font-weight:500;background:#f7f9f4}td,th{padding:14px 10px;border-bottom:1px solid #e8eaee}label{display:block;font-size:12px;color:#626975;margin-bottom:16px}input,select{display:block;width:100%;border:1px solid #e8eaee;border-radius:6px;padding:11px;font:inherit;color:#25282e;background:#fff;margin-top:6px}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 20px}.actions{display:flex;justify-content:flex-end;gap:10px}dialog{width:470px;max-width:95vw;border:0;border-radius:14px;padding:30px;color:#25282e}dialog::backdrop{background:#25282e70}footer{color:#9299a4;font-size:11px;margin-top:25px;line-height:1.8}#toast{position:fixed;bottom:25px;right:25px;background:#25282e;color:white;border-radius:9px;padding:16px;display:none}.button{margin:0}.empty{padding:25px;color:#626975}.note{background:#e8eaee;padding:16px;border-radius:8px;font-size:12px;line-height:1.7}a{color:inherit}@media(max-width:1050px){aside{width:190px;padding:25px 12px}main{margin-left:190px;padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}}@media(max-width:650px){aside{position:static;width:100%;padding:18px}.brand{font-size:22px}aside small,.asidefoot{display:none}nav{display:flex;overflow:auto;margin-top:12px}nav button{white-space:nowrap;padding:9px;font-size:12px}main{margin:0;padding:0 16px}.title{align-items:flex-start;gap:10px}h1{font-size:26px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.formgrid{grid-template-columns:1fr}.panel{padding:18px;overflow:auto}header{height:80px;gap:8px}header button,.button{font-size:12px;padding:8px}.title button{font-size:12px}}
main{max-width:none}nav button{font-size:14px}.tablewrap{overflow-x:auto;max-width:100%;margin:8px 0 16px}table{min-width:700px}th{white-space:nowrap}td{vertical-align:top;min-width:88px}td:first-child{min-width:140px}td small{font-size:11px;color:#626975;line-height:1.8}.short{color:#a65d25;background:#fff8ed}.voided{opacity:.55}.voided td:first-child::after{content:' · tühistatud';font-size:10px}input:focus,select:focus{outline:2px solid #9299a4;outline-offset:1px}.formgrid{margin-top:16px}.note{margin-top:18px}.panel>h2{margin-top:2px}.row h2{margin:0}#usagePreview,#stockPreview{line-height:1.8}.tablewrap button{font-size:12px;padding:7px 10px}.actions{margin-top:20px}.formgrid label{font-size:13px}.title{margin-top:30px}.stats strong{font-variant-numeric:tabular-nums}main footer{padding-bottom:15px}@media(min-width:1600px){.formgrid{grid-template-columns:repeat(4,1fr)}}@media(max-width:650px){.row{align-items:flex-start;flex-wrap:wrap}.tablewrap{margin-right:-3px}nav button{font-size:12px}.stats strong{font-size:23px}}
[hidden]{display:none!important}aside{overflow-y:auto}.asidefoot{position:static;margin-top:36px;padding-bottom:10px}header>div{display:flex;align-items:center;gap:8px;flex-shrink:0}.button{white-space:nowrap}@media(max-width:1050px){.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.formgrid{grid-template-columns:1fr}.asidefoot{display:none}}

/* Top navigation: full-width workspace. */
aside{position:sticky;top:0;inset:auto;width:100%;height:auto;overflow:visible;z-index:20;display:flex;align-items:center;flex-wrap:wrap;gap:12px 30px;padding:16px 28px;box-shadow:0 2px 12px #25282e15}.brand{font-size:25px;white-space:nowrap}aside>small{display:none}aside nav{display:flex;flex-wrap:wrap;gap:6px;flex:1}nav button{display:inline-flex;width:auto;align-items:center;white-space:nowrap;margin:0;padding:11px 13px;font-size:14px}.asidefoot{display:none}main{margin-left:0;padding:0 28px 28px;max-width:1800px;margin-right:auto;margin-left:auto}header{height:75px}.stock-actions{display:flex;gap:6px;flex-wrap:wrap}.stock-actions button{white-space:nowrap}.tablewrap{overflow-x:auto}th{white-space:normal}label input,label select{min-width:0}.formgrid label{min-width:0}#toast{z-index:40}@media(max-width:1050px){aside{width:100%;padding:14px 20px;gap:12px}main{margin:0;padding:0 20px 24px}nav button{font-size:13px;padding:9px 10px}aside nav{flex-basis:100%;margin:0}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){aside{position:static;padding:15px 12px}.brand{font-size:23px}aside nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}nav button{font-size:12px;flex-shrink:0}main{padding:0 12px 20px}.formgrid{grid-template-columns:1fr}header{height:75px}.actions{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

button.danger{background:#fff1ed;color:#a13927;border-color:#efcfc6}nav button{padding:10px 11px}aside{gap:10px 20px}

.new-stock-fields{display:contents}.new-stock-fields[hidden]{display:none!important}

.extra-recipe-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end;border-bottom:1px solid #e8eaee;padding:10px 0}.extra-recipe-row>button{margin-bottom:16px}@media(max-width:700px){.extra-recipe-row{grid-template-columns:1fr 1fr}}

.receipt-photo-field{grid-column:1/-1}.receipt-photo-field small{display:block;margin:8px 0;color:#626975}.receipt-photo-previews{display:flex;flex-wrap:wrap;gap:12px}.receipt-photo-previews>div{width:150px;border:1px solid #e8eaee;padding:8px;border-radius:8px}.receipt-photo-previews img{width:100%;height:130px;object-fit:contain}.receipt-photo-previews small{overflow-wrap:anywhere}.receipt-image-dialog{width:min(1000px,95vw);max-height:94vh;overflow:auto}.receipt-image-dialog>img,.receipt-image-dialog video{display:block;max-width:100%;max-height:70vh;margin:18px auto}.receipt-photo-field .button{font-size:14px}

.ean-scan-panel{background:#e8eaee;border:1px solid #cdd1d8;padding:20px;border-radius:10px;margin-bottom:24px}.ean-scan-panel>label{font-size:16px;font-weight:600}.ean-scan-panel input{font-size:21px;letter-spacing:2px}.ean-scan-panel p{font-size:13px;margin-bottom:0;line-height:1.7}

.excel-check{display:flex;align-items:center;gap:10px;font-size:14px}.excel-check input{width:18px;height:18px;margin:0}button:disabled{cursor:default;opacity:.45}#excelPreview{margin-top:24px}nav{min-width:0}

.shipping-pack-panel{border:1px solid #cdd1d8;background:#e8eaee;padding:20px;border-radius:10px;margin:20px 0}.shipping-pack-panel small{display:block;line-height:1.7;color:#626975}input[readonly]{background:#e8eaee;font-weight:600}

.delivery-client-panel{border:1px solid #e8eaee;border-radius:10px;padding:20px;margin-bottom:20px;background:#e8eaee}

.auth-panel{max-width:540px;margin:55px auto}.permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px;margin:20px 0}#accountBadge{font-size:12px;display:flex;gap:10px;align-items:center}#accountBadge:empty{display:none}header{height:auto;min-height:75px;flex-wrap:wrap;padding:12px 0;gap:12px}@media(max-width:650px){.permissions-grid{grid-template-columns:1fr}}

.food-recipe-line{border-bottom:1px solid #e8eaee;padding:12px 0}.food-recipe-line button{align-self:end}.food-recipe-line input,.food-recipe-line select{min-width:0}#foodProductionUsage input{min-width:90px;width:110px}#foodProductionUsage select{max-width:290px}#foodImportPreviewForm td select{max-width:260px}#foodImportPreviewForm td input{width:110px}
/* Compact production overview; material detail is expanded only on request. */
.production-plan-wrap{overflow-x:auto;max-width:100%}.production-plan{width:100%;min-width:0;table-layout:fixed;font-size:12px}.production-plan th,.production-plan td{min-width:0!important;white-space:normal;overflow-wrap:anywhere;padding:10px 6px;line-height:1.45}.production-plan th{font-size:11px;vertical-align:bottom}.production-plan td small{font-size:11px;line-height:1.45}.production-plan .stock-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}.production-plan .stock-actions button{font-size:12px;padding:7px 5px;white-space:normal;min-width:0;width:100%}.production-plan th:last-child,.production-plan td:last-child{position:sticky;right:0;background:#fff;z-index:1;box-shadow:-3px 0 5px #25282e0a}.production-plan th:last-child{background:#e8eaee;z-index:2}.plan-materials summary{cursor:pointer;font-weight:600;line-height:1.5}.plan-materials summary::marker{color:#626975}.plan-materials .plan-shortage{display:block;color:#a65d25;font-weight:400}.plan-material-list{max-height:280px;overflow:auto;margin-top:8px}.plan-material-list>div{padding:6px 4px;border-bottom:1px solid #e8eaee}.plan-material-list b{font-size:11px;font-weight:500}.plan-material-list small{display:block}.production-plan .plan-material-list .short{background:#fff8ed}
@media(max-width:1100px){.production-plan{min-width:940px}.production-plan th:last-child,.production-plan td:last-child{width:110px}}

.cost-detail-row[hidden]{display:none!important}.cost-detail-row>td{background:#e8eaee!important;padding:18px!important;position:static!important}.cost-detail-row form{margin:10px 0}.cost-warning{color:#b42318!important;background:#fff1ef;padding:5px;border-radius:4px}.cost-ok{color:#25282e}.cost-detail-row details{padding:8px;border-bottom:1px solid #cdd1d8}.cost-detail-row summary{cursor:pointer}.cost-detail-row .formgrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}

.production-action-menu{width:100%}.production-action-menu>summary{cursor:pointer;list-style:none;text-align:center;border:1px solid #e8eaee;border-radius:8px;background:#fff;font-size:20px;line-height:24px;min-height:30px;user-select:none}.production-action-menu>summary::-webkit-details-marker{display:none}.production-action-menu>summary:hover{background:#e8eaee}.production-action-menu[open]>summary{background:#e8eaee}.production-action-list{display:flex;flex-direction:column;gap:5px;margin-top:5px;padding:5px;border:1px solid #e8eaee;border-radius:8px;background:#fff}.production-action-menu:not([open])>.production-action-list{display:none}

/* Preview only: charcoal/neutral grey, readable light workspace. */
:root{color-scheme:light}body{background:#f0f1f3;color:#25272c}aside{background:#111215;color:#fff;gap:12px 22px;padding:14px 26px;border-bottom:1px solid #33363b;box-shadow:0 4px 20px #00000012}.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:170px;font-size:23px;letter-spacing:-.6px}.brand img{display:block;width:178px;height:59px;object-fit:contain}.brand span{margin-top:-8px}.asidefoot{color:#b7bac2}aside nav{gap:5px}nav button{color:#c9cbd1;background:transparent;border:1px solid transparent;padding:10px 11px;font-size:13px;border-radius:8px}nav button.active{background:#34363b;color:#fff;border-color:#50535b}nav button:hover{background:#26282e;color:#fff;filter:none}.primary{background:#191b20;border-color:#191b20;color:#fff}.primary:hover{background:#30333a;filter:none}button,.button{color:#292c32;border-color:#d4d6dc;background:#fff}button.primary{color:#fff;background:#191b20;border-color:#191b20}button.danger{background:#fff3f2;color:#a92c24;border-color:#efcfcb}main{max-width:1800px}header{color:#656a75;border-color:#d9dce2}.eyebrow{color:#6b707b}.muted,td small,.stat small,.stat em,footer{color:#6a6f7a}h1,h2,h3{color:#202329}.stat,.panel{background:#fff;border-color:#dfe1e6;box-shadow:0 2px 3px #15182003}.stat.accent{background:#e2e4e9;border-color:#d7d9df}.stat.accent strong{color:#1c1f25}.note{background:#eceef1;color:#4c515c}.pill,.bar{background:#e5e7eb;color:#535966}.bar i{background:#616775}th{background:#eceef1;color:#565d69}td,th{border-bottom-color:#e4e6ea}label{color:#555d69}input,select{color:#252a33;background:#fff;border-color:#cdd1d8}input:focus,select:focus{outline-color:#707889}.production-plan th:last-child{background:#eceef1}.production-plan .plan-material-list .short,.short{background:#fff5eb;color:#985321}.production-plan td:last-child{background:#fff}.cost-detail-row>td{background:#f0f1f4!important}.production-action-menu>summary{border-color:#d0d3da;color:#3d4350}.production-action-menu>summary:hover,.production-action-menu[open]>summary{background:#e9ebef}.production-action-list{border-color:#d0d3da}.cost-ok{color:#25282e}#toast{background:#17191e}.preview-badge{padding:6px 11px;border-radius:20px;background:#e7e9ee;color:#5a606b;font-size:12px}@media(max-width:650px){.brand{flex-direction:column;gap:0;min-width:0}.brand img{width:140px;height:45px}.brand span{margin:0}}

/* 365JP accent is reserved for save/confirm actions. */
.brand{min-width:280px}.brand .brand-logos{display:flex;align-items:center;gap:12px}.brand img.brand-logo-365{width:122px;height:50px;object-fit:contain;background:#000;border-radius:4px}.brand img.brand-logo-mre{width:160px;height:55px;object-fit:contain}.brand span{margin-top:-5px}button[data-save-action]{background:#00afc5!important;border-color:#0099ad!important;color:#09262d!important;font-weight:400}button[data-save-action]:hover{background:#16bdd0!important}button[data-save-action]:focus-visible{outline:3px solid #008396;outline-offset:3px}@media(max-width:650px){.brand{min-width:0}.brand .brand-logos{gap:12px}.brand img.brand-logo-365{width:112px;height:47px}.brand img.brand-logo-mre{width:148px;height:50px}}

/* Bright red action and warning accents, preview only. */
button.danger{background:#e21e2b!important;border-color:#e21e2b!important;color:#fff!important;font-weight:400}button.danger:hover{background:#bf1420!important;border-color:#bf1420!important;filter:none}button.danger:focus-visible{outline:3px solid #ff8790;outline-offset:3px}.short,.cost-warning,.warn,.production-plan .plan-material-list .short{color:#ba1020!important;background:#fff0f1!important}.plan-shortage{color:#cf1425!important}.cost-warning{border-left:3px solid #e21e2b}

/* Stacked brand marks and brighter 365JP save accent, preview only. */
.brand{min-width:180px}.brand .brand-logos{flex-direction:column;gap:0;align-items:center}.brand img.brand-logo-365{width:170px;height:60px;background:transparent!important;border-radius:0}.brand img.brand-logo-mre{width:180px;height:55px}.brand span{margin-top:-4px}button[data-save-action]{background:#00c5e3!important;border-color:#00b2cf!important;color:#06232a!important}button[data-save-action]:hover{background:#20d3ed!important}@media(max-width:650px){.brand{min-width:180px}.brand .brand-logos{gap:0}.brand img.brand-logo-365{width:160px;height:56px}.brand img.brand-logo-mre{width:174px;height:53px}}

/* Preserve exact original logo pixels; screen blending removes black on the dark header. */
.brand img.brand-logo-365{mix-blend-mode:screen;clip-path:inset(8%);background:transparent!important}.brand .brand-logos{isolation:auto}

/* Same typography and geometry as the other buttons; only the colors differ. */
button[data-save-action],button.danger{font-family:inherit!important;font-size:inherit!important;font-weight:400!important;letter-spacing:normal!important;border-radius:7px!important;text-transform:none!important}.tablewrap button[data-save-action],.tablewrap button.danger{font-size:12px!important}.production-plan button[data-save-action],.production-plan button.danger{font-size:12px!important}

button[data-save-action],button[data-save-action]:hover,button[data-save-action]:focus{color:#000000!important}

/* Shared across admin, production and warehouse previews. */
:root{--save-bg:#20d3ed;--save-hover:#65e6f7;--save-text:#000000;--danger-bg:#e21e2b;--danger-hover:#bf1420}button[data-save-action],button[data-save-action]:focus,form button.primary:not([type="button"]){background:var(--save-bg)!important;border-color:#00bad5!important;color:var(--save-text)!important;font-family:inherit!important;font-weight:400!important;filter:none!important}button[data-save-action]:hover,form button.primary:not([type="button"]):hover{background:var(--save-hover)!important;border-color:#23cde5!important;color:#000!important;filter:none!important}button.danger{background:var(--danger-bg)!important;border-color:var(--danger-bg)!important;color:#fff!important;font-weight:400!important}button.danger:hover{background:var(--danger-hover)!important;color:#fff!important}nav button{color:#c9cbd1!important;background:transparent!important}nav button.active{color:#fff!important;background:#34363b!important}nav button:hover{color:#fff!important;background:#26282e!important}

/* Compact branding; orange is reserved for material shortage. */
.brand{min-width:150px;font-size:21px;line-height:1.15}.brand .brand-logos{gap:0}.brand img.brand-logo-365{width:142px;height:44px}.brand img.brand-logo-mre{width:150px;height:40px}.brand span{margin-top:-4px}aside{padding-top:10px;padding-bottom:10px;gap:10px 20px}.short,.production-plan .plan-material-list .short{background:#fff0d4!important;color:#963500!important;border-left:3px solid #ff7900}.plan-shortage,.production-plan .plan-materials .plan-shortage{display:inline-block;background:#ff7900!important;color:#181000!important;padding:2px 7px;border-radius:5px;font-weight:600!important;margin-top:3px}.short summary,.short b{color:#963500!important}.cost-warning{color:#ba1020!important;background:#fff0f1!important;border-left:3px solid #e21e2b}@media(max-width:650px){.brand{min-width:150px;font-size:20px}.brand img.brand-logo-365{width:138px;height:42px}.brand img.brand-logo-mre{width:146px;height:38px}.brand span{margin-top:-4px}}

/* Orange disclosure arrows for shortage details, including native markers. */
.plan-materials>summary::marker,.production-plan .plan-materials>summary::marker,.short summary::marker,summary.plan-shortage::marker{color:#ff7900!important}.plan-materials>summary::-webkit-details-marker,.production-plan .plan-materials>summary::-webkit-details-marker,.short summary::-webkit-details-marker,summary.plan-shortage::-webkit-details-marker{color:#ff7900!important}

.finished-search-results{grid-column:1/-1;background:#f0f1f4;border:1px solid #d4d7dd;border-radius:8px;padding:10px;max-height:320px;overflow:auto}.finished-search-results>button{display:block;text-align:left;width:100%;margin:5px 0;background:#fff}.finished-search-results small{display:block;color:#626975;line-height:1.6}.finished-search-results p{margin:3px 0 8px}.permissions-grid input:disabled{opacity:.65}

.picking-dialog{width:min(1200px,94vw);max-height:90vh;overflow:auto;border:1px solid #999;border-radius:12px;padding:24px;background:#fff;color:#111}.picking-dialog::backdrop{background:#0007}.picking-dialog input[type=number]{min-width:100px;max-width:180px}.picking-dialog small[data-pick-warning]{display:block;color:#b84200}

.document-operator-pair{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(200px,1fr);gap:24px;grid-column:1/-1;align-items:start}.movement-operator-box{padding:18px;border:1px solid #d2d6d8;border-radius:8px;background:#f3f4f5}.movement-operator-box input[readonly]{font-weight:600;color:#000;background:#fff}.document-operator-pair .receipt-photo-field{grid-column:auto}@media(max-width:650px){.document-operator-pair{grid-template-columns:1fr}}

.priority-toolbar{padding:12px;margin:12px 0;background:#f1f1f1;border-radius:8px}.priority-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-bottom:7px}.priority-controls button{padding:5px 9px;min-width:30px}.priority-controls label{display:flex;gap:4px;align-items:center;font-size:13px;margin:0}.priority-controls input{width:auto}.priority-grip{touch-action:none;cursor:grab}.priority-dragging{outline:3px solid #20d3ed;background:#e8faff}.priority-badge{display:inline-block;background:#ff8a00;color:#111;padding:4px 7px;border-radius:4px;font-weight:700}.priority-notice{margin-top:8px;display:grid;gap:5px}.priority-notice small{white-space:normal}

.priority-reordering,.priority-reordering *{user-select:none!important;cursor:grabbing!important}.production-plan tr[data-priority-product]>td{cursor:grab}.production-plan tr[data-priority-product] button,.production-plan tr[data-priority-product] input,.production-plan tr[data-priority-product] summary{cursor:pointer}

.recipe-section{margin:14px 0;border:1px solid #c8c8c8;border-radius:10px;background:#fff;overflow:hidden}.recipe-section>summary{padding:16px 18px;display:flex;gap:12px;align-items:center;cursor:pointer;font-weight:600;color:#161616;list-style:none;background:#f3f3f3}.recipe-section>summary::-webkit-details-marker{display:none}.recipe-section>summary:before{content:'›';font-size:25px;line-height:1;flex:0 0 auto;color:#161616}.recipe-section[open]>summary:before{transform:rotate(90deg)}.recipe-section>summary small{display:block;font-weight:400;font-size:13px;color:#4b4b4b;margin-top:3px}.recipe-section-body{padding:18px}.recipe-section-body>.formgrid{margin-top:0}.recipe-section-body h2,.recipe-section-body h3{margin-top:0}.recipe-section-body #foodPrintComponents{margin-top:12px}@media(max-width:600px){.recipe-section>summary,.recipe-section-body{padding:12px}}

.panel.section-collapsible{padding:0}.section-collapsible>.app-section{margin:0;border:0;border-radius:inherit}.app-section>summary{padding:20px 24px}.app-section>.recipe-section-body{padding:22px 24px}.app-section>.recipe-section-body>.row:empty{display:none}@media(max-width:600px){.app-section>summary,.app-section>.recipe-section-body{padding:14px}}

.inventory-price-editor{display:grid;gap:8px;margin-top:10px;min-width:135px}.inventory-price-editor input{width:100%;min-width:100px}.inventory-price-editor button{white-space:nowrap}

[data-inventory-save-quantity]{margin-top:8px;white-space:nowrap}

[data-inventory-quantity-mode]{margin-bottom:8px;min-width:180px}

.finished-lot-line{margin-top:8px;padding-top:6px;border-top:1px solid #ddd}.finished-lot-line small{display:block}.finished-lot-line button{margin-top:5px}

.finished-warehouse .production-action-menu>summary{font-size:14px;padding:8px 12px;white-space:nowrap}.finished-warehouse .stock-actions{min-width:135px}

/* Staff notice shares the numeric summary row. */
.stats:has(.absence-stat){grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
button.absence-stat{background:#ff9500!important;color:#111!important;border:1px solid #ed8200!important;text-align:left;cursor:pointer;width:100%;font:inherit}
button.absence-stat small,button.absence-stat strong,button.absence-stat em{color:#111!important}
button.absence-stat:hover{background:#ffad38!important}
.staff-absence-details{background:#fff0da!important;color:#111!important;border-left:4px solid #ff9500;margin:12px 0}
.staff-absence-details>div{padding:6px 0}
#staffAbsenceForm textarea{width:100%;font:inherit;padding:12px;border:1px solid #ccd0d7;border-radius:8px}

.staff-date-parts{display:grid;grid-template-columns:minmax(55px,.7fr) minmax(110px,1.5fr) minmax(75px,1fr);gap:8px;margin-top:6px}
.staff-date-parts label{min-width:0}
.staff-date-parts input,.staff-date-parts select{width:100%;min-width:0}
