:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-background:#f8fafc;--color-surface:#fff;--color-surface-muted:#eef7f4;--color-text:#10201d;--color-text-muted:#5b6f69;--color-border:#d8e5e1;--color-primary:#0f766e;--color-primary-strong:#0a4f49;--color-accent:#c17b1f;--color-success:#147d4f;--color-warning:#a16207;--shadow-soft:0 18px 50px #10201d14;--radius-sm:6px;--radius-md:8px;--space-page:clamp(1rem, 4vw, 2rem);--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}*{box-sizing:border-box}html{background:var(--color-background);min-height:100%}body{background:linear-gradient(180deg, #eef7f4eb, #f8fafc00), var(--color-background);min-height:100vh;color:var(--color-text);font-family:var(--font-sans);margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.sign-in-page{min-height:100vh;padding:var(--space-page);place-items:center;display:grid}.sign-in-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);width:min(100%,26rem);box-shadow:var(--shadow-soft);gap:1.5rem;padding:clamp(1.25rem,6vw,2rem);display:grid}.sign-in-brand{align-items:center;gap:.625rem;font-weight:800;display:flex}.sign-in-copy{gap:.5rem;display:grid}.sign-in-copy h1,.sign-in-copy p,.sign-in-error,.sign-in-success{margin:0}.sign-in-copy h1{font-size:clamp(2rem,10vw,2.75rem);line-height:1}.sign-in-copy>p:last-child{color:var(--color-text-muted);line-height:1.6}.sign-in-form,.sign-in-field{gap:.5rem;display:grid}.sign-in-form{gap:1rem}.sign-in-field span{font-size:.875rem;font-weight:700}.sign-in-field input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-height:3rem;color:var(--color-text);padding:.75rem}.sign-in-field input:focus-visible{border-color:var(--color-primary);outline:3px solid #0f766e29}.sign-in-field input:disabled{background:var(--color-surface-muted)}.sign-in-error{border-radius:var(--radius-sm);color:#991b1b;background:#fef2f2;border:1px solid #fecaca;padding:.75rem;font-size:.875rem;line-height:1.5}.sign-in-success{border-radius:var(--radius-sm);color:var(--color-success);background:#f0fdf4;border:1px solid #bbf7d0;padding:.75rem;font-size:.875rem;line-height:1.5}.sign-in-submit{border-radius:var(--radius-sm);background:var(--color-primary);color:#fff;cursor:pointer;border:0;min-height:3rem;padding:.75rem 1rem;font-weight:800}.sign-in-submit:hover:not(:disabled){background:var(--color-primary-strong)}.sign-in-submit:focus-visible{outline-offset:2px;outline:3px solid #0f766e3d}.sign-in-submit:disabled{cursor:wait;opacity:.7}.auth-link{width:fit-content;color:var(--color-primary-strong);text-underline-offset:.2rem;font-size:.875rem;font-weight:750;line-height:1.4;text-decoration:underline}.auth-link:hover{color:var(--color-primary)}.auth-link:focus-visible{outline-offset:3px;border-radius:2px;outline:3px solid #0f766e3d}.auth-link--end{justify-self:end}.auth-link--muted{color:var(--color-text-muted)}.app-shell{min-height:100vh;padding-bottom:5.75rem}.topbar{z-index:20;min-height:4rem;padding:0 var(--space-page);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f8fafce6;border-bottom:1px solid #d8e5e1d1;justify-content:space-between;align-items:center;gap:1rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.625rem;min-width:0;font-weight:800;display:inline-flex}.brand__mark{border-radius:var(--radius-sm);background:var(--color-primary);color:#fff;flex:none;place-items:center;width:2rem;height:2rem;display:grid}.brand__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar__meta{align-items:center;gap:.75rem;display:flex}.sign-out{position:relative}.sign-out__button{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;padding:.5rem .7rem;font-size:.8rem;font-weight:800}.sign-out__button:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary-strong)}.sign-out__button:disabled{cursor:wait;opacity:.65}.sign-out__error{border-radius:var(--radius-sm);color:#991b1b;width:max-content;max-width:min(18rem,100vw - 2rem);box-shadow:var(--shadow-soft);background:#fff7f7;border:1px solid #b91c1c33;margin:0;padding:.55rem .7rem;font-size:.78rem;position:absolute;top:calc(100% + .5rem);right:0}.app-shell__body{display:block}.sidebar{display:none}.app-shell__main{width:min(1120px,100%);padding:var(--space-page);margin:0 auto}.dashboard-layout,.page-stack{gap:1.25rem;display:grid}.page-header{align-items:start;gap:1rem;padding-block:.25rem .5rem;display:grid}.page-header__copy{gap:.45rem;max-width:760px;display:grid}.page-header__eyebrow,.section-heading__eyebrow{color:var(--color-primary);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.page-header h1{margin:0;font-size:clamp(1.85rem,8vw,3.2rem);line-height:1.02}.page-header p{color:var(--color-text-muted);margin:0;line-height:1.65}.page-header__meta{align-items:center;display:flex}.section-heading{gap:.35rem;max-width:760px;display:grid}.section-heading h2{margin:0;font-size:clamp(1.5rem,5vw,2.35rem);line-height:1.08}.section-heading p,.dashboard__hero p,.panel p{color:var(--color-text-muted);margin:0;line-height:1.7}.dashboard{gap:1rem;display:grid}.dashboard__hero{border:1px solid var(--color-border);border-radius:var(--radius-md);background:linear-gradient(135deg, #0f766ef2, #0a4f49d1), linear-gradient(45deg, transparent 48%, #ffffff29 49% 51%, transparent 52%), var(--color-primary);min-height:21rem;box-shadow:var(--shadow-soft);color:#fff;align-items:end;padding:clamp(1.25rem,4vw,2rem);display:grid;overflow:hidden}.dashboard__hero>div{gap:1rem;max-width:760px;display:grid}.dashboard__hero h1{max-width:700px;margin:0;font-size:clamp(2rem,9vw,4.7rem);line-height:.98}.dashboard__hero p{color:#ffffffd6;max-width:660px;font-size:1rem}.dashboard__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);align-content:start;gap:.75rem;min-height:13rem;padding:1.1rem;display:grid}.panel--wide{grid-column:1/-1;min-height:auto}.panel h2{margin:0;font-size:1.05rem}.check-list{color:var(--color-text-muted);gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.check-list li{align-items:center;gap:.5rem;display:flex}.check-list li:before{background:var(--color-success);content:"";border-radius:999px;flex:none;width:.5rem;height:.5rem}.principle-list{flex-wrap:wrap;gap:.5rem;display:flex}.tenant-dashboard{gap:1.1rem;display:grid}.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.dashboard-summary-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-rows:auto minmax(3.1rem,1fr) auto;gap:.85rem;min-height:12rem;padding:clamp(1rem,3vw,1.15rem);transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.dashboard-summary-card:hover,.dashboard-summary-card:focus-visible{border-color:#0f766e61;box-shadow:0 12px 36px #10201d0f}.dashboard-summary-card:focus-visible,.quick-action:focus-visible{outline-offset:3px;outline:3px solid #0f766e47}.dashboard-summary-card__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.55rem;display:flex}.dashboard-summary-card__badges{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.dashboard-summary-card h2,.quick-actions h2{margin:0;font-size:1.05rem}.dashboard-summary-card p,.quick-action small{color:var(--color-text-muted);margin:0;line-height:1.6}.dashboard-summary-card p{max-width:34rem}.dashboard-summary-card__metric{color:var(--color-primary-strong);align-self:end;font-size:2rem;font-weight:850;line-height:1}.quick-actions,.today-activity{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:1rem;padding:clamp(1rem,3vw,1.2rem);display:grid}.operational-alerts{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fffffff5;gap:1rem;padding:clamp(1rem,3vw,1.2rem);display:grid}.operational-alerts__header,.today-activity__header{align-items:start;gap:.75rem;display:grid}.operational-alerts__header>div,.today-activity__header>div{gap:.35rem;display:grid}.operational-alerts h2,.today-activity h2{margin:0;font-size:1.05rem}.operational-alerts__list{gap:.65rem;display:grid}.today-activity__list{border:1px solid var(--color-border);border-radius:var(--radius-sm);display:grid;overflow:hidden}.operational-alert{border-radius:var(--radius-sm);background:#c17b1f14;border:1px solid #c17b1f3d;grid-template-columns:2.35rem minmax(0,1fr);align-items:center;gap:.75rem;padding:.75rem;display:grid}.operational-alert strong{border-radius:var(--radius-sm);width:2.35rem;height:2.35rem;color:var(--color-warning);background:#c17b1f29;place-items:center;font-size:1rem;font-weight:850;display:grid}.operational-alert p{color:var(--color-text);margin:0;line-height:1.55}.today-activity__item{border-top:1px solid var(--color-border);background:var(--color-surface);grid-template-columns:4.5rem minmax(0,1fr) auto;align-items:center;gap:.75rem;min-height:3.2rem;padding:.65rem .75rem;display:grid}.today-activity__item:first-child{border-top:0}.today-activity__item time{color:var(--color-primary-strong);font-size:.86rem;font-weight:850}.today-activity__item strong{overflow-wrap:anywhere;min-width:0;color:var(--color-text);font-size:.94rem}.today-activity__empty{border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);border:1px dashed #0f766e47;padding:.9rem;line-height:1.55}.operational-alerts__empty{border-radius:var(--radius-sm);color:var(--color-text-muted);background:#147d4f14;border:1px dashed #147d4f42;padding:.9rem;line-height:1.55}.quick-actions__header{align-items:start;gap:.75rem;display:grid}.quick-actions__header>div{gap:.35rem;display:grid}.quick-actions__grid{gap:.65rem;display:grid}.quick-action{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);grid-template-columns:2.35rem minmax(0,1fr);align-items:center;gap:.75rem;padding:.75rem;transition:background .16s,border-color .16s;display:grid}.quick-action:hover,.quick-action:focus-visible{background:var(--color-surface);border-color:#0f766e61}.quick-action__mark{border-radius:var(--radius-sm);background:var(--color-primary);color:#fff;place-items:center;width:2.35rem;height:2.35rem;font-size:1.2rem;font-weight:850;line-height:1;display:grid}.quick-action__copy{gap:.18rem;min-width:0;display:grid}.quick-action strong{color:var(--color-text);font-size:.95rem}.dashboard-loading-placeholder{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:.75rem;padding:1rem;display:grid}.dashboard-loading-placeholder__header{gap:.4rem;display:grid}.dashboard-loading-placeholder__title{width:min(18rem,72%);height:1.1rem}.dashboard-loading-placeholder__grid{gap:.75rem;display:grid}.dashboard-loading-placeholder__card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:.75rem;min-height:9.5rem;padding:1rem;display:grid}.dashboard-loading-placeholder__line{background:linear-gradient(90deg,#d8e5e1d1,#eef7f4eb,#d8e5e1d1);border-radius:999px;height:.85rem}.dashboard-loading-placeholder__line--short{width:min(22rem,64%)}.status-pill{border:1px solid var(--color-border);background:var(--color-surface-muted);width:fit-content;color:var(--color-primary-strong);border-radius:999px;align-items:center;padding:.36rem .62rem;font-size:.75rem;font-weight:850;line-height:1;display:inline-flex}.status-pill--success{color:var(--color-success);background:#147d4f24;border-color:#147d4f33}.status-pill--warning{color:var(--color-warning);background:#a162071f;border-color:#a162073d}.button{border:1px solid var(--color-primary);border-radius:var(--radius-sm);background:var(--color-primary);color:#fff;cursor:pointer;justify-content:center;align-items:center;min-height:2.5rem;padding:.55rem .85rem;font-size:.88rem;font-weight:800;line-height:1.1;display:inline-flex}.button:hover{background:var(--color-primary-strong)}.button:disabled{border-color:var(--color-border);background:var(--color-surface-muted);color:var(--color-text-muted);cursor:not-allowed}.button--secondary{border-color:var(--color-border);background:var(--color-surface);color:var(--color-primary-strong)}.button--secondary:hover{background:var(--color-surface-muted)}.button--danger{background:#b42318;border-color:#b42318}.button--danger:hover{background:#912018}.receiving-list,.inventory-list,.production-list,.recipe-list,.daily-report-list{gap:.8rem;display:grid}.receiving-card,.inventory-card,.production-card,.recipe-card,.daily-report-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:1rem;padding:clamp(1rem,3vw,1.2rem);display:grid}.receiving-card:hover,.inventory-card:hover,.production-card:hover,.recipe-card:hover,.daily-report-card:hover{border-color:#0f766e61;box-shadow:0 12px 36px #10201d0f}.receiving-card__main,.inventory-card__main,.production-card__main,.recipe-card__main,.daily-report-card__main,.detail-panel__header,.form-panel__header{align-items:start;gap:.75rem;display:grid}.receiving-card__eyebrow,.inventory-card__eyebrow,.production-card__eyebrow,.recipe-card__eyebrow,.daily-report-card__eyebrow,.detail-panel__eyebrow,.form-panel__eyebrow{color:var(--color-primary);letter-spacing:0;text-transform:uppercase;margin:0 0 .25rem;font-size:.76rem;font-weight:850}.receiving-card h2,.inventory-card h2,.production-card h2,.recipe-card h2,.daily-report-card h2,.detail-panel h2,.form-panel h2{margin:0;font-size:1.08rem}.receiving-card__meta,.inventory-card__meta,.production-card__meta,.recipe-card__meta,.daily-report-card__meta,.detail-grid{gap:.75rem;margin:0;display:grid}.receiving-card__meta div,.inventory-card__meta div,.production-card__meta div,.recipe-card__meta div,.daily-report-card__meta div,.detail-grid div{gap:.18rem;display:grid}.receiving-card dt,.inventory-card dt,.production-card dt,.recipe-card dt,.daily-report-card dt,.detail-grid dt{color:var(--color-text-muted);text-transform:uppercase;font-size:.75rem;font-weight:800}.receiving-card dd,.inventory-card dd,.production-card dd,.recipe-card dd,.daily-report-card dd,.detail-grid dd{color:var(--color-text);margin:0;line-height:1.55}.receiving-status,.production-status,.recipe-status,.qc-status,.dispatch-status,.dispatch-timeliness,.qc-result,.inventory-stock,.daily-report-status{border:1px solid var(--color-border);border-radius:999px;align-items:center;width:fit-content;padding:.36rem .62rem;font-size:.75rem;font-weight:850;line-height:1;display:inline-flex}.receiving-status[data-status=draft],.qc-status[data-status=draft],.dispatch-status[data-status=draft]{color:var(--color-text-muted);background:#5b6f691a}.receiving-status[data-status=submitted],.qc-status[data-status=submitted],.dispatch-status[data-status=submitted]{color:var(--color-warning);background:#a162071f;border-color:#a162073d}.receiving-status[data-status=approved],.qc-status[data-status=approved],.dispatch-status[data-status=approved],.dispatch-timeliness[data-timeliness=on-time],.qc-result[data-result=pass]{color:var(--color-success);background:#147d4f24;border-color:#147d4f33}.dispatch-timeliness[data-timeliness=pending]{color:var(--color-accent);background:#c17b1f1f;border-color:#c17b1f3d}.dispatch-timeliness[data-timeliness=late]{color:var(--color-warning);background:#b4530924;border-color:#b4530942}.dispatch-timeliness[data-timeliness=unavailable],.production-status[data-status=draft],.recipe-status[data-status=draft]{color:var(--color-text-muted);background:#5b6f691a}.recipe-status[data-status=approved]{color:var(--color-success);background:#147d4f24;border-color:#147d4f33}.recipe-status[data-status=submitted]{color:var(--color-warning);background:#a162071f;border-color:#a162073d}.daily-report-status[data-status=draft]{color:var(--color-text-muted);background:#5b6f691a}.daily-report-status[data-status=submitted]{color:var(--color-warning);background:#a162071f;border-color:#a162073d}.daily-report-status[data-status=approved]{color:var(--color-success);background:#147d4f24;border-color:#147d4f33}.production-status[data-status=submitted]{color:var(--color-warning);background:#a162071f;border-color:#a162073d}.production-status[data-status=approved]{color:var(--color-success);background:#147d4f24;border-color:#147d4f33}.daily-report-status[data-status=closed]{color:var(--color-primary-strong);background:#0f766e24;border-color:#0f766e3d}.daily-report-summary-grid{gap:.8rem;display:grid}.daily-report-summary-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:.8rem;padding:1rem;display:grid}.daily-report-summary-card h3,.daily-report-summary-card p{margin:0}.daily-report-summary-card h3{font-size:1rem}.daily-report-summary-card p{color:var(--color-text-muted);line-height:1.6}.daily-report-summary-card__eyebrow{color:var(--color-primary);letter-spacing:0;text-transform:uppercase;margin:0 0 .25rem;font-size:.74rem;font-weight:850}.daily-report-summary-card__metrics{gap:.65rem;margin:0;display:grid}.daily-report-summary-card__metrics div{gap:.18rem;display:grid}.daily-report-summary-card__metrics dt{color:var(--color-text-muted);text-transform:uppercase;font-size:.74rem;font-weight:800}.daily-report-summary-card__metrics dd{color:var(--color-text);margin:0;font-weight:750}.daily-report-summary-card__note{border-top:1px solid var(--color-border);padding-top:.75rem}.qc-result[data-result=fail]{color:var(--color-warning);background:#c17b1f1f;border-color:#a1620747}.qc-card__badges{flex-wrap:wrap;gap:.45rem;display:flex}.inventory-stock[data-level=normal]{color:var(--color-success);background:#147d4f24;border-color:#147d4f38}.inventory-stock[data-level=low]{color:var(--color-accent);background:#c17b1f1f;border-color:#c17b1f3d}.form-panel,.detail-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:1.1rem;padding:clamp(1rem,3vw,1.25rem);display:grid}.detail-panel__items{gap:.9rem;display:grid}.submit-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);gap:.9rem;padding:1rem;display:grid}.submit-panel__copy{gap:.35rem;display:grid}.submit-panel h2,.submit-panel p{margin:0}.submit-panel p,.submit-panel__state,.submit-panel__confirm,.submit-panel__error{color:var(--color-text-muted);line-height:1.65}.submit-panel__state,.submit-panel__confirm,.submit-panel__error{border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid #0f766e38;padding:.85rem}.submit-panel__error{color:var(--color-warning);background:#c17b1f1f;border-color:#a1620747;font-weight:700}.submit-panel__actions{flex-wrap:wrap;gap:.65rem;margin-top:.75rem;display:flex}.production-recipe-link{min-width:min(18rem,100%);color:var(--color-text-muted);gap:.38rem;font-size:.82rem;font-weight:800;display:grid}.production-recipe-link select{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);padding:.72rem .75rem}.receiving-form{gap:1rem;display:grid}.receiving-form label{color:var(--color-text-muted);gap:.38rem;font-size:.82rem;font-weight:800;display:grid}.receiving-form input,.receiving-form select,.receiving-form textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);min-width:0;color:var(--color-text);padding:.72rem .75rem}.receiving-form textarea{resize:vertical}.form-panel__actions{flex-wrap:wrap;gap:.65rem;display:flex}.form-panel__error{border-radius:var(--radius-sm);color:var(--color-warning);background:#c17b1f1f;border:1px solid #a1620747;padding:.8rem;font-weight:700;line-height:1.55}.form-panel__notice{border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);border:1px solid #5b6f692e;padding:.8rem;font-weight:700;line-height:1.55}.form-panel__success{border-radius:var(--radius-sm);color:var(--color-success);background:#147d4f1f;border:1px solid #147d4f3d;padding:.8rem;font-weight:700;line-height:1.55}.receiving-item-list,.receiving-movement-list,.inventory-movement-list,.production-material-list,.recipe-ingredient-list,.dispatch-item-list,.waste-item-list{border:1px solid var(--color-border);border-radius:var(--radius-md);display:grid;overflow:hidden}.receiving-item-list__header,.receiving-item-row,.receiving-movement-list__header,.receiving-movement-row,.inventory-movement-list__header,.inventory-movement-row,.production-material-list__header,.production-material-row,.recipe-ingredient-list__header,.recipe-ingredient-row,.dispatch-item-list__header,.dispatch-item-row,.waste-item-list__header,.waste-item-row{grid-template-columns:minmax(10rem,1.25fr) minmax(8rem,1fr) minmax(5.5rem,.55fr) minmax(5rem,.45fr) minmax(12rem,1.3fr);align-items:start;gap:.75rem;padding:.85rem 1rem;display:grid}.dispatch-item-list__header--with-actions,.dispatch-item-row--with-actions{grid-template-columns:minmax(10rem,1.15fr) minmax(8rem,.9fr) minmax(5.5rem,.5fr) minmax(5rem,.4fr) minmax(10rem,1fr) minmax(8rem,.7fr)}.waste-item-list__header,.waste-item-row{grid-template-columns:minmax(10rem,1.25fr) minmax(7rem,.65fr) minmax(7rem,.7fr) minmax(12rem,1.3fr)}.waste-item-list__header--with-actions,.waste-item-row--with-actions{grid-template-columns:minmax(10rem,1.15fr) minmax(7rem,.62fr) minmax(7rem,.65fr) minmax(10rem,1fr) minmax(8rem,.7fr)}.receiving-movement-list__header,.receiving-movement-row{grid-template-columns:minmax(10rem,1.25fr) minmax(7rem,.65fr) minmax(9rem,.8fr) minmax(10rem,.9fr)}.stock-count-item-list__header,.stock-count-item-row{grid-template-columns:minmax(10rem,1.15fr) minmax(6.5rem,.65fr) minmax(6.5rem,.65fr) minmax(6.5rem,.65fr) minmax(9rem,.9fr)}.stock-count-item-list__header--with-actions,.stock-count-item-row--with-actions{grid-template-columns:minmax(10rem,1.1fr) minmax(6.5rem,.62fr) minmax(6.5rem,.62fr) minmax(6.5rem,.62fr) minmax(9rem,.85fr) minmax(8rem,.7fr)}.recipe-ingredient-list__header--with-actions,.recipe-ingredient-row--with-actions{grid-template-columns:minmax(9rem,1.2fr) minmax(5.5rem,.48fr) minmax(5rem,.4fr) minmax(7rem,.6fr) minmax(8.5rem,.72fr) minmax(10rem,1fr) minmax(8rem,.65fr)}.recipe-ingredient-list__header:not(.recipe-ingredient-list__header--with-actions),.recipe-ingredient-row:not(.recipe-ingredient-row--with-actions):not(.recipe-ingredient-row--edit){grid-template-columns:minmax(10rem,1.25fr) minmax(5.5rem,.5fr) minmax(5rem,.42fr) minmax(7rem,.62fr) minmax(8.5rem,.72fr) minmax(12rem,1.3fr)}.receiving-item-list__header,.receiving-movement-list__header,.inventory-movement-list__header,.production-material-list__header,.recipe-ingredient-list__header,.dispatch-item-list__header,.waste-item-list__header{background:var(--color-surface-muted);color:var(--color-text-muted);text-transform:uppercase;font-size:.74rem;font-weight:850}.receiving-item-row,.receiving-movement-row,.inventory-movement-row,.production-material-row,.recipe-ingredient-row,.dispatch-item-row,.waste-item-row{border-top:1px solid var(--color-border);background:var(--color-surface)}.receiving-item-row h3,.receiving-item-row p,.receiving-movement-row h3,.receiving-movement-row p,.inventory-movement-row h3,.inventory-movement-row p,.production-material-row h3,.production-material-row p,.recipe-ingredient-row h3,.recipe-ingredient-row p,.dispatch-item-row h3,.dispatch-item-row p,.waste-item-row h3,.waste-item-row p{margin:0;line-height:1.55}.receiving-item-row h3,.receiving-movement-row h3,.inventory-movement-row h3,.production-material-row h3,.recipe-ingredient-row h3,.dispatch-item-row h3,.waste-item-row h3{font-size:.96rem}.receiving-item-row p,.receiving-movement-row p,.inventory-movement-row p,.production-material-row p,.recipe-ingredient-row p,.dispatch-item-row p,.waste-item-row p{color:var(--color-text-muted)}.recipe-ingredient-row__actions,.dispatch-item-row__actions,.waste-item-row__actions{flex-wrap:wrap;gap:.5rem;display:flex}.recipe-ingredient-row__actions .button,.dispatch-item-row__actions .button,.waste-item-row__actions .button{min-height:2rem;padding:.4rem .65rem}.dispatch-item-row--edit{grid-template-columns:minmax(10rem,1.15fr) minmax(8rem,.9fr) minmax(5.5rem,.5fr) minmax(5rem,.4fr) minmax(10rem,1fr) minmax(8rem,.7fr)}.recipe-ingredient-row--edit{grid-template-columns:minmax(9rem,1.2fr) minmax(5.5rem,.5fr) minmax(5rem,.42fr) minmax(7rem,.62fr) minmax(8rem,.65fr)}.waste-item-row--edit{grid-template-columns:minmax(10rem,1.15fr) minmax(6rem,.55fr) minmax(5rem,.45fr) minmax(7rem,.65fr) minmax(9rem,.8fr) minmax(8rem,.7fr)}.stock-count-item-row--edit{grid-template-columns:minmax(10rem,1.15fr) minmax(6.5rem,.62fr) minmax(9rem,.9fr) minmax(8rem,.7fr)}.recipe-ingredient-row--edit label,.dispatch-item-row--edit label,.waste-item-row--edit label{color:var(--color-text-muted);text-transform:uppercase;gap:.35rem;font-size:.76rem;font-weight:850;display:grid}.recipe-ingredient-row--edit input,.recipe-ingredient-row--edit textarea,.dispatch-item-row--edit input,.dispatch-item-row--edit textarea,.waste-item-row--edit input,.waste-item-row--edit select,.waste-item-row--edit textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);min-width:0;color:var(--color-text);text-transform:none;padding:.58rem .65rem}.recipe-ingredient-row--edit textarea,.dispatch-item-row--edit textarea,.waste-item-row--edit textarea{resize:vertical}.recipe-ingredient-row__error,.dispatch-item-row__error,.waste-item-row__error{grid-column:1/-1}.empty-state{border-radius:var(--radius-md);background:linear-gradient(135deg, #ffffffeb, #eef7f4d1), var(--color-surface);border:1px dashed #0f766e5c;align-items:start;gap:1rem;padding:clamp(1.1rem,4vw,1.5rem);display:grid}.empty-state__mark{border-radius:var(--radius-sm);width:2.6rem;height:2.6rem;color:var(--color-accent);background:#c17b1f24;place-items:center;font-weight:850;display:grid}.empty-state__content{gap:.35rem;display:grid}.empty-state h2{margin:0;font-size:1.15rem}.empty-state p{color:var(--color-text-muted);margin:0;line-height:1.7}.tenant-user-list{gap:1rem;display:grid}@media (min-width:720px){.tenant-user-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tenant-user-form__wide{grid-column:1/-1}}.tenant-user-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1.25rem}.tenant-user-card__main{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.tenant-user-card__main h2{margin:.2rem 0 0;font-size:1.05rem}.tenant-user-card__eyebrow{color:var(--color-text-muted);margin:0;font-size:.85rem}.tenant-user-card__meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0 0;display:grid}.tenant-user-card__meta dt{color:var(--color-text-muted);text-transform:uppercase;font-size:.75rem}.tenant-user-card__meta dd{margin:.25rem 0 0}.tenant-user-card__actions,.tenant-user-card__current{margin:1.25rem 0 0}.tenant-user-card__actions{flex-wrap:wrap;align-items:end;gap:.75rem 1rem;display:flex}.tenant-user-card__action{margin:0}.tenant-user-role-change{flex-wrap:wrap;flex:28rem;align-items:end;gap:.75rem;display:flex}.tenant-user-password-reset{border-top:1px solid var(--color-border);flex:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding-top:1rem;display:grid}.tenant-user-password-reset label{color:var(--color-text-muted);text-transform:uppercase;gap:.35rem;font-size:.75rem;display:grid}.tenant-user-password-reset input{text-transform:none}.tenant-user-password-reset__buttons,.tenant-user-password-reset p{grid-column:1/-1}.tenant-user-password-reset__buttons{flex-wrap:wrap;gap:.75rem;display:flex}.tenant-user-role-change label{color:var(--color-text-muted);text-transform:uppercase;flex:12rem;gap:.35rem;font-size:.75rem;display:grid}.tenant-user-role-change select{text-transform:none}.tenant-user-card__action p,.tenant-user-role-change p,.tenant-user-password-reset p{color:#b42318;flex-basis:100%;margin:.6rem 0 0;font-size:.85rem}.tenant-user-password-reset .tenant-user-password-reset__success{color:var(--color-success)}@media (max-width:719px){.tenant-user-password-reset{grid-template-columns:1fr}}.tenant-user-card__current{color:var(--color-text-muted);font-size:.85rem}.tenant-user-loading,.tenant-user-error{max-width:72rem;margin:0 auto;padding:2rem}.tenant-user-loading__header,.tenant-user-loading__card{background:linear-gradient(90deg, var(--color-surface), var(--color-surface-muted), var(--color-surface));border:1px solid var(--color-border);border-radius:var(--radius-md)}.tenant-user-loading__header{height:7rem;margin-bottom:1.5rem}.tenant-user-loading__card{height:9rem;margin-bottom:1rem}@media (max-width:640px){.tenant-user-card__meta{grid-template-columns:1fr}}.bottom-nav{z-index:30;border-radius:var(--radius-md);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border:1px solid #d8e5e1eb;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;padding:.35rem;display:grid;position:fixed;bottom:.75rem;left:.75rem;right:.75rem}.bottom-nav__item{border-radius:var(--radius-sm);min-width:0;color:var(--color-text-muted);text-align:center;justify-items:center;gap:.18rem;padding:.45rem .2rem;display:grid}.bottom-nav__item[data-active=true]{background:var(--color-primary);color:#fff}.bottom-nav__item span{border-radius:var(--radius-sm);background:#0f766e1a;place-items:center;width:1.55rem;height:1.55rem;font-size:.7rem;font-weight:850;line-height:1;display:grid}.bottom-nav__item[data-active=true] span{background:#ffffff2e}.bottom-nav__item small{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:.68rem;font-weight:800;line-height:1.1;overflow:hidden}@media (min-width:760px){.app-shell{padding-bottom:0}.app-shell__body{grid-template-columns:17rem minmax(0,1fr);display:grid}.sidebar{border-right:1px solid #d8e5e1d1;align-self:start;height:calc(100vh - 4rem);padding:1rem;display:block;position:sticky;top:4rem}.sidebar__nav{gap:.35rem;display:grid}.nav-item{border-radius:var(--radius-md);color:var(--color-text-muted);grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.65rem;padding:.65rem;display:grid}.nav-item:hover,.nav-item[data-active=true]{background:var(--color-surface-muted);color:var(--color-primary-strong)}.nav-item__mark{border-radius:var(--radius-sm);background:var(--color-surface);width:2rem;height:2rem;color:var(--color-primary);place-items:center;font-size:.72rem;font-weight:850;line-height:1;display:grid}.nav-item[data-active=true] .nav-item__mark{background:var(--color-primary);color:#fff}.nav-item__text{gap:.12rem;min-width:0;display:grid}.nav-item__text span,.nav-item__text small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nav-item__text span{font-weight:800}.nav-item__text small{text-transform:capitalize;font-size:.72rem}.app-shell__main{width:min(1180px,100%);margin:0;padding:clamp(1.5rem,3vw,2.5rem)}.page-header{grid-template-columns:minmax(0,1fr) auto}.dashboard-summary,.dashboard-loading-placeholder__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-actions__header,.operational-alerts__header,.today-activity__header{grid-template-columns:minmax(0,1fr) auto}.quick-actions__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{grid-template-columns:auto minmax(0,1fr)}.receiving-card__main,.inventory-card__main,.production-card__main,.recipe-card__main,.daily-report-card__main,.detail-panel__header,.form-panel__header,.submit-panel{grid-template-columns:minmax(0,1fr) auto}.submit-panel__confirm,.submit-panel__error,.submit-panel__state{grid-column:1/-1}.receiving-card__meta,.inventory-card__meta,.production-card__meta,.recipe-card__meta,.daily-report-card__meta,.detail-grid,.receiving-form{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid__wide,.receiving-form__wide,.form-panel__actions{grid-column:1/-1}.bottom-nav{display:none}}@media (max-width:700px){.dashboard__hero{min-height:26rem}.dashboard__grid,.dashboard-summary{grid-template-columns:1fr}.receiving-item-list__header,.receiving-movement-list__header,.inventory-movement-list__header,.production-material-list__header,.recipe-ingredient-list__header,.dispatch-item-list__header,.waste-item-list__header{display:none}.receiving-item-row,.receiving-movement-row,.inventory-movement-row,.production-material-row,.recipe-ingredient-row,.dispatch-item-row,.waste-item-row{grid-template-columns:1fr;gap:.35rem}.recipe-ingredient-row--edit,.dispatch-item-row--edit,.waste-item-row--edit{grid-template-columns:1fr}.today-activity__item{grid-template-columns:minmax(3.6rem,auto) minmax(0,1fr);gap:.45rem .75rem}.today-activity__item .status-pill{grid-column:2}.dashboard-summary-card__badges{justify-content:flex-start}}
