/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-sm:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.order-1{order:1}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#19332b;font-synthesis:none;--ink:#163129;--forest:#153f34;--forest-dark:#0c2b23;--mint:#d7eee4;--paper:#fbfaf5;--line:#d9d8cd;--orange:#d96f32;background:#f2f0e9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-page{grid-template-columns:minmax(380px,1.1fr) minmax(380px,.9fr);min-height:100vh;display:grid}.login-story{background:radial-gradient(circle at 20% 10%, #246351 0, var(--forest-dark) 48%, #071c17 100%);color:#fff;flex-direction:column;justify-content:space-between;padding:3.5rem clamp(2.5rem,7vw,7rem);display:flex;position:relative;overflow:hidden}.login-story:after{content:"";inset-inline-end:-12rem;border:1px solid #ffffff24;border-radius:50%;width:32rem;height:32rem;position:absolute;bottom:-10rem;box-shadow:0 0 0 5rem #ffffff08,0 0 0 10rem #ffffff05}.login-story h1{letter-spacing:-.055em;margin:1rem 0 2rem;font-family:Georgia,serif;font-size:clamp(3rem,6vw,6.4rem);font-weight:500;line-height:.94}.login-story p{color:#d9eee5;max-width:34rem;font-size:1.08rem;line-height:1.7}.login-footnote{letter-spacing:.03em;z-index:1;font-size:.82rem!important}.login-form-panel{background:var(--paper);place-items:center;padding:2.5rem;display:grid}.login-form{gap:1.35rem;width:min(100%,28rem);display:grid}.login-form h2{color:var(--ink);margin:.25rem 0;font-family:Georgia,serif;font-size:3rem;font-weight:500}.login-form p{color:#68736f;line-height:1.55}.login-form label{letter-spacing:.02em;gap:.5rem;font-size:.82rem;font-weight:700;display:grid}.login-form input{background:#fff;border:1px solid #c8ccc5;border-radius:.75rem;outline:none;padding:.9rem 1rem}.login-form input:focus{border-color:#2d765f;box-shadow:0 0 0 3px #2d765f22}.primary-button{color:#fff;background:var(--forest);border:0;border-radius:.75rem;padding:1rem 1.2rem;font-weight:750;box-shadow:0 10px 25px #123e3225}.primary-button:hover{background:#1b5142}.primary-button:disabled{opacity:.65;cursor:wait}.privacy-note{text-align:center;font-size:.78rem}.error-banner{color:#7f291d;background:#fff0ed;border-inline-start:4px solid #bc3f2d;border-radius:.35rem;padding:.85rem 1rem}.eyebrow{color:#6b7772;text-transform:uppercase;letter-spacing:.16em;margin:0;font-size:.7rem;font-weight:800}.eyebrow--light{color:#9cc8b8!important}.brand-mark{align-items:center;gap:.8rem;display:flex}.brand-mark>span{aspect-ratio:1;background:var(--orange);color:#fff;border-radius:.75rem;place-items:center;width:2.5rem;font-family:Georgia,serif;font-size:1.5rem;display:grid}.brand-mark div{display:grid}.brand-mark small{color:#779087;margin-top:.1rem;font-size:.68rem}.app-frame{grid-template-columns:17rem 1fr;min-height:100vh;display:grid}.sidebar{background:var(--forest-dark);color:#fff;flex-direction:column;padding:2rem 1.35rem;display:flex}.sidebar .brand-mark{border-bottom:1px solid #ffffff16;padding:0 .45rem 2rem}.sidebar nav a{color:#bbd0c8;border-radius:.65rem;padding:.8rem 1rem;text-decoration:none}.sidebar nav a.active{color:#fff;box-shadow:inset 3px 0 var(--orange);background:#ffffff12}.sidebar-group-toggle{color:#bbd0c8;text-align:start;background:0 0;border:0;border-radius:.65rem;justify-content:space-between;align-items:center;gap:.5rem;width:100%;padding:.8rem 1rem;font-weight:700;display:flex}.sidebar-group-toggle:hover,.sidebar-group-toggle--active{color:#fff;background:#ffffff0d}.sidebar-group-toggle:focus-visible,.sidebar nav a:focus-visible{outline:2px solid var(--orange);outline-offset:2px}.sidebar-chevron{border-inline-end:2px solid;border-bottom:2px solid;flex:none;width:.5rem;height:.5rem;transition:transform .15s;transform:rotate(45deg)}.sidebar-group-toggle[aria-expanded=true] .sidebar-chevron{transform:rotate(225deg)}.sidebar-group-items[hidden]{display:none}.sidebar-group-items a{font-size:.9rem;padding-block:.65rem!important}.sidebar-foot{color:#a9beb7;margin-top:auto;padding:1rem .5rem;font-size:.78rem}.status-dot{background:#5dd19b;border-radius:50%;width:.55rem;height:.55rem;margin-inline-end:.4rem;display:inline-block;box-shadow:0 0 0 4px #5dd19b16}.workspace{min-width:0}.topbar{justify-content:space-between;align-items:center;padding:2.3rem clamp(1.5rem,4vw,4.5rem) 1.5rem;display:flex}.topbar h1{margin:.3rem 0 0;font-family:Georgia,serif;font-size:2.15rem;font-weight:500}.ghost-button,.text-button{color:var(--forest);background:0 0;border:0;font-weight:750}.ghost-button{border:1px solid #c7ccc5;border-radius:.65rem;padding:.7rem 1rem}.page-section{padding:1rem clamp(1.5rem,4vw,4.5rem) 4rem}.hero-panel{background:var(--forest);color:#fff;border-radius:1.25rem;justify-content:space-between;align-items:center;gap:2rem;padding:clamp(1.8rem,4vw,3.5rem);display:flex;box-shadow:0 18px 50px #153f3420}.hero-panel h2{letter-spacing:-.03em;margin:.55rem 0;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.8rem);font-weight:500}.hero-panel p{color:#c9ded6;max-width:42rem}.hero-seal{aspect-ratio:1;text-align:center;text-transform:uppercase;letter-spacing:.08em;border:1px solid #ffffff35;border-radius:50%;flex:0 0 8.5rem;place-items:center;font-size:.75rem;display:grid}.hero-seal span{font-family:Georgia,serif;font-size:2.5rem;line-height:.8;display:block}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:1rem;margin:1rem 0;display:grid}.metric-card,.panel,.session-row{background:var(--paper);border:1px solid var(--line);border-radius:1rem}.metric-card{gap:.45rem;padding:1.35rem;display:grid}.metric-card p,.metric-card small{color:#74807b;margin:0}.metric-card strong{font-family:Georgia,serif;font-size:2rem;font-weight:500}.next-panel{justify-content:space-between;align-items:center;padding:1.3rem 1.5rem;display:flex}.next-panel h3{margin:.35rem 0 0}.badge{border-radius:999px;padding:.35rem .65rem;font-size:.72rem;font-weight:800;display:inline-flex}.badge--pending{color:#8b501f;background:#fff0dc}.badge--ok{color:#1d6749;background:#dcf3e6}.badge--muted{color:#626964;background:#e8e9e5}.section-heading{justify-content:space-between;align-items:end;margin-bottom:1.5rem;display:flex}.section-heading h2{margin:.35rem 0 0;font-family:Georgia,serif;font-size:2.5rem;font-weight:500}.section-heading>p{color:#707b76}.session-list{gap:.75rem;display:grid}.session-row{justify-content:space-between;gap:1rem;padding:1.2rem 1.35rem;display:flex}.session-row p{color:#67726d;margin:.35rem 0}.session-row small{color:#8a928e}.session-state{align-items:center;gap:.75rem;display:flex}.center-state{color:#66736e;place-items:center;min-height:100vh;display:grid}.table-state{color:#68736f;text-align:center;padding:2rem}.stock-table-wrap{overflow-x:auto}.stock-table{border-collapse:collapse;width:100%;min-width:58rem}.stock-table th,.stock-table td{border-bottom:1px solid var(--line);text-align:start;padding:.95rem 1rem}.stock-table th{color:#6d7873;letter-spacing:.06em;text-transform:uppercase;background:#f5f4ee;font-size:.72rem}.stock-table tbody tr:last-child td{border-bottom:0}.stock-table td small{color:#84908b;margin-top:.25rem;display:block}.stock-table .number-cell{text-align:end;font-variant-numeric:tabular-nums}.quality-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:2rem;display:grid}.metric-card--alert{border-color:#e7c9bb}.compact-heading{margin-top:2rem;margin-bottom:.8rem}.compact-heading h3{margin:.3rem 0 0;font-family:Georgia,serif;font-size:1.8rem;font-weight:500}.hold-grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem;display:grid}.hold-card{background:var(--paper);border:1px solid var(--line);border-radius:1rem;padding:1.25rem}.hold-card>div{justify-content:space-between;align-items:center;gap:1rem;display:flex}.hold-card h4{margin:1rem 0 .3rem}.hold-card>strong{font-family:Georgia,serif;font-size:1.65rem;font-weight:500}.hold-card p,.hold-card small{color:#74807b}.badge--danger{color:#8e2f24;background:#f8ded9}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.reception-header{justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.55rem;display:flex}.reception-header h2{color:var(--ink);letter-spacing:-.035em;margin:.3rem 0 .5rem;font-family:Georgia,serif;font-size:clamp(2.15rem,4vw,3.25rem);font-weight:500}.reception-header__copy{color:#66736d;max-width:46rem;margin:0;line-height:1.55}.reception-header__context{border:1px solid var(--reception-border);background:#f8f7f2;border-radius:.75rem;flex:none;align-items:center;gap:.7rem;padding:.7rem .85rem;display:flex}.reception-header__context .status-dot{margin:0}.reception-header__context div{gap:.1rem;display:grid}.reception-header__context strong{font-size:.78rem}.reception-header__context small{color:#7a8580;font-size:.68rem}.primary-button--compact{box-shadow:none;white-space:nowrap;border-radius:.65rem;padding:.72rem 1rem;font-size:.78rem}.secondary-button{color:var(--forest);background:#fff;border:1px solid #cfd4cd;border-radius:.6rem;padding:.62rem .85rem;font-size:.73rem;font-weight:800}.secondary-button:hover{background:#f7f8f4;border-color:#9faaa4}.secondary-button:disabled,.primary-button:disabled{opacity:.5;cursor:not-allowed}.reception-metrics{border:1px solid var(--reception-border);background:var(--paper);border-radius:1rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem;display:grid;overflow:hidden}.reception-metric{border-inline-end:1px solid var(--reception-border);grid-template-columns:2.4rem 1fr;align-items:center;gap:.25rem .85rem;min-width:0;padding:1.15rem 1.25rem;display:grid}.reception-metric:last-child{border-inline-end:0}.reception-metric__icon{aspect-ratio:1;border-radius:.7rem;grid-row:1/3;place-items:center;width:2.35rem;font-family:Georgia,serif;font-size:1.05rem;font-weight:700;display:grid}.reception-metric__icon--green{color:#23634e;background:#dceee6}.reception-metric__icon--amber{color:#8b581c;background:#f9ead2}.reception-metric__icon--red{color:#973b2f;background:#f6dfda}.reception-metric__icon--slate{color:#57635e;background:#e8eae6}.reception-metric div{min-width:0}.reception-metric p{color:#69746f;margin:0 0 .18rem;font-size:.74rem;font-weight:700}.reception-metric strong{color:#1a332b;font-variant-numeric:tabular-nums;white-space:nowrap;font-family:Georgia,serif;font-size:1.65rem;font-weight:500}.reception-metric strong em{color:#73807a;text-transform:uppercase;font-family:Inter,sans-serif;font-size:.66rem;font-style:normal;font-weight:800}.reception-metric>small{color:#8a928e;text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:.67rem;overflow:hidden}.reception-page>.error-banner{margin-bottom:1rem;font-size:.85rem}.reception-queue,.quality-queue{border-radius:1rem;overflow:hidden}.reception-panel-heading{justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.35rem 1rem;display:flex}.reception-panel-heading h3{color:var(--ink);margin:.25rem 0 0;font-family:Georgia,serif;font-size:1.55rem;font-weight:500}.reception-count{color:#53605b;white-space:nowrap;background:#ebede8;border-radius:999px;align-items:center;min-height:1.7rem;padding:.25rem .65rem;font-size:.7rem;font-weight:800;display:inline-flex}.reception-count--alert{color:#884322;background:#fae7d6;justify-content:center;min-width:1.7rem}.reception-toolbar{border-bottom:1px solid var(--reception-border);grid-template-columns:minmax(13rem,1fr) auto;gap:.65rem;padding:0 1.35rem 1rem;display:grid}.reception-search{position:relative}.reception-search svg{stroke:#76817c;stroke-width:1.8px;inset-inline-start:.85rem;width:1rem;position:absolute;top:50%;transform:translateY(-50%)}.reception-search input,.reception-filter select{width:100%;height:2.55rem;color:var(--ink);background:#fff;border:1px solid #d3d6cf;border-radius:.65rem;outline:none}.reception-search input{padding:.65rem .85rem .65rem 2.5rem}.reception-filter select{padding:.6rem 2.35rem .6rem .85rem}.reception-search input:focus,.reception-filter select:focus{border-color:#3d7664;box-shadow:0 0 0 3px #2d765f18}.reception-table-wrap{overflow-x:auto}.reception-table{border-collapse:collapse;width:100%;min-width:48rem}.reception-table th{color:#7a837f;border-bottom:1px solid var(--reception-border);letter-spacing:.09em;text-align:start;text-transform:uppercase;background:#f7f6f1;padding:.7rem 1rem;font-size:.64rem;font-weight:800}.reception-table th:first-child,.reception-table td:first-child{padding-inline-start:1.35rem}.reception-table th:last-child,.reception-table td:last-child{padding-inline-end:1.35rem}.reception-table td{color:#45524d;vertical-align:middle;border-bottom:1px solid #e8e8e2;padding:.95rem 1rem;font-size:.78rem}.reception-table tbody tr:last-child td{border-bottom:0}.reception-table tbody tr:not(.reception-skeleton):hover{background:#fafaf6}.reception-table td small{color:#808985;margin-top:.25rem;display:block}.reception-reference{color:#173b30;letter-spacing:.015em;text-underline-offset:.18rem;font-size:.83rem;font-weight:800}.reception-table time{color:#65716c;font-variant-numeric:tabular-nums;white-space:nowrap}.reception-table .number-cell{text-align:end;font-variant-numeric:tabular-nums}.reception-table .number-cell>strong{color:#293a34;white-space:nowrap;font-size:.78rem}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:.4rem;padding:.32rem .55rem;font-size:.67rem;font-weight:800;display:inline-flex}.status-badge i{aspect-ratio:1;background:currentColor;border-radius:50%;width:.38rem}.status-badge--neutral{color:#59645f;background:#e9ebe7}.status-badge--pending{color:#8b571c;background:#faead3}.status-badge--ok{color:#25634d;background:#dcefe6}.status-badge--danger{color:#92382d;background:#f5ddd8}.quantity-progress{background:#e7e8e3;border-radius:999px;width:6.5rem;height:.22rem;margin:.38rem 0 .28rem auto;overflow:hidden}.quantity-progress span{border-radius:inherit;background:#439071;height:100%;display:block}.quantity-pending{font-weight:700;color:#a15c24!important}.reception-empty{text-align:center;padding:3.5rem 1rem!important}.reception-empty strong,.reception-empty span{display:block}.reception-empty strong{color:#46534e;font-family:Georgia,serif;font-size:1.1rem;font-weight:500}.reception-empty span{color:#858e89;margin-top:.4rem}.reception-skeleton span,.quality-item--loading span{background:linear-gradient(90deg,#ecece7 25%,#f6f6f2 50%,#ecece7 75%) 0 0/200% 100%;border-radius:.25rem;height:.7rem;animation:1.4s infinite reception-shimmer;display:block}.reception-skeleton td:first-child span{width:5rem}.reception-skeleton td:first-child small{width:7rem;height:.55rem}.reception-skeleton td:nth-child(2) span{width:5.5rem}.reception-skeleton td:nth-child(3) span{width:4.5rem}.reception-skeleton td:nth-child(4) span{width:4rem;margin-inline-start:auto}@keyframes reception-shimmer{to{background-position:-200% 0}}.quality-queue__intro{color:#79837e;border-bottom:1px solid var(--reception-border);margin:0;padding:0 1.35rem 1rem;font-size:.74rem;line-height:1.45}.quality-list{max-height:31rem;display:grid;overflow-y:auto}.quality-item{border-bottom:1px solid #e7e8e2;padding:1rem 1.15rem 1rem 1.35rem;position:relative}.quality-item:before{content:"";background:#d3964c;border-radius:0 2px 2px 0;width:3px;position:absolute;inset-block:1rem;inset-inline-start:0}.quality-item__topline,.quality-item__product,.quality-item__footer{justify-content:space-between;gap:.75rem;display:flex}.quality-item__topline{align-items:center}.quality-item__topline>small{color:#7e8883;font-size:.68rem;font-weight:700}.quality-item__product{align-items:flex-start;margin:.85rem 0}.quality-item__product>div{gap:.25rem;min-width:0;display:grid}.quality-item__product>div>strong{color:#243a32;font-size:.82rem}.quality-item__product>div>small{color:#717d77;font-size:.7rem;line-height:1.4}.quality-item__product>span{color:#1b352c;white-space:nowrap;font-family:Georgia,serif;font-size:1.35rem}.quality-item__product>span small{text-transform:uppercase;font-family:Inter,sans-serif;font-size:.6rem;font-weight:800}.quality-item__footer{color:#858e89;border-top:1px dashed #dedfd8;padding-top:.7rem;font-size:.65rem;font-weight:700}.quality-item__footer span:first-child{color:#a04b3d}.quality-item--loading{gap:.75rem;display:grid}.quality-item--loading span:first-child{width:4.5rem}.quality-item--loading span:nth-child(2){width:75%}.quality-item--loading span:last-child{width:55%}.quality-empty{color:#71807a;text-align:center;align-content:center;place-items:center;gap:.45rem;min-height:16rem;padding:2rem;display:grid}.quality-empty>span{aspect-ratio:1;color:#2c7459;background:#dcefe6;border-radius:50%;place-items:center;width:2.8rem;margin-bottom:.35rem;font-weight:800;display:grid}.quality-empty strong{color:#31473f;font-family:Georgia,serif;font-weight:500}.quality-empty small{color:#88918d}.quality-legend{color:#65716c;background:#eeefe9;border-radius:.7rem;gap:.65rem;margin:.9rem;padding:.8rem;display:flex}.quality-legend>span{border:1px solid #9ca7a1;border-radius:50%;flex:0 0 1.15rem;place-items:center;height:1.15rem;font-family:Georgia,serif;font-size:.7rem;font-weight:700;display:grid}.quality-legend p{margin:0;font-size:.65rem;line-height:1.45}.quality-legend strong{color:#52605a;display:block}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#071c17a8;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.operation-modal{background:var(--paper);border:1px solid #d7d9d2;border-radius:1.05rem;width:min(46rem,100%);max-height:calc(100vh - 3rem);overflow-y:auto;box-shadow:0 25px 80px #071c1766}.operation-modal__header{z-index:1;background:var(--paper);border-bottom:1px solid #e0e1da;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.4rem 1.5rem 1.1rem;display:flex;position:sticky;top:0}.operation-modal__header h2{color:var(--ink);margin:.25rem 0 0;font-family:Georgia,serif;font-size:1.8rem;font-weight:500}.modal-close{aspect-ratio:1;color:#66736d;background:#e9ebe6;border:0;border-radius:.5rem;width:2rem;font-size:1.35rem;line-height:1}.operation-modal__footer{justify-content:flex-end;gap:.65rem;padding-top:.25rem;display:flex}.operation-form{gap:1rem;padding:1.35rem 1.5rem 1.5rem;display:grid}.form-grid{gap:.9rem;display:grid}.form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid--line{grid-template-columns:minmax(14rem,2fr) repeat(3,minmax(7rem,1fr))}.operation-form label,.workspace-form label{color:#52605a;gap:.4rem;font-size:.7rem;font-weight:800;display:grid}.operation-form label>small,.workspace-form label>small{color:#929a96;font-size:.62rem;font-weight:600}.operation-form input,.operation-form select,.workspace-form input,.workspace-form select,.workspace-form textarea{color:#20372f;background:#fff;border:1px solid #cdd2cb;border-radius:.6rem;outline:none;min-width:0;padding:.7rem .78rem}.operation-form input:focus,.operation-form select:focus,.workspace-form input:focus,.workspace-form select:focus,.workspace-form textarea:focus{border-color:#3d7664;box-shadow:0 0 0 3px #2d765f18}.operation-form select:disabled{color:#8d9591;background:#eeefeb}.back-link{color:#526b62;margin-bottom:1rem;font-size:.75rem;font-weight:800;text-decoration:none;display:inline-block}.back-link:hover{color:var(--forest)}.detail-loading{color:#71807a;place-items:center;min-height:18rem;display:grid}.detail-header{justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.3rem;display:flex}.detail-title{align-items:center;gap:.8rem;margin:.25rem 0 .35rem;display:flex}.detail-title h2{color:var(--ink);letter-spacing:-.035em;margin:0;font-family:Georgia,serif;font-size:2.65rem;font-weight:500}.detail-header>div>p:last-child{color:#6f7b75;margin:0}.detail-header__facts{background:#f8f7f2;border:1px solid #dedfd8;border-radius:.8rem;gap:1.8rem;padding:.85rem 1rem;display:flex}.detail-header__facts span{gap:.2rem;display:grid}.detail-header__facts small{color:#84908a;letter-spacing:.07em;text-transform:uppercase;font-size:.62rem;font-weight:800}.detail-header__facts strong{color:#344740;font-size:.73rem}.workflow-rail{background:var(--paper);border:1px solid #dcddd6;border-radius:.85rem;grid-template-columns:repeat(5,1fr);margin-bottom:1rem;padding:1rem 1.2rem;display:grid;position:relative}.workflow-rail:before{content:"";top:1.7rem;background:#d5d8d1;height:1px;position:absolute;inset-inline:10%}.workflow-rail>div{z-index:1;color:#8a938f;text-align:center;place-items:center;gap:.4rem;font-size:.66rem;font-weight:700;display:grid;position:relative}.workflow-rail span{aspect-ratio:1;color:#7c8782;background:var(--paper);border:2px solid #d5d8d1;border-radius:50%;place-items:center;width:1.45rem;font-size:.58rem;display:grid}.workflow-rail .complete{color:#2a624f}.workflow-rail .complete span{color:#fff;background:#3c8a6c;border-color:#3c8a6c}.detail-metrics{background:var(--paper);border:1px solid #dcddd6;border-radius:.85rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem;display:grid;overflow:hidden}.detail-metrics article{border-inline-end:1px solid #dcddd6;gap:.25rem;padding:.9rem 1.1rem;display:grid}.detail-metrics article:last-child{border:0}.detail-metrics small{color:#7c8782;font-size:.65rem;font-weight:800}.detail-metrics strong{color:#2f423b;font-family:Georgia,serif;font-size:1.45rem;font-weight:500}.detail-metrics em{text-transform:uppercase;font-family:Inter,sans-serif;font-size:.57rem;font-style:normal;font-weight:800}.detail-metrics .metric-ok{color:#267054}.detail-metrics .metric-warn{color:#9a5b22}.detail-metrics .metric-danger{color:#9b4034}.detail-layout{grid-template-columns:minmax(0,1.65fr) minmax(18rem,.65fr);align-items:start;gap:1rem;display:grid}.detail-main,.detail-actions{overflow:hidden}.detail-actions{position:sticky;top:1rem}.detail-lines{border-top:1px solid #e0e1da;display:grid}.detail-line{border-bottom:1px solid #e8e8e2;grid-template-columns:2.5rem minmax(10rem,1.2fr) minmax(15rem,1fr) minmax(9rem,.7fr);align-items:center;gap:1rem;padding:1rem 1.25rem;display:grid}.detail-line:last-child{border-bottom:0}.detail-line__number{aspect-ratio:1;color:#5c6c65;background:#eaede8;border-radius:.55rem;place-items:center;width:2rem;font-family:Georgia,serif;font-size:.76rem;display:grid}.detail-line__identity{gap:.18rem;display:grid}.detail-line__identity strong{color:#213b32;font-size:.8rem}.detail-line__identity span{color:#596761;font-size:.72rem}.detail-line__identity small{color:#89928e;font-size:.64rem}.detail-line__identity .origin-path{color:#607970}.detail-line__identity .origin-path--unknown{color:#a36a34}.detail-line__identity .po-match{color:#315e4d;background:#e1eee8;border-radius:.3rem;width:fit-content;margin-top:.12rem;padding:.16rem .35rem;font-weight:700}.detail-line__weights{color:#65716c;font-variant-numeric:tabular-nums;text-align:end;grid-template-columns:repeat(3,1fr);gap:.6rem;font-size:.72rem;display:grid}.detail-line__weights span,.detail-line__weights strong{gap:.12rem;display:grid}.detail-line__weights small{color:#929a96;text-transform:uppercase;font-size:.55rem;font-weight:800}.detail-line__weights strong{color:#233a32}.detail-line__quality{justify-items:end;gap:.3rem;display:grid}.detail-line__quality>div{background:#e8e9e4;border-radius:999px;width:7rem;height:.3rem;overflow:hidden}.detail-line__quality>div span{background:#489174;height:100%;display:block}.detail-line__quality small{color:#99602b;font-size:.62rem;font-weight:700}.detail-line__quality button{padding:0;font-size:.65rem}.detail-empty{color:#7d8883;text-align:center;place-items:center;gap:.35rem;padding:3.2rem 1rem;display:grid}.detail-empty strong{color:#42534c;font-family:Georgia,serif;font-weight:500}.detail-empty span{font-size:.73rem}.workspace-form{background:#f7f7f2;border:1px solid #dcded7;border-radius:.75rem;gap:.85rem;margin:0 1.25rem 1.2rem;padding:1rem;display:grid}.workspace-form__actions{justify-content:flex-end;gap:.65rem;display:flex}.form-calculation{color:#65716c;background:#e9ede7;border-radius:.55rem;justify-content:space-between;align-items:center;padding:.6rem .75rem;font-size:.7rem;display:flex}.form-calculation strong{color:#1d3b31;font-family:Georgia,serif;font-size:1.15rem}.form-help{color:#7a8580;margin:0;font-size:.7rem}.form-help--warning{color:#955922}.identity-switch{background:#e5e8e2;border-radius:.6rem;grid-template-columns:repeat(2,minmax(0,1fr));padding:.2rem;display:grid}.identity-switch button{color:#65716c;background:0 0;border:0;border-radius:.45rem;padding:.55rem;font-size:.7rem;font-weight:800}.identity-switch button.active{color:#236248;background:#fff;box-shadow:0 2px 8px #253a3220}.provenance-fieldset{border:1px solid #d9ddd6;border-radius:.65rem;margin:0;padding:.8rem}.provenance-fieldset legend{color:#53645d;letter-spacing:.04em;padding:0 .35rem;font-size:.66rem;font-weight:800}.po-variance{color:#53685f;background:#e1eee8;border-radius:.55rem;justify-content:space-between;align-items:center;padding:.6rem .75rem;font-size:.68rem;display:flex}.po-variance strong{color:#236248}.po-variance--over{color:#7a5228;background:#f8e9d5}.po-variance--over strong{color:#9a5a20}.operation-warning{color:#71532e;background:#fff5e6;border:1px solid #ead2ad;border-radius:.6rem;align-items:flex-start;gap:.7rem;padding:.75rem;display:flex}.operation-warning>span{color:#fff;background:#bd7a31;border-radius:50%;flex:0 0 1.3rem;place-items:center;height:1.3rem;font-size:.7rem;font-weight:800;display:grid}.operation-warning p{margin:0;font-size:.68rem;line-height:1.45}.operation-warning strong{margin-bottom:.12rem;display:block}.next-action{border-top:1px solid #e4e5de;gap:.8rem;padding:1rem 1.2rem;display:flex}.next-action__number{color:#376652;background:#dceae3;border-radius:.45rem;flex:0 0 1.55rem;place-items:center;height:1.55rem;font-family:Georgia,serif;font-size:.75rem;display:grid}.next-action>div{min-width:0}.next-action strong{color:#31483f;font-size:.76rem}.next-action p{color:#7a8580;margin:.3rem 0 .75rem;font-size:.68rem;line-height:1.45}.next-action--locked{opacity:.65}.inline-operation{background:#f5f5f0;border-top:1px solid #dfe1da;padding-top:1rem}.inline-operation__title{color:#344a41;justify-content:space-between;align-items:center;margin:0 1.25rem .75rem;font-size:.78rem;display:flex}.inline-operation__title button{color:#65716c;background:0 0;border:0;font-size:1.2rem}.criterion-row{grid-template-columns:1fr 9rem;align-items:end;gap:.75rem;display:grid}.decision-switch{background:#e5e8e2;border-radius:.6rem;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));padding:.2rem;display:grid}.decision-switch button{color:#65716c;background:0 0;border:0;border-radius:.45rem;padding:.55rem;font-size:.7rem;font-weight:800}.decision-switch button.active{color:#236248;background:#fff;box-shadow:0 2px 8px #253a3220}.decision-switch button.active.reject{color:#963e32}.danger-button{background:#9b4034}.danger-button:hover{background:#7e3028}.completion-state{color:#6b7973;text-align:center;border-top:1px solid #e4e5de;place-items:center;gap:.4rem;padding:2rem 1.2rem;display:grid}.completion-state>span{aspect-ratio:1;color:#fff;background:#3d866a;border-radius:50%;place-items:center;width:2.7rem;display:grid}.completion-state strong{color:#2e4a3f;margin-top:.35rem;font-family:Georgia,serif;font-weight:500}.completion-state p{margin:0;font-size:.7rem}.trace-search{gap:.65rem;padding:1.25rem;display:grid}.trace-search label{color:#5f6b66;font-size:.78rem;font-weight:800}.trace-search>div{gap:.75rem;display:flex}.trace-search input{background:#fff;border:1px solid #c8ccc5;border-radius:.75rem;flex:1;min-width:0;padding:.9rem 1rem}.trace-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.production-forms-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}@media (width<=820px){.production-forms-grid{grid-template-columns:1fr}}.weighing-history{border-top:1px dashed #d8ddd7;grid-column:2/-1;padding-top:.65rem}.weighing-history summary{color:#68756f;cursor:pointer;font-size:.72rem;font-weight:800}.weighing-history>div{align-items:flex-start;gap:.65rem;margin-top:.6rem;display:flex}.weighing-history>div>span{background:#eceee9;border-radius:50%;flex:0 0 1.55rem;justify-content:center;align-items:center;width:1.55rem;height:1.55rem;font-size:.65rem;display:inline-flex}.weighing-history>div.current>span{color:#27684e;background:#dcece4}.weighing-history p{gap:.12rem;margin:0;display:grid}.weighing-history small,.weighing-history em{color:#718079;font-size:.7rem}.weighing-history em{font-style:normal}.receipt-documents{border-top:1px solid #e2e4de;margin-top:1.25rem;padding-top:1.25rem}.document-count{background:#eceee9;border-radius:999px;justify-content:center;align-items:center;min-width:1.8rem;height:1.8rem;padding:0 .45rem;font-size:.7rem;font-weight:800;display:inline-flex}.document-upload{background:#f4f5f1;border:1px dashed #cdd2cc;border-radius:.65rem;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.75rem;margin:.9rem 0;padding:.85rem;display:grid}.document-upload label,.document-review label{gap:.4rem;font-size:.72rem;font-weight:800;display:grid}.document-upload input[type=file]{font:inherit;background:#fff;border:1px solid #c8ccc5;border-radius:.45rem;padding:.45rem}.document-list{display:grid}.document-row{border-bottom:1px solid #e2e4de;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem 0;display:grid}.document-icon{color:#65736d;background:#eceee9;border-radius:.4rem;justify-content:center;align-items:center;width:2.7rem;height:2.25rem;font-size:.58rem;font-weight:900;display:flex}.document-row>div:nth-child(2){gap:.15rem;min-width:0;display:grid}.document-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-row small{color:#718079}.document-actions{align-items:center;gap:.35rem;display:flex}.text-button--danger{color:#9b4034}.document-review{background:#f4f5f1;border-radius:.6rem;margin-top:.75rem;padding:.85rem}.detail-empty--compact{min-height:auto;padding:1.5rem 1rem}@media (width<=820px){.login-page{grid-template-columns:1fr}.login-story{min-height:38vh;padding:2rem}.login-story h1{font-size:3rem}.login-footnote{display:none}.app-frame{grid-template-columns:1fr}.sidebar{flex-direction:column;align-items:stretch;gap:.5rem;padding:1rem}.sidebar .brand-mark{border:0;padding:0}.sidebar .brand-mark small,.sidebar-foot{display:none}.sidebar nav{width:100%;margin:.5rem 0 0;display:grid}.metric-grid,.quality-summary,.trace-summary{grid-template-columns:1fr}.hero-seal{display:none}.section-heading{flex-direction:column;align-items:start}.reception-header{flex-direction:column;align-items:flex-start;gap:1rem}.reception-header__actions{justify-content:space-between;width:100%}.reception-header__context{width:100%}.reception-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reception-metric:nth-child(2){border-inline-end:0}.reception-metric:nth-child(-n+2){border-bottom:1px solid var(--reception-border)}.reception-layout{grid-template-columns:1fr}.quality-queue{position:static}.detail-header{flex-direction:column;align-items:flex-start}.detail-header__facts{justify-content:space-between;width:100%}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metrics article:nth-child(2){border-inline-end:0}.detail-metrics article:nth-child(-n+2){border-bottom:1px solid #dcddd6}.detail-layout{grid-template-columns:1fr}.detail-actions{position:static}.detail-line{grid-template-columns:2.5rem 1fr}.detail-line__weights,.detail-line__quality{grid-column:2}.detail-line__quality{justify-items:start}.form-grid--line{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.reception-page{padding-inline:1rem}.reception-header h2{font-size:2rem}.reception-metrics{grid-template-columns:1fr}.reception-metric{border-inline-end:0;border-bottom:1px solid var(--reception-border)}.reception-metric:nth-child(3){border-bottom:1px solid var(--reception-border)}.reception-metric:last-child{border-bottom:0}.reception-toolbar{grid-template-columns:1fr}.reception-header__actions{flex-direction:column;align-items:stretch}.form-grid--two,.form-grid--line,.criterion-row{grid-template-columns:1fr}.operation-modal{max-height:calc(100vh - 1rem)}.modal-backdrop{padding:.5rem}.detail-title{flex-direction:column;align-items:flex-start}.detail-title h2{font-size:2.15rem}.workflow-rail{padding-inline:.4rem}.workflow-rail small{font-size:.55rem}.detail-header__facts{flex-direction:column;align-items:flex-start;gap:.8rem}.detail-metrics{grid-template-columns:1fr}.detail-metrics article{border-inline-end:0;border-bottom:1px solid #dcddd6}.detail-line__weights{text-align:start;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.document-upload,.document-row{grid-template-columns:1fr}.document-icon{display:none}.document-actions{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.reception-skeleton span,.quality-item--loading span{animation:none}}.suppliers-view,.sites-view,.producers-view{flex-direction:column;gap:1.5rem;padding:1rem clamp(1.5rem,4vw,4.5rem) 4rem;display:flex}.view-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.view-header h2{color:#1a1e1b;margin:.2rem 0 .4rem;font-family:Georgia,serif;font-size:2.1rem;font-weight:500}.view-subtitle{color:#5c625c;max-width:680px;margin:0;font-size:.95rem;line-height:1.45}.supplier-stats-grid{grid-template-columns:repeat(4,1fr);gap:1rem;display:grid}.stat-card{background:#fff;border:1px solid #dcddd6;border-radius:8px;flex-direction:column;gap:.35rem;padding:1.1rem 1.25rem;display:flex;box-shadow:0 1px 3px #0000000a}.stat-card__label{text-transform:uppercase;letter-spacing:.05em;color:#6e756e;font-size:.75rem;font-weight:600}.stat-card__value{color:#1a1e1b;font-family:Georgia,serif;font-size:1.85rem;font-weight:600;line-height:1.1}.stat-card__hint{color:#7b837b;font-size:.8rem}.supplier-toolbar{background:#fff;border:1px solid #dcddd6;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.search-field{color:#5c625c;background:#f8f8f5;border:1px solid #d4d6cd;border-radius:6px;flex:1;align-items:center;gap:.5rem;min-width:260px;max-width:440px;padding:.4rem .75rem;display:flex}.search-field input{color:#1a1e1b;background:0 0;border:none;outline:none;width:100%;padding:0;font-size:.9rem}.clear-search-btn{color:#8a918a;cursor:pointer;background:0 0;border:none;padding:0;font-size:1.1rem;line-height:1}.toolbar-filters{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.filter-group{background:#f0f1ec;border-radius:6px;gap:2px;padding:3px;display:flex}.filter-chip{color:#5c625c;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.35rem .75rem;font-size:.8rem;font-weight:500;transition:all .15s}.filter-chip--active{color:#1a1e1b;background:#fff;font-weight:600;box-shadow:0 1px 2px #00000014}.filter-select-wrapper select{color:#2b302c;cursor:pointer;background:#fff;border:1px solid #d4d6cd;border-radius:6px;outline:none;padding:.4rem .75rem;font-size:.85rem}.supplier-table-container{background:#fff;border:1px solid #dcddd6;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.supplier-table{border-collapse:collapse;width:100%}.supplier-table th{color:#545b54;text-transform:uppercase;letter-spacing:.05em;background:#f8f8f5;border-bottom:1px solid #dcddd6;padding:.85rem 1rem;font-size:.75rem;font-weight:600}.supplier-table td{vertical-align:middle;border-bottom:1px solid #ebece6;padding:.9rem 1rem;font-size:.9rem}.supplier-table tbody tr:last-child td{border-bottom:none}.supplier-table tbody tr:hover{background:#fafaf7}.row--archived{opacity:.65;background:#fbfbf9}.code-badge{color:#2c332e;letter-spacing:.02em;background:#ebece6;border-radius:4px;padding:.2rem .45rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:600}.supplier-name{color:#1a1e1b;font-size:.92rem;font-weight:600}.date-cell{color:#707870;font-size:.82rem}.capability-badges{flex-wrap:wrap;gap:.4rem;display:flex}.cap-badge{border-radius:12px;padding:.15rem .5rem;font-size:.72rem;font-weight:600;line-height:1.3}.cap-badge--supplier{color:#137333;background:#e6f4ea;border:1px solid #ceead6}.cap-badge--producer{color:#b06000;background:#fef7e0;border:1px solid #feefc3}.cap-badge--carrier{color:#1a73e8;background:#e8f0fe;border:1px solid #d2e3fc}.cap-badge--customer{color:#8430ce;background:#f3e8fd;border:1px solid #e9d2fd}.action-buttons-cell{justify-content:flex-end;gap:.35rem;display:flex}.ghost-button--small{color:#3d433e;cursor:pointer;background:0 0;border:1px solid #d4d6cd;border-radius:4px;padding:.25rem .6rem;font-size:.8rem;transition:all .15s}.ghost-button--small:hover{background:#f0f1ec;border-color:#bcc0b5}.text-danger{color:#b3261e!important}.text-danger:hover{background:#fce8e6!important;border-color:#fad2cf!important}.text-success:hover{background:#e6f4ea!important;border-color:#ceead6!important}.primary-button--danger{color:#fff;background:#b3261e;border:1px solid #a52019}.primary-button--danger:hover:not(:disabled){background:#8e1c15}.primary-button--success{color:#fff;background:#1e7e34;border:1px solid #19692c}.primary-button--success:hover:not(:disabled){background:#155724}.empty-suppliers-state{text-align:center;flex-direction:column;align-items:center;gap:.6rem;padding:3.5rem 1.5rem;display:flex}.empty-icon{margin-bottom:.2rem;font-size:2.5rem}.empty-suppliers-state h3{color:#1a1e1b;margin:0;font-family:Georgia,serif;font-size:1.4rem}.empty-suppliers-state p{color:#5c625c;max-width:420px;margin:0 0 1rem;font-size:.9rem}.capabilities-fieldset{background:#f9f9f6;border:1px solid #e2e3dd;border-radius:6px;flex-direction:column;gap:.6rem;padding:.9rem 1rem;display:flex}.fieldset-label{text-transform:uppercase;letter-spacing:.04em;color:#545b54;font-size:.8rem;font-weight:600}.capabilities-checkboxes{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.checkbox-label{cursor:pointer;color:#2b302c;align-items:flex-start;gap:.5rem;font-size:.85rem;display:flex}.checkbox-label input[type=checkbox]{cursor:pointer;margin-top:.2rem}.checkbox-label span{flex-direction:column;gap:.1rem;display:flex}.checkbox-label span strong{color:#1a1e1b;font-size:.88rem}.checkbox-label span small{color:#6e756e;font-size:.75rem;line-height:1.3}.checkbox-label--locked{cursor:default;opacity:.85}.checkbox-label--locked input{cursor:default}.field-hint{color:#7b837b;margin-top:.2rem;font-size:.75rem;display:block}.field-label-with-action{justify-content:space-between;align-items:center;display:flex}.inline-action-btn{color:#1e7e34;cursor:pointer;background:0 0;border:none;padding:0;font-size:.8rem;font-weight:600;text-decoration:underline}.inline-action-btn:hover{color:#155724}.warning-banner{color:#7c4a03;background:#fef7e0;border:1px solid #feefc3;border-radius:6px;flex-direction:column;gap:.3rem;margin-bottom:.5rem;padding:.85rem 1rem;font-size:.88rem;display:flex}.warning-banner strong{color:#613800;font-size:.92rem}.warning-banner p{margin:0;font-size:.82rem}.confirmation-modal{max-width:480px}.confirmation-modal__body{color:#2b302c;flex-direction:column;gap:.75rem;padding:1.25rem 1.5rem;font-size:.92rem;display:flex}.confirmation-modal__body p{margin:0;line-height:1.45}.hint-text{color:#6e756e;font-size:.82rem}.hierarchy-panel{background:var(--paper);border:1px solid var(--line);border-radius:1rem;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 2px 10px #00000008}.hierarchy-panel__header{border-bottom:1px solid var(--line);background:#f6f5ef;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.hierarchy-panel__count{color:#43514a;background:#e6e8e2;border-radius:999px;justify-content:center;align-items:center;min-width:1.6rem;height:1.6rem;padding:0 .45rem;font-size:.72rem;font-weight:800;display:inline-flex}.hierarchy-list{flex-direction:column;max-height:36rem;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.hierarchy-row{border-bottom:1px solid #ededeb;flex-direction:column;transition:background .15s;display:flex}.hierarchy-row:hover{background:#fbfbf7}.hierarchy-item{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:none;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.95rem 1.15rem;transition:all .15s;display:flex}.hierarchy-item--static{cursor:default}.hierarchy-item--archived{opacity:.6;background:#fcfcfb}.hierarchy-item__main{flex-direction:column;flex:1;align-items:flex-start;gap:.3rem;min-width:0;display:flex}.hierarchy-item__main strong{color:var(--ink);word-break:break-word;font-size:.92rem}.hierarchy-item__meta{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.35rem;display:flex}.hierarchy-item__actions{background:inherit;justify-content:flex-end;gap:.35rem;padding:.35rem 1.15rem .65rem;display:flex}.hierarchy-placeholder{text-align:center;color:#727e77;background:#faf9f4;padding:3.5rem 1.5rem;font-size:.88rem;line-height:1.5}.origin-guidance{color:#55625c;background:#edf3ef;border:1px solid #dbe3dc;border-radius:.75rem;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1.15rem;font-size:.82rem;display:flex}.origin-guidance a{color:var(--forest);font-weight:700;text-decoration:underline}@media (width<=1024px){.origin-workspace{grid-template-columns:1fr}}@media (width<=860px){.supplier-stats-grid,.site-stats-grid{grid-template-columns:repeat(2,1fr)}.capabilities-checkboxes{grid-template-columns:1fr}}@media (width<=520px){.supplier-stats-grid,.site-stats-grid{grid-template-columns:1fr}.supplier-toolbar,.site-toolbar{flex-direction:column;align-items:stretch}.search-field{max-width:none}}.sites-view{flex-direction:column;gap:1.5rem;padding:1.5rem 2rem 3rem;display:flex}.site-stats-grid{grid-template-columns:repeat(4,1fr);gap:1rem;display:grid}.site-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.site-table-container{background:#fff;border:1px solid #e1e4e0;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.site-table{border-collapse:collapse;width:100%}.site-code-badge{color:#1b4332;letter-spacing:.04em;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:4px;padding:.2rem .5rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;font-weight:700;display:inline-block}.site-name-cell strong{color:#1f2421;font-size:.92rem}.timezone-tag{color:#4a5568;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.82rem;display:inline-flex}.access-status-cell{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.access-badge{border-radius:12px;align-items:center;gap:.35rem;padding:.2rem .55rem;font-size:.78rem;font-weight:600;display:inline-flex}.access-badge--granted{color:#137333;background:#e6f4ea}.access-badge--none{color:#5f6368;background:#f1f3f4}.access-action-link{color:#1a73e8;cursor:pointer;background:0 0;border:none;padding:0;font-size:.78rem;font-weight:600;text-decoration:underline}.access-action-link:hover{color:#1557b0}.access-action-link:disabled{opacity:.5;cursor:wait}.empty-sites-state{text-align:center;color:#5f6368;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;display:flex}.empty-sites-state .empty-icon{margin-bottom:.75rem;font-size:3rem}.empty-sites-state h3{color:#202124;margin:0 0 .5rem;font-size:1.15rem}.empty-sites-state p{max-width:420px;margin:0 0 1.5rem;font-size:.9rem;line-height:1.4}.self-access-checkbox-container{flex-direction:column;gap:.35rem;display:flex}.field-label-text{color:#2b302c;letter-spacing:.02em;font-size:.82rem;font-weight:700}.checkbox-label--standalone{background:#f8faf8;border:1px solid #e2e8e0;border-radius:6px;margin-top:.25rem;padding:.65rem .85rem}.input--disabled{cursor:not-allowed;color:#5f6368!important;background-color:#f1f3f4!important}.origin-workspace{grid-template-columns:minmax(260px,1fr) minmax(280px,1.1fr) minmax(260px,1fr);gap:1rem;margin-top:1rem;display:grid}@media (width<=1100px){.origin-workspace{grid-template-columns:1fr}}.hierarchy-panel{background:#fff;border:1px solid #dcddd6;border-radius:8px;flex-direction:column;min-height:280px;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.hierarchy-panel__header{background:#f8f8f5;border-bottom:1px solid #ebece6;justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem 1rem;display:flex}.hierarchy-panel__header h3{color:#1a1e1b;margin:.15rem 0 0;font-family:Georgia,serif;font-size:1.15rem;font-weight:500}.hierarchy-panel__header .eyebrow{margin:0}.hierarchy-panel__actions{align-items:center;gap:.5rem;display:flex}.hierarchy-panel__count{color:#2c332e;background:#ebece6;border-radius:999px;padding:.2rem .5rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:700}.hierarchy-placeholder{color:#6e756e;text-align:center;padding:2rem 1.25rem;font-size:.9rem;line-height:1.5}.hierarchy-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.hierarchy-list li+li{border-top:1px solid #f0f1ec}.hierarchy-row{gap:.35rem;padding:.75rem .5rem .75rem 0;display:grid}.hierarchy-item{text-align:start;cursor:pointer;background:0 0;border:none;gap:.55rem;width:100%;padding:.35rem .5rem;transition:background .12s;display:grid}.hierarchy-item--selected{box-shadow:inset 3px 0 var(--forest);background:#eef7f2}.hierarchy-item--static{cursor:default;padding:.35rem .5rem}.hierarchy-item__main{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.hierarchy-item__main strong{color:#1a1e1b;font-size:.92rem}.hierarchy-item__sub{color:#6e756e;font-size:.78rem}.hierarchy-item__meta{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.hierarchy-item__meta small{color:#7b837b;font-size:.78rem}.hierarchy-item__actions{flex-wrap:wrap;gap:.3rem;padding:0 .5rem;display:flex}.origin-guidance{color:#5c625c;margin-top:1.1rem;font-size:.88rem}.origin-guidance a{color:var(--forest);font-weight:700}.products-view .section-tabs{border-bottom:1px solid #dfe4df;gap:.4rem;margin-top:.4rem;display:flex}.products-view .section-tab{appearance:none;color:#6e756e;cursor:pointer;font:inherit;background:0 0;border:none;border-bottom:2px solid #0000;padding:.6rem 1rem;font-weight:600}.products-view .section-tab:hover{color:#1a1e1b}.products-view .section-tab--active{border-bottom-color:var(--forest,#1f6b45);color:#1a1e1b}.products-view .variant-row td{background:#f6f8f6;border-top:none;font-size:.86rem}.products-view .variant-row td:first-child{padding-left:1.6rem}.attributes-editor{flex-direction:column;gap:.45rem;margin-top:.4rem;display:flex}.attributes-editor .fieldset-label{color:#4c534c;font-size:.82rem;font-weight:700}.attribute-row{grid-template-columns:1fr 1fr auto;align-items:center;gap:.4rem;display:grid}.attribute-row input{min-width:0}.quality-templates-toolbar{flex-wrap:wrap;align-items:end;gap:.85rem;margin:.25rem 0 1rem;display:flex}.quality-templates-toolbar label{color:#52605a;gap:.35rem;font-size:.7rem;font-weight:800;display:grid}.quality-templates-toolbar input,.quality-templates-toolbar select{color:#20372f;background:#fff;border:1px solid #cdd2cb;border-radius:.6rem;outline:none;min-width:0;padding:.62rem .7rem}.quality-templates-toolbar__search{flex:14rem}.quality-family{margin-bottom:1rem;overflow:hidden}.quality-family__header{border-bottom:1px solid #e2e3dc;justify-content:space-between;align-items:center;gap:1rem;padding:.95rem 1.15rem;display:flex}.quality-family__header h3{color:var(--ink);margin:0;font-family:Georgia,serif;font-size:1.2rem;font-weight:500}.quality-family__header small{color:#7c8782;font-size:.68rem;font-weight:700}.quality-family__table-wrap{overflow-x:auto}.quality-family__table{width:100%}.quality-family__actions{white-space:nowrap;flex-wrap:wrap;gap:.35rem .65rem;display:flex}.quality-current-badge{vertical-align:middle;margin-left:.45rem}.quality-criterion-card{background:#f7f7f2;border:1px solid #dcded7;border-radius:.7rem;gap:.55rem;padding:.8rem;display:grid}.quality-criterion-card__grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));align-items:end;gap:.65rem;display:grid}.quality-criterion-card__grid label{color:#52605a;gap:.3rem;font-size:.66rem;font-weight:800;display:grid}.quality-criterion-card__grid input,.quality-criterion-card__grid select{color:#20372f;background:#fff;border:1px solid #cdd2cb;border-radius:.55rem;outline:none;min-width:0;padding:.55rem .6rem}.quality-criterion-card__mandatory{justify-items:start;gap:.3rem;display:grid}.quality-criterion-card__mandatory span{color:#52605a;font-size:.66rem;font-weight:800}.quality-criterion-card__actions{justify-content:flex-end;gap:.7rem;display:flex}.quality-editor__criteria{gap:.65rem;display:grid}.quality-editor__criteria-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.quality-editor__criteria-head strong{color:#2f423b;text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.quality-preview{gap:.45rem;display:grid}.quality-preview__row{background:#fbfbf7;border:1px solid #e0e1da;border-radius:.55rem;grid-template-columns:1.6rem 1fr;align-items:start;gap:.65rem;padding:.55rem .65rem;display:grid}.quality-preview__order{aspect-ratio:1;color:#2d765f;background:#dceee6;border-radius:50%;place-items:center;width:1.5rem;font-size:.66rem;font-weight:800;display:grid}.quality-preview__row strong{color:#20372f;font-size:.84rem;display:block}.quality-preview__row small{color:#7c8782;font-size:.68rem}.quality-approve-summary{background:#f7f7f2;border:1px solid #e0e1da;border-radius:.65rem;gap:.3rem;padding:.8rem .9rem;display:grid}.quality-approve-summary p{color:#455249;margin:0;font-size:.78rem}.quality-section-title{color:#2f423b;text-transform:uppercase;letter-spacing:.04em;margin:.35rem 0 0;font-size:.78rem}@media (width<=820px){.quality-criterion-card__grid{grid-template-columns:1fr}.quality-family__actions{white-space:normal}}.locations-view{flex-direction:column;gap:1.25rem;display:flex}.location-badge{color:#334e44;background:#edf2f0;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.76rem;font-weight:600;display:inline-flex}.location-badge--quarantine{color:#92400e;background:#fef3c7;border:1px solid #fde68a;font-weight:700}.location-badge--warehouse{color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd}.location-badge--cold-room{color:#6d28d9;background:#ede9fe;border:1px solid #ddd6fe}.location-badge--production{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.stock-qty-list{flex-wrap:wrap;gap:.25rem;display:flex}.quarantine-ready-badge{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;align-items:center;gap:.25rem;padding:.2rem .55rem;font-size:.74rem;font-weight:600;display:inline-flex}.quarantine-missing-badge{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:999px;align-items:center;gap:.25rem;padding:.2rem .55rem;font-size:.74rem;font-weight:600;display:inline-flex}.parent-badge{color:#334155;background:#f1f5f9;border-radius:.3rem;padding:.15rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.78rem;display:inline-block}.stock-qty-badge{color:#1e40af;background:#dbeafe;border-radius:.35rem;align-items:center;padding:.2rem .5rem;font-size:.76rem;font-weight:600;display:inline-flex}.compatibility-tag{color:#4b5563;background:#f3f4f6;border-radius:.25rem;margin-top:.2rem;padding:.1rem .35rem;font-size:.7rem;display:inline-block}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0a1f1880;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-panel{background:var(--paper);border:1px solid var(--line);border-radius:1.25rem;width:min(100%,32rem);padding:2rem;animation:.18s modal-in;box-shadow:0 24px 60px #05150f30}.modal-panel--wide{width:min(100%,58rem)}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}.modal-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex}.modal-header h2{color:var(--ink);margin:.25rem 0 0;font-family:Georgia,serif;font-size:1.65rem;font-weight:500}.modal-close{color:#7a847f;cursor:pointer;background:0 0;border:0;border-radius:.5rem;flex-shrink:0;padding:.2rem .5rem;font-size:1.6rem;line-height:1}.modal-close:hover{color:var(--ink);background:#eeede8}.modal-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:.75rem;margin-top:1.5rem;padding-top:1.25rem;display:flex}.form-input{background:#fff;border:1px solid #d3d6cf;border-radius:.65rem;outline:none;width:100%;padding:.75rem 1rem}.form-input:focus{border-color:#3d7664;box-shadow:0 0 0 3px #2d765f18}.info-banner{color:#1d5c40;background:#e8f4ee;border-inline-start:4px solid #3a8f6b;border-radius:.35rem;padding:.85rem 1rem;font-size:.82rem;line-height:1.5}.admin-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.admin-toolbar--multi{flex-wrap:wrap;gap:.65rem}.admin-select{height:2.55rem;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #d3d6cf;border-radius:.65rem;outline:none;padding:.6rem .85rem;font-size:.82rem}.admin-select:focus{border-color:#3d7664;box-shadow:0 0 0 3px #2d765f18}.admin-table-wrap{border:1px solid var(--line);background:var(--paper);border-radius:1rem;overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;min-width:42rem}.admin-table th{border-bottom:1px solid var(--line);letter-spacing:.08em;text-transform:uppercase;text-align:start;color:#6d7873;background:#f6f5f0;padding:.75rem 1.1rem;font-size:.66rem;font-weight:800}.admin-table td{vertical-align:middle;color:#3a4743;border-bottom:1px solid #edede8;padding:1rem 1.1rem;font-size:.82rem}.admin-table tbody tr:last-child td{border-bottom:0}.admin-table tbody tr:hover{background:#fafaf6}.admin-table td small{color:#7e8a84;margin-top:.2rem;font-size:.74rem;display:block}.admin-row--deleted td{opacity:.55}.admin-role-name{align-items:center;gap:.6rem;display:flex}.admin-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.secondary-button--danger{color:#8e2f24!important;border-color:#e5c0bc!important}.secondary-button--danger:hover{background:#fdf1ef!important}.admin-user-identity{align-items:center;gap:.85rem;display:flex}.admin-avatar{background:var(--forest);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:2.1rem;height:2.1rem;font-size:.85rem;font-weight:700;display:grid}.admin-tag-list{flex-wrap:wrap;gap:.35rem;display:flex}.perm-modal{flex-direction:column;max-height:90vh;display:flex;overflow:hidden}.perm-toolbar{flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:.85rem;display:flex}.perm-toolbar-actions{gap:.5rem;display:flex}.perm-search{flex:16rem;min-width:12rem}.perm-copy-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:.65rem;padding:.65rem 0;display:flex}.perm-copy-label{white-space:nowrap;font-size:.78rem;font-weight:700}.perm-select{height:2.4rem;font:inherit;cursor:pointer;border:1px solid #d3d6cf;border-radius:.6rem;outline:none;flex:12rem;padding:.5rem .85rem;font-size:.8rem}.perm-layout{flex:1;grid-template-columns:1fr 16rem;gap:1rem;min-height:0;display:grid;overflow:hidden}.perm-list{flex-direction:column;gap:1rem;min-height:0;padding-right:.5rem;display:flex;overflow-y:auto}.perm-category{border:1px solid var(--line);border-radius:.85rem;flex-shrink:0;overflow:hidden}.perm-category-header{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#f6f5f0;border:0;justify-content:space-between;align-items:center;padding:.65rem 1rem;display:flex}.perm-category-header:hover{background:#efeee8}.perm-category-header:focus-visible{outline:2px solid var(--forest);outline-offset:-2px}.perm-category-header strong{font-size:.78rem}.perm-category-meta{align-items:center;gap:.55rem;display:flex}.perm-category-chevron{color:#68746e;font-size:1rem;line-height:1}.perm-subgroup{padding:.5rem .85rem .65rem}.perm-subgroup-label{letter-spacing:.07em;text-transform:uppercase;color:#7b877f;margin:.25rem 0 .4rem;font-size:.68rem;font-weight:800}.perm-item{cursor:pointer;border-radius:.45rem;align-items:flex-start;gap:.65rem;padding:.45rem .55rem;font-size:.8rem;transition:background .1s;display:flex}.perm-item:hover{background:#f3f2ec}.perm-item--disabled{opacity:.55;cursor:not-allowed}.perm-item input[type=checkbox]{accent-color:var(--forest);flex-shrink:0;margin-top:.15rem}.perm-item-content{gap:.15rem;display:grid}.perm-key{color:#2a4a40;background:#eceae4;border-radius:.3rem;padding:.1rem .35rem;font-family:JetBrains Mono,Fira Code,monospace;font-size:.72rem}.perm-desc{color:#414e49;line-height:1.3}.perm-implies{color:#889088;font-size:.68rem}.perm-preview{border:1px solid var(--line);background:var(--paper);border-radius:.85rem;align-self:start;padding:1rem;position:sticky;top:0}.perm-preview-empty{color:#8a928e;font-size:.78rem}.perm-page-list{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.perm-page-item{color:#33514a;align-items:center;gap:.55rem;font-size:.78rem;display:flex}.perm-summary{border-top:1px solid var(--line);color:#5e6b66;margin-top:1rem;padding-top:.85rem;font-size:.78rem}.perm-summary strong{color:var(--ink);font-family:Georgia,serif;font-size:1.5rem;font-weight:500}.perm-count-btn{color:var(--forest);cursor:pointer;background:0 0;border:1px solid #d5dbd8;border-radius:.5rem;padding:.3rem .65rem;font-size:.75rem;font-weight:700;transition:border-color .15s,background .15s}.perm-count-btn:hover{background:#eaf5ef;border-color:#3d7664}.reception-count--muted{color:#8a938e;background:#eeede8}.user-form-grid{grid-template-columns:1fr 1fr;gap:2rem;margin-top:1rem;display:grid}@media (width<=48rem){.user-form-grid,.perm-layout{grid-template-columns:1fr}}.user-multiselect-group{border:1px solid var(--line);border-radius:.75rem;margin:0;padding:.85rem 1rem}.user-multiselect-group legend{padding:0 .35rem}.user-multiselect-list{gap:.3rem;max-height:12rem;display:grid;overflow-y:auto}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f8fa;--surface:#fff;--border:#e5e9ef;--text:#0f172a;--muted:#475569;--faint:#64748b;--hover:#f1f5f9;--primary:#10b981;--primary-h:#059669;--primary-soft:#d1fae5;--primary-ink:#047857;--ok:#15803d;--ok-bg:#dcfce7;--warn:#b45309;--warn-bg:#fef3c7;--bad:#dc2626;--bad-bg:#fee2e2;--info:#2563eb;--info-bg:#dbeafe;--radius:14px;--radius-sm:10px;--shadow:0 1px 3px #0f172a0f;--overlay:#0f172a7a;--skeleton:#e2e8f0;--on-primary:#fff;--ink:var(--text);--forest:var(--primary-ink);--forest-dark:var(--text);--mint:var(--primary-soft);--paper:var(--surface);--line:var(--border);--orange:var(--primary)}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1220;--surface:#111a2c;--border:#1f2a3f;--text:#f1f5f9;--muted:#a8b3c5;--faint:#7c8ca5;--hover:#18233a;--primary-soft:#0e3b2e;--primary-ink:#6ee7b7;--ok:#6ee7b7;--ok-bg:#0e3b2e;--warn:#fbbf24;--warn-bg:#3a2a0c;--bad:#fca5a5;--bad-bg:#3d1414;--info:#93c5fd;--info-bg:#12274d;--shadow:0 1px 3px #0000003d;--overlay:#020617b8;--skeleton:#26344d}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1220;--surface:#111a2c;--border:#1f2a3f;--text:#f1f5f9;--muted:#a8b3c5;--faint:#7c8ca5;--hover:#18233a;--primary-soft:#0e3b2e;--primary-ink:#6ee7b7;--ok:#6ee7b7;--ok-bg:#0e3b2e;--warn:#fbbf24;--warn-bg:#3a2a0c;--bad:#fca5a5;--bad-bg:#3d1414;--info:#93c5fd;--info-bg:#12274d;--shadow:0 1px 3px #0000003d;--overlay:#020617b8;--skeleton:#26344d}}html{background:var(--bg)}body{color:var(--text);background:var(--bg);font:400 14px/1.5 Inter,system-ui,-apple-system,Segoe UI,sans-serif;overflow-x:hidden}html body .workspace *,html body .login-page *{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--primary-ink)}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1{color:var(--text);letter-spacing:-.02em;margin:0;font-size:26px;font-weight:700;line-height:1.2}h2,h3,h4{color:var(--text)}button,a,input,select,textarea{transition:color .14s,background-color .14s,border-color .14s}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline-offset:2px;outline:2px solid var(--primary)!important;box-shadow:none!important}.app-frame{background:var(--bg);grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:30;height:100vh;color:var(--text);background:var(--surface);border-inline-end:1px solid var(--border);padding:20px 16px;position:sticky;top:0;overflow-y:auto}.sidebar .brand-mark{border:0;padding:0 8px 20px}.brand-mark>span{width:40px;color:var(--on-primary);background:var(--primary);border-radius:12px;font-size:18px;font-weight:700}.brand-mark strong{color:var(--text);font-size:15px}.brand-mark small{color:var(--muted);font-size:12px}.sidebar nav{gap:19px;margin-top:12px;display:grid}.sidebar-group{min-width:0}.sidebar-group-label{color:var(--faint);margin:0 10px 6px;font-size:12px;font-weight:600}.sidebar-group-items{gap:2px;padding:0;display:grid}.sidebar nav a{border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:10px;padding:8px 10px;font-weight:500;text-decoration:none;display:flex}.sidebar nav a:hover{color:var(--text);background:var(--hover)}.sidebar nav a.active{color:var(--primary-ink);background:var(--primary-soft);box-shadow:none;font-weight:600}.nav-icon{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.sidebar-backdrop{display:none}.workspace{background:var(--bg);min-width:0}.workspace-content{width:100%;max-width:1280px;margin-inline:auto}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;min-height:64px;padding:10px 32px;display:flex}.topbar-context{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.user-menu{color:var(--text);align-items:center;gap:10px;display:flex}.user-menu>strong{font-size:13px;font-weight:600}.user-avatar{width:32px;height:32px;color:var(--primary-ink);background:var(--primary-soft);border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid}.menu-button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:36px;height:36px;padding:8px;display:none}.menu-button span{background:var(--muted);border-radius:2px;height:2px;margin:3px 0;display:block}.page-section,.suppliers-view,.products-view,.producers-view,.sites-view,.locations-view{padding:24px 32px 48px}.page-header,.view-header,.reception-header,.section-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 22px;display:flex}.page-header>div,.view-header>div,.reception-header>div{min-width:0}.page-header p,.view-subtitle,.reception-header__copy,.section-heading>p{color:var(--muted);margin:6px 0 0}.view-header h2,.reception-header h1,.section-heading h2,.detail-title h2{color:var(--text);letter-spacing:-.02em;margin:0;font-size:26px;font-weight:700;line-height:1.2}.eyebrow{color:var(--faint);letter-spacing:0;text-transform:none;margin:0 0 4px;font-size:12px;font-weight:600}.panel,.metric-card,.stat-card,.hold-card,.session-row,.hierarchy-panel,.quality-family,.quality-preview,.perm-preview,.modal-panel,.operation-modal{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel,.metric-card,.stat-card,.hold-card{padding:18px}.primary-button,a.primary-button{border-radius:var(--radius-sm);min-height:40px;color:var(--on-primary);background:var(--primary);box-shadow:none;white-space:nowrap;border:0;justify-content:center;align-items:center;padding:9px 16px;font-weight:600;text-decoration:none;display:inline-flex}.primary-button:hover,a.primary-button:hover{color:var(--on-primary);background:var(--primary-h)}.primary-button--compact{border-radius:var(--radius-sm);min-height:36px;padding:8px 14px;font-size:13px}.ghost-button,.secondary-button,a.secondary-button,.text-button,.perm-count-btn{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:38px;color:var(--text);background:var(--surface);box-shadow:none;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none}.ghost-button:hover,.secondary-button:hover,a.secondary-button:hover,.text-button:hover,.perm-count-btn:hover{color:var(--text);border-color:var(--border);background:var(--hover)}.ghost-button--small{min-height:30px;padding:5px 9px;font-size:12px}.primary-button--danger,.danger-button{color:var(--on-primary);background:var(--bad)}.secondary-button--danger,.text-danger,.text-button--danger{color:var(--bad)!important}.secondary-button--danger:hover,.text-danger:hover,.text-button--danger:hover{background:var(--bad-bg)!important}.text-success{color:var(--ok)!important}button:disabled{opacity:.55;cursor:not-allowed}input:not([type=checkbox]):not([type=radio]),select,textarea,.form-input,.admin-select,.perm-select{min-height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);outline:0;padding:9px 12px}input::placeholder,textarea::placeholder{color:var(--faint)}input:disabled,select:disabled,textarea:disabled,.input--disabled{color:var(--faint);background:var(--hover)}label,.field-label-text,.fieldset-label{color:var(--text);font-weight:600}.field-hint,.hint-text,.text-muted{color:var(--muted)!important}input[type=checkbox],input[type=radio]{accent-color:var(--primary)}.kpi-grid,.metric-grid,.supplier-stats-grid,.site-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px;display:grid}.kpi-card,.reception-metric{min-width:0;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;padding:18px;display:grid}.kpi-icon,.reception-metric__icon{border-radius:11px;place-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:grid}.kpi-icon--ok,.reception-metric__icon--green{color:var(--ok);background:var(--ok-bg)}.kpi-icon--warn,.reception-metric__icon--amber{color:var(--warn);background:var(--warn-bg)}.kpi-icon--bad,.reception-metric__icon--red{color:var(--bad);background:var(--bad-bg)}.kpi-icon--info,.reception-metric__icon--slate{color:var(--info);background:var(--info-bg)}.kpi-card p,.reception-metric p,.stat-card__label,.metric-card p{color:var(--muted);margin:0;font-size:13px;font-weight:500}.kpi-card strong,.reception-metric strong,.stat-card__value,.metric-card strong{color:var(--text);font-variant-numeric:tabular-nums;margin-top:2px;font-size:30px;font-weight:700;line-height:1.2;display:block}.kpi-card em,.reception-metric strong em{color:var(--muted);text-transform:none;font-size:14px;font-style:normal;font-weight:500}.kpi-card small,.reception-metric>small,.stat-card__hint,.metric-card small{color:var(--faint);font-size:12px}.reception-metrics{background:0 0;border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid;overflow:visible}.reception-metric{grid-template-rows:auto auto}.reception-metric__icon{grid-row:1/3}.reception-metric>small{grid-column:2}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start;gap:18px;display:grid}.dashboard-panel{padding:0;overflow:hidden}.panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:17px 18px;display:flex}.panel-heading h2,.reception-panel-heading h2,.hierarchy-panel__header h3{color:var(--text);margin:0;font-size:16px;font-weight:600}.panel-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.activity-list,.alert-list{display:grid}.activity-row{min-width:0;color:var(--text);border-bottom:1px solid var(--border);grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 18px;text-decoration:none;display:grid}.activity-row:last-child,.alert-row:last-child{border-bottom:0}.activity-row:hover{background:var(--hover)}.activity-row>span:nth-child(2){min-width:0;display:grid}.activity-row small{color:var(--muted);font-size:12px}.activity-icon{width:34px;height:34px;color:var(--primary-ink);background:var(--primary-soft);border-radius:10px;place-items:center;font-weight:700;display:grid}.alert-row{border-bottom:1px solid var(--border);padding:15px 18px}.alert-row>strong{margin-top:8px;display:block}.alert-row p{color:var(--muted);margin:2px 0 0;font-size:12px}.empty-state,.quality-empty,.empty-suppliers-state,.empty-sites-state,.detail-empty{min-height:190px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:7px;padding:28px 18px;display:grid}.empty-state>span,.quality-empty>span,.empty-icon{width:48px;height:48px;color:var(--primary-ink);background:var(--primary-soft);border-radius:50%;place-items:center;margin:0 0 5px;font-size:17px;font-weight:700;display:grid}.empty-state strong,.quality-empty strong,.empty-suppliers-state h3,.empty-sites-state h3{color:var(--text);font-size:14px;font-weight:600}.empty-state p,.quality-empty small,.empty-suppliers-state p,.empty-sites-state p{color:var(--muted);margin:0;font-size:13px}.status-badge,.badge,.cap-badge,.access-badge,.location-badge,.compatibility-tag,.quarantine-ready-badge,.quarantine-missing-badge,.reception-count,.hierarchy-panel__count,.timezone-tag,.site-code-badge,.code-badge,.parent-badge,.stock-qty-badge{width:max-content;min-height:24px;color:var(--info);background:var(--info-bg);letter-spacing:0;text-transform:none;border:0;border-radius:999px;align-items:center;gap:6px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.status-badge i,.badge:before{background:currentColor;border-radius:50%;flex:none;width:6px;height:6px}.status-badge--ok,.badge--ok,.status-badge--active,.access-badge--granted,.quarantine-ready-badge,.text-success{color:var(--ok);background:var(--ok-bg)}.status-badge--pending,.badge--pending,.quarantine-missing-badge{color:var(--warn);background:var(--warn-bg)}.status-badge--danger,.badge--danger,.status-badge--archived,.access-badge--none{color:var(--bad);background:var(--bad-bg)}.status-badge--neutral,.badge--muted,.reception-count--muted{color:var(--muted);background:var(--hover)}.cap-badge--producer{color:var(--ok);background:var(--ok-bg)}.cap-badge--supplier{color:var(--info);background:var(--info-bg)}.cap-badge--customer{color:var(--warn);background:var(--warn-bg)}.cap-badge--carrier{color:var(--bad);background:var(--bad-bg)}.reception-page{--reception-border:var(--border);--reception-subtle:var(--muted)}.reception-header{align-items:center}.reception-header__actions{align-items:center;gap:10px;display:flex}.reception-layout{grid-template-columns:minmax(0,2fr) minmax(290px,1fr);align-items:start;gap:18px;display:grid}.reception-queue,.quality-queue{padding:0;overflow:hidden}.reception-panel-heading,.hierarchy-panel__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:16px 18px;display:flex}.reception-toolbar,.supplier-toolbar,.site-toolbar,.quality-templates-toolbar,.admin-toolbar,.perm-toolbar{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:10px;padding:14px 18px;display:flex}.reception-search,.search-field,.quality-templates-toolbar__search,.perm-search{flex:1;position:relative}.reception-search input,.search-field input,.quality-templates-toolbar__search input,.perm-search input{width:100%;padding-inline-start:38px}.reception-search svg,.search-field svg,.quality-templates-toolbar__search svg,.perm-search svg{z-index:1;width:17px;height:17px;stroke:var(--faint);stroke-width:1.8px;inset-inline-start:12px;position:absolute;top:50%;transform:translateY(-50%)}.quality-queue{position:sticky;top:82px}.quality-queue__intro{color:var(--muted);border-bottom:1px solid var(--border);margin:0;padding:12px 18px;font-size:12px}.quality-item{border-bottom:1px solid var(--border);background:var(--surface);padding:15px 18px}.quality-item:before{background:var(--warn)}.quality-item--rejected:before{background:var(--bad)}.quality-item__product>div>strong,.quality-item__product>span{color:var(--text)}.quality-item__product>div>small,.quality-item__topline>small,.quality-item__footer{color:var(--muted)}.quality-item__footer{border-color:var(--border)}.quality-legend,.info-banner,.form-help,.origin-guidance{color:var(--info);background:var(--info-bg);border-radius:var(--radius-sm);border:0;gap:9px;margin:14px;padding:12px;font-size:12px;display:flex}.quality-legend p{margin:0}.form-help--warning,.warning-banner,.operation-warning{color:var(--warn);background:var(--warn-bg);border-color:var(--warn)}.error-banner{color:var(--bad);background:var(--bad-bg);border-radius:var(--radius-sm);border:0;padding:11px 13px}.stock-table-wrap,.reception-table-wrap,.supplier-table-container,.site-table-container,.admin-table-wrap,.quality-family__table-wrap{max-width:100%;overflow-x:auto}.stock-table,.reception-table,.supplier-table,.site-table,.admin-table,.quality-family__table{border-collapse:collapse;width:100%}.stock-table th,.reception-table th,.supplier-table th,.site-table th,.admin-table th,.quality-family__table th{z-index:1;color:var(--faint);background:var(--surface);border-bottom:1px solid var(--border);letter-spacing:0;text-align:start;text-transform:none;padding:10px 14px;font-size:12px;font-weight:600;position:sticky;top:0}.stock-table td,.reception-table td,.supplier-table td,.site-table td,.admin-table td,.quality-family__table td{color:var(--text);border-bottom:1px solid var(--border);vertical-align:middle;padding:14px}.stock-table tbody tr:hover,.reception-table tbody tr:not(.reception-skeleton):hover,.supplier-table tbody tr:hover,.site-table tbody tr:hover,.admin-table tbody tr:hover{background:var(--hover)}.stock-table td small,.reception-table td small{color:var(--muted);font-size:12px}.number-cell,th.number-cell,td.number-cell{font-variant-numeric:tabular-nums;text-align:end!important}.reception-reference{color:var(--text);font-weight:600}.quantity-progress{background:var(--border)}.quantity-progress span{background:var(--primary)}.quantity-pending{color:var(--warn)!important}.reception-skeleton span,.quality-item--loading span{background:var(--skeleton);animation:none}.supplier-stats-grid,.site-stats-grid{margin-bottom:18px}.stat-card{gap:2px;display:grid}.stat-card__value{margin:4px 0}.supplier-toolbar,.site-toolbar{border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);justify-content:space-between;margin-bottom:18px}.toolbar-filters,.filter-group{align-items:center;gap:4px;display:flex}.filter-group{border-radius:var(--radius-sm);background:var(--hover);padding:3px}.filter-chip{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:5px 11px;font-weight:600}.filter-chip--active{color:var(--primary-ink);background:var(--primary-soft)}.clear-search-btn{color:var(--muted);background:0 0;border:0}.origin-workspace{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.hierarchy-panel{min-width:0;overflow:hidden}.hierarchy-list{margin:0;padding:0;list-style:none}.hierarchy-row{border-bottom:1px solid var(--border);background:var(--surface);position:relative}.hierarchy-row:last-child{border-bottom:0}.hierarchy-item{width:100%;color:var(--text);text-align:start;border:0;background:0 0;border-inline-start:2px solid #0000;border-radius:0;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 14px 48px;display:flex}.hierarchy-item:hover{background:var(--hover)}.hierarchy-item--selected{border-inline-start-color:var(--primary);background:var(--primary-soft)}.hierarchy-item__main,.hierarchy-item__meta{gap:6px;min-width:0;display:grid}.hierarchy-item__meta{color:var(--muted);justify-items:end;font-size:12px}.hierarchy-item__actions{inset-inline:14px;justify-content:flex-end;gap:6px;display:flex;position:absolute;bottom:10px}.hierarchy-item--archived{opacity:.7}.hierarchy-placeholder{min-height:190px;color:var(--muted);text-align:center;place-items:center;padding:28px;display:grid}.operation-form,.workspace-form{color:var(--text)}.modal-backdrop,.modal-overlay{background:var(--overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.operation-modal,.modal-panel{background:var(--surface)}.operation-modal__header,.modal-header{border-color:var(--border);background:var(--surface)}.operation-modal__header h2,.modal-header h2{color:var(--text);font-size:20px;font-weight:700}.operation-modal__footer,.modal-footer{border-color:var(--border);background:var(--surface)}.modal-close{color:var(--muted);background:var(--surface);border:1px solid var(--border)}.form-grid,.form-grid--two{gap:16px}.attributes-editor,.provenance-fieldset,.capabilities-fieldset,.self-access-checkbox-container,.user-multiselect-group,.perm-category,.quality-criterion-card,.quality-approve-summary{border-color:var(--border);background:var(--surface)}.checkbox-label:hover,.perm-item:hover,.quality-criterion-card:hover{background:var(--hover)}.perm-item--checked{background:var(--primary-soft)}.perm-key{color:var(--info);background:var(--info-bg)}.detail-header,.detail-line,.document-row,.next-action,.completion-state,.trace-summary,.inline-operation{color:var(--text);background:var(--surface);border-color:var(--border);box-shadow:var(--shadow)}.detail-header__facts small,.detail-line__identity small,.detail-line__weights small,.document-row small{color:var(--muted)}.detail-line__number,.next-action__number{color:var(--primary-ink);background:var(--primary-soft)}.section-heading h2{font-size:26px}.compact-heading h3,.quality-section-title{color:var(--text);font-size:16px;font-weight:600}.login-page{background:var(--bg);min-height:100vh}.login-story{color:var(--text);background:var(--primary-soft);padding:clamp(32px,7vw,96px)}.login-story:after{display:none}.login-story h1{color:var(--text);font-size:clamp(40px,6vw,72px);font-weight:700}.login-story p,.eyebrow--light{color:var(--muted)!important}.login-form-panel{background:var(--surface)}.login-form h2{color:var(--text);font-size:32px;font-weight:700}.login-form p{color:var(--muted)}.login-form input{color:var(--text);background:var(--bg);border-color:var(--border)}.brand-mark--light>span{color:var(--on-primary);background:var(--primary)}@media (width<=1000px){.kpi-grid,.metric-grid,.reception-metrics,.supplier-stats-grid,.site-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.reception-layout,.detail-layout{grid-template-columns:1fr}.quality-queue{position:static}.origin-workspace{grid-template-columns:1fr}}@media (width<=760px){.app-frame{display:block}.sidebar{width:min(86vw,300px);height:100dvh;box-shadow:var(--shadow);transition:transform .14s;position:fixed;inset:0 auto 0 0;transform:translate(-102%)}.sidebar--open{transform:translate(0)}.sidebar-backdrop{z-index:25;background:var(--overlay);opacity:0;pointer-events:none;border:0;width:100%;height:100%;transition:opacity .14s;display:block;position:fixed;inset:0}.sidebar-backdrop--visible{opacity:1;pointer-events:auto}.menu-button{display:block}.topbar{min-height:60px;padding:9px 16px}.user-menu>strong{display:none}.user-menu .ghost-button{min-height:34px;padding:6px 10px}.page-section,.suppliers-view,.products-view,.producers-view,.sites-view,.locations-view{padding:20px 16px 36px}.page-header,.view-header,.reception-header,.section-heading{flex-direction:column;align-items:flex-start;gap:14px}.reception-header__actions{flex-wrap:wrap;width:100%}.reception-header__actions .primary-button{margin-inline-start:auto}.reception-toolbar,.supplier-toolbar,.site-toolbar,.quality-templates-toolbar,.admin-toolbar,.perm-toolbar{flex-direction:column;align-items:stretch}.toolbar-filters{overflow-x:auto}.activity-row{grid-template-columns:34px minmax(0,1fr) auto}.activity-row>.number-cell{grid-column:2/-1;text-align:start!important}.login-page{display:block}.login-story{gap:32px;min-height:auto;padding:32px 24px}.login-form-panel{min-height:56vh;padding:32px 20px}}@media (width<=480px){.kpi-grid,.metric-grid,.reception-metrics,.supplier-stats-grid,.site-stats-grid{grid-template-columns:1fr}.user-avatar{display:none}.topbar-context>span{white-space:nowrap;text-overflow:ellipsis;max-width:120px;overflow:hidden}.panel-heading{align-items:flex-start}.reception-panel-heading{align-items:center}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
