/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-sm:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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}.relative{position:relative}.static{position:static}.hidden{display:none}.inline{display:inline}.table{display:table}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#243e38;--muted:#5d7069;--green:#254f48;--green-2:#426e61;--lime:#dce7c8;--lime-2:#eff4e7;--blue:#eaf1f3;--sky:#99b5bd;--paper:#f7f9f5;--white:#fff;--line:#e0e8df;--danger:#98484d;--danger-bg:#fff1ee;--warning:#87602e;--warning-bg:#fff5df;--shadow:0 12px 34px #1e3e3312;--radius:22px;--radius-sm:14px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:10px;font-size:clamp(2rem,3vw,3rem);line-height:1.12}h2{letter-spacing:-.025em;margin-bottom:8px;font-size:1.3rem;line-height:1.25}h3{margin:0 0 10px;font-size:1rem}p{margin-bottom:12px}.muted,.lead,.field-help{color:var(--muted)}.lead{max-width:720px;margin:0;font-size:1.07rem}.eyebrow{color:var(--green-2);letter-spacing:.13em;text-transform:uppercase;margin:0 0 8px;font-size:.72rem;font-weight:800}.required{color:var(--danger)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:1000;background:var(--green);color:#fff;border-radius:9px;padding:12px;position:absolute;top:-80px;left:12px}.skip-link:focus{top:12px}:focus-visible{outline-offset:3px;outline:3px solid #6cadd0}.shell-grid{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--green);color:#fff;flex-direction:column;height:100vh;padding:25px 15px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{color:#fff;letter-spacing:-.04em;align-items:center;gap:11px;padding:5px 13px;font-size:1.35rem;font-weight:800;display:flex}.brand img{object-fit:contain;width:38px;height:38px}.brand span{flex-direction:column;line-height:1.05;display:flex}.brand small{letter-spacing:.08em;opacity:.65;text-transform:uppercase;margin-top:6px;font-size:.67rem;font-weight:500}.workspace-pill{background:#ffffff1a;border-radius:11px;align-items:center;gap:10px;margin:30px 13px 15px;padding:12px;font-size:.78rem;font-weight:700;display:flex}.workspace-dot{background:var(--lime);border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #d8ee9421}.side-nav{gap:3px;display:grid}.nav-item{color:#ffffffc7;border-radius:12px;align-items:center;gap:14px;min-height:46px;padding:10px 13px;font-size:.94rem;font-weight:600;transition:background .15s,color .15s;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:#ffffff1f}.nav-item.active{box-shadow:inset 3px 0 var(--lime)}.nav-symbol{text-align:center;width:22px;font-size:1.3rem;line-height:1}.sidebar-profile{border-top:1px solid #ffffff29;align-items:center;gap:9px;margin-top:auto;padding:18px 6px 0;display:flex}.avatar,.order-avatar{background:var(--lime);width:40px;height:40px;color:var(--green);border-radius:13px;flex:none;place-items:center;font-weight:800;display:grid}.profile-copy{flex-direction:column;min-width:0;display:flex}.profile-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.profile-copy small{opacity:.65;font-size:.72rem}.icon-action{width:44px;height:44px;color:inherit;background:#ffffff1c;border:0;border-radius:12px;place-items:center;font-size:1.25rem;display:grid}.logout{margin-left:auto}.mobile-topbar,.bottom-nav{display:none}.main-content{width:min(100%,1550px);min-width:0;margin:0 auto;padding:36px clamp(25px,4vw,65px) 80px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.page-heading .heading-actions{margin-top:10px}.heading-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.back-link{min-height:44px;color:var(--green-2);align-items:center;margin-bottom:14px;font-size:.87rem;font-weight:700;display:inline-flex}.back-link:hover,.text-link:hover{text-decoration:underline}.button{white-space:nowrap;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:11px 17px;font-weight:750;line-height:1.2;transition:transform .12s,background .12s,border-color .12s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--green-2)}.button-dark{color:#fff;background:#274942}.button-soft{background:var(--lime-2);color:var(--green);border-color:#daebb5}.button-quiet{color:var(--green);border-color:var(--line);background:0 0}.button-wide{width:100%}.text-link{min-height:44px;color:var(--green-2);align-items:center;font-size:.85rem;font-weight:750;display:inline-flex}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:clamp(20px,2vw,28px)}.section-gap{margin-top:24px}.section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:0}.section-heading p:not(.eyebrow){color:var(--muted);margin:5px 0 0}.section-heading .eyebrow{margin-bottom:4px}.notice{border-radius:var(--radius-sm);border:1px solid;margin-bottom:22px;padding:13px 17px}.notice ul{margin:8px 0 0;padding-left:20px}.notice-success{color:#225d41;background:#e5f6eb;border-color:#c9e8d2}.notice-error{background:var(--danger-bg);color:#823b3c;border-color:#f4c6c3}.notice-info{background:var(--blue);color:#295d67;border-color:#c9e4eb}.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:22px;display:grid}.stat-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{border:1px solid var(--line);min-height:132px;box-shadow:var(--shadow);background:#fff;border-radius:19px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:5px;padding:19px 20px;display:flex}.stat-card>a{color:inherit}.stat-card strong{letter-spacing:-.05em;color:var(--green);font-size:1.95rem;line-height:1.1}.stat-card span:last-child{color:var(--muted);font-size:.82rem;font-weight:650}.stat-icon{width:35px;height:35px;color:var(--green);border-radius:11px;place-items:center;font-size:1.23rem;display:grid}.stat-icon-lime{background:var(--lime)}.stat-icon-blue{background:var(--blue)}.stat-icon-orange{background:#fff1d7}.stat-icon-rose{background:#fae8e8}.stat-icon-green{background:#d9f0e2}.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:27px;display:grid}.quick-action{background:linear-gradient(140deg,#eef7df,#f8fbef);border:1px solid #e0ebc8;border-radius:17px;grid-template-columns:39px 1fr;align-content:center;column-gap:10px;min-height:105px;padding:17px;display:grid}.quick-action>span{width:39px;height:39px;color:var(--green);background:#fff;border-radius:12px;grid-row:span 2;place-items:center;font-size:1.35rem;display:grid}.quick-action strong{font-size:.91rem}.quick-action small{color:var(--muted);font-size:.73rem}.quick-action:hover,.product-card:hover,.stock-card:hover,.order-card:hover,.quality-card:hover{border-color:#b9d8c4;box-shadow:0 16px 32px #1345381a}.dashboard-grid{grid-template-columns:1.2fr 1fr;gap:21px;display:grid}.compact-row{border-top:1px solid var(--line);align-items:center;gap:12px;min-width:0;padding:13px 0;display:flex}.compact-row:first-of-type{border-top:0}.compact-row .quantity{white-space:nowrap;font-weight:800}.row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row-main strong{font-size:.9rem;line-height:1.35}.row-main small{color:var(--muted);font-size:.77rem}.movement-mark,.location-icon,.order-avatar,.stand-icon{border-radius:12px;flex:none;place-items:center;width:39px;height:39px;font-weight:850;display:grid}.movement-mark.in{color:#357959;background:#e2f3e7}.movement-mark.out{color:#b4762f;background:#fff0df}.location-icon{background:var(--blue);color:#447785}.order-avatar{color:#466596;background:#eaf1ff}.status{white-space:nowrap;color:#567169;background:#eef2f0;border-radius:999px;align-items:center;gap:4px;min-height:27px;padding:5px 10px;font-size:.69rem;font-weight:800;display:inline-flex}.status-large{padding:9px 14px;font-size:.82rem}.status-pending,.status-reserved{color:#8b672b;background:#fff1d6}.status-released,.status-dispatched{color:#2c7855;background:#e2f5e8}.status-blocked,.status-recalled,.status-cancelled{color:#a3474d;background:#fbe8e8}.status-draft{color:#426f91;background:#e9f2fa}.empty-state{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:23px;display:flex}.empty-state>span{color:var(--green-2);font-size:2rem}.empty-state strong,.empty-state h2{color:var(--ink);margin:0}.empty-state p{margin:3px 0 0}.empty-state-large{border-radius:var(--radius);background:#fff;border:1px dashed #bfcfc5;min-height:250px;padding:40px}.empty-state-large .button{margin-top:18px}.filter-panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:17px;align-items:center;gap:10px;margin-bottom:20px;padding:11px;display:flex}.filter-panel label{min-width:0}.filter-panel .search-field{flex:1}.filter-panel select{min-width:155px}.search-field{position:relative}.search-field>span:not(.sr-only){color:var(--muted);font-size:1.3rem;position:absolute;top:11px;left:14px}.search-field input{padding-left:42px}.list-summary{justify-content:space-between;align-items:center;gap:10px;margin:0 3px 12px;display:flex}.list-summary strong{font-size:.86rem}.list-summary span{color:var(--muted);font-size:.77rem}.stock-list{gap:12px;display:grid}.stock-card,.quality-card,.order-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:19px}.stock-card{padding:18px 20px}.stock-card-main{align-items:center;gap:14px;min-width:0;display:flex}.stock-identity{flex-direction:column;gap:3px;min-width:0;display:flex}.stock-identity strong{font-size:1rem}.stock-identity small{color:var(--muted)}.location-pill{background:var(--blue);color:#567983;border-radius:7px;align-self:flex-start;margin-top:4px;padding:3px 8px;font-size:.7rem;font-weight:700;display:inline-flex}.stock-numbers{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin:16px 0 10px;display:grid}.stock-numbers>div{flex-direction:column;gap:1px;padding:11px 5px;display:flex}.stock-numbers>div+div{border-left:1px solid var(--line);padding-left:18px}.stock-numbers small{color:var(--muted);font-size:.72rem}.stock-numbers strong{font-size:1rem}.stock-numbers .available strong{color:var(--green-2)}.stock-card-bottom{color:var(--muted);align-items:center;gap:12px;font-size:.76rem;display:flex}.stock-card-bottom a{min-height:44px;color:var(--green-2);align-items:center;margin-left:auto;font-weight:800;display:inline-flex}.quantity span{font-size:.78em;font-weight:600}.product-photo{background:linear-gradient(150deg,#e4f0d1,#d8ebe6);border-radius:13px;flex:none;justify-content:center;align-items:center;width:64px;height:64px;display:inline-flex;overflow:hidden}.product-photo img{object-fit:cover;width:100%;height:100%}.product-photo-small{border-radius:10px;width:42px;height:42px}.product-photo-large{border-radius:20px;width:156px;height:156px}.product-photo-card{border-radius:16px 16px 0 0;width:100%;height:180px}.photo-placeholder{color:#5c997b;font-size:2rem}.product-photo-small .photo-placeholder{font-size:1.3rem}.product-photo-large .photo-placeholder{font-size:4rem}.product-photo-card .photo-placeholder{font-size:4.5rem}.form-layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:22px;display:grid}.form-main{gap:19px;min-width:0;display:grid}.form-section>.section-heading{align-items:center}.step-number{background:var(--lime);width:35px;height:35px;color:var(--green);border-radius:11px;flex:none;place-items:center;font-weight:850;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-full{grid-column:1/-1}.field-gap{margin-top:18px}.form-stack{flex-direction:column;gap:10px;display:flex}.form-stack>.form-grid{margin:5px 0 9px}.form-stack h3{margin-top:12px}.field label,.form-stack>label,.scanner-manual label,.stand-start label{font-size:.81rem;font-weight:800}.field small,.field-help{font-size:.73rem;line-height:1.45}.field-error{color:var(--danger)!important}.form-layout input:not([type=checkbox]):not([type=radio]):not([type=file]),.form-layout select,.form-layout textarea,.filter-panel input,.filter-panel select,.form-stack input:not([type=checkbox]),.form-stack select,.form-stack textarea,.inline-form input,.scanner-manual input,.import-form input[type=file]{width:100%;min-height:46px;color:var(--ink);background:#fbfdfa;border:1px solid #d2e1d7;border-radius:11px;outline:0;padding:11px 13px}.form-layout input:focus,.form-layout select:focus,.form-layout textarea:focus,.filter-panel input:focus,.filter-panel select:focus,.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus,.inline-form input:focus,.scanner-manual input:focus{border-color:#65a991;box-shadow:0 0 0 3px #dcf1e7}.form-layout input[readonly]{background:#eef4f0}.form-layout textarea,.form-stack textarea{resize:vertical}.form-aside{min-width:0}.sticky-card{position:sticky;top:22px}.sticky-card p{color:var(--muted);font-size:.84rem}.sticky-card .button{margin-top:10px}.aside-hint{background:var(--blue);color:#456e77;border-radius:11px;margin:17px 0;padding:12px;font-size:.8rem;line-height:1.5}.choice-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.choice-card{border:1px solid var(--line);cursor:pointer;border-radius:15px;flex-direction:column;gap:2px;min-height:115px;padding:14px;display:flex;position:relative}.choice-card:has(input:checked){background:#f0f8e9;border-color:#6aa684;box-shadow:inset 0 0 0 1px #6aa684}.choice-card input{accent-color:var(--green);position:absolute;top:12px;right:12px}.choice-card>span{color:var(--green-2);font-size:1.3rem}.choice-card strong{font-size:.84rem}.choice-card small{color:var(--muted);font-size:.72rem}[hidden]{display:none!important}.line-rows{gap:10px;margin-bottom:12px;display:grid}.line-row{border:1px solid var(--line);background:#f8fbf7;border-radius:14px;grid-template-columns:1.5fr 1fr 1fr;gap:10px;padding:14px 52px 14px 14px;display:grid;position:relative}.order-line{grid-template-columns:1.5fr 1.2fr .7fr .9fr}.remove-line{color:var(--danger);background:0 0;border:0;border-radius:10px;width:44px;height:44px;font-size:1.4rem;position:absolute;top:7px;right:6px}.remove-line:hover{background:var(--danger-bg)}.order-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:18px;padding-top:17px;font-size:.9rem;display:flex}.order-total strong{color:var(--green);font-size:1.35rem}.check-line{align-items:center;gap:10px;font-size:.85rem;font-weight:600;display:flex}.check-line input{width:19px;height:19px;accent-color:var(--green);flex:none}.lot-hero{background:linear-gradient(110deg,#fff,#f1f8eb);align-items:center;gap:22px;margin-bottom:20px;display:flex}.lot-hero-copy h2{margin:10px 0 4px;font-size:1.55rem}.lot-hero-copy>p{color:var(--muted);margin:0 0 12px}.lot-meta{flex-wrap:wrap;gap:8px;display:flex}.lot-meta span{border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 10px;font-size:.75rem;font-weight:650}.detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:21px;display:grid}.detail-main,.detail-aside{min-width:0}.trace-columns{grid-template-columns:1fr 1fr;gap:20px;margin:20px 0;display:grid}.trace-link{border:1px solid var(--line);min-height:44px;color:var(--green-2);background:#f7faf5;border-radius:10px;align-items:center;margin:6px 0;padding:9px 11px;font-size:.83rem;font-weight:700;display:flex}.trace-link:hover{border-color:#9dcbb0}.quality-entry{border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:4px;padding:12px 0;font-size:.81rem;display:flex}.quality-entry small{color:var(--muted)}.quality-entry p{margin:4px 0 0}.quality-form{border-top:1px solid var(--line);margin-top:17px;padding-top:12px}.quality-card{align-items:center;gap:14px;padding:15px 20px;display:flex}.quality-card .chevron,.order-card .chevron{color:#88aaa0;font-size:1.4rem}.order-list{gap:10px;display:grid}.order-card{align-items:center;gap:16px;padding:16px 19px;display:flex}.order-side{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:8px;display:flex}.order-side strong{font-size:1rem}.stand-panel{background:linear-gradient(100deg,#eaf7e0,#eff8f4);border-color:#d8edcf;justify-content:space-between;align-items:center;gap:24px;display:flex}.stand-intro{align-items:center;gap:15px;display:flex}.stand-intro h2{margin:0}.stand-intro p:not(.eyebrow){color:var(--muted);margin:5px 0 0}.stand-icon{background:var(--green);color:#fff;border-radius:15px;width:54px;height:54px;font-size:1.7rem}.stand-start{width:min(100%,500px)}.inline-form{align-items:center;gap:9px;display:flex}.inline-form input{flex:1;min-width:0}.scan-sale-panel{background:linear-gradient(130deg,#edf8df,#fff)}.scan-sale-panel>label{margin-bottom:10px;font-size:1rem;font-weight:800;display:block}.sale-camera-actions{flex-wrap:wrap;gap:9px;margin-top:12px;display:flex}.sale-camera-video{object-fit:cover;background:var(--green);border-radius:13px;width:100%;max-height:280px;margin-top:12px;display:block}.scan-result{min-height:30px;margin-top:12px;font-size:.85rem}.scan-result:empty{display:none}.scan-result .notice{margin-bottom:0}.product-cell{align-items:center;gap:10px;display:flex}.product-cell span{flex-direction:column;display:flex}.product-cell small{color:var(--muted)}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:.82rem}.data-table th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);white-space:nowrap;padding:11px 9px;font-size:.7rem}.data-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:12px 9px}.data-table tbody tr:last-child td{border-bottom:0}.detail-list{margin:0}.detail-list div{border-top:1px solid var(--line);padding:10px 0}.detail-list dt{color:var(--muted);font-size:.74rem}.detail-list dd{margin:2px 0 0;font-weight:700}.details-form{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.details-form summary{cursor:pointer;list-style:none}.details-form summary::-webkit-details-marker{display:none}.details-form form{margin-top:17px}.details-form .button-wide{white-space:normal}.scanner-grid{grid-template-columns:1.1fr .9fr;gap:20px;display:grid}.scanner-viewport{background:#123a35;border-radius:17px;min-height:330px;position:relative;overflow:hidden}.scanner-viewport video{object-fit:cover;width:100%;height:330px}.scanner-frame{border:3px solid var(--lime);pointer-events:none;border-radius:18px;position:absolute;inset:18% 20%;box-shadow:0 0 0 100vmax #0003}.camera-placeholder{color:#fff;text-align:center;background:linear-gradient(135deg,#214c44,#356f61);flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex;position:absolute;inset:0}.camera-placeholder span{font-size:3rem}.camera-placeholder small{opacity:.75}.scanner-controls{gap:10px;margin-top:15px;display:flex}.scanner-manual h2{margin-bottom:5px}.scanner-manual>p:not(.eyebrow){color:var(--muted)}.scanner-manual .inline-form{margin:8px 0}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.product-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:17px;flex-direction:column;display:flex;overflow:hidden}.product-card-copy{flex:1;padding:18px}.product-card-copy h2{margin-bottom:4px;font-size:1.15rem}.product-card-copy p{color:var(--muted);font-size:.82rem}.product-card-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:.75rem;display:flex}.tag{background:var(--lime-2);color:var(--green);border-radius:999px;padding:4px 8px;font-weight:750}.product-card-link{border-top:1px solid var(--line);color:var(--green-2);padding:12px 18px;font-size:.82rem;font-weight:800}.photo-upload{align-items:center;gap:20px;display:flex}.photo-preview{width:140px;height:140px;color:var(--green-2);background:linear-gradient(135deg,#e7f2d5,#dceff0);border:1px dashed #b2caba;border-radius:17px;flex-direction:column;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.photo-preview img{object-fit:cover;width:100%;height:100%}.photo-preview>span{font-size:3rem}.photo-upload input[type=file]{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.photo-upload .button{cursor:pointer}.settings-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.inline-section{border-top:1px solid var(--line);margin-top:15px;padding-top:18px}.upload-zone{cursor:pointer;text-align:center;background:#fafdf8;border:2px dashed #c9dacb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:28px;display:flex}.upload-zone>span{color:var(--green-2);font-size:2rem}.upload-zone small{color:var(--muted)}.import-form input[type=file],.import-form .button{margin-top:13px}.commit-form{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;margin-top:14px;padding-top:18px;display:flex}.login-page{background:radial-gradient(circle at 10% 10%,#d6eeaa 0,#0000 35%),radial-gradient(circle at 88% 86%,#c9e8ef 0,#0000 32%),#f6faf3;place-items:center;min-height:100vh;padding:22px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:25px;width:min(100%,430px);padding:37px;box-shadow:0 24px 60px #1345381a}.login-card h1{margin-bottom:5px}.login-card .muted{margin-bottom:25px}.login-mark{color:var(--green);align-items:center;gap:11px;margin-bottom:27px;font-size:1.48rem;font-weight:850;display:flex}.login-mark img{object-fit:contain;width:49px;height:49px}.login-card .form-stack>label{margin-top:5px}.login-card .button{margin-top:16px}.login-help{color:var(--muted);text-align:center;margin:20px 0 0;font-size:.77rem}.print-page,.invoice-page{background:#e7ece8;min-height:100vh}.print-toolbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:10px;padding:16px max(20px,50vw - 480px);display:flex}.print-toolbar>div{gap:8px;display:flex}.print-sheet{place-items:center;padding:40px;display:grid}.lot-label{color:#143b35;background:#fff;border:1px solid #d6ded5;flex-direction:column;justify-content:space-between;width:62mm;height:40mm;padding:3mm;display:flex;overflow:hidden}.label-brand{align-items:center;gap:2mm;font-size:9pt;display:flex}.label-brand img{object-fit:contain;width:6mm;height:6mm}.label-body{grid-template-columns:1fr 19mm;align-items:center;gap:1mm;min-height:21mm;display:grid}.label-body>div:first-child{flex-direction:column;gap:.4mm;font-size:6.6pt;line-height:1.15;display:flex}.label-product{font-size:8.5pt;line-height:1.1}.label-body b{font-size:8pt}.label-qr{place-items:center;width:19mm;height:19mm;display:grid}.lot-label>small{color:#627870;font-size:4.5pt;line-height:1.1}.print-a4 .print-sheet{background:#fff;grid-template-columns:repeat(3,62mm);grid-auto-rows:40mm;place-content:start space-between;gap:4mm;width:210mm;min-height:297mm;margin:30px auto;padding:18mm 8mm;display:grid}.print-a4 .lot-label{box-shadow:0 0 0 1px #d5dfd7}.invoice-sheet{width:min(100%,210mm);min-height:297mm;box-shadow:var(--shadow);color:#233e38;background:#fff;margin:30px auto;padding:18mm 17mm}.invoice-heading,.invoice-parties{justify-content:space-between;gap:35px;display:flex}.invoice-heading{border-bottom:2px solid var(--green);align-items:flex-start;padding-bottom:20px}.invoice-brand{align-items:flex-start;gap:10px;display:flex}.invoice-brand img{object-fit:contain;width:42px;height:42px}.invoice-brand div{flex-direction:column;display:flex}.invoice-brand strong{color:var(--green);font-size:1.25rem}.invoice-brand span{white-space:pre-line;font-size:.75rem}.invoice-title{text-align:right}.invoice-title h1{margin:0;font-size:1.8rem}.invoice-title strong{color:var(--green);font-size:1rem}.invoice-parties{margin:28px 0}.invoice-parties section{width:48%;font-size:.81rem}.invoice-parties h2{color:var(--green-2);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}.invoice-parties p{margin:4px 0}.invoice-meta{background:#f4f8f4;border-radius:10px;flex-wrap:wrap;gap:10px 28px;margin:0 0 25px;padding:12px;display:flex}.invoice-meta div{flex-direction:column;display:flex}.invoice-meta dt{color:var(--muted);font-size:.68rem}.invoice-meta dd{margin:0;font-size:.82rem;font-weight:700}.invoice-table{font-size:.75rem}.invoice-table td small{color:var(--muted);display:block}.invoice-tax-breakdown{width:min(100%,330px);margin:15px 0 0 auto}.invoice-tax-breakdown h2{margin:0 0 5px;font-size:.78rem}.invoice-tax-breakdown .data-table{font-size:.7rem}.invoice-exemption{color:var(--green);clear:both;margin:8px 0 20px;font-size:.74rem;font-weight:700}.invoice-totals{width:min(100%,270px);margin:20px 0 28px auto}.invoice-totals>div{border-bottom:1px solid var(--line);justify-content:space-between;padding:8px 0;font-size:.84rem;display:flex}.invoice-totals .invoice-grand-total{color:var(--green);border-top:2px solid var(--green);border-bottom:0;font-size:1.05rem}.invoice-note{margin-top:20px;font-size:.75rem}.invoice-note h2{margin-bottom:3px;font-size:.8rem}.invoice-note p{white-space:normal}.invoice-footer{border-top:1px solid var(--line);color:var(--muted);margin-top:26px;padding-top:12px;font-size:.7rem}@media (width<=1250px){.stat-grid{grid-template-columns:repeat(3,1fr)}.quick-actions{grid-template-columns:repeat(2,1fr)}.form-layout{grid-template-columns:minmax(0,1fr) 260px}.order-line{grid-template-columns:1fr 1fr}.order-line .field-product,.order-line .field-lot{grid-column:auto}}@media (width<=1100px){.shell-grid{grid-template-columns:1fr}.sidebar{display:none}.mobile-topbar{background:var(--green);color:#fff;z-index:30;justify-content:space-between;align-items:center;height:65px;padding:10px 20px;display:flex;position:sticky;top:0}.brand-mobile{padding:0;font-size:1.15rem}.brand-mobile img{width:33px;height:33px}.main-content{padding:28px 22px calc(110px + env(safe-area-inset-bottom))}.bottom-nav{padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:40;background:#fffffff7;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 25px #13453812}.bottom-nav a,.bottom-nav button{min-height:51px;color:var(--muted);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.66rem;font-weight:750;display:flex}.bottom-nav a span,.bottom-nav button span{font-size:1.35rem;line-height:1}.bottom-nav a.active,.bottom-nav button.active{color:var(--green);background:#eef7e4}.bottom-nav button{font:inherit;cursor:pointer;background:0 0;border:0}.bottom-nav .scan-tab{background:var(--green);color:#fff}.mobile-more{left:12px;right:12px;bottom:calc(77px + env(safe-area-inset-bottom));z-index:39;border:1px solid var(--line);background:#fff;border-radius:18px;max-height:70vh;padding:15px;position:fixed;overflow:auto;box-shadow:0 18px 48px #13453833}.mobile-more nav{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mobile-more nav a{min-height:48px;color:var(--green);background:#f2f8ef;border-radius:10px;padding:13px;font-weight:750}.mobile-more form{margin-top:12px}.dashboard-grid,.detail-grid,.form-layout{grid-template-columns:1fr}.sticky-card{position:static}.form-aside{order:-1}.form-aside .sticky-card{flex-direction:column;display:flex}.settings-grid,.scanner-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.stand-panel{flex-direction:column;align-items:flex-start}.stand-start{width:100%}}@media (width<=640px){.main-content{padding:23px 14px calc(105px + env(safe-area-inset-bottom))}.page-heading{flex-direction:column;gap:14px;margin-bottom:22px}.page-heading .heading-actions{width:100%;margin-top:0}.heading-actions .button{flex:1}.panel{border-radius:17px;padding:19px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:9px}.stat-card{min-height:110px;padding:15px}.stat-card strong{font-size:1.7rem}.stat-icon{width:30px;height:30px}.quick-actions{gap:9px}.quick-action{grid-template-columns:1fr;min-height:120px;padding:13px}.quick-action>span{grid-row:auto;margin-bottom:7px}.dashboard-grid{gap:15px}.filter-panel{grid-template-columns:1fr 1fr;display:grid}.filter-panel .search-field,.filter-panel .button{grid-column:1/-1}.filter-panel select{width:100%;min-width:0}.list-summary{flex-direction:column;align-items:flex-start}.stock-card{padding:15px}.stock-numbers>div+div{padding-left:9px}.stock-numbers strong{font-size:.86rem}.stock-card-bottom{flex-wrap:wrap}.stock-card-bottom a{margin-left:0}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.choice-grid{grid-template-columns:1fr}.choice-card{grid-template-columns:35px 1fr;align-content:center;min-height:65px;display:grid}.choice-card>span{grid-row:span 2}.choice-card input{right:12px}.line-row,.order-line{grid-template-columns:1fr;padding:14px 52px 14px 14px}.order-line .field-product,.order-line .field-lot{grid-column:auto}.lot-hero{align-items:flex-start;gap:14px}.lot-hero .product-photo-large{width:88px;height:88px}.lot-hero-copy h2{font-size:1.1rem}.trace-columns{grid-template-columns:1fr;gap:5px}.order-card{align-items:flex-start;gap:10px;padding:14px}.order-card .order-side{align-items:flex-end}.order-card .chevron{display:none}.order-card .order-avatar{width:34px;height:34px}.quality-card{gap:9px;padding:12px}.quality-card .product-photo{width:48px;height:48px}.quality-card .status{padding:4px 7px;font-size:.6rem}.quality-card .chevron{display:none}.product-grid{grid-template-columns:1fr}.photo-upload{flex-direction:column;align-items:flex-start}.inline-form{flex-direction:column;align-items:stretch}.inline-form .button{width:100%}.commit-form{flex-direction:column;align-items:stretch}.invoice-page .print-toolbar{position:static}.invoice-sheet{min-height:0;margin:0;padding:25px 17px}.invoice-parties{gap:15px}.invoice-table{font-size:.65rem}.invoice-table th,.invoice-table td{padding:7px 5px}.print-toolbar{flex-wrap:wrap;padding:10px}.print-toolbar .button{font-size:.8rem}.print-a4 .print-sheet{width:100%;min-height:0;margin:0;padding:20px}}@media print{body{background:#fff!important}.print-toolbar,.mobile-topbar,.bottom-nav,.sidebar{display:none!important}.print-sheet,.invoice-sheet{box-shadow:none!important;margin:0!important}.print-small .print-sheet{width:62mm;height:40mm;padding:0;display:block}.print-small .lot-label{border:0}.print-a4 .print-sheet{padding:18mm 8mm}.invoice-sheet{width:100%;padding:10mm 12mm}.invoice-page{background:#fff}.invoice-table tr,.invoice-note,.invoice-footer{break-inside:avoid}}@page label-small{size:62mm 40mm;margin:0}@page label-a4{size:A4;margin:0}@page invoice-a4{size:A4;margin:0}.print-small .print-sheet{page:label-small}.print-a4 .print-sheet{page:label-a4}.invoice-sheet{page:invoice-a4}.label-qr{background:#fff;padding:1.5mm}.label-qr canvas,.label-qr img{width:16mm!important;height:16mm!important}.stock-heading{margin-bottom:18px}.stock-heading h1{font-size:2.1rem}.stock-heading .lead{font-size:.92rem}.stock-heading .button{white-space:normal;font-size:.82rem}.stock-heading .heading-actions{justify-content:flex-end}.stock-filters{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:14px;padding:14px 16px}.stock-filter-main{grid-template-columns:minmax(170px,1.2fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px;display:grid}.stock-filters label{flex-direction:column;gap:5px;min-width:0;font-size:.77rem;font-weight:700;display:flex}.stock-filters input,.stock-filters select{width:100%;min-width:0;min-height:44px;color:var(--ink);background:#fbfdfa;border:1px solid #d2e1d7;border-radius:9px;padding:9px 10px;font-size:.83rem}.stock-filters input:focus,.stock-filters select:focus{border-color:#65a991;box-shadow:0 0 0 3px #dcf1e7}.stock-filter-footer{padding-right:100px;position:relative}.stock-more-filters summary{cursor:pointer;min-height:44px;color:var(--green);align-items:center;gap:8px;font-size:.82rem;font-weight:700;display:flex}.stock-more-filters summary:before{content:"＋"}.stock-more-filters[open] summary:before{content:"−"}.stock-more-filters summary::-webkit-details-marker{display:none}.stock-filter-extra{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:12px;margin-right:-100px;padding:4px 0 8px;display:grid}.stock-filter-extra [data-product-filter]{gap:8px;display:grid}.stock-filter-extra [data-product-search-status]{color:var(--muted);min-height:0;font-size:.73rem}.stock-filter-extra [data-product-search-status]:empty{display:none}.stock-reset{font-size:.8rem;position:absolute;top:0;right:0}.filter-active{background:var(--lime-2);border-radius:6px;padding:2px 6px;font-size:.66rem}.stock-results-summary{justify-content:space-between;align-items:baseline;gap:18px;margin:12px 0;font-size:.83rem;display:flex}.stock-results-summary strong{white-space:nowrap}.stock-results-summary small{color:var(--muted);font-weight:500}.stock-results-summary>span{color:var(--muted);text-align:right;font-size:.75rem}.stock-table-wrap{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.stock-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:.76rem;line-height:1.4}.stock-table th{text-align:left;color:var(--muted);background:#f5f9f2;padding:10px 9px;font-size:.69rem;font-weight:700}.stock-table th:first-child{width:24%}.stock-table th:nth-child(2){width:10%}.stock-table th:nth-child(3){width:18%}.stock-table th:nth-child(4){width:15%}.stock-table th:nth-child(5){width:20%}.stock-table th:nth-child(6){width:13%}.stock-table td{vertical-align:middle;border-top:1px solid var(--line);overflow-wrap:anywhere;padding:9px}.stock-table tr:hover{background:#fcfef9}.stock-product-identity{align-items:center;gap:8px;min-width:0;display:flex}.stock-product-identity>div{flex-direction:column;gap:2px;min-width:0;display:flex}.stock-product-identity strong{color:var(--green);font-size:.82rem}.stock-product-identity .product-photo{border-radius:7px;flex:none;width:34px;height:34px}.stock-product-code{color:var(--muted);font-size:.63rem}.stock-provisional{color:#916524;font-size:.66rem}.stock-compact-numbers{gap:3px;display:grid}.stock-compact-numbers>div{justify-content:space-between;gap:7px;display:flex}.stock-compact-numbers small{color:var(--muted);font-size:.68rem}.stock-compact-numbers strong{font-variant-numeric:tabular-nums;text-align:right;font-size:.74rem}.stock-compact-numbers .available{color:var(--green);border-top:1px solid var(--line);padding-top:3px}.stock-date{margin-top:5px;font-size:.72rem;display:block}.stock-date small{color:var(--muted)}.stock-cell-classification>span,.stock-cell-classification>small{display:block}.stock-cell-classification>small{color:var(--muted);margin-top:3px;font-size:.68rem}.stock-dual-use{color:var(--green);background:var(--lime-2);border-radius:5px;width:fit-content;margin-bottom:3px;padding:3px 5px;font-size:.68rem;font-weight:750}.stock-table .status{white-space:normal;font-size:.65rem}.stock-cell-actions a{text-align:center;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:44px;font-size:.72rem;font-weight:700;line-height:1.25;display:flex}.stock-open{background:var(--lime-2);color:var(--green)}.stock-count{color:var(--muted)}.stock-cell-actions a:hover{color:var(--green);background:#e5efdb}.stock-mobile-label,.stock-inline-location{display:none}.stock-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:18px;display:flex}.page-numbers{align-items:center;gap:5px;display:flex}.page-link{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--green);background:#fff;border-radius:9px;justify-content:center;align-items:center;padding:8px 12px;font-size:.82rem;font-weight:650;display:inline-flex}.page-link:hover{border-color:var(--green)}.page-link.is-current{background:var(--green);color:#fff}.page-link.is-disabled{color:var(--muted);opacity:.6}.page-gap{padding:8px 3px}.page-position{color:var(--muted);font-size:.8rem;display:none}@media (width>=1101px) and (width<=1350px){.stock-table{font-size:.7rem}.stock-table td,.stock-table th{padding-left:6px;padding-right:6px}.stock-product-identity strong{font-size:.77rem}.stock-filter-main{grid-template-columns:minmax(150px,1.2fr) 1fr 1fr auto;gap:8px}.stock-heading{flex-wrap:wrap}.stock-heading .heading-actions{margin:0}}@media (width<=1100px){.stock-table-wrap{background:0 0;border:0;border-radius:0;overflow:visible}.stock-table,.stock-table tbody{width:100%;display:block}.stock-table thead{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.stock-table tr{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"identity quantities""quality classification""actions actions";gap:3px 20px;margin-bottom:9px;padding:8px 14px;display:grid}.stock-table td{border:0;padding:0;display:block}.stock-cell-identity{grid-area:identity}.stock-cell-location{display:none!important}.stock-inline-location{color:var(--muted);font-size:.72rem;display:inline}.stock-cell-quantities{grid-area:quantities;align-self:center}.stock-cell-quality{grid-area:quality;align-self:center}.stock-cell-classification{grid-area:classification;font-size:.73rem}.stock-table .stock-cell-actions{border-top:1px solid var(--line);grid-area:actions;align-items:center;gap:12px;padding-top:6px;display:flex}.stock-cell-actions a{padding:0 14px;font-size:.78rem}.stock-cell-actions .stock-count{margin-left:auto}.stock-mobile-label{margin-right:5px;display:inline}.stock-mobile-label:after{content:":"}.stock-compact-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stock-compact-numbers>div{flex-direction:column;gap:4px;display:flex}.stock-compact-numbers strong{text-align:left;overflow-wrap:normal;font-size:.81rem}.stock-compact-numbers .available{border:0;padding:0}.stock-product-identity strong{font-size:.85rem}.stock-table .stock-product-code{display:none}.stock-date{margin-left:7px;display:inline-block}.stock-heading .heading-actions{max-width:48%;margin-top:0}.stock-filter-main{grid-template-columns:minmax(160px,1.2fr) minmax(145px,1fr) minmax(145px,1fr) auto;gap:8px}.stock-filter-main .button{padding-left:12px;padding-right:12px}.stock-results-summary{align-items:flex-start}.stock-results-summary>span{max-width:420px}}@media (width<=760px){.stock-heading{flex-wrap:wrap;gap:12px}.stock-heading .heading-actions{justify-content:flex-start;width:100%;max-width:none}.stock-heading .heading-actions .button{flex:1}.stock-filter-main{grid-template-columns:1fr 1fr}.stock-filter-main .stock-search,.stock-filter-main>.button{grid-column:1/-1}.stock-filter-extra{grid-template-columns:1fr 1fr}.stock-filter-extra [data-product-filter]{grid-column:1/-1}.stock-results-summary{flex-direction:column;gap:4px}.stock-results-summary>span{text-align:left;max-width:none}.stock-table tr{column-gap:12px}.stock-date{margin-left:0;display:block}.page-numbers{display:none}.page-position{display:inline}}@media (width<=440px){.stock-filters{padding:12px}.stock-table tr{grid-template-columns:1fr 1fr;grid-template-areas:"identity identity""quantities quantities""quality classification""actions actions";gap:8px;padding:12px}.stock-compact-numbers strong{font-size:.9rem}.stock-compact-numbers{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0}.stock-cell-actions a{padding:0 8px}.stock-pagination{gap:7px}.page-link{padding:8px}.stock-table .stock-cell-actions{gap:5px}.stock-pagination .page-position{text-align:center;order:3;width:100%}}@media (width<=1100px){.lot-correction-form .form-aside{order:0}}.products-filters{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:22px;padding:20px}.products-search-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.products-search-field{flex-direction:column;flex:280px;gap:7px;min-width:0;font-size:.82rem;font-weight:800;display:flex}.products-search-field input{width:100%;min-width:0;min-height:46px;color:var(--ink);background:#fbfdfa;border:1px solid #d2e1d7;border-radius:11px;padding:11px 13px;font-size:1rem;font-weight:400}.products-search-field input:focus{border-color:#65a991;box-shadow:0 0 0 3px #dcf1e7}.products-search-help{color:var(--muted);margin:9px 0 0;font-size:.78rem}.products-kind-filters{border:0;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;margin:18px 0 0;padding:0;display:flex}.products-kind-button{border:1px solid var(--line);max-width:100%;min-height:46px;color:var(--green);text-align:left;background:#f7faf5;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:10px 14px;font-size:.86rem;font-weight:750;line-height:1.4;display:inline-flex}.products-kind-button:hover{background:#edf5e8;border-color:#80ac97}.products-kind-button.is-active{color:#fff;background:var(--green);border-color:var(--green)}.products-kind-count{min-width:25px;min-height:25px;color:var(--green);font-variant-numeric:tabular-nums;background:#e5eee2;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:2px 7px;font-size:.76rem;display:inline-flex}.products-kind-button.is-active .products-kind-count{background:var(--lime);color:var(--green)}.products-reset{justify-content:center;align-items:center;min-height:46px;padding:10px 14px;display:inline-flex}.products-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 3px 14px;font-size:.88rem;display:flex}.products-summary span{color:var(--muted);font-size:.8rem}.products-catalogue .product-card{min-width:0}.products-catalogue .product-card-copy{overflow-wrap:anywhere}.products-catalogue .product-card-meta .tag{white-space:normal}.products-catalogue .product-card-link{min-height:44px}.products-empty{overflow-wrap:anywhere;grid-column:1/-1}.products-catalogue .button{white-space:normal;text-align:center}.products-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;display:flex}.products-page-numbers{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.products-page-link{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--green);text-align:center;background:#fff;border-radius:11px;justify-content:center;align-items:center;padding:10px 13px;font-size:.85rem;font-weight:750;display:inline-flex}a.products-page-link:hover{background:#edf5e8;border-color:#80ac97}.products-page-link.is-current{background:var(--green);color:#fff;border-color:var(--green)}.products-page-link.is-disabled{color:var(--muted);background:#f0f4ee}.products-page-gap{color:var(--muted);padding:0 3px}.products-page-position{color:var(--muted);font-size:.8rem}@media (width<=640px){.products-filters{border-radius:17px;padding:16px}.products-search-field{flex-basis:100%}.products-search-submit,.products-reset{flex:1}.products-kind-filters{gap:8px}.products-kind-button{flex:140px;padding:10px 12px}.products-page-numbers{order:3;width:100%}.products-page-position{text-align:center;order:4;width:100%}}.page-heading>div{min-width:0;max-width:100%}.page-heading .lead,.lot-correction-form .quality-entry p{overflow-wrap:anywhere}.lot-correction-form .quality-entry>.form-grid{width:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}h1,h2,h3,strong,b{font-weight:750}.brand img{background:#fff;border-radius:7px;flex:none;width:38px;height:auto;padding:3px}.brand small{letter-spacing:.07em;opacity:.8;font-size:.59rem}.sidebar-profile form{margin-left:auto}.profile-copy small{opacity:.8}.mobile-role{color:#eef4eb;font-size:.76rem}.brand-mobile{min-height:44px}.login-page{background:radial-gradient(circle at 10% 10%,#e3ebd9 0,transparent 35%),radial-gradient(circle at 88% 86%,#deeaed 0,transparent 32%),var(--paper)}.login-mark{gap:16px}.login-mark img{flex:none;width:63px;height:auto}.login-mark>span{flex-direction:column;line-height:1.3;display:flex}.login-mark small{letter-spacing:.01em;color:var(--muted);font-size:.72rem;font-weight:600}.login-card .field{gap:7px;margin-bottom:5px}.quick-action{background:var(--lime-2);border-color:var(--line)}.lot-hero{background:linear-gradient(110deg,#fff,#f2f5ed)}.date-pill{color:var(--muted);white-space:nowrap;padding-top:12px;font-size:.8rem}.field input,.field select,.field textarea{width:100%;min-height:46px;color:var(--ink);background:#fbfcfa;border:1px solid #d2ddd4;border-radius:11px;outline:0;padding:11px 13px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green-2);box-shadow:0 0 0 3px #e1eade}.field textarea{resize:vertical}.field input,.field select,.field textarea{min-width:0}.row-main strong,.row-main small,.origin-detail h3,.origin-row h3,.lot-hero-copy h2,.material-label,.user-sites,.site-permissions legend,.mobile-more,.notice{overflow-wrap:anywhere}.field [aria-invalid=true]{border-color:var(--danger)}.field [readonly],.readonly-value{background:#eff3ed!important}.readonly-value{border:1px solid var(--line);border-radius:11px;min-height:46px;margin:0;padding:11px 13px}.field label,.field-set legend{font-size:.81rem;font-weight:750}.field label:not(:has(input)){line-height:1.5}.field-set{border:0;min-width:0;margin:0;padding:0}.field-set legend{margin-bottom:9px}.form-section>.section-heading{justify-content:flex-start;gap:13px}.form-section>.section-heading>div{min-width:0}.form-layout .form-aside{order:0}.category-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.check-line{cursor:pointer;min-height:44px}.category-grid .check-line{border:1px solid var(--line);background:#fbfcfa;border-radius:11px;align-items:center;padding:10px 12px}.check-line input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:0;padding:0}.origin-rows{gap:16px;margin-bottom:16px;display:grid}.origin-row{border:1px solid var(--line);background:#f8faf6;border-radius:14px;min-width:0;padding:16px}.origin-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.origin-header h3{margin:0}.remove-origin{color:var(--danger);background:0 0;border:0;padding:0 8px;font-size:.76rem}.dac-rows{gap:9px;margin:13px 0;display:grid}.dac-row{grid-template-columns:minmax(0,1fr) auto 44px;align-items:end;gap:10px;display:grid}.dac-row .check-line{min-height:46px;font-size:.76rem}.icon-remove{border:1px solid var(--line);width:44px;height:46px;color:var(--danger);background:#fff;border-radius:10px;font-size:1.4rem}.icon-remove:hover,.remove-origin:hover{background:var(--danger-bg)}.origin-summary{gap:5px;display:grid}.origin-summary>span,.origin-summary small{display:block}.origin-summary small{color:var(--muted);font-size:.7rem}.origin-detail+.origin-detail{border-top:1px solid var(--line);margin-top:12px;padding-top:16px}.origin-detail h3{margin-bottom:5px}.origin-detail .compact-row{padding:9px 0}.lot-symbol{background:var(--lime-2);width:78px;height:78px;color:var(--green);border-radius:20px;flex:none;place-items:center;font-size:2.4rem;display:grid}.lot-hero-copy{min-width:0}.status-pair{color:var(--muted);flex-wrap:wrap;gap:10px 18px;font-size:.73rem;display:flex}.status-pair .status{margin-left:5px}.detail-list-grid{grid-template-columns:1fr 1fr;column-gap:20px;display:grid}.detail-list dd{overflow-wrap:anywhere;font-size:.86rem}.detail-subtext{color:var(--muted);margin-top:4px;font-weight:500;display:block}.material-label{margin-top:3px;display:block}.timeline{margin:0 0 8px;padding:0 0 0 8px;list-style:none}.timeline li{border-left:2px solid var(--line);flex-direction:column;gap:3px;padding:0 0 24px 23px;font-size:.84rem;display:flex;position:relative}.timeline li:last-child{border-left-color:#0000;padding-bottom:0}.timeline small{color:var(--muted);font-size:.75rem}.timeline-dot{background:var(--green-2);border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;top:4px;left:-7px}.timeline-pending .timeline-dot{background:var(--line)}.timeline-pending{color:var(--muted)}.detail-aside>.panel:first-child{margin-top:0}.detail-aside form+.details-form,.detail-aside form+form{margin-top:14px}.detail-aside .button{white-space:normal}.detail-aside .notice{font-size:.84rem;line-height:1.7}.quality-entry{overflow-wrap:anywhere}.quality-entry h3{margin-bottom:0;font-size:.88rem}.history-details{width:100%;margin-top:5px}.history-details summary{min-height:44px;color:var(--green-2);cursor:pointer;align-items:center;gap:9px;font-weight:700;display:flex}.history-details summary:before{content:"＋"}.history-details[open] summary:before{content:"−"}.revision-list{border:1px solid var(--line);background:#f8faf6;border-radius:12px;margin:0 0 6px;padding:10px 14px}.revision-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(110px,.8fr) 1.2fr;gap:12px;padding:8px 0;display:grid}.revision-list>div:last-child{border-bottom:0}.revision-list dt{color:var(--muted);font-size:.75rem}.revision-list dd{white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:.78rem}.previous-value{color:var(--muted);margin-bottom:3px;font-weight:400;display:block}.site-permissions{border:1px solid var(--line);border-radius:14px;min-width:0;margin:20px 0 0;padding:15px 17px}.site-permissions legend{padding:0 7px;font-size:.91rem;font-weight:750}.site-permissions .field-help{margin-bottom:0}.user-sites{color:var(--muted);flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.73rem;display:flex}.user-row>.button{font-size:.78rem}.button:disabled,.icon-remove:disabled{opacity:.6;cursor:wait;transform:none}.button-quiet:hover{background:var(--lime-2)}.time-offset summary{cursor:pointer;min-height:44px;color:var(--green-2);align-items:center;gap:6px;font-size:.73rem;display:flex}.time-offset summary:before{content:"＋"}.time-offset[open] summary:before{content:"−"}.time-offset label,.time-offset small{margin-bottom:5px;display:block}.time-offset select{margin-bottom:6px}.text-link:disabled{opacity:.5;cursor:default}@media (width<=1100px){.bottom-nav{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.bottom-nav button{font-size:.66rem;font-weight:750}.mobile-topbar .brand img{width:35px;height:auto}.form-aside{order:0}.page-heading h1{overflow-wrap:anywhere}.mobile-more nav{grid-template-columns:1fr}}@media (width<=640px){.date-pill{padding:0}.category-grid{grid-template-columns:1fr}.origin-row{padding:12px}.dac-row{grid-template-columns:minmax(0,1fr) 44px;gap:0 8px}.dac-row>.field{grid-column:1/-1}.dac-row>.check-line{grid-column:1}.dac-row>.icon-remove{grid-column:2}.lot-symbol{border-radius:12px;width:45px;height:45px;font-size:1.5rem}.lot-hero{padding:16px}.status-pair{gap:7px}.detail-list-grid{grid-template-columns:1fr}.revision-list>div{grid-template-columns:1fr;gap:4px}.user-row{flex-wrap:wrap}.user-row>.row-main{flex-basis:calc(100% - 55px)}.user-row>.status{margin-left:52px}.user-row>.button{margin-left:auto}.login-card{padding:28px}.origin-header{gap:0}.remove-origin{font-size:.7rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important;animation:none!important}}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.page-header h1{letter-spacing:-.045em;margin:4px 0 12px;font-size:clamp(2rem,3vw,3rem);line-height:1.12}.page-subtitle{color:var(--muted);max-width:76ch}.header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.main-content>.panel{margin-bottom:20px}.button-secondary{background:var(--lime-2);color:var(--green);border:1px solid var(--line)}.button-secondary:hover{background:var(--lime)}.table-scroll{overscroll-behavior-x:contain;max-width:100%;overflow:auto}.table-scroll table{border-collapse:collapse;width:100%;font-size:.85rem}.table-scroll th{text-align:left;letter-spacing:.02em;color:var(--muted);background:var(--paper);white-space:nowrap;padding:12px 14px;font-size:.72rem}.table-scroll td{border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;min-width:110px;padding:13px 14px}.table-scroll a{align-items:center;min-height:44px;display:inline-flex}.history-entry{border-bottom:1px solid var(--line);padding:14px 0}.history-entry summary{cursor:pointer;min-height:44px;padding:10px 4px;font-weight:700;display:list-item}.history-entry form{margin-top:16px}.history-entry pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;min-height:46px;color:var(--ink);font:inherit;background:#fbfdfa;border:1px solid #d2e1d7;border-radius:11px;padding:11px 13px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--green-2);outline-offset:2px}.field select[multiple]{min-height:120px}dl.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}dl.detail-grid dt{color:var(--muted);margin-bottom:5px;font-size:.77rem}dl.detail-grid dd{overflow-wrap:anywhere;margin:0}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.sidebar .side-nav{flex:1;min-height:0;overflow-y:auto}.sidebar .nav-item{min-height:44px;font-size:.82rem}.mobile-more{max-height:calc(100dvh - 155px);overflow-y:auto}.mobile-more nav{gap:4px;display:grid}.mobile-more nav a{align-items:center;min-height:44px;padding:8px 10px;display:flex}.repeat-row{border:1px solid var(--line);border-radius:14px;margin-bottom:14px;padding:15px}.repeat-row .button{margin-top:10px}.no-wrap{white-space:nowrap}.record-data,.notice{overflow-wrap:anywhere}@media (width<=760px){.page-header{flex-direction:column;gap:12px}.header-actions{width:100%}.header-actions .button{flex:1}.table-scroll th,.table-scroll td{padding:10px}dl.detail-grid{grid-template-columns:1fr}}@media print{.sidebar,.mobile-topbar,.bottom-nav,.mobile-more,.skip-link,.header-actions,.heading-actions,.back-link,.no-print,button,form{display:none!important}.shell-grid{display:block!important}.main-content{max-width:none!important;padding:0!important}.panel{break-inside:avoid;border:1px solid #bbb;margin:12px 0;box-shadow:none!important}.page-header{margin-bottom:16px}.page-header h1{font-size:22pt}.table-scroll,.stock-table-wrap{overflow:visible}.table-scroll table{font-size:9pt}.table-scroll th,.table-scroll td{min-width:0;padding:6px}dl.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body{color:#111;background:#fff;font-size:10pt}a{color:#111;text-decoration:none}.history-entry{break-inside:avoid}}.business-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.business-card{border:1px solid var(--line);color:var(--ink);background:var(--paper);overflow-wrap:anywhere;border-radius:14px;flex-direction:column;gap:6px;padding:16px;text-decoration:none;display:flex}.business-card:hover{border-color:var(--green-2)}.business-card>strong{color:var(--green);font-size:1.7rem;line-height:1.2}.business-card>span{font-weight:750}.business-card>small{color:var(--muted);font-size:.75rem}.snapshot{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.badge{border-radius:999px;padding:4px 10px;font-size:.73rem;display:inline-flex}.badge-neutral{color:#567169;background:#eef2f0}@media (width<=1100px){.business-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.business-cards{grid-template-columns:1fr}}.workspace-pill small{opacity:.8;margin-top:4px;font-size:.68rem;display:block}.workspace-switch{gap:7px;min-width:0;padding:12px 0;font-size:.76rem;display:grid}.workspace-switch select,.workspace-switch button{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--green);border-radius:9px;padding:8px}.nav-group>summary{cursor:pointer;overflow-wrap:anywhere;min-height:48px;padding:12px 10px;font-size:.82rem;font-weight:700}.nav-group .nav-item{padding-left:22px;font-size:.78rem}.preparation-callout{background:var(--lime-2);border:1px solid var(--line);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px;display:flex}.preparation-callout h2{margin-top:0}.preparation-callout p{margin-bottom:0}.preparation-callout .button{flex:none}.daily-shortcuts{flex-wrap:wrap;gap:10px;margin:20px 0 26px;display:flex}.workday-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:22px;display:grid}.workday-grid>.panel{min-width:0;margin:0 0 22px}.task-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.task-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:16px 0;display:flex}.task-row:last-child{border-bottom:0}.task-row>div{overflow-wrap:anywhere;min-width:0}.task-row strong,.task-row small{display:block}.task-row small{color:var(--muted);margin:5px 0;font-size:.79rem}.task-row p{margin:5px 0;font-size:.85rem}.task-row .button{flex:none;font-size:.79rem}.task-count{background:var(--lime-2);color:var(--green);border-radius:12px;padding:6px 11px;font-size:.8rem;font-weight:750}.review-state{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 12px;display:inline-block}.inline-filter{flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0;display:flex}.inline-filter .field{flex:1;min-width:160px}.setup-steps{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.setup-steps a{background:var(--lime-2);border:1px solid var(--line);border-radius:10px;align-items:center;min-height:44px;padding:10px 14px;font-size:.8rem;font-weight:700;display:flex}.proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.proposal-grid .check-line{border:1px solid var(--line);border-radius:10px;align-items:center;padding:12px}.proposal-grid small{color:var(--muted);display:block}.mapping-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;padding:18px 0;display:grid}.mapping-row input[type=hidden]{display:none}.guide-steps{padding-left:22px}.guide-steps li{padding:8px 0;line-height:1.7}section[id]{scroll-margin-top:85px}.source-search{min-width:0}.source-search-results{overflow-wrap:anywhere;max-height:350px;overflow-y:auto}@media (width<=1100px){.workday-grid{grid-template-columns:1fr}.workspace-switch{color:var(--ink)}}@media (width<=640px){.preparation-callout{flex-direction:column;align-items:stretch;padding:18px}.daily-shortcuts>.button{flex:160px}.task-row{flex-direction:column;align-items:flex-start;gap:8px}.task-row .button{width:100%}.proposal-grid,.mapping-row{grid-template-columns:1fr}.mapping-row{gap:8px}.bottom-nav a,.bottom-nav button{padding-left:3px;padding-right:3px;font-size:.61rem}.setup-steps a{flex:130px}}.attachment-preview-image{object-fit:contain;background:var(--paper);border-radius:10px;max-width:100%;max-height:320px;display:block}.attachment-image-link{display:block}.upload-progress{width:100%;height:18px}.inline-filter input[type=month]{border:1px solid var(--line);max-width:100%;min-height:44px;font:inherit;background:#fff;border-radius:9px;padding:8px}
