:root{--font-family-ui:Inter,"Noto Sans Thai",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-size-2xs:10px;--font-size-xs:11px;--font-size-sm:12px;--font-size-md:13px;--font-size-base:14px;--font-size-lg:16px;--font-size-xl:18px;--font-size-2xl:20px;--font-size-3xl:24px;--font-size-4xl:28px;--font-regular:400;--font-medium:500;--font-semibold:600;--font-bold:700;--line-height-tight:1.25;--line-height-normal:1.45;--line-height-relaxed:1.6;--ink:#24384d;--muted:#667985;--bg:#F6EFDF;--card:#fffdf9;--line:#d9e1e3;--primary:#1e2b60;--primary-hover:#16224d;--primary-soft:#E8EEF0;--primary-on:#fff;--primary-alpha-12:#1e2b601f;--primary-alpha-20:#1e2b6033;--primary-alpha-35:#1e2b6059;--primary-overlay-92:rgb(30 43 96/92%);--green:var(--primary);--green2:#E8EEF0;--red:#b34444;--red2:#fdeaea;--gold:#a66b14;--gold2:#fff3da;--coffee:var(--primary);--coffee2:#E8EEF0;--shadow:0 10px 30px rgba(36,56,77,0.08);--sidebar:var(--primary);--sidebar-hover:#2b3a72;--sidebar-border:rgba(255,255,255,0.1)}@media print{body *{visibility:hidden!important}.print-document,.print-document *{visibility:visible!important}.print-document{position:absolute;inset:0;width:100%;padding:12mm;background:white;color:black}.print-document table{width:100%;border-collapse:collapse}.print-document td,.print-document th{border:1px solid #333;padding:6px}.print-document thead{display:table-header-group}.print-document tr{break-inside:avoid;page-break-inside:avoid}.no-print{display:none!important}@page{size:A4 portrait;margin:10mm}}.signature-row{display:flex;justify-content:space-between;gap:40px;margin-top:48px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-family-ui);font-size:var(--font-size-base);font-weight:var(--font-regular);line-height:var(--line-height-normal)}button,input,select,textarea{font:inherit}.app{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.side{position:-webkit-sticky;position:sticky;top:0;height:100vh;padding:24px 16px;color:#fff;display:flex;flex-direction:column}.brand{display:flex;align-items:center;justify-content:center;padding:0 6px 26px}.brand-logo{width:100%;max-width:200px;height:auto}.nav{display:grid;grid-gap:7px;gap:7px}.nav button{width:100%;border:0;background:transparent;color:#cbd5e1;text-align:left;padding:12px 13px;border-radius:11px;cursor:pointer}.nav button.active,.nav button:hover{background:var(--sidebar-hover)}.nav span{display:inline-block;width:27px}.side-user{padding:14px;font-size:13px}.side-user b{display:block;margin-bottom:2px}.side-user small{color:#94a3b8;display:block;margin-bottom:10px}.side-user-actions{display:grid;grid-gap:6px}.side-btn{width:100%;padding:8px 10px;font-size:12px;background:transparent;border-color:var(--sidebar-border);color:#e2e8f0}.side-btn:hover{background:var(--sidebar-hover)}.side-foot{padding:14px;border-top:1px solid var(--sidebar-border);color:#94a3b8;font-size:12px}main{padding:26px 30px 50px;min-width:0}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.title h1{font-size:27px;margin:0}.title p{margin:4px 0 0}.top-actions{display:flex;gap:10px}.btn{border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:11px;cursor:pointer;font-weight:600}.btn.icon{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;font-size:16px;line-height:1}.btn>svg,.icon-btn>svg{display:inline-block;vertical-align:middle}.btn:not(.primary):has(>svg:only-child){border-color:transparent;background:transparent;color:var(--muted);padding:7px;border-radius:9px}.btn:not(.primary):has(>svg:only-child):hover{background:#f1f4f6;color:var(--primary)}.btn.danger:has(>svg:only-child){color:var(--muted)}.btn.danger:has(>svg:only-child):hover{background:#fdecec;color:#b42318}.btn.primary{color:#fff}.btn.danger{border-color:#f0c2bc;color:#b42318}.btn.danger:hover{border-color:#b42318;background:#fdf3f2}.job-workspace-action{border-color:transparent;background:transparent;color:var(--muted)}.job-workspace-action:hover{border-color:transparent;background:#f1f4f6;color:var(--primary)}.job-workspace-action>svg{margin-right:6px}.btn:hover{transform:translateY(-1px)}.icon-btn{border:1px solid var(--line);background:#fff;width:36px;height:36px;border-radius:10px;cursor:pointer;color:var(--muted);font-size:17px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon-btn:hover:not(:disabled){color:var(--ink);border-color:var(--green)}.icon-btn:disabled{opacity:.6;cursor:default}.action-group{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.action-btn{border:1px solid var(--line);background:#fff;width:32px;height:32px;border-radius:9px;cursor:pointer;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0}.action-btn svg{width:17px;height:17px}.action-btn:hover:not(:disabled){color:var(--green);border-color:var(--green);background:#f4f8f2}.action-btn.danger:hover:not(:disabled){color:#b42318;border-color:#b42318;background:#fdf3f2}.action-btn:disabled{opacity:.45;cursor:default}.action-group .btn{padding:6px 11px;font-size:13px;border-radius:9px}.icon-btn .spin{display:inline-block;animation:icon-spin .9s linear infinite}@keyframes icon-spin{to{transform:rotate(1turn)}}.page-nav{display:flex;flex-wrap:wrap;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.page-nav button{border:0;background:transparent;cursor:pointer;color:var(--muted);font-weight:600;font-size:14px;font-family:inherit}.page-nav button:hover{background:#f2f3ee}.page-nav button.active{color:#fff}.segmented{display:inline-flex;gap:4px;flex-wrap:wrap;border:1px solid var(--line);border-radius:11px;padding:4px}.segmented button{border:0;background:transparent;padding:7px 13px;border-radius:8px;cursor:pointer;color:var(--muted);font-weight:600;font-size:13px;font-family:inherit}.segmented button.active{background:#f2f3ee;color:var(--ink)}.head-actions{display:flex;align-items:center;gap:8px;flex:none}.card-head small{color:var(--muted);display:block;margin-top:3px}.card+.card,.card+.stats{margin-top:16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px}.stat{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow)}.stat .cap{color:var(--muted);font-size:13px}.stat .value{font-size:25px;font-weight:700;margin:7px 0 2px}.stat .hint{font-size:12px}.layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);grid-gap:17px;gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;padding:18px 19px;border-bottom:1px solid var(--line)}.card-head h3{margin:0;font-size:17px}.card-body{padding:18px}.chart{height:220px;display:flex;align-items:flex-end;gap:13px;padding:20px 8px 0;border-bottom:1px solid var(--line);background:linear-gradient(#fff,#fafaf7)}.bar-wrap{flex:1 1;text-align:center;color:var(--muted);font-size:11px}.bar{min-height:8px;background:linear-gradient(180deg,#c9655a,#a94740);border-radius:8px 8px 3px 3px;margin:0 auto 8px;max-width:46px}.farmer{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #f0efe9}.farmer:last-child{border:0}.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:var(--green2);color:var(--green);font-weight:700}.farmer b{display:block;font-size:13px}.farmer small{color:var(--muted)}.farmer .money{margin-left:auto;text-align:right;font-weight:700;font-size:13px}.farmer .money small{display:block;font-weight:400}.view{display:none}.view.active{display:block}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.search{flex:1 1;min-width:240px}.search,.select{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 13px}.table-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:auto;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse}th{background:#fafaf7;color:#707970;font-size:12px;font-weight:600;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}td{padding:13px 14px;border-bottom:1px solid #f0efe9;font-size:13px;white-space:nowrap}tr:hover td{background:#fbfcfa}.po{color:var(--green)}.pill,.po{font-weight:600}.pill{display:inline-flex;border-radius:999px;font-size:11px}.pill.parchment{background:#f2e6ca;color:#8c6427}.right{text-align:right}.empty{padding:45px;text-align:center;color:var(--muted)}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px}.process{padding:19px}.process h3{margin:0 0 4px}.process .sub{color:var(--muted);font-size:13px}.process .metric{font-size:27px;font-weight:700;margin:20px 0}.meter{height:9px;background:#ecece6;overflow:hidden}.meter,.meter i{border-radius:99px}.meter i{display:block;height:100%;background:var(--green)}.process-list{margin-top:16px;font-size:13px}.process-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f0efe9}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.setting-card{padding:20px}.setting-card h3{margin:0 0 5px}.setting-card>p{margin:0 0 18px;color:var(--muted);font-size:13px}.setting-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f0efe9}.setting-row .info{flex:1 1}.setting-row b{display:block;font-size:13px}.setting-row small{color:var(--muted)}.switch{position:relative;width:42px;height:24px;border:0;border-radius:99px;background:#ccd1cc;cursor:pointer}.switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}.switch.on:after{left:21px}.role{padding:5px 9px;border-radius:999px;background:var(--green2);color:var(--green);font-size:11px;font-weight:700}.stock-alert{color:var(--red);font-weight:700}.report-list{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.report-item{padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.report-item:hover{border-color:var(--green);box-shadow:var(--shadow)}.report-item b{display:block;margin:0 0 3px}.report-item small{color:var(--muted)}.modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.52);display:grid;place-items:center;z-index:100;padding:16px}.modal{border:0;border-radius:19px;padding:0;width:min(680px,calc(100% - 32px));background:#fff;box-shadow:0 30px 90px rgba(20,30,24,.3);max-height:calc(100vh - 32px);display:flex;flex-direction:column;overflow:hidden}.modal-wide,.modal[style*=max-width]{width:min(1200px,calc(100vw - 32px))}.modal[style*=max-width]>form{display:flex;flex-direction:column;width:100%;min-height:0;flex:1 1}.modal-body,.modal[style*=max-width]>form>.form{overflow:auto;flex:1 1;min-height:0}.modal-body{padding:16px 22px 20px}.modal-summary{margin:0 0 14px;color:var(--muted);font-size:14px}.modal-table table{min-width:760px}.modal-head{display:flex;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:20px}.x{border:0;background:transparent;font-size:22px;cursor:pointer}.form,.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;padding:20px 22px}.field,.form-grid>label{display:grid;grid-gap:6px;gap:6px}.field.full{grid-column:1/-1}.hint{font-weight:400;line-height:1.4}.field label,.hint{font-size:12px;color:var(--muted)}.field label{font-weight:600}.field input,.field select,.field textarea,.form-grid input:not([type=checkbox]),.form-grid select,.form-grid textarea{border:1px solid var(--line);padding:10px 12px;border-radius:10px}.total-box{grid-column:1/-1;background:#E8EEF0;padding:14px;border-radius:12px;display:flex;justify-content:space-between}.modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:15px 22px;border-top:1px solid var(--line)}.toast{position:fixed;right:25px;bottom:25px;color:#fff;padding:13px 18px;border-radius:12px;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;z-index:200}.toast.show{opacity:1;transform:translateY(0)}.loading{padding:40px;text-align:center;color:var(--muted)}.error-banner{padding:12px 16px;border-radius:11px;margin-bottom:16px;font-size:13px}@media (max-width:1000px){.stats{grid-template-columns:1fr 1fr}.layout,.process-grid,.report-list,.section-grid{grid-template-columns:1fr}}@media (max-width:720px){.app{display:block}.side{position:static;height:auto;padding:12px}.brand{padding:2px 5px 12px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.side-foot{display:none}main{padding:18px 14px 40px}.top{align-items:flex-start}.top-actions .btn:first-child{display:none}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:14px}.stat .value{font-size:20px}.form{grid-template-columns:1fr}.field.full{grid-column:auto}}.login-page{min-height:100vh;display:grid;place-items:center;background:var(--bg);padding:20px}.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px 28px;box-shadow:var(--shadow)}.login-brand{display:flex;justify-content:center;margin-bottom:18px}.login-card h1{margin:0 0 6px;font-size:24px;text-align:center}.login-sub{margin:0 0 22px;text-align:center;color:var(--muted);font-size:14px}.login-form{display:grid;grid-gap:14px;gap:14px}.login-btn{width:100%;margin-top:4px}.login-error{background:var(--red2);color:var(--red);padding:10px 12px;border-radius:10px;font-size:13px}.app{grid-template-columns:248px minmax(0,1fr)}.side{background:var(--sidebar);padding:20px 14px;z-index:20}.brand{justify-content:flex-start;gap:11px;padding:0 8px 20px;border-bottom:1px solid var(--sidebar-border)}.brand-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#7E9DB2,var(--primary))}.brand-logo{width:34px;height:34px;max-width:none;object-fit:contain}.brand-copy small,.brand-copy strong{display:block}.brand-copy strong{color:#fff;font-size:16px}.brand-copy small{margin-top:2px;color:#b9c6be;font-size:10px;white-space:nowrap}.nav{gap:4px;margin-top:14px;overflow-y:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav button{display:flex;align-items:center;gap:10px;border-radius:10px;padding:11px 12px;color:#c9d3cd;transition:.18s ease}.nav button:before{content:"›";width:18px;color:#83938a;font-size:17px;line-height:1;text-align:center}.nav button.active,.nav button:hover{background:rgba(255,255,255,.1);color:#fff}.nav button.active{box-shadow:inset 3px 0 0 #7E9DB2}.nav button.active:before{color:#A9C0D2}.enterprise-side .nav>.setup-nav-flyout>.setup-nav-toggle,.enterprise-side .nav>button{min-height:44px;padding:11px 12px;line-height:1.35;display:flex;align-items:center}.enterprise-side .nav .nav-icon{width:20px;height:20px;flex:0 0 20px;opacity:.88}.enterprise-side .nav>.setup-nav-flyout>.setup-nav-toggle:before,.enterprise-side .nav>button:before{display:none}.enterprise-side .nav>button{gap:0}.nav-group{margin:13px 10px 3px;color:#83938a;font-size:10px;font-weight:800;letter-spacing:.75px;text-transform:uppercase}.setup-nav-toggle{width:100%;justify-content:space-between}.setup-nav-flyout{position:relative}.nav .setup-nav-item:before,.nav .setup-nav-toggle:before{display:none}.nav .setup-nav-toggle>span:first-child{flex:1 1;width:auto}.nav .setup-nav-chevron{width:auto;color:#9eada4;font-size:var(--font-size-sm)}.setup-nav-menu{bottom:-6px;left:calc(100% + 10px);z-index:60;display:grid;grid-gap:2px;gap:2px;width:250px;max-height:82vh;overflow-y:auto;margin:0;padding:8px;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(15,23,42,.2)}.setup-nav-menu,.setup-nav-menu:before{position:absolute;top:auto;background:#fff}.setup-nav-menu:before{content:"";bottom:18px;left:-6px;width:10px;height:10px;border-bottom:1px solid var(--line);border-left:1px solid var(--line);transform:rotate(45deg)}.nav .setup-nav-item{display:block;padding:8px 10px;border-radius:7px;color:var(--ink);font-size:var(--font-size-sm);text-align:left}.nav .setup-nav-item.active,.nav .setup-nav-item:hover{background:var(--green2);color:var(--green)}.nav .setup-nav-item.active{box-shadow:none}.nav-divider{height:1px;margin:9px 8px 4px;background:rgba(255,255,255,.08)}.side-user{margin-top:auto;padding:14px 8px 0;border-top:1px solid var(--sidebar-border)}.side-foot,.side-user small{color:#b9c6be}.side-user-actions{gap:6px}.side-btn{border-color:rgba(255,255,255,.12);color:#dce6df}.side-btn:hover{background:rgba(255,255,255,.1)}main{padding:0 26px 50px}.top{position:-webkit-sticky;position:sticky;top:0;z-index:15;min-height:68px;margin:0 -26px 26px;padding:0 26px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.title h1{font-size:24px;letter-spacing:-.25px}.title p{color:var(--muted);line-height:1.5}.top-actions{flex-wrap:wrap;justify-content:flex-end}.enterprise-top-actions{align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:8px}.topbar-refresh-btn{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);cursor:pointer}.topbar-refresh-btn:hover{border-color:#b4c5d8;background:var(--green2)}.general-table-tools{display:flex;flex-wrap:wrap;gap:8px;padding:0}.general-table-header{align-items:center;gap:16px}.general-table-head-left{display:flex;align-items:center;flex:1 1 auto;gap:18px;min-width:0}.general-company-toolbar-stacked{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-row-gap:10px;row-gap:10px}.general-company-toolbar-stacked .general-table-head-left{display:contents}.general-company-toolbar-stacked .general-table-title{grid-column:1;grid-row:1}.general-company-toolbar-stacked>.head-actions{grid-column:2;grid-row:1}.general-company-toolbar-stacked .general-table-tools{grid-column:1/-1;grid-row:2;width:100%}.general-table-header:has(.general-table-title){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-row-gap:10px;row-gap:10px}.general-table-header:has(.general-table-title) .general-table-head-left{display:contents}.general-table-header:has(.general-table-title) .general-table-title{grid-column:1;grid-row:1}.general-table-header:has(.general-table-title)>.head-actions{grid-column:2;grid-row:1}.general-table-header:has(.general-table-title) .general-table-tools{grid-column:1/-1;grid-row:2;width:100%}.general-table-title{flex:0 0 auto}.general-table-title small{display:none}.general-table-tools{flex:1 1 auto}.general-table-tools input,.general-table-tools select{height:38px;padding:0 12px;border:1px solid var(--line);border-radius:9px;outline:none;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1;transition:border-color .15s ease,box-shadow .15s ease}.general-table-tools input{flex:1 1 260px;min-width:200px}.general-table-tools input::placeholder{color:var(--muted);opacity:.8}.general-table-tools select{min-width:150px;cursor:pointer}.general-table-tools input:hover,.general-table-tools select:hover{border-color:#9eb1c9}.general-table-tools input:focus,.general-table-tools select:focus{border-color:#315d8f;box-shadow:0 0 0 3px rgba(49,93,143,.12)}.general-table-tools .btn{min-height:38px;white-space:nowrap}.general-data-table td,.general-data-table th{padding-top:9px;padding-bottom:9px;line-height:1.35}.general-data-table th{padding-top:8px;padding-bottom:8px}.general-data-table tbody tr{height:48px}.general-placeholder-row{pointer-events:none}.general-placeholder-row td{color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-sort-button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}.table-sort-button span{color:var(--muted);font-size:11px}.inventory-table-tools{margin:0 0 10px;padding:0}.inventory-master-stack{gap:18px}.inventory-master-content{padding:0;overflow:hidden}.general-table-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.general-table-pagination>div{display:flex;align-items:center;gap:10px}@media (max-width:720px){.general-table-head-left,.general-table-header{align-items:stretch;flex-direction:column}.general-table-pagination{align-items:flex-start;flex-direction:column}}.enterprise-topbar{position:static;min-height:auto;margin:0 0 6px;padding:4px 0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:none}.enterprise-topbar-copy{min-width:0;max-width:820px}.topbar-setup-back{white-space:nowrap}.topbar-setup-back+.enterprise-top-actions{margin-left:auto}.enterprise-topbar-copy h1{font-size:16px;line-height:1.25;letter-spacing:0}.enterprise-topbar-copy p{max-width:760px;margin-top:3px;font-size:10px;line-height:1.4}.topbar-menu{position:relative}.topbar-menu>summary{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink);cursor:pointer;font-weight:700;list-style:none}.topbar-menu>summary::-webkit-details-marker{display:none}.topbar-menu>summary:hover,.topbar-menu[open]>summary{border-color:transparent;background:transparent;color:var(--green)}.topbar-menu-icon{font-size:14px;line-height:1}.topbar-notifications>summary{width:38px;min-height:38px;padding:0;justify-content:center;border-color:var(--line);border-radius:10px;background:#fff}.topbar-notifications>summary:hover,.topbar-notifications[open]>summary{border-color:var(--green);background:#fff}.topbar-notifications .topbar-bell{width:22px;height:22px}.topbar-bell{color:var(--green)}.topbar-bell-secondary{opacity:.35}.topbar-bell-primary{opacity:1}.topbar-action-label{font-size:10px}.topbar-avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:var(--green);color:#fff;font-size:15px}.topbar-avatar-img{object-fit:cover;background:transparent}.topbar-profile-copy,.topbar-profile-copy b,.topbar-profile-copy small{display:block}.topbar-profile-copy b{max-width:120px;overflow:hidden;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.topbar-profile-copy small{margin-top:1px;color:var(--muted);font-size:8px;font-weight:600;line-height:1.1}.topbar-popover{position:absolute;top:calc(100% + 9px);right:0;z-index:30;width:250px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 36px rgba(28,44,34,.16)}@media (min-width:1201px){.app.app-3col .enterprise-top-actions{position:fixed;top:18px;right:24px;z-index:45}}.topbar-popover b,.topbar-popover small{display:block}.topbar-popover p,.topbar-popover small{margin:4px 0 0;color:var(--muted)}.profile-popover button{width:100%;margin-top:12px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer;font-weight:700;text-align:left}@media (max-width:1040px){.enterprise-topbar{align-items:flex-start}.topbar-action-label{display:none}.topbar-menu:first-child>summary{width:34px;justify-content:center;padding:0}}@media (max-width:760px){.enterprise-topbar{gap:14px;padding-top:16px;padding-bottom:16px}.enterprise-top-actions{width:100%;justify-content:flex-start}.topbar-popover{right:auto;left:0;max-width:calc(100vw - 28px)}}.security-tabs-card{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.security-table{border-right:0;border-bottom:0;border-left:0;border-radius:0;box-shadow:none}.security-pager,.security-pager>div,.security-row-actions{display:flex;align-items:center;gap:7px}.status-switch{position:relative;width:42px;height:24px;padding:2px;border:0;border-radius:999px;background:#cbd5df;cursor:pointer;transition:background .18s ease}.status-switch>span{display:block;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.2);transition:transform .18s ease}.status-switch.on{background:var(--primary)}.status-switch.on>span{transform:translateX(18px)}.status-switch:hover:not(:disabled){filter:brightness(.94)}.status-switch:focus-visible{outline:3px solid rgba(30,43,96,.25);outline-offset:2px}.status-switch:disabled{cursor:not-allowed;opacity:.55}.security-pager{justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line)}.security-audit-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,180px)) minmax(200px,1fr);grid-gap:10px;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}.security-audit-filters label,.security-audit-filters label>span{display:grid;grid-gap:5px;gap:5px}.security-audit-filters input,.security-audit-filters select{width:100%;min-height:38px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff}.security-audit-detail{max-width:380px;max-height:240px;margin:8px 0 0;overflow:auto;white-space:pre-wrap;font-size:var(--font-size-xs)}@media (max-width:980px){.security-audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.security-audit-search{grid-column:1/-1}}.app .table-card{overflow:auto;background:#fff}.app .card>table,.app .table-card table{width:100%;border-collapse:collapse;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.app .card>table thead,.app .table-card thead{background:#E8EEF0}.app .card>table th,.app .table-card th{height:39px;padding:0 14px;border-bottom:1px solid #e3e8ef;background:#E8EEF0;color:#68788e;font-size:var(--font-size-xs);font-weight:var(--font-semibold);line-height:var(--line-height-tight);text-align:left;white-space:nowrap}.app .card>table td,.app .table-card td{height:58px;padding:0 14px;border-bottom:1px solid #edf0f4;background:#fff;color:var(--ink);font-size:var(--font-size-sm);font-weight:var(--font-regular);line-height:var(--line-height-normal);transition:background .2s ease}.app .card>table tbody tr:last-child td,.app .table-card tbody tr:last-child td{border-bottom:0}.app .card>table tbody tr:hover td,.app .table-card tbody tr:hover td{background:#E8EEF0}.app .table-card .amount,.app .table-card .rate,.app .table-card td.num,.app .table-card td.numeric,.app .table-card td.right{color:#344760;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:var(--font-semibold)}.app .table-card td:first-child>b,.app .table-card td:first-child>strong{color:#26384e;font-weight:var(--font-semibold)}.app .page-nav,.app .receipt-tabs,.app .segmented,.app .tabs{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:4px;width:-moz-fit-content;width:fit-content;max-width:100%;padding:4px;overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:none}.app .page-nav button,.app .receipt-tabs button,.app .segmented button,.app .tabs button{flex:0 0 auto;min-height:31px;padding:7px 13px;border:0;border-radius:8px;background:transparent;color:#65748a;font-size:var(--font-size-sm);font-weight:var(--font-semibold);line-height:var(--line-height-tight);white-space:nowrap;box-shadow:none}.app .page-nav button:hover,.app .receipt-tabs button:hover,.app .segmented button:hover,.app .tabs button:hover{background:#faf7f0;color:var(--green)}.app .page-nav button.active,.app .receipt-tabs button.active,.app .segmented button.active,.app .tabs button.active{border:0;background:var(--green2);color:var(--green);box-shadow:none}.btn{min-height:40px;border-radius:9px;padding:0 15px;color:var(--ink);font-weight:700;transition:.18s ease}.btn:hover{transform:none;filter:brightness(.98)}.btn.primary{border-color:var(--primary);background:var(--primary)}.btn.primary:hover{background:var(--primary-hover)}.page-nav{gap:4px;margin-bottom:18px;padding:5px;border-radius:12px;box-shadow:0 1px 0 rgba(0,0,0,.01)}.page-nav button{padding:9px 15px;border-radius:10px;font-weight:700}.page-nav button:hover{color:var(--ink);background:var(--coffee2)}.page-nav button.active{background:var(--green)}.stats{gap:12px;margin-bottom:18px}.card,.stat,.table-card{border-radius:14px;box-shadow:0 1px 0 rgba(0,0,0,.01)}.stat{padding:17px}.card-head small,.setting-card>p,.stat .cap{color:var(--muted)}.stat .value{font-size:26px;font-weight:800}.stat .hint{color:var(--green)}.layout{gap:14px}.card-head{padding:16px 17px}.card-head h3{font-size:16px}.card-body{padding:17px}.toolbar{gap:9px;margin:0;padding:13px 15px;border-bottom:1px solid var(--line);background:#faf9f7}.field input,.field select,.field textarea,.form-grid input:not([type=checkbox]),.form-grid select,.form-grid textarea,.search,.select{height:40px;border-color:#dcd7d0;border-radius:9px;background:#fff;color:var(--ink)}.field input:focus,.field select:focus,.field textarea:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.search:focus,.select:focus{outline:none;border-color:#7fa18c;box-shadow:0 0 0 3px rgba(36,70,111,.12)}table{min-width:900px}th{color:var(--muted);background:#fcfbfa;font-weight:800}td{padding:12px 14px}tr:hover td{background:#fcfbfa}.link,.po{color:var(--green)}.pill{align-items:center;gap:6px;padding:5px 9px;font-weight:800}.pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.pill.ok{background:var(--green2);color:var(--green)}.pill.parchment{background:#f0efed;color:#6f6a64}.pill.cherry{background:var(--red2);color:var(--red)}.report-item:hover{border-color:#9db4a5}.setting-card{padding:17px}.setting-card h3{font-size:16px}.report-list,.section-grid{gap:14px}.segmented{border-color:var(--line);border-radius:10px;background:var(--surface,#fff)}.segmented button.active{background:var(--green2);color:var(--green)}.switch.on{background:var(--green)}.modal-overlay{background:rgba(21,24,22,.5)}.modal{border-radius:16px}.modal-head{padding:17px 20px}.modal-body{padding:18px 20px;background:#faf9f7}.modal-foot{padding:13px 20px}.error-banner{border:1px solid #efcaca;background:var(--red2);color:var(--red)}.toast{background:var(--sidebar);border:1px solid rgba(255,255,255,.08)}@media (max-width:760px){.app{display:block}.side{position:static;height:auto;padding:12px}.brand{padding:2px 5px 12px}.nav{display:flex;overflow-x:auto;padding:10px 0 0}.nav button{width:auto;min-width:max-content;white-space:nowrap}.nav button:before,.side-user{display:none}main{padding:0 14px 40px}.top{position:static;min-height:0;margin:0 -14px 18px;padding:18px 14px}.title h1{font-size:21px}.top-actions .btn:first-child{display:none}}.manager-shell{display:grid;grid-template-columns:260px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:flex-start}.manager-shell-single{grid-template-columns:minmax(0,1fr)}.manager-tree{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.manager-tree-head{padding:13px 14px;border-bottom:1px solid var(--line);background:#faf9f7}.manager-tree-head b,.manager-tree-head small{display:block}.manager-tree-head small{margin-top:3px;color:var(--muted)}.tree-list{padding:8px}.tree-group{margin-bottom:10px}.tree-group-label{padding:6px 10px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.4px}.tree-item{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:8px;padding:9px 10px;background:transparent;color:var(--ink);text-align:left}.tree-item:focus-visible:not(:disabled),.tree-item:hover:not(:disabled){outline:none;background:var(--green2);color:var(--green)}.tree-item.active{background:#dceaf7;color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.tree-item:disabled{cursor:not-allowed;color:#a5a19a}.tree-ico{width:20px;color:var(--coffee);text-align:center}.manager-panel{min-height:0;overflow:visible;border:0;border-radius:0;background:transparent}.manager-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 16px;border-bottom:0;background:transparent}.manager-panel-head h2{margin:0;font-size:22px}.manager-panel-head p{max-width:760px;margin:5px 0 0;color:var(--muted);line-height:1.55}.setup-source-badge,.setup-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.setup-source-badge{background:var(--coffee2);color:var(--coffee)}.manager-launchpad{display:grid;grid-gap:22px;gap:22px;padding:0}.manager-workspace{padding:0;background:transparent}.setup-workspace-back{display:flex;align-items:center;margin-bottom:12px}.setup-workspace-back .btn{min-height:34px;padding:0 11px;border-color:#cbd8e6;background:#fff;color:var(--green)}.setup-workspace-back .btn:hover{border-color:var(--green);background:var(--green2)}.manager-workspace>.enterprise-panel-stack,.manager-workspace>.production-panel{margin:0}.formula-manager-grid{display:grid;grid-template-columns:260px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:flex-start}.formula-list-panel{overflow:hidden;border:1px solid #d7d7d7;border-radius:10px;background:#f7f7f7}.formula-list-head{padding:13px 14px;border-bottom:1px solid #dcdcdc;background:#efefef}.formula-list-head b,.formula-list-head small,.formula-nav b,.formula-nav small{display:block}.formula-list-head small,.formula-nav small{margin-top:3px;color:var(--muted);line-height:1.4}.formula-nav{display:grid;grid-gap:6px;gap:6px;padding:8px}.formula-nav button{border:1px solid transparent;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);text-align:left}.formula-nav button.active,.formula-nav button:hover{border-color:#B9CAD5;background:#E8EEF0;color:var(--primary)}.formula-workspace{display:grid;grid-gap:14px;gap:14px;min-width:0}.setup-group{display:grid;grid-gap:12px;gap:12px}.setup-group-head h3{margin:0 0 3px;font-size:16px}.setup-group-head small{color:var(--muted)}.manager-icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.manager-icon-card{display:grid;justify-items:center;grid-gap:9px;gap:9px;min-height:160px;border:1px solid var(--line);border-radius:12px;padding:15px 12px;background:#fff;text-align:center;transition:.18s ease}.manager-icon-card:hover:not(:disabled){transform:translateY(-1px);border-color:#9db4a5;box-shadow:0 8px 24px rgba(42,37,31,.07)}.manager-icon-card:disabled{cursor:not-allowed;opacity:.72}.manager-icon-card b,.manager-icon-card small{display:block}.manager-icon-card b{margin-bottom:4px;font-size:14px}.manager-icon-card small{color:var(--muted);line-height:1.45}.manager-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--coffee2);color:var(--coffee);font-size:22px;font-weight:800}.setup-status.connected{background:var(--green2);color:var(--green)}.setup-status.planned{background:#f0efed;color:#777067}.manager-strip{padding:0 18px 18px}.setup-policy-note{display:flex;gap:10px;align-items:flex-start;padding:13px 15px;border:1px solid #cfe0d4;border-radius:11px;background:#f5faf6;color:#315d43;line-height:1.55}.setup-policy-note strong{white-space:nowrap}.pagination-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px 14px}.enterprise-manager,.enterprise-panel-stack{display:grid;grid-gap:16px;gap:16px}.enterprise-panel-stack:has(>.page-nav+.card .general-table-header){gap:0}.enterprise-panel-stack:has(>.page-nav+.card .general-table-header)>.page-nav{margin-bottom:18px}.enterprise-panel-stack:has(>.page-nav+.card .general-table-header)>.page-nav+.card{margin-top:0}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-column-gap:12px;column-gap:12px}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.setup-workspace-back{grid-column:1;margin-bottom:18px}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.enterprise-panel-stack{display:contents}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.enterprise-panel-stack>.page-nav{grid-column:2;justify-self:start}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.enterprise-panel-stack>.card{grid-column:1/-1;width:100%}@media (max-width:720px){.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header){grid-template-columns:1fr;row-gap:10px}.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.enterprise-panel-stack>.card,.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.enterprise-panel-stack>.page-nav,.manager-workspace:has(>.enterprise-panel-stack>.page-nav+.card .general-table-header)>.setup-workspace-back{grid-column:1}}.manager-workspace .enterprise-panel-stack:has(>.card+.card){gap:0}.manager-workspace .enterprise-panel-stack>.card:has(+.card){border-radius:14px 14px 0 0}.manager-workspace .enterprise-panel-stack>.card+.card{margin-top:-1px;border-radius:0 0 14px 14px}.manager-workspace .enterprise-panel-stack>.card>.table-card{border-right:0;border-bottom:0;border-left:0;border-radius:0;box-shadow:none}.manager-workspace .enterprise-panel-stack>.card:last-child>.table-card:last-child{border-radius:0 0 14px 14px}.enterprise-manager-header{position:-webkit-sticky;position:sticky;top:74px;z-index:4}.enterprise-manager-header .page-nav{margin:16px -18px -18px;padding:0 18px}.enterprise-setup-index{overflow:hidden}.enterprise-setup-index .manager-icons{padding:0}.enterprise-setup-index .setup-policy-note{margin-top:18px}.setup-pending-panel .section-grid{margin-top:16px}.setup-pending-panel .setting-card{margin:0}@media (max-width:760px){.enterprise-manager-header{position:static}.enterprise-manager-header .page-nav{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}@media (max-width:1100px){.manager-icons{grid-template-columns:repeat(2,minmax(0,1fr))}.formula-manager-grid,.manager-shell{grid-template-columns:1fr}}@media (max-width:760px){.manager-icons{grid-template-columns:1fr}.manager-panel-head,.setup-policy-note{flex-direction:column}.setup-policy-note strong{white-space:normal}}.production-workspace{display:grid;grid-gap:14px;gap:14px}.production-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.production-page-head h2{margin:2px 0 5px;font-size:24px}.production-page-head p{max-width:820px;margin:0;color:var(--muted);line-height:1.55}.production-eyebrow{color:var(--green);font-size:10px;font-weight:900;letter-spacing:.9px}.production-scope-note{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border:1px solid #f0dcae;border-radius:11px;background:#fff9e9;color:#795617;line-height:1.5}.production-scope-note b{white-space:nowrap}.production-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px}.production-flow-card{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:82px;border:1px solid var(--line);border-radius:12px;padding:13px;background:#fff;color:var(--ink);text-align:left;transition:.18s ease}.production-flow-card:not(:last-child):after{content:"›";position:absolute;top:50%;right:-9px;z-index:2;display:grid;place-items:center;width:18px;height:22px;transform:translateY(-50%);background:var(--bg);color:var(--coffee);font-size:18px;font-weight:900}.production-flow-card.active,.production-flow-card:hover{border-color:#94ad9c;background:#f7fbf8;box-shadow:0 8px 24px rgba(42,37,31,.06)}.production-flow-card.active{box-shadow:inset 0 0 0 2px rgba(36,70,111,.14)}.production-flow-card b,.production-flow-card small{display:block}.production-flow-card small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.4}.production-step-no{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--green2);color:var(--green);font-weight:900}.production-workspace>.page-nav{margin-bottom:0}@media (max-width:1180px){.production-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.production-flow-card:after{display:none!important}}@media (max-width:760px){.production-page-head,.production-scope-note{flex-direction:column}.production-flow{grid-template-columns:1fr}.production-scope-note b{white-space:normal}.manager-workspace{padding:12px}}.receipt-modal-overlay{background:rgba(31,42,35,.42);padding:15px}.receipt-modal{width:min(1220px,calc(100vw - 30px));max-width:none!important;border:1px solid #ddd9d0;border-radius:14px;background:#fff;box-shadow:0 22px 60px rgba(42,50,43,.2)}.warehouse-document-modal{display:flex;flex-direction:column;min-height:min(720px,calc(100vh - 30px));max-height:calc(100vh - 30px);overflow:hidden}.warehouse-document-modal .receipt-lines-block{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.warehouse-document-modal .warehouse-issue-header{display:grid;grid-gap:7px;gap:7px;padding:10px;border:1px solid #ddd9d0;border-radius:9px;background:#fbfaf7}.warehouse-document-modal .warehouse-issue-row{display:grid;grid-template-columns:minmax(220px,4fr) minmax(360px,8fr);grid-gap:10px;gap:10px;align-items:end}.warehouse-document-modal .warehouse-issue-row-title{align-items:center}.warehouse-document-modal .warehouse-issue-heading{justify-self:end;min-width:230px;padding:7px 18px;border:1px solid #cfc9bd;border-radius:7px;background:#fff;color:#2451b2;text-align:center;font-weight:750}.warehouse-document-modal .warehouse-issue-full{width:100%}.warehouse-document-modal .warehouse-issue-people{grid-template-columns:1fr 1fr;padding-top:3px;border-top:1px solid #e7e3db}@media (max-width:720px){.warehouse-document-modal .warehouse-issue-people,.warehouse-document-modal .warehouse-issue-row{grid-template-columns:1fr}.warehouse-document-modal .warehouse-issue-heading{justify-self:stretch;min-width:0}}.warehouse-document-modal .receipt-section-title{display:flex;align-items:baseline;gap:10px}.warehouse-document-modal .receipt-section-title small{color:#747870}.warehouse-document-modal .receipt-table-scroll{border:1px solid #ddd9d0;border-radius:8px;overflow-x:auto}.warehouse-document-modal .warehouse-issue-lines{min-width:1080px}.warehouse-document-modal .warehouse-issue-lines td,.warehouse-document-modal .warehouse-issue-lines th{padding:5px;white-space:nowrap}.warehouse-document-modal .warehouse-issue-lines input,.warehouse-document-modal .warehouse-issue-lines select{width:100%;min-width:92px;height:30px}.warehouse-document-modal .warehouse-issue-lines td:nth-child(3) input{min-width:220px}.warehouse-document-modal .receipt-bottom-bar>div{display:flex;gap:8px}.warehouse-transfer-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.warehouse-transfer-form .field{display:grid;grid-gap:4px;gap:4px;min-width:0}.warehouse-transfer-form .field label{color:#686d65;font-size:11px;font-weight:650}.warehouse-transfer-form .field input,.warehouse-transfer-form .field select{width:100%;min-width:0;height:32px}@media (max-width:760px){.warehouse-transfer-form{grid-template-columns:1fr}}.receipt-modal>form{display:flex;flex-direction:column;width:100%;min-height:min(850px,calc(100vh - 30px));max-height:calc(100vh - 30px)}.receipt-titlebar{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:linear-gradient(180deg,#fff,#fbfaf7);border-bottom:1px solid #ddd9d0}.receipt-titlebar h2{margin:0;color:#252824;font-size:17px;font-weight:750}.receipt-status-line,.receipt-titlebar span{color:#747870;font-size:11px}.receipt-close{width:30px;height:30px;border:1px solid #ddd9d0;border-radius:7px;background:#fff;color:#747870;font-size:21px;line-height:1;cursor:pointer}.receipt-form-body{overflow:auto;flex:1 1;min-height:0;padding:12px 14px 0;background:#fff}.receipt-header-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-gap:7px 8px;gap:7px 8px;align-items:end}.receipt-field{display:grid;grid-gap:4px;gap:4px;min-width:0}.receipt-field span,.receipt-summary-input span,.receipt-tab-description,.receipt-tab-grid label{color:#686d65;font-size:11px;font-weight:650}.receipt-field input,.receipt-field select,.receipt-summary-input input,.receipt-tab-description textarea,.receipt-tab-grid input,.receipt-tab-grid select{width:100%;height:30px;min-width:0;border:1px solid #ddd9d0;border-radius:7px;background:#fff;color:#252824;font:inherit;padding:3px 9px}.receipt-field input:focus,.receipt-field select:focus,.receipt-summary-input input:focus,.receipt-tab-description textarea:focus,.receipt-tab-grid input:focus,.receipt-tab-grid select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(36,70,111,.12)}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-6{grid-column:span 6}.span-8{grid-column:span 8}.span-12{grid-column:1/-1}.thai-date{position:relative;display:block;width:100%;min-width:0}.thai-date>input[type=date]:not(:focus)::-webkit-datetime-edit{opacity:0}.thai-date>input[type=date]:not(:focus){color:transparent}.thai-date>input[type=date]:focus~.thai-date__text{display:none}.thai-date__text{position:absolute;left:10px;top:50%;transform:translateY(-50%);pointer-events:none;font:inherit;color:#252824;white-space:nowrap}.thai-date>input[type=date]:disabled~.thai-date__text,.thai-date[data-empty=true] .thai-date__text{color:#9aa09a}.receipt-section-header,.receipt-section-inputs{display:grid;grid-template-columns:1.1fr 1.2fr .7fr 1.1fr .8fr 1fr;grid-gap:1px;gap:1px;margin-top:10px;background:#ddd9d0;border:1px solid #ddd9d0;overflow:hidden}.receipt-section-header{border-radius:9px 9px 0 0}.receipt-section-inputs{margin-top:0;border-top:0;border-radius:0 0 9px 9px}.receipt-section-header span{padding:5px 8px;background:#eaf3ee;color:#16224d;font-size:11px;font-weight:700}.receipt-section-header span,.receipt-section-inputs div{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.receipt-section-inputs div{padding:5px 7px;background:#fff;color:#252824}.receipt-scanbar{display:grid;grid-template-columns:65px minmax(0,1fr) 64px;grid-gap:6px;gap:6px;align-items:center;margin:10px 0 7px}.receipt-panel-label,.receipt-scanbar>span{color:#686d65;font-size:11px;font-weight:700}.receipt-scanbar input{height:30px;border:1px solid #ddd9d0;border-radius:7px;padding:3px 9px;font:inherit}.receipt-bottom-btn.primary,.receipt-mini-primary,.receipt-recalculate{border-color:var(--primary);background:var(--primary);color:#fff}.receipt-mini-primary,.receipt-recalculate{height:30px;border:1px solid var(--primary);border-radius:7px;font:inherit;font-weight:650;cursor:pointer}.receipt-grid-wrap{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.receipt-items-panel{min-width:0}.receipt-panel-label{padding:4px 0 5px}.receipt-table-scroll{overflow-x:auto;border:1px solid #ddd9d0;border-radius:9px}.receipt-grid{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff}.receipt-grid td,.receipt-grid th{height:30px;border-right:1px solid #e7e4dc;border-bottom:1px solid #ece9e2;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis}.receipt-grid td:last-child,.receipt-grid th:last-child{border-right:0}.receipt-grid tbody tr:last-child td{border-bottom:0}.receipt-grid th{height:29px;padding:5px 4px;background:var(--primary);color:#fff;font-size:11px;font-weight:700;text-align:center}.receipt-grid tbody tr:hover td{background:#fbfcfa}.receipt-grid td.center{text-align:center}.receipt-grid td.num{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.receipt-grid td.amount-cell{padding:0 6px}.receipt-grid td input,.receipt-grid td select{width:100%;height:29px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#252824;font:inherit;padding:2px 5px}.receipt-grid td input:focus,.receipt-grid td select:focus{outline:none;box-shadow:inset 0 0 0 2px rgba(36,70,111,.25);background:#fff}.receipt-grid .r-no{width:38px}.receipt-grid .r-item{width:220px}.receipt-grid .r-wh{width:70px}.receipt-grid .r-loc{width:78px}.receipt-grid .r-crop{width:86px}.receipt-grid .r-qty{width:78px}.receipt-grid .r-unit{width:65px}.receipt-grid .r-price{width:96px}.receipt-grid .r-dis{width:78px}.receipt-grid .r-tax{width:88px}.receipt-grid .r-amt{width:112px}.receipt-grid .r-action{width:38px}.receipt-loading{min-height:120px;border:1px solid #ddd9d0;border-radius:9px;padding:45px;color:#747870;text-align:center}.receipt-grid-tools{display:flex;gap:5px;margin-top:7px}.receipt-icon-btn{width:30px;height:28px;border:1px solid #ddd9d0;border-radius:7px;background:#fff;color:#252824;font:inherit;cursor:pointer}.receipt-icon-btn:hover:not(:disabled){border-color:#bdb8ae;background:#faf9f6}.receipt-icon-btn:disabled{cursor:not-allowed;opacity:.45}.receipt-summary{position:static;width:100%;border:1px solid #ddd9d0;border-radius:10px;background:#faf9f6;padding:10px}.receipt-summary-title{margin-bottom:9px;color:#16224d;font-weight:750}.receipt-grand-total,.receipt-summary-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;color:#686d65}.receipt-summary-row b{color:#252824;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.receipt-summary-input{display:grid;grid-template-columns:1fr 88px;grid-gap:6px;gap:6px;align-items:center;margin:6px 0}.receipt-summary-input input{text-align:right}.receipt-grand-total{margin-top:7px;padding:8px;border:1px solid #e8eef0;border-radius:7px;background:#E8EEF0;color:#16224d}.receipt-grand-total strong{font-size:14px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.receipt-recalculate{width:100%;margin-top:9px}.receipt-tabs{display:flex;gap:4px;margin-top:10px;border-bottom:1px solid #ddd9d0}.receipt-tabs button{padding:7px 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:#747870;font:inherit;cursor:pointer}.receipt-tabs button.active{border-bottom-color:var(--primary);color:var(--primary);font-weight:700}.receipt-tab-panel{min-height:58px;padding:9px 10px;border-radius:0 0 9px 9px;background:#faf9f6;color:#747870;font-size:11px}.receipt-tab-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.receipt-tab-description,.receipt-tab-grid label{display:grid;grid-gap:4px;gap:4px}.receipt-tab-description textarea{height:48px;resize:vertical}.receipt-error{margin:10px 0;padding:8px 10px;border:1px solid #edc4c1;border-radius:7px;background:#fdeaea;color:#9f3d38}.receipt-bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #ddd9d0;background:#fbfaf7}.receipt-actions{display:flex;gap:6px}.receipt-bottom-btn{min-width:78px;height:32px;padding:0 13px;border:1px solid var(--primary);border-radius:7px;background:#fff;color:var(--primary);font:inherit;font-weight:650;cursor:pointer}.receipt-bottom-btn:hover{background:#E8EEF0}.receipt-bottom-btn.primary:hover{background:var(--primary-hover)}@media (max-width:980px){.receipt-modal{width:calc(100vw - 16px)}.receipt-header-grid{min-width:920px}.receipt-form-body{overflow-x:auto}}@media (max-width:620px){.receipt-bottom-bar{align-items:stretch;flex-direction:column}.receipt-actions{justify-content:flex-end}.receipt-tab-grid{grid-template-columns:1fr}}.goods-receive-modal{width:min(1200px,calc(100vw - 30px))}.goods-receive-modal.goods-receive-modal-po{width:min(1515px,calc(100vw - 30px))}.goods-receive-header{gap:6px 8px}.goods-receive-grid{min-width:1144px}.goods-receive-modal-po .goods-receive-grid{min-width:1459px}.goods-receive-grid .r-item{width:132px}.goods-receive-grid .r-name{width:260px}.goods-receive-grid .r-wh{width:82px}.goods-receive-grid .r-loc{width:92px}.goods-receive-grid .r-unit{width:72px}.goods-receive-grid .r-qty{width:105px}.goods-receive-grid .r-action{width:48px}.goods-receive-item-name{padding:0 7px!important;color:#252824}.goods-receive-summary{align-self:flex-end;width:min(420px,100%)}.pr-modal{width:min(1320px,calc(100vw - 28px))}.pr-modal .receipt-form-body{overflow-x:hidden}.pr-header-grid{gap:6px 8px;margin-bottom:9px}.pr-document-no-control{display:grid;grid-template-columns:minmax(0,1fr) 30px;grid-gap:3px;gap:3px;align-items:center}.pr-document-no-control .pr-document-run-btn{width:30px;min-width:30px;padding:0;color:#3156a5}.pr-document-no-control .pr-document-run-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pr-hold-status{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:30px;padding:3px 8px;border:1px solid #ddd9d0;border-radius:7px;background:#faf9f6}.pr-hold-status label{display:flex;align-items:center;gap:5px;color:#686d65;font-size:11px;font-weight:650}.pr-hold-status input{width:14px;height:14px;margin:0;accent-color:var(--primary)}.pr-grid-wrap{display:block}.pr-grid-wrap .receipt-items-panel{width:100%}.pr-grid{min-width:1220px}.pr-grid td,.pr-grid th{white-space:nowrap}.pr-grid input,.pr-grid select{min-width:78px;max-width:150px;height:27px;padding:2px 5px;font-size:11px}.pr-grid tbody tr.selected td{background:#E8EEF0}.pr-grid td:nth-child(2) select{width:116px}.pr-grid td:nth-child(3){min-width:210px;max-width:250px;overflow:hidden;text-overflow:ellipsis}.pr-grid td:nth-child(3) input{width:100%;max-width:250px}.pr-grid td:nth-child(4) select{width:84px}.pr-grid td:nth-child(5) select{width:92px}.pr-grid td:nth-child(6) select{width:72px}.pr-grid td:nth-child(7) input,.pr-grid td:nth-child(8) input,.pr-grid td:nth-child(9) input{width:86px;text-align:right}.pr-grid td:nth-child(10){min-width:92px;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pr-item-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;width:116px;height:27px;padding:2px 7px;border:1px solid #cfcac0;border-radius:5px;background:#fff;color:#252824;font:inherit;font-size:11px;cursor:pointer}.pr-item-picker-trigger:focus,.pr-item-picker-trigger:hover{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px rgba(68,107,130,.12)}.pr-item-picker-trigger span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pr-grid-wrap .receipt-grid-tools .receipt-icon-btn{width:auto;padding:0 9px}.pr-summary{width:min(400px,100%);margin:9px 0 0 auto}.document-summary-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,400px);grid-gap:14px;gap:14px;align-items:start;width:100%}.document-summary-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:9px}.document-summary-actions>div{display:flex;flex-wrap:wrap;gap:6px}.document-summary-actions>.receipt-bottom-btn{margin-right:6px}.document-summary-row .receipt-summary{width:100%;margin-left:0}.document-inline-fields{min-width:0;padding-top:9px}.document-inline-title{margin-bottom:7px;color:#16224d;font-size:12px;font-weight:750}.document-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px 8px;gap:7px 8px}.document-inline-grid .receipt-tab-description textarea{width:100%;min-height:54px;resize:vertical}.document-inline-description{grid-column:1/-1}.pr-summary-detail-row{grid-template-columns:minmax(0,1fr) 88px 88px;grid-gap:7px;gap:7px}.pr-summary-detail-row,.pr-summary-tax-row{display:grid;align-items:center;min-height:30px;color:#686d65}.pr-summary-tax-row{grid-template-columns:minmax(0,1fr) 88px auto 54px auto 88px;grid-gap:6px;gap:6px}.pr-summary-detail-row input,.pr-summary-tax-row input{width:100%;height:28px;border:1px solid #cfcac0;border-radius:5px;background:#fff;color:#252824;font:inherit;padding:2px 6px;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pr-summary-detail-row input:focus,.pr-summary-tax-row input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px rgba(68,107,130,.12)}.pr-summary-detail-row b,.pr-summary-tax-row b{color:#252824;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pr-description-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px}.pr-description-fields textarea{min-height:62px}.pr-modal .receipt-tab-panel,.pr-modal .receipt-tabs button:first-child{display:none}.pr-submodal-overlay{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:16px;background:rgba(31,42,35,.38)}.pr-submodal{width:min(640px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;border:1px solid #ddd9d0;border-radius:12px;background:#fff;box-shadow:0 22px 60px rgba(42,50,43,.25)}.pr-submodal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #ddd9d0;background:linear-gradient(180deg,#fff,#fbfaf7)}.pr-submodal-header h3{margin:0;color:#252824;font-size:15px}.pr-submodal-body{padding:14px}.pr-submodal-footer{display:flex;justify-content:flex-end;padding:10px 14px;border-top:1px solid #ddd9d0;background:#fbfaf7}.pr-item-picker-modal{width:min(1080px,calc(100vw - 30px));overflow:hidden}.pr-item-picker-modal .pr-submodal-header small{display:block;margin-top:2px;color:#7b8078;font-size:11px}.pr-item-picker-filters{display:grid;grid-template-columns:minmax(260px,1fr) 240px auto;align-items:end;grid-gap:10px;gap:10px;padding:12px 14px;border-bottom:1px solid #ddd9d0;background:#fbfaf7}.pr-item-picker-filters label{display:grid;grid-gap:4px;gap:4px;color:#686d65;font-size:11px;font-weight:650}.pr-item-picker-filters input,.pr-item-picker-filters select{width:100%;height:32px;padding:4px 8px;border:1px solid #cfcac0;border-radius:6px;background:#fff;color:#252824;font:inherit}.pr-item-picker-count{padding:0 0 7px;color:#686d65;font-size:12px;white-space:nowrap}.pr-item-picker-table-wrap{max-height:min(520px,calc(100vh - 230px));overflow:auto}.pr-item-picker-table{width:100%;min-width:960px;border-collapse:collapse;font-size:12px}.pr-item-picker-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1;padding:8px;border-bottom:1px solid #d8d3ca;background:#f2efe9;color:#51564f;text-align:left;white-space:nowrap}.pr-item-picker-table td{padding:7px 8px;border-bottom:1px solid #ebe7df;vertical-align:middle}.pr-item-picker-table tbody tr.selected td,.pr-item-picker-table tbody tr:hover td{background:#E8EEF0}.pr-item-picker-table .btn{min-height:27px;padding:3px 10px;font-size:11px}@media (max-width:980px){.pr-modal .pr-header-grid{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.pr-modal .pr-header-grid>*{grid-column:span 1!important}.pr-document-no-control{grid-template-columns:minmax(0,1fr) 30px}.pr-description-fields{grid-template-columns:1fr}}@media (max-width:620px){.pr-modal .pr-header-grid{grid-template-columns:1fr}.pr-modal .pr-header-grid>*{grid-column:1/-1!important}.pr-summary{width:100%}.pr-summary-tax-row{grid-template-columns:minmax(0,1fr) 96px;gap:5px 8px}.pr-summary-tax-row span:first-child,.pr-summary-tax-row span:nth-child(3),.pr-summary-tax-row span:nth-child(5){grid-column:1}.pr-summary-tax-row b:nth-child(4),.pr-summary-tax-row b:nth-child(6),.pr-summary-tax-row input{grid-column:2}.pr-summary-tax-row input{grid-row:1}.pr-summary-tax-row b:nth-child(4){grid-row:2}.pr-summary-tax-row b:nth-child(6){grid-row:3}.pr-modal .receipt-actions{flex-wrap:wrap}.pr-item-picker-filters{grid-template-columns:1fr}.pr-item-picker-count{padding-bottom:0}.document-summary-row{grid-template-columns:1fr}.document-summary-actions{order:2;padding-top:0}.document-inline-grid{grid-template-columns:1fr}.document-inline-description{grid-column:auto}}.pr-approval-modal{width:min(1120px,calc(100vw - 28px))}.pr-approval-grid{min-width:820px}.pr-approval-grid td:nth-child(3){min-width:260px}.pr-approval-grid input{width:110px;text-align:right}.pr-approval-decision{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;min-height:30px}.pr-approval-decision label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.pr-approval-reason textarea{width:100%;min-height:96px;resize:vertical;line-height:1.5}.approval-bottom-bar{display:block;padding:10px 14px 12px}.approval-reason-bottom{display:block;width:min(100%,760px);margin-left:auto;margin-bottom:9px}.approval-reason-bottom span{display:block;margin-bottom:4px;font-size:12px;font-weight:700;color:#686d65}.approval-reason-bottom textarea{display:block;width:100%;min-height:72px;resize:vertical;line-height:1.5}.receipt-bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}@media (max-width:720px){.receipt-bottom-actions{align-items:stretch;flex-direction:column}.approval-reason-bottom{width:100%}.receipt-actions{justify-content:flex-end;flex-wrap:wrap}}.pr-return-alert{display:block;margin-top:4px;color:#9f3d38;font-size:11px;line-height:1.35}.compact-tabs{margin-top:10px;border-top:1px solid #ddd9d0}.compact-tabs .tabs{display:flex;gap:3px;padding-top:6px}.compact-tabs .tabs button{min-width:76px;height:29px;padding:0 10px;border:1px solid #ddd9d0;border-bottom:0;border-radius:6px 6px 0 0;background:#f4f1eb;color:#686d65;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.compact-tabs .tabs button.active{background:#fff;color:var(--primary)}.compact-tab-panel{min-height:34px;padding:8px 10px;border:1px solid #ddd9d0;border-radius:0 6px 6px 6px;color:#686d65;font-size:12px}.po-modal{width:min(1420px,calc(100vw - 24px))}.po-header-grid{gap:6px 8px;margin-bottom:9px}.po-modal .po-header-grid .receipt-field input,.po-modal .po-header-grid .receipt-field select{min-height:30px}.po-grid-wrap{display:block}.po-grid{min-width:1180px}.po-grid td,.po-grid th{white-space:nowrap}.po-grid input,.po-grid select{height:27px;padding:2px 5px;font-size:11px}.po-grid td:nth-child(2) input,.po-grid td:nth-child(2) select{width:118px}.po-grid td:nth-child(3){min-width:190px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.po-grid td:nth-child(4) select,.po-grid td:nth-child(5) select,.po-grid td:nth-child(6) select{width:90px}.po-grid td:nth-child(10) input,.po-grid td:nth-child(11) input,.po-grid td:nth-child(9) input{width:88px;text-align:right}.po-grid td:nth-child(12),.po-grid th:nth-child(12){display:none}.po-modal .receipt-summary{width:min(400px,100%);margin:9px 0 0 auto}.po-modal .receipt-summary-row{min-height:30px}.po-modal .receipt-grand-total{border-top:1px solid #cfcac0;margin-top:6px;padding-top:7px}.po-header-actions{display:flex;justify-content:flex-end;align-items:flex-end;gap:7px;padding-bottom:1px}.po-table-tabs{display:flex;gap:6px;margin-left:8px}.po-table-tabs-bottom{margin:10px 0 0;padding-top:8px;border-top:1px solid #e4e0d8}.po-tax-source-hint{align-self:center;margin-left:6px;color:#686d65;font-size:11px}.po-modal .pr-submodal .receipt-header-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.po-modal .pr-submodal .receipt-field textarea{width:100%;min-height:110px;resize:vertical}.po-entry-grid{min-width:1120px}.po-entry-grid td:nth-child(12),.po-entry-grid th:nth-child(12){display:table-cell}.po-entry-grid td:nth-child(2){min-width:145px}.po-entry-grid td:nth-child(3){min-width:220px}.po-entry-grid td:nth-child(7) input,.po-entry-grid td:nth-child(8) input,.po-entry-grid td:nth-child(9) input{width:92px;text-align:right}.po-item-code-control{display:grid;grid-template-columns:minmax(0,1fr) 29px;grid-gap:4px;gap:4px}.po-item-code-control input{width:100%}.pr-reference-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:30px;padding:3px 9px;border:1px solid #ddd9d0;border-radius:7px;background:#fff;color:#252824;font:inherit;cursor:pointer}.pr-reference-picker-trigger:focus,.pr-reference-picker-trigger:hover:not(:disabled){border-color:var(--primary);outline:none;box-shadow:0 0 0 3px rgba(68,107,130,.12)}.pr-reference-picker-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pr-reference-picker-modal{width:min(1120px,calc(100vw - 30px));overflow:hidden}.pr-reference-picker-modal .pr-submodal-body{display:grid;grid-gap:10px;gap:10px;overflow:hidden}.pr-reference-picker-modal .receipt-table-scroll{max-height:min(520px,calc(100vh - 230px))}.pr-reference-picker-table{min-width:900px}.pr-reference-picker-table tbody tr:hover td{background:#E8EEF0}.po-summary{margin-left:auto}.po-tax-line-list{display:grid;grid-gap:7px;gap:7px;padding:8px;border:1px solid #ded9cf;border-radius:7px;background:#faf9f6}.po-tax-line-list>span{font-weight:700;color:#33362f}.po-tax-line-list label{display:grid;grid-template-columns:minmax(120px,1fr) minmax(180px,260px);align-items:center;grid-gap:8px;gap:8px}.po-tax-line-list select{width:100%}@media (max-width:760px){.po-modal .po-header-grid{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.po-modal .po-header-grid>*{grid-column:span 1!important}.po-modal .receipt-summary{width:100%}}@media (max-width:520px){.po-modal .po-header-grid{grid-template-columns:1fr}.po-modal .po-header-grid>*{grid-column:1/-1!important}}.po-approval-modal{width:min(1320px,calc(100vw - 24px))}.po-approval-grid{min-width:1050px}.po-approval-grid td:nth-child(3){min-width:230px}.goods-receive-po-link{margin:8px 0 10px;padding:8px;border:1px solid #e7ded1;border-radius:8px;background:#fcfaf7}.production-v16{--v16-green:var(--primary);--v16-green-2:#5E7E96;--v16-coffee:#7ba4bc;--v16-cream:#faf7f0;--v16-line:#d9e1e3;--v16-ink:#24384d;display:grid;grid-gap:16px;gap:16px}.v16-module-nav{position:-webkit-sticky;position:sticky;top:0;z-index:15;display:flex;gap:5px;overflow-x:auto;padding:7px;border:1px solid var(--v16-line);border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 7px 22px rgba(48,44,37,.07)}.v16-module-nav button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:35px;padding:6px 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:#666b64;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.v16-module-nav button span{display:grid;place-items:center;width:18px;color:var(--v16-green-2);font-size:15px}.v16-module-nav button:hover{border-color:#d7e2da;background:#E8EEF0;color:var(--v16-green)}.v16-module-nav button.active{border-color:var(--v16-green);background:var(--v16-green);color:#fff}.v16-module-nav button.active span{color:#fff}.v16-module-nav .setup-link{margin-left:auto;border-color:#ded4c4;background:#f9f5ee;color:var(--v16-coffee)}.production-doc-workspace{display:grid;grid-gap:16px;gap:16px;min-width:0}.production-doc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border:1px solid #d9e1e3;border-radius:16px;background:linear-gradient(135deg,#f7faf8,#fffdf9)}.production-doc-header h2{margin:4px 0 5px;color:#173f2d;font-size:24px}.production-doc-header p{margin:0;color:var(--muted);line-height:1.55}.production-doc-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.production-doc-context{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #eadfcf;border-radius:12px;background:#fffaf2;color:#6f5438}.production-doc-context span{color:#7d6b59}.production-document-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.production-document-menu>button{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;grid-gap:12px;gap:12px;min-height:104px;padding:14px;border:1px solid #d9e1e3;border-radius:14px;background:#fff;color:#16224d;text-align:left;cursor:pointer;box-shadow:0 4px 18px rgba(27,61,44,.045);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.production-document-menu>button:hover{border-color:#6286aa;box-shadow:0 8px 24px rgba(27,61,44,.1);transform:translateY(-1px)}.production-document-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#E8EEF0;color:var(--primary);font-size:13px;font-weight:800;letter-spacing:.03em}.production-document-copy{display:grid;grid-gap:3px;gap:3px;min-width:0}.production-document-copy small{color:#b17837;font-size:10px;font-weight:800;letter-spacing:.12em}.production-document-copy b{font-size:15px}.production-document-copy em{overflow:hidden;color:var(--muted);font-size:12px;font-style:normal;line-height:1.35;text-overflow:ellipsis}.production-document-arrow{color:#8da096;font-size:26px}.production-workflow-guide{display:grid;grid-gap:16px;gap:16px;margin-top:22px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}.production-workflow-guide>header{display:flex;align-items:end;justify-content:space-between;gap:24px}.production-workflow-guide>header small{color:var(--green);font-size:10px;font-weight:800;letter-spacing:.14em}.production-workflow-guide>header h2{margin:3px 0 0;color:var(--ink);font-size:20px}.production-workflow-guide>header p{max-width:520px;margin:0;color:var(--muted);font-size:12px;text-align:right}.production-workflow-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.production-workflow-phase{min-width:0;padding:14px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(180deg,#fffdf9,#f5f8f7)}.production-workflow-phase-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.production-workflow-phase-head>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:12px;font-weight:800}.production-workflow-phase-head div{display:grid;min-width:0}.production-workflow-phase-head b{color:var(--ink);font-size:14px}.production-workflow-phase-head small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-workflow-steps{display:grid;grid-gap:7px;gap:7px}.production-workflow-steps button{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);grid-gap:9px;gap:9px;width:100%;padding:9px;border:1px solid transparent;border-radius:9px;background:rgba(232,241,244,.72);color:var(--ink);text-align:left;cursor:pointer}.production-workflow-steps button:hover{border-color:#7E9DB2;background:#E8EEF0;transform:translateY(-1px)}.production-workflow-steps button:not(:last-child):after{content:"";position:absolute;bottom:-7px;left:22px;z-index:1;width:1px;height:7px;background:#7E9DB2}.production-workflow-step-no{display:grid;width:28px;height:28px;place-items:center;border:1px solid #7e9db2;border-radius:8px;background:#fff;color:var(--green);font-size:11px;font-weight:800}.production-workflow-steps button>span:last-child{display:grid;min-width:0}.production-workflow-steps button b{font-size:12px}.production-workflow-steps button small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1180px){.production-workflow-phases{grid-template-columns:1fr}}@media (max-width:700px){.production-workflow-guide{padding:14px}.production-workflow-guide>header{display:grid;grid-gap:6px;gap:6px}.production-workflow-guide>header p{text-align:left}}.production-support-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.production-support-row>button{display:grid;grid-gap:5px;gap:5px;padding:16px 18px;color:inherit;text-align:left;cursor:pointer}.production-support-row>button b{color:#234c37}.production-support-row>button span{color:var(--muted);font-size:13px}.production-document-strip{position:-webkit-sticky;position:sticky;z-index:5;top:0;display:flex;gap:6px;overflow-x:auto;padding:8px;border:1px solid #d9e1e3;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 4px 14px rgba(27,61,44,.05)}.production-document-strip button{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#52665b;cursor:pointer;font-size:12px}.production-document-strip button span{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#edf3ef;color:#35644a;font-size:10px;font-weight:800}.production-document-strip button.active{border-color:var(--primary);background:var(--primary);color:#fff}.production-document-strip button.active span{background:rgba(255,255,255,.18);color:#fff}@media (max-width:1180px){.production-document-menu{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:820px){.production-doc-header{flex-direction:column}.production-doc-head-actions{justify-content:flex-start}.production-document-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.production-document-menu,.production-support-row{grid-template-columns:1fr}.production-doc-context{align-items:flex-start;flex-direction:column}}.app,.login-page{font-family:var(--font-family-ui);font-size:var(--font-size-base);font-weight:var(--font-regular);line-height:var(--line-height-normal)}.app .title h1,.app .v16-page-head h1{font-size:var(--font-size-3xl);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app .card-head small,.app .helper,.app .hint,.app .manager-panel-head p,.app .title p,.app .v16-page-head p,.app small{font-size:var(--font-size-sm);font-weight:var(--font-regular);line-height:var(--line-height-normal)}.app .modal-title,.app .section-title,.app h2{font-size:var(--font-size-2xl);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app .card-head h3,.app .card-title,.app h3,.app h4{font-size:var(--font-size-lg);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app .btn,.app [role=button],.app button{font-size:var(--font-size-md);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app .btn-sm,.app .btn.small,.app .field-label,.app .form-label,.app .side-btn,.app .v16-row-actions .btn,.app label{font-size:var(--font-size-sm);font-weight:var(--font-semibold)}.app .field-label,.app .form-label,.app input,.app label,.app select,.app textarea{line-height:var(--line-height-normal)}.app input,.app select,.app textarea{font-family:var(--font-family-ui);font-size:var(--font-size-base);font-weight:var(--font-regular)}.app input::placeholder,.app textarea::placeholder{font-size:var(--font-size-base);font-weight:var(--font-regular)}.app table{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.app table th{font-size:var(--font-size-sm);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app table td{font-size:var(--font-size-md);font-weight:var(--font-regular);line-height:var(--line-height-normal)}.app .amount,.app .number,.app .v16-kpi>b,.app .value,.app table td.num,.app table td.numeric,.app table td.right{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:var(--font-medium)}.app .kpi-value,.app .v16-kpi>b,.app .value{font-size:var(--font-size-3xl);font-weight:var(--font-bold);line-height:var(--line-height-tight)}.app .nav button,.app .tree-item,.app .v16-module-nav button{font-size:var(--font-size-md);font-weight:var(--font-medium)}.app .nav-group,.app .tree-group-label{font-size:var(--font-size-2xs);font-weight:var(--font-semibold);letter-spacing:.04em}.app .badge,.app .pill,.app .role,.app .setup-status,.app .status,.app [class*=status-badge]{font-size:var(--font-size-xs);font-weight:var(--font-semibold);line-height:var(--line-height-tight)}.app .breadcrumb,.app .pager,.app .pagination{font-size:var(--font-size-sm);font-weight:var(--font-medium)}.app .enterprise-topbar-copy h1{font-size:var(--font-size-3xl)}.app .enterprise-topbar-copy p{font-size:var(--font-size-sm)}.app .topbar-action-label,.app .topbar-profile-copy b{font-size:var(--font-size-md);font-weight:var(--font-medium)}.app .topbar-profile-copy small{font-size:var(--font-size-xs)}@media (max-width:760px){.setup-nav-menu{top:calc(100% + 8px);left:0;display:grid;width:min(300px,82vw);max-width:none;margin:0}.setup-nav-menu:before{top:-6px;left:24px;transform:rotate(135deg)}}.jc-setup{display:grid;grid-gap:16px;gap:16px}.jc-setup-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.jc-setup-menu button{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto auto;grid-gap:2px 12px;gap:2px 12px;min-height:118px;padding:16px;border:1px solid #d9e1e3;border-radius:14px;background:#fff;color:#16224d;text-align:left;cursor:pointer}.jc-setup-menu button:hover{border-color:#6286aa;box-shadow:0 8px 24px rgba(31,67,105,.1)}.jc-setup-menu button>span{grid-row:1/4;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#E8EEF0;color:var(--primary);font-size:12px;font-weight:900}.jc-setup-menu button small{color:#b17837;font-size:10px;font-weight:800;letter-spacing:.1em}.jc-setup-menu button b{font-size:15px}.jc-setup-menu button em{color:var(--muted);font-size:12px;font-style:normal}.jc-option-list{display:grid}.jc-option-list>div{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,280px) auto;align-items:center;grid-gap:14px;gap:14px;padding:14px 16px;border-top:1px solid #e8eef0}.jc-option-list>div:first-child{border-top:0}.jc-option-list>div>span{display:grid;grid-gap:3px;gap:3px}.jc-option-list small{color:var(--muted)}.jc-option-list input,.jc-option-list select{width:100%}@media (max-width:820px){.jc-setup-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.jc-option-list>div{grid-template-columns:1fr}}@media (max-width:560px){.jc-setup-menu{grid-template-columns:1fr}}.estimate-modal{width:min(1480px,calc(100vw - 34px));max-width:none}.estimate-header-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;padding:2px 0 14px}.estimate-description label,.estimate-header-grid label{display:grid;grid-gap:6px;gap:6px}.estimate-description label>span,.estimate-header-grid label>span{color:#53665b;font-size:12px;font-weight:700}.estimate-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:8px;gap:8px;margin:4px 0 14px}.estimate-summary>span{display:grid;grid-gap:4px;gap:4px;padding:11px 12px;border:1px solid #e2e8e3;border-radius:10px;background:#f8faf8}.estimate-summary small{color:var(--muted)}.estimate-summary b{color:#214d36}.estimate-tabs{display:flex;gap:4px;overflow-x:auto;padding:6px;border:1px solid #d9e1e3;border-radius:10px 10px 0 0;background:#f7f9f7}.estimate-tabs button{flex:0 0 auto;padding:9px 13px;border:0;border-radius:7px;background:transparent;color:#52665b;cursor:pointer}.estimate-tabs button.active{background:var(--primary);color:#fff}.estimate-description,.estimate-description-view,.estimate-tab-panel{min-height:260px;padding:14px;border:1px solid #d9e1e3;border-top:0;border-radius:0 0 10px 10px;background:#fff}.estimate-tab-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--muted);font-size:12px}.estimate-grid-table{overflow-x:auto;border:1px solid #e4e9e5;border-radius:9px}.estimate-grid-table table{width:100%;min-width:900px;border-collapse:collapse}.estimate-grid-table th{padding:9px 10px;background:#eef4f0;color:#31533f;font-size:11px;text-align:left;white-space:nowrap}.estimate-grid-table td{padding:7px 8px;border-top:1px solid #e8eef0;font-size:12px;vertical-align:middle}.estimate-grid-table input,.estimate-grid-table select{min-width:90px;width:100%;padding:7px 8px}.estimate-grid-table td:nth-child(2) input,.estimate-grid-table td:nth-child(2) select{min-width:160px}.lot-quality-editor-modal{width:min(1480px,calc(100vw - 16px))}.lot-quality-editor-modal .modal-body{padding-top:16px}.lot-quality-modal-error{margin:0 22px 16px}.lot-quality-editor-modal .form-grid input:not([type=checkbox]):not([type=radio]),.lot-quality-editor-modal .form-grid select,.lot-quality-editor-modal .form-grid textarea,.lot-quality-editor-modal .receipt-table-scroll input:not([type=checkbox]):not([type=radio]),.lot-quality-editor-modal .receipt-table-scroll select,.lot-quality-editor-modal .receipt-table-scroll textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid #cfd9e5;border-radius:8px;background:#fff;color:var(--ink);font:inherit;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.lot-quality-editor-modal .form-grid textarea,.lot-quality-editor-modal .receipt-table-scroll textarea{min-height:72px;resize:vertical}.lot-quality-editor-modal input:hover,.lot-quality-editor-modal select:hover,.lot-quality-editor-modal textarea:hover{border-color:#9eb1c9}.lot-quality-editor-modal input:focus,.lot-quality-editor-modal select:focus,.lot-quality-editor-modal textarea:focus{border-color:#315d8c;box-shadow:0 0 0 3px rgba(49,93,140,.12)}.lot-quality-editor-modal input:disabled,.lot-quality-editor-modal select:disabled,.lot-quality-editor-modal textarea:disabled{background:#f3f6f9;color:var(--muted);cursor:not-allowed}.lot-quality-editor-modal .receipt-table-scroll td{vertical-align:top}.lot-quality-editor-modal .receipt-table-scroll td input[type=number]{min-width:0}.lot-quality-result-table{width:100%;overflow-x:visible}.lot-quality-result-table table{width:100%;min-width:0;table-layout:fixed}.lot-quality-result-table .qc-col-outcome{width:12%}.lot-quality-result-table .qc-col-item{width:23%}.lot-quality-result-table .qc-col-quantity{width:10%}.lot-quality-result-table .qc-col-location{width:18%}.lot-quality-result-table .qc-col-value{width:13%}.lot-quality-result-table .qc-col-note{width:19%}.lot-quality-result-table .qc-col-action{width:5%}.lot-quality-result-table td,.lot-quality-result-table th{padding-inline:6px}.lot-quality-result-table td{overflow:hidden}.lot-quality-result-table td>input:not([type=checkbox]):not([type=radio]),.lot-quality-result-table td>select{display:block;max-width:100%}.lot-quality-result-table td.right input{margin-left:auto;text-align:right}.lot-quality-result-table td:last-child{text-align:center}.lot-quality-result-table td input[style],.lot-quality-result-table td select[style]{width:100%!important;max-width:100%}@media (max-width:800px){.lot-quality-result-table{overflow-x:auto}.lot-quality-result-table table{min-width:940px}}.estimate-combo{display:grid;grid-template-columns:90px 85px;grid-gap:5px;gap:5px}.estimate-description{display:grid;grid-template-columns:2fr 1fr;grid-gap:14px;gap:14px}.estimate-description-view p{min-height:54px;padding:12px;border-radius:8px;background:#f8faf8;white-space:pre-wrap}@media (max-width:1000px){.estimate-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.estimate-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.estimate-description,.estimate-header-grid,.estimate-summary{grid-template-columns:1fr}}.v16-page{display:grid;grid-gap:16px;gap:16px;min-width:0}.v16-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:4px 2px}.v16-page-head h1{margin:0;color:var(--v16-ink);font-size:clamp(22px,2.4vw,30px);line-height:1.15}.v16-page-head p{max-width:780px;margin:5px 0 0;color:#70756d;line-height:1.55}.v16-actions,.v16-form-actions,.v16-row-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px}.v16-grid{display:grid;grid-gap:12px;gap:12px;min-width:0}.v16-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.v16-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-kpi{display:grid;align-content:center;grid-gap:3px;gap:3px;min-height:102px;padding:15px 17px;border-top:3px solid #b8cbbf}.v16-kpi>span{color:#747970;font-size:11px;font-weight:700;letter-spacing:.02em}.v16-kpi>b{overflow-wrap:anywhere;color:var(--v16-ink);font-size:clamp(18px,2vw,26px);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.15}.v16-kpi>b .pill{vertical-align:middle;font-size:11px}.v16-kpi>small{color:#81867e;line-height:1.35}.v16-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.v16-filter-tabs button{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #dde5df;border-radius:999px;background:#fff;color:#5a5f57;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .12s,background .12s,color .12s}.v16-filter-tabs button:hover{border-color:#d7e2da;background:#E8EEF0;color:var(--v16-green,#1e2b60)}.v16-filter-tabs button.active{border-color:var(--v16-green,#1e2b60);background:var(--v16-green,#1e2b60);color:#fff}.v16-filter-tabs button>b{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#eef2ee;color:#5a5f57;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.v16-filter-tabs button.active>b{background:rgba(255,255,255,.24);color:#fff}.v16-filter-tabs button:hover>b{background:#e2ebe4;color:var(--v16-green,#1e2b60)}.v16-filter-tabs button.active:hover>b{background:rgba(255,255,255,.24);color:#fff}.v16-toolbar.one{grid-template-columns:1fr}.v16-callout,.v16-error,.v16-warning{padding:10px 12px;border-radius:8px;line-height:1.5}.v16-error{border:1px solid #e8beba;background:#fff0ef;color:#9e3934}.v16-warning{margin-top:8px;border:1px solid #ead3a2;background:#fff8e5;color:#795a18}.v16-callout{border:1px solid #d6e3da;background:#f0f7f2;color:#3d5c49}.v16-view-toggle{display:inline-flex;gap:4px;padding:3px;border:1px solid #dde5df;border-radius:10px;background:#f4f7f5;flex:0 0 auto}.v16-view-toggle button{border:none;background:transparent;padding:7px 14px;border-radius:8px;color:#5a5f57;font-size:13px;font-weight:600;cursor:pointer}.v16-view-toggle button:hover{color:var(--v16-green,#1e2b60)}.v16-view-toggle button.active{background:#fff;color:var(--v16-green,#1e2b60);box-shadow:0 1px 3px rgba(30,45,60,.12)}.v16-timeline{margin-top:12px;min-width:0;max-width:100%}.v16-timeline-empty{padding:40px 16px;text-align:center;color:#7a8793}.v16-tl-legend{display:flex;flex-wrap:wrap;gap:14px;padding:4px 2px 12px;font-size:12px;color:#5a5f57}.v16-tl-legend span{display:inline-flex;align-items:center;gap:6px}.v16-tl-legend i{width:14px;height:14px;border-radius:4px}.v16-tl-bar.draft,.v16-tl-legend i.draft{background:#94a3b8}.v16-tl-bar.released,.v16-tl-legend i.released{background:#5d8bf4}.v16-tl-bar.progress,.v16-tl-legend i.progress{background:#f3b44b}.v16-tl-bar.done,.v16-tl-legend i.done{background:#54b979}.v16-tl-bar.cancel,.v16-tl-legend i.cancel{background:#e56d6d}.v16-tl-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:12px;background:#fff}.v16-tl-inner{position:relative}.v16-tl-head{top:0;z-index:3;border-bottom:1px solid var(--line)}.v16-tl-head,.v16-tl-label-col{display:flex;position:-webkit-sticky;position:sticky;background:#fff}.v16-tl-label-col{flex:0 0 220px;width:220px;left:0;z-index:2;padding:8px 12px;border-right:1px solid var(--line);flex-direction:column;justify-content:center;gap:2px}.v16-tl-head-label{justify-content:center;font-weight:700;font-size:13px;color:#16212a}.v16-tl-label-col b{font-size:13px;color:#16212a}.v16-tl-label-col b,.v16-tl-label-col small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v16-tl-label-col small{font-size:11px;color:#7a8793}.v16-tl-track-head .v16-tl-months{display:flex}.v16-tl-month{flex:0 0 auto;padding:5px 8px;font-size:11px;font-weight:700;color:#5a5f57;border-right:1px solid var(--line);background:#f7faf8;white-space:nowrap}.v16-tl-day,.v16-tl-days{display:flex}.v16-tl-day{flex:0 0 auto;flex-direction:column;align-items:center;gap:1px;padding:5px 0;text-align:center;font-size:11px;color:#7a8793;border-right:1px solid #f0f3f1}.v16-tl-dow{font-size:9px;font-weight:600;color:#9aa6b0;line-height:1}.v16-tl-day.weekend{background:#f8fafb}.v16-tl-day.weekend .v16-tl-dow{color:#c98a8a}.v16-tl-day.today{background:#eaf0ff}.v16-tl-day.today .v16-tl-dow,.v16-tl-day.today b{color:#3f6fe0}.v16-tl-body{position:relative}.v16-tl-group{display:flex;align-items:stretch;border-bottom:1px solid #e7ecef;background:#f2f6f4}.v16-tl-group-label{flex-direction:row!important;align-items:center;justify-content:space-between;gap:8px;background:#f2f6f4}.v16-tl-group-label b{font-size:12px;font-weight:700;color:#16212a}.v16-tl-group-count{flex:0 0 auto;font-size:10px;color:#7a8793;background:#fff;border-radius:999px;padding:1px 8px}.v16-tl-group-track{min-height:30px;background:#f2f6f4}.v16-tl-row-label{padding-left:20px}.v16-tl-row{display:flex;align-items:center;border-bottom:1px solid #f2f5f3;min-height:46px}.v16-tl-row:last-child{border-bottom:none}.v16-tl-track{position:relative;flex:0 0 auto;align-self:stretch}.v16-tl-bar{position:absolute;top:50%;transform:translateY(-50%);height:26px;min-width:8px;border:none;border-radius:7px;color:#fff;font-size:11px;font-weight:700;cursor:pointer;overflow:hidden;display:flex;align-items:center;padding:0 8px;box-shadow:0 1px 3px rgba(30,45,60,.18);transition:filter .12s,transform .12s}.v16-tl-bar:hover{filter:brightness(1.06);transform:translateY(-50%) scale(1.01)}.v16-tl-bar{padding:0}.v16-tl-bar>span:not(.v16-tl-steps){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px}.v16-tl-steps{display:flex;width:100%;height:100%;align-items:stretch}.v16-tl-step{flex:1 1;min-width:0;display:flex;align-items:center;padding:0 6px;border-right:1px solid rgba(255,255,255,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:600}.v16-tl-step:last-child{border-right:none}.v16-tl-today-line{position:absolute;top:0;bottom:0;width:2px;background:#3f6fe0;opacity:.55;pointer-events:none;z-index:1}.v16-flow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;border:1px solid var(--v16-line);border-radius:12px;background:#fff}.v16-flow-strip button{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-gap:1px 9px;gap:1px 9px;min-height:86px;padding:14px 16px;border:0;border-right:1px solid var(--v16-line);background:#fff;color:var(--v16-ink);text-align:left;font:inherit;cursor:pointer}.v16-flow-strip button:last-child{border-right:0}.v16-flow-strip button:hover{background:#E8EEF0}.v16-flow-strip button>span{grid-row:1/3;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--v16-green);color:#fff;font-weight:800}.v16-flow-strip b{align-self:end;font-size:13px}.v16-flow-strip small{align-self:start;color:#7a7f77;line-height:1.35}.v16-split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.7fr);grid-gap:14px;gap:14px;min-width:0}.v16-activity{display:grid;padding:4px 16px 14px}.v16-activity>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:9px;gap:9px;padding:11px 0;border-bottom:1px solid #ece8e0}.v16-activity>div>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#edf4ef;color:var(--v16-green);font-size:10px;font-weight:800}.v16-activity p{display:grid;grid-gap:2px;gap:2px;margin:0}.v16-activity small,.v16-table td small{display:block;margin-top:2px;color:#80857d;font-size:10px;line-height:1.35}.v16-section-card{overflow:visible;padding-bottom:0;min-width:0}.v16-section-card>.card-head{border-bottom-color:#e7e2d9}.v16-section-card>.card-head h3{margin-bottom:2px}.v16-accent-card{border-left:4px solid var(--v16-green)}.v16-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:11px;gap:11px;padding:15px 17px}.v16-form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-form-grid label,.v16-full-label,.v16-pick-row label,.v16-quality-grid label{display:grid;align-content:start;grid-gap:5px;gap:5px;color:#626860;font-size:11px;font-weight:700}.v16-form-grid .span-2{grid-column:span 2}.v16-form-grid input,.v16-form-grid select,.v16-form-grid textarea,.v16-full-label textarea,.v16-pick-row input,.v16-pick-row select,.v16-quality-grid input,.v16-table input,.v16-table select,.v16-toolbar input,.v16-toolbar select,.v16-trace-search input{width:100%;min-height:34px;padding:6px 9px;border:1px solid #d2cec5;border-radius:7px;background:#fff;color:var(--v16-ink);font:inherit;font-size:12px}.job-qc-workspace .v16-modal .v16-table{margin-bottom:16px;border:1px solid #d9e1e3;border-radius:10px;overflow:auto}.job-qc-workspace .v16-modal .v16-table table{min-width:760px;table-layout:fixed}.job-qc-workspace .v16-modal .v16-table td,.job-qc-workspace .v16-modal .v16-table th{padding:10px 12px;vertical-align:middle}.job-qc-workspace .v16-modal .v16-table th{background:#f5f8fa}.job-qc-workspace .v16-modal .v16-table th:first-child{width:14%}.job-qc-workspace .v16-modal .v16-table th:nth-child(2){width:27%}.job-qc-workspace .v16-modal .v16-table th:nth-child(3){width:20%}.job-qc-workspace .v16-modal .v16-table th:nth-child(4){width:29%}.job-qc-workspace .v16-modal .v16-table th:nth-child(5){width:10%;text-align:center}.job-qc-workspace .v16-modal .v16-table td:last-child{text-align:center}.job-qc-workspace .v16-modal .v16-table input,.job-qc-workspace .v16-modal .v16-table select{min-height:40px}.job-qc-workspace .v16-modal .v16-table .icon-btn{width:40px;height:40px}.v16-form-grid textarea,.v16-full-label textarea{min-height:70px;resize:vertical}.v16-form-grid input:focus,.v16-form-grid select:focus,.v16-form-grid textarea:focus,.v16-pick-row select:focus,.v16-quality-grid input:focus,.v16-trace-search input:focus{outline:none;border-color:var(--v16-green-2);box-shadow:0 0 0 3px rgba(47,107,78,.11)}.v16-form-actions{padding:0 17px 15px}.production-formula-visual{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,.8fr) minmax(180px,1fr);align-items:center;grid-gap:18px;gap:18px;margin:4px 17px 18px;padding:24px;border:1px solid #e2ddd3;border-radius:12px;background:#faf8f3}.production-product-card{display:grid;justify-items:center;grid-gap:6px;gap:6px;padding:18px;border:1px solid #ded8cc;border-radius:12px;background:#fff;text-align:center}.production-product-card.output{border-color:#afcbb8;background:#f4faf6}.production-product-picture{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:#f0e9dc;font-size:48px}img.production-product-picture{object-fit:cover}.production-product-card.output .production-product-picture{background:#dfefe4}.production-picture-with-quantity{position:relative;padding-bottom:15px}.production-picture-with-quantity strong{position:absolute;left:50%;bottom:0;transform:translateX(-50%);min-width:max-content;padding:5px 11px;border-radius:999px;background:#1e2b60;color:#fff;font-size:16px;line-height:1;box-shadow:0 3px 8px #0002}.production-picture-with-quantity strong small{color:#fff;font-size:11px}.production-product-card.output .production-picture-with-quantity strong{background:#28724b}.production-formula-arrow em{display:block;margin-top:5px;color:#28724b;font-size:12px;font-style:normal;font-weight:700}.production-formula-arrow small,.production-product-card small{color:#7a8078}.production-formula-arrow{display:grid;justify-items:center;grid-gap:8px;gap:8px;text-align:center}.production-formula-arrow span{color:var(--v16-green);font-size:46px;line-height:1}.production-lot-selection{display:grid;grid-gap:10px;gap:10px;margin:0 17px 18px;padding:0 16px 16px;border:1px solid #e2ddd3;border-radius:10px}.production-lot-selection .card-head{padding-inline:0}.production-lot-material{display:grid;grid-gap:8px;gap:8px;padding-top:10px;border-top:1px solid #ece7dd}.production-lot-material-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-lot-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(110px,180px) auto;align-items:center;grid-gap:10px;gap:10px}.production-lot-pick-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;text-align:left}.production-lot-pick-button small{color:var(--muted)}.production-lot-picker-modal{width:min(1120px,calc(100vw - 28px))}.yield-base-badge{display:inline-flex;margin-left:8px;padding:2px 7px;border-radius:999px;background:#e7f5ed;color:#28724b;font-size:11px;font-style:normal;font-weight:600}.production-output-estimate{display:grid;grid-template-columns:1fr auto 1fr;grid-gap:18px;gap:18px;align-items:center;margin-top:16px;padding:16px 18px;border:1px solid #b9dcc8;border-radius:14px;background:#f2faf5}.production-output-estimate>div{display:grid;grid-gap:3px;gap:3px}.production-output-estimate small,.production-output-estimate span{color:var(--muted)}.production-output-estimate b{font-size:22px;color:#1f3b2d}.production-output-estimate .output{text-align:right}.production-output-estimate-arrow{font-size:26px!important;color:#28724b!important}.production-output-formula{grid-column:1/-1;text-align:center;border-top:1px solid #d7eadf;padding-top:9px}@media(max-width:640px){.production-output-estimate{grid-template-columns:1fr}.production-output-estimate .output{text-align:left}.production-output-estimate-arrow{transform:rotate(90deg);justify-self:center}.production-output-formula{grid-column:1}}.production-lot-filters{display:grid;grid-template-columns:minmax(250px,1fr) 170px 150px 145px 145px auto;align-items:end}.production-lot-filters label{display:grid;grid-gap:4px;gap:4px}.production-lot-filters label span{font-size:12px;color:#64748b}@media(max-width:1000px){.production-lot-filters{grid-template-columns:1fr 1fr}}@media(max-width:640px){.production-lot-filters{grid-template-columns:1fr}}.production-lot-selection input,.production-lot-selection select{min-height:38px;padding:7px 9px;border:1px solid #d2cec5;border-radius:7px;background:#fff}.v16-modal-form form{display:flex;flex-direction:column}.v16-modal-form form>.v16-form-grid{order:1}.v16-modal-form form>.production-lot-selection{order:2}.v16-modal-form form>.production-formula-visual{order:3}.v16-modal-form form>.v16-form-actions{order:10}.stock-item-image-editor{display:flex;align-items:center;gap:16px}.stock-item-image-editor>img,.stock-item-image-editor>span{display:grid;place-items:center;width:112px;height:112px;flex:0 0 112px;border:1px dashed #c9c3b8;border-radius:10px;background:#f8f5ef;object-fit:cover;color:var(--muted);font-size:11px}.stock-item-image-editor>div{display:grid;grid-gap:8px;gap:8px;justify-items:start}.stock-item-thumb{width:44px;height:44px;border-radius:7px;object-fit:cover}.stock-item-thumb.empty{display:grid;place-items:center;border:1px dashed #d2cec5;color:var(--muted)}.lot-quality-results-tab{margin:0 22px 18px}.lot-quality-results-tab>.card-head{padding-inline:0}.lot-quality-results-tab>.receipt-table-scroll{border-radius:8px}@media (max-width:720px){.production-formula-visual{grid-template-columns:1fr}.production-formula-arrow span{transform:rotate(90deg)}}.v16-section-card>.v16-callout{margin:0 17px 15px}.v16-pick-row{display:grid;grid-template-columns:minmax(280px,650px);grid-gap:10px;gap:10px;padding:15px 17px}.production-cost-entry{display:grid;grid-gap:16px;gap:16px}.production-cost-entry>.segmented{width:max-content;margin:0}.production-cost-workspace{overflow:hidden}.production-cost-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:16px 17px;border-bottom:1px solid var(--line)}.production-cost-toolbar>label{display:grid;grid-gap:6px;gap:6px;flex:1 1 620px;max-width:760px;color:var(--muted);font-size:12px;font-weight:700}.production-cost-toolbar select{width:100%;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit}.production-cost-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));border-bottom:1px solid var(--line);background:#E8EEF0}.production-cost-summary>span{display:grid;grid-gap:3px;gap:3px;padding:12px 17px;border-right:1px solid var(--line)}.production-cost-summary>span:last-child{border-right:0}.production-cost-summary small{color:var(--muted);font-size:11px}.production-cost-summary b{color:var(--ink);font-size:15px}.production-cost-summary .over b{color:#b42318}.production-cost-empty{padding:32px 17px;color:var(--muted);text-align:center;border-bottom:1px solid var(--line)}@media (max-width:900px){.production-cost-toolbar{align-items:stretch;flex-direction:column}.production-cost-toolbar>label{flex-basis:auto;max-width:none}.production-cost-summary{grid-template-columns:repeat(2,minmax(140px,1fr))}.production-cost-summary>span:nth-child(2){border-right:0}}.v16-inline-form{margin:0 17px 15px;padding:14px;border:1px solid #d9e3dc;border-radius:10px;background:#f8fbf9}.v16-inline-form .v16-form-actions{padding:12px 0 0}.v16-document-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.v16-document-head h2,.v16-document-head h3{margin:2px 0;color:var(--v16-green)}.v16-document-head p{margin:0;color:#777c74}.v16-batch-banner{display:grid;grid-template-columns:minmax(300px,1fr) minmax(480px,1.2fr);align-items:stretch;overflow:hidden;border-radius:12px;background:linear-gradient(118deg,#1e2b60,#5E7E96);color:#fff;box-shadow:0 10px 30px rgba(36,56,77,.18)}.v16-batch-banner>div:first-child{display:grid;align-content:center;padding:20px 22px}.v16-batch-banner h2{margin:3px 0 4px;font-size:23px}.v16-batch-banner p{margin:0;color:rgba(255,255,255,.76)}.v16-batch-banner>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;padding:11px;background:rgba(255,255,255,.07)}.v16-batch-banner .v16-kpi{min-height:86px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.11);box-shadow:none}.v16-batch-banner .v16-kpi>small,.v16-batch-banner .v16-kpi>span{color:rgba(255,255,255,.74)}.v16-batch-banner .v16-kpi>b{color:#fff;font-size:18px}.v16-process-steps{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));overflow-x:auto;border:1px solid var(--v16-line);border-radius:10px;background:#fff}.v16-process-steps>div{position:relative;display:grid;grid-gap:3px;gap:3px;min-height:64px;padding:12px 14px;border-right:1px solid #e8e3da;color:#91958e}.v16-process-steps>div:last-child{border-right:0}.v16-process-steps>div.done{background:#f0f6f2;color:#3d604c}.v16-process-steps>div.active{background:#fff6e7;color:#7b5424;box-shadow:inset 0 -3px #c98a37}.v16-process-steps small{font-size:9px;font-weight:800;letter-spacing:.08em}.v16-process-steps b{font-size:11px}.v16-quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:11px;gap:11px;padding:15px 17px}.v16-quality-grid label{padding:12px;border:1px solid #e4dfd6;border-radius:9px;background:#fbfaf7}.v16-quality-grid input{font-size:20px;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.v16-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,230px);grid-gap:8px;gap:8px;padding:14px 16px;border-bottom:1px solid #e8e3da;background:#fbfaf7}.v16-table{width:100%;overflow:auto;border:0;border-radius:0 0 10px 10px}.v16-table table{min-width:760px}.v16-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#f1eee8;color:#5c625a;font-size:10px;letter-spacing:.02em}.v16-table td{vertical-align:top}.v16-row-actions{justify-content:flex-start;min-width:130px}.v16-row-actions .btn{padding:4px 8px;font-size:10px}.v16-form-grid .defect-mode-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.v16-form-grid .defect-mode-buttons label{display:inline-flex;align-items:center;gap:4px;color:#626860;font-size:11px;font-weight:700;white-space:nowrap}.v16-form-grid .defect-mode-buttons input[type=radio]{width:16px;height:16px;margin:0;accent-color:var(--v16-green-2);box-shadow:none}.labor-duration-field{display:grid;align-content:start;grid-gap:5px;gap:5px;color:#626860;font-size:11px;font-weight:700}.labor-duration-inputs{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.labor-duration-inputs>div{display:grid;grid-gap:4px;gap:4px;min-width:82px}.labor-duration-inputs>div>span{color:#626860;font-size:11px;font-weight:700}.labor-duration-inputs input{width:88px}.labor-duration-inputs small{align-self:center;color:#626860;font-size:11px;font-weight:600;padding-bottom:8px}.v16-segmented{display:flex;gap:3px;padding:3px;border-radius:8px;background:#eeeae2}.v16-segmented button{min-height:29px;padding:4px 11px;border:0;border-radius:6px;background:transparent;color:#666b64;font:inherit;cursor:pointer}.v16-segmented button.active{background:#fff;color:var(--v16-green);box-shadow:0 1px 5px rgba(40,40,35,.12);font-weight:700}.v16-summary-line{display:flex;justify-content:flex-end;gap:40px;padding:14px;border-top:1px solid #ded9d0;font-size:15px}.v16-summary-line strong{color:var(--v16-green);font-size:20px}.v16-full-label{padding:14px 0}.v16-modal{width:min(1120px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:hidden}.v16-modal .modal-body{max-height:calc(100vh - 90px);overflow:auto}.v16-cost-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:12px}.v16-cost-columns>div{padding:13px;border:1px solid #dfdad1;border-radius:9px;background:#fff}.v16-cost-columns h4{margin:0 0 8px;color:var(--v16-green)}.v16-cost-columns p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:7px 0;border-bottom:1px solid #eeeae3}.v16-cost-columns p:last-child{border-bottom:0}.v16-trace-search{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:8px;gap:8px;padding:15px 17px}.v16-trace-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px}.v16-trace-flow>div{display:grid;grid-gap:4px;gap:4px;min-height:105px;padding:15px;border:1px solid #ded9cf;border-radius:10px;background:#fff}.v16-trace-flow>div small{color:#7b8078;font-weight:700}.v16-trace-flow>div b{color:var(--v16-green);font-size:16px}.v16-trace-flow>div span{color:#7a7f77;font-size:11px}.v16-trace-flow>i{color:#9aa69e;font-size:20px;font-style:normal}.v16-job-trace-grid{display:grid;grid-gap:11px;gap:11px;padding:15px}.v16-job-trace{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;grid-gap:12px;gap:12px;padding:14px;border:1px solid #ded9d0;border-radius:10px;background:#fbfaf7}.v16-job-trace h3{margin:2px 0;color:var(--v16-green)}.v16-job-trace p{margin:0 0 6px;color:#7d827a}.v16-job-trace section{display:grid;grid-gap:5px;gap:5px}.v16-job-trace section>button{display:grid;grid-gap:1px;gap:1px;padding:7px 9px;border:1px solid #d9ded9;border-radius:7px;background:#fff;color:var(--v16-ink);text-align:left;font:inherit;cursor:pointer}.v16-job-trace section>button:hover{border-color:var(--v16-green-2);background:#E8EEF0}.v16-job-trace section>button small{color:#7f847c}.v16-job-trace>i{color:#8ca294;font-size:20px;font-style:normal}@media (max-width:1180px){.v16-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-flow-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.v16-flow-strip button{border-bottom:1px solid var(--v16-line)}.v16-batch-banner{grid-template-columns:1fr}.v16-trace-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-trace-flow>i{display:none}}@media (max-width:820px){.v16-page-head{align-items:stretch;flex-direction:column}.v16-actions{justify-content:flex-start}.v16-cost-columns,.v16-grid.cols-2,.v16-split{grid-template-columns:1fr}.v16-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-form-grid .span-2{grid-column:span 2}.v16-batch-banner>div:last-child,.v16-job-trace{grid-template-columns:1fr}.v16-job-trace>i{transform:rotate(90deg)}}@media (max-width:560px){.v16-flow-strip,.v16-form-grid,.v16-form-grid.compact,.v16-grid.cols-4,.v16-quality-grid,.v16-trace-flow{grid-template-columns:1fr}.v16-form-grid .span-2{grid-column:span 1}.v16-module-nav{top:-1px}.v16-toolbar{grid-template-columns:1fr}}.production-job-workspace{display:grid;grid-gap:16px;gap:16px}.production-job-selector{margin:0}.production-job-selector .form-grid{padding:14px 18px 18px;grid-template-columns:minmax(300px,720px)}.production-job-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.production-job-summary>div{display:flex;min-height:104px;flex-direction:column;justify-content:center;gap:5px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}.production-job-summary small,.production-job-summary span{color:var(--muted)}.production-job-summary b{font-size:1.05rem;color:var(--ink)}.production-job-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #aac4d8;border-radius:14px;background:#edf5fa}.production-job-next small{color:var(--muted);font-weight:700}.production-job-next h3{margin:3px 0;color:#173c5c}.production-job-next p{margin:0;color:var(--muted)}.production-transaction-modal{width:min(1500px,96vw);max-width:none;height:min(900px,94vh);display:flex;flex-direction:column}.production-transaction-modal>.modal-head{flex:0 0 auto}.production-transaction-status{display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid var(--line);background:#f7fafc}.production-transaction-status span:nth-child(2){flex:1 1;color:var(--muted)}.production-transaction-tabs{flex:0 0 auto;margin:0;padding:10px 18px;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap}.production-transaction-tabs button{display:inline-flex;align-items:center;gap:6px}.production-transaction-tabs i{display:inline-grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#dceee5;color:#245d44;font-size:11px;font-style:normal}.production-transaction-body{flex:1 1;min-height:0;overflow:auto;padding:18px}.production-transaction-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:14px}.production-transaction-cards button{display:grid;grid-template-columns:auto 1fr;grid-gap:4px 10px;gap:4px 10px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);cursor:pointer}.production-transaction-cards button small{grid-row:1/4;color:var(--muted);font-weight:800}.production-transaction-cards button span{color:var(--muted)}.production-transaction-cards button em{font-style:normal;color:#90622e}.production-transaction-cards button em.done{color:#28704d}@media(max-width:1000px){.production-job-summary,.production-transaction-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.production-job-summary,.production-transaction-cards{grid-template-columns:1fr}.production-job-next{align-items:stretch;flex-direction:column}}.formula-operation-image{display:flex;gap:12px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb}.formula-operation-image-preview{width:150px;height:100px;border:1px dashed #cbd5e1;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted);background:#E8EEF0}.formula-operation-image-preview img{width:100%;height:100%;object-fit:cover}.formula-operation-image .toolbar{margin:0;align-items:center}.job-operation-image{width:72px;height:52px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.job-step-cell{display:flex;align-items:center;gap:10px;min-width:0}.job-step-thumb{flex:0 0 auto;width:56px;height:42px;object-fit:cover;border-radius:8px;border:1px solid #d9e1e3;background:#f5f6f7}.job-step-thumb-empty{display:grid;place-items:center;font-size:9px;color:#9aa7b2;border-style:dashed}.job-step-cell-text{display:flex;flex-direction:column;gap:2px;min-width:0}.formula-operation-filters{display:grid;grid-template-columns:minmax(260px,1fr) 190px 190px;margin-bottom:14px}.formula-operation-filters .search,.formula-operation-filters .select{width:100%}@media(max-width:800px){.formula-operation-filters{grid-template-columns:1fr}.formula-operation-image{align-items:flex-start;flex-direction:column}}.production-output-estimate{display:none!important}.production-start-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:18px;border:1px solid #9dc9ae;border-radius:14px;background:#eff9f3}.production-start-panel>div{display:grid;grid-gap:4px;gap:4px}.production-start-panel b{color:#205c3b;font-size:17px}.production-start-panel small{color:#64748b}@media(max-width:640px){.production-start-panel{align-items:stretch;flex-direction:column}}.production-stock-confirm-modal{width:min(1100px,calc(100vw - 28px))}.production-stock-confirm-modal .modal-body{max-height:70vh;overflow:auto}.production-new-flow-modal{width:min(1240px,calc(100vw - 24px));max-height:94vh}.production-new-flow-modal>.modal-body{max-height:76vh;overflow:auto}.production-flow-step{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:14px 16px;border-radius:12px;background:#edf5fb;color:#16224d}.production-flow-step span{color:var(--muted)}.production-flow-start{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #9dc9ae;border-radius:16px;background:#eff9f3}.production-flow-start>div{display:grid;grid-gap:5px;gap:5px}.production-flow-start b{font-size:19px;color:#205c3b}.production-new-tab-placeholder{display:grid;place-items:center;grid-gap:7px;gap:7px;min-height:260px;border:1px dashed #bdc9d3;border-radius:14px;color:var(--muted)}.production-new-tab-placeholder b{font-size:20px;color:#334e68}@media(max-width:700px){.production-flow-start,.production-flow-step{align-items:stretch;flex-direction:column}}.production-detail-hero{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:18px}.production-detail-hero>div{display:grid;grid-gap:4px;gap:4px;padding:16px;border:1px solid #e8eef0;border-radius:13px;background:#fff}.production-detail-hero small,.production-detail-hero span{color:var(--muted)}.production-detail-hero b{font-size:17px;color:#1e2b603}.production-detail-hero .output{border-color:#a8d0b8;background:#f1faf4}.production-detail-hero .output b{font-size:22px;color:#22613e}@media(max-width:900px){.production-detail-hero{grid-template-columns:1fr 1fr}}@media(max-width:560px){.production-detail-hero{grid-template-columns:1fr}}.production-detail-visuals{display:grid;grid-template-columns:1fr minmax(100px,.55fr) 1fr;align-items:center;grid-gap:18px;gap:18px;margin-top:18px;padding:22px;border:1px solid #d8e1e8;border-radius:16px;background:#E8EEF0}.production-detail-product{display:grid;justify-items:center;grid-gap:6px;gap:6px;padding:16px;border:1px solid #e8eef0;border-radius:14px;background:#fff}.production-detail-product.output{border-color:#a8d0b8;background:#f1faf4}.production-detail-image-wrap{position:relative;padding-bottom:18px}.production-detail-image-wrap img,.production-detail-image-wrap>span{display:grid;place-items:center;width:150px;height:130px;border-radius:14px;object-fit:cover;background:#E8EEF0;font-size:52px}.production-detail-image-wrap strong{position:absolute;left:50%;bottom:0;transform:translateX(-50%);min-width:max-content;padding:6px 12px;border-radius:999px;background:#1e2b603;color:#fff}.production-detail-product.output strong{background:#28724b}.production-detail-product small{color:var(--muted)}.production-detail-arrow{text-align:center}.production-detail-arrow span{display:block;font-size:36px;color:#28724b}.production-detail-operation-strip{display:flex;gap:12px;overflow:auto;margin-top:14px;padding:14px 2px}.production-detail-operation-strip>div{display:grid;flex:0 0 150px;justify-items:center;grid-gap:7px;gap:7px;padding:11px;border:1px solid #e8eef0;border-radius:12px;background:#fff;text-align:center}.production-detail-operation-strip img,.production-detail-operation-strip span{display:grid;place-items:center;width:100%;height:88px;border-radius:9px;object-fit:cover;background:#E8EEF0;font-size:24px}@media(max-width:700px){.production-detail-visuals{grid-template-columns:1fr}.production-detail-arrow span{transform:rotate(90deg)}}.production-new-flow-modal .production-detail-hero,.production-new-flow-modal .production-detail-hero+.production-flow-step,.production-new-flow-modal .production-detail-hero+.production-flow-step+.v16-table{display:none}.production-create-detail{display:grid;grid-gap:16px;gap:16px}.production-create-detail-fields{padding:16px;border:1px solid #e8eef0;border-radius:14px;background:#fff}.production-create-detail-fields input{background:#E8EEF0}.production-create-detail-lots{margin:0}.production-create-detail-lots .production-lot-row>strong{min-width:130px;text-align:right;color:#1e2b603}.production-create-detail-visual{margin:0}.production-create-detail .production-output-estimate{display:none!important}@media(max-width:700px){.production-create-detail-lots .production-lot-row>strong{text-align:left}}.production-new-flow-modal .production-transaction-tabs{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:22px}.production-new-flow-modal .production-transaction-tabs button{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:11px 2px!important;color:var(--muted)}.production-new-flow-modal .production-transaction-tabs button.active{color:#1e2b60!important;border-bottom:2px solid #1e2b60!important}.production-new-flow-modal .production-transaction-tabs{display:flex!important;width:100%;margin:0 0 24px!important;position:relative;z-index:1}.production-new-flow-modal .production-create-detail,.production-new-flow-modal .production-flow-step,.production-new-flow-modal .production-new-tab-placeholder{clear:both;margin-top:0}.production-new-flow-modal{display:flex!important;flex-direction:column!important;width:min(1240px,calc(100vw - 24px))!important;height:min(900px,94vh)!important;min-height:min(720px,94vh)!important;max-height:94vh!important}.production-new-flow-modal>.modal-foot,.production-new-flow-modal>.modal-head{flex:0 0 auto}.production-new-flow-modal>.modal-body{flex:1 1 auto;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important}@media(max-height:760px){.production-new-flow-modal{height:94vh!important;min-height:0!important}}.formula-editor-v2 .estimate-tab-panel:has(>.production-operation-choice-grid){display:none}.production-operation-master-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:20px}@media(max-width:1050px){.production-operation-master-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.production-operation-master-list{grid-template-columns:1fr}}.production-operation-master-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:10px 14px}.production-operation-master-row .formula-operation-image-preview{width:76px;height:64px}.production-operation-master-row span{display:flex;flex-direction:column;gap:3px}.production-operation-master-row em{font-style:normal;color:#2d6a4f;font-size:12px}@media(max-width:700px){.production-operation-master-row{grid-template-columns:64px 1fr}.production-operation-master-row .btn{grid-column:1/-1}.production-operation-master-row .formula-operation-image-preview{width:58px;height:52px}}.operation-add-button{font-size:24px;color:#fff;background:#1e2b60;border-color:#1e2b60}.operation-delete-button{color:#b42318;background:#fff5f3;border-color:#f2c3bd}.operation-drag-handle{border:0;background:transparent;font-size:22px;cursor:-webkit-grab;cursor:grab;color:#667085;padding:8px}.operation-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.operation-dragging{opacity:.45}.operation-mobile-order{display:none}@media(max-width:700px){.operation-mobile-order{display:grid;grid-gap:8px;gap:8px}.operation-mobile-order>div{display:grid;grid-template-columns:1fr auto auto;grid-gap:6px;gap:6px;align-items:center}.formula-operation-selector-v2 .estimate-grid-table{display:none}}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.production-flow-step,.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.v16-table{display:none}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2){display:flex;flex-direction:column}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.production-transaction-tabs{order:1}.job-operation-card-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:28px 34px;gap:28px 34px;overflow:visible}.job-operation-work-card{position:relative;display:flex;flex-direction:column;gap:12px;align-items:stretch;padding:14px;border:1px solid #d9e2e7;border-radius:14px;background:#fff;min-width:0}.job-operation-work-card:not(:nth-child(3n)):after{content:"→";position:absolute;right:-27px;top:50%;transform:translateY(-50%);font-size:27px;font-weight:800;color:#1e2b60;z-index:2}.job-operation-step-no{position:absolute;left:10px;top:10px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1e2b60;color:#fff;font-weight:800;box-shadow:0 2px 8px #0002}.job-operation-work-image{height:155px;border-radius:12px;overflow:hidden;background:#f5f6f7;display:grid;place-items:center;color:#7b8790}.job-operation-work-image img{width:100%;height:100%;object-fit:cover}.job-operation-work-detail{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:106px}.job-operation-work-detail h3{margin:0}.job-operation-work-action{display:grid;grid-gap:10px;gap:10px;margin-top:auto}.job-operation-work-action label{display:grid;grid-gap:5px;gap:5px}.job-operation-work-action .btn{width:100%}.job-operation-completed-result{padding:12px;border-radius:10px;background:#edf8f1;display:grid}.job-operation-completed-result b{font-size:20px;color:#28633f}@media(max-width:850px){.job-operation-card-list{grid-template-columns:1fr;gap:34px}.job-operation-work-card:after,.job-operation-work-card:not(:nth-child(3n)):after{content:"↓";right:50%;top:auto;bottom:-31px;transform:translateX(50%)}.job-operation-work-card:last-child:after{display:none}.job-operation-work-image{height:180px}}.job-operation-card-list{gap:18px 26px}.job-operation-work-card{gap:7px;border-radius:11px}.job-operation-work-card:not(:nth-child(3n)):after{right:-21px;font-size:21px}.job-operation-step-no{left:7px;top:7px;width:27px;height:27px;font-size:12px}.job-operation-work-image{height:96px;border-radius:8px}.job-operation-work-detail{gap:2px;min-height:76px}.job-operation-work-detail small,.job-operation-work-detail span{font-size:11px}.job-operation-work-detail h3{font-size:14px;line-height:1.25}.job-operation-work-detail .pill{font-size:10px;padding:3px 7px}.job-operation-work-action{gap:6px}.job-operation-work-action label{gap:3px;font-size:11px}.job-operation-work-action input{min-height:34px;padding:6px 8px}.job-operation-work-action .btn{min-height:34px;padding:6px 9px;font-size:12px}.job-operation-completed-result{padding:8px}.job-operation-completed-result b{font-size:16px}@media(max-width:850px){.job-operation-card-list{gap:28px}.job-operation-work-image{height:125px}.job-operation-work-card:after,.job-operation-work-card:not(:nth-child(3n)):after{bottom:-25px}}.job-operation-work-card{display:grid;grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto auto;grid-column-gap:10px;column-gap:10px;grid-row-gap:7px;row-gap:7px;align-items:center}.job-operation-work-image{grid-column:1;width:68px;height:68px}.job-operation-work-detail{grid-column:2;min-height:68px;justify-content:center}.job-operation-work-action{grid-column:1/-1;width:100%}.job-operation-step-no{left:3px;top:3px;width:23px;height:23px;font-size:10px}.job-operation-work-detail h3{font-size:13px}.job-operation-work-detail .pill{align-self:flex-start}@media(max-width:850px){.job-operation-work-card{grid-template-columns:76px minmax(0,1fr)}.job-operation-work-image{width:76px;height:76px}.job-operation-work-detail{min-height:76px}}.job-operation-card-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.job-operation-work-card{grid-template-columns:46px minmax(0,1fr);column-gap:6px;padding:7px}.job-operation-work-image{width:46px;height:46px}.job-operation-work-detail{min-height:52px}.job-operation-work-detail h3{font-size:12px}.job-operation-work-detail small,.job-operation-work-detail span{font-size:9px}.job-operation-work-card:not(:nth-child(3n)):after{display:none}.job-operation-work-card:not(:nth-child(6n)):after{display:block;content:"→";right:-11px;top:50%;bottom:auto;transform:translateY(-50%);font-size:14px}.job-operation-work-action .btn{font-size:11px;padding:5px}.job-operation-work-action input{font-size:11px}@media(max-width:1050px){.job-operation-card-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}.job-operation-work-card{grid-template-columns:60px minmax(0,1fr)}.job-operation-work-image{width:60px;height:60px}.job-operation-work-card:not(:nth-child(6n)):after{display:none}.job-operation-work-card:not(:nth-child(3n)):after{display:block;right:-19px;font-size:18px}}@media(max-width:700px){.job-operation-card-list{grid-template-columns:1fr;gap:28px}.job-operation-work-card{grid-template-columns:76px minmax(0,1fr)}.job-operation-work-image{width:76px;height:76px}.job-operation-work-card:after,.job-operation-work-card:not(:nth-child(3n)):after,.job-operation-work-card:not(:nth-child(6n)):after{display:block;content:"↓";right:50%;top:auto;bottom:-25px;transform:translateX(50%)}.job-operation-work-card:last-child:after{display:none}}.job-operation-input-summary{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:8px 12px;border:1px solid #cfe0e8;border-radius:10px;background:#f2f8fb}.job-operation-input-picture{width:52px;height:52px;border-radius:8px;overflow:hidden;background:#fff;display:grid;place-items:center;color:#72808a;font-size:10px}.job-operation-input-picture img{width:100%;height:100%;object-fit:cover}.job-operation-input-summary>div:nth-child(2){display:flex;flex-direction:column;gap:1px}.job-operation-input-summary>div:nth-child(2)>b{font-size:13px}.job-operation-input-summary>div:nth-child(2)>small,.job-operation-input-summary>div:nth-child(2)>span{font-size:10px;color:#667085}.job-operation-input-summary>strong{font-size:20px;color:#1e2b60}.job-operation-input-summary>strong small{font-size:11px}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.job-operation-input-summary{order:1}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.production-transaction-tabs{order:0}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.job-operation-workflow-v2{order:2}.job-operation-card-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px}.job-operation-work-card{grid-template-columns:58px minmax(0,1fr);padding:9px}.job-operation-work-image{width:58px;height:58px}.job-operation-work-detail{min-height:62px}.job-operation-work-card:not(:nth-child(6n)):after{display:none}.job-operation-work-card:not(:nth-child(4n)):after{display:block;content:"→";right:-19px;top:50%;bottom:auto;transform:translateY(-50%);font-size:18px}@media(max-width:1050px){.job-operation-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.job-operation-work-card:not(:nth-child(3n)):after,.job-operation-work-card:not(:nth-child(4n)):after{display:none}.job-operation-work-card:not(:nth-child(2n)):after{display:block;right:-19px}}@media(max-width:700px){.job-operation-card-list{grid-template-columns:1fr}.job-operation-work-card:after,.job-operation-work-card:not(:nth-child(2n)):after,.job-operation-work-card:not(:nth-child(4n)):after{display:block;content:"↓";right:50%;top:auto;bottom:-25px;transform:translateX(50%)}.job-operation-work-card:last-child:after{display:none}}.job-operation-work-card:after{display:none!important}@media(min-width:1051px){.job-operation-work-card:not(:nth-child(4n)):after{display:block!important;content:"→";right:-20px;top:50%;bottom:auto;transform:translateY(-50%);font-size:18px}}@media(min-width:701px) and (max-width:1050px){.job-operation-work-card:not(:nth-child(2n)):after{display:block!important;content:"→";right:-20px;top:50%;bottom:auto;transform:translateY(-50%);font-size:18px}}@media(max-width:700px){.job-operation-work-card:not(:last-child):after{display:block!important;content:"↓";right:50%;top:auto;bottom:-25px;transform:translateX(50%);font-size:18px}}@media(min-width:1051px){.job-operation-card-list .job-operation-work-card:after{display:none!important;top:50%!important;right:-20px!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important}.job-operation-card-list .job-operation-work-card:not(:nth-child(4n)):after{display:block!important;content:"→"!important}}@media(min-width:701px) and (max-width:1050px){.job-operation-card-list .job-operation-work-card:after{display:none!important;top:50%!important;right:-20px!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important}.job-operation-card-list .job-operation-work-card:not(:nth-child(2n)):after{display:block!important;content:"→"!important}}@media(min-width:1051px){.job-operation-card-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 30px}.job-operation-work-card{grid-template-columns:68px minmax(0,1fr);padding:10px}.job-operation-work-image{width:68px;height:68px}.job-operation-work-detail{min-height:70px}.job-operation-work-detail h3{font-size:13px}.job-operation-work-detail small,.job-operation-work-detail span{font-size:10px}.job-operation-card-list .job-operation-work-card:after{display:none!important}.job-operation-card-list .job-operation-work-card:not(:nth-child(3n)):after{display:block!important;content:"→"!important;top:50%!important;right:-24px!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important}}.job-operation-card-list .job-operation-work-card:after{display:none!important;content:none!important}.job-operation-work-card[role=button]{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.job-operation-work-card[role=button]:focus-visible,.job-operation-work-card[role=button]:hover{border-color:#1e2b60;box-shadow:0 8px 22px #1e2b6018;outline:none;transform:translateY(-1px)}.job-operation-weight-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:5px 8px;gap:5px 8px}.job-operation-weight-flow>span{display:grid;padding:6px;border-radius:7px;background:#f4f7f8;font-size:10px}.job-operation-weight-flow b{font-size:12px}.job-operation-workflow-v2+.production-transaction-tabs~.production-flow-step,.job-operation-workflow-v2+.production-transaction-tabs~.v16-table{display:none}.production-new-flow-modal .modal-body:has(.production-confirm-operation-preview)>.v16-form-actions:not(.production-confirm-bottom-actions){display:none}.production-new-flow-modal .modal-body:has(.production-confirm-operation-preview)>.v16-warning{display:none}.production-confirm-bottom-actions{margin-top:18px;padding-top:16px;border-top:1px solid #e8eef0;position:-webkit-sticky;position:sticky;bottom:0;background:#fff;z-index:4}.job-operation-card-list>.job-operation-work-card:nth-child(3) .job-operation-work-action:after,.job-operation-card-list>.job-operation-work-card:nth-child(3) .job-operation-work-action:before,.job-operation-card-list>.job-operation-work-card:nth-child(3):after,.job-operation-card-list>.job-operation-work-card:nth-child(3):before{display:none!important;content:none!important}.production-new-flow-modal>.modal-head{padding:22px 26px;align-items:flex-start;background:linear-gradient(180deg,#f6fafd,#ffffff);border-bottom:1px solid #e8eef0}.production-new-flow-modal>.modal-head h2{font-size:21px;color:#16224d;letter-spacing:-.01em}.production-new-flow-modal>.modal-head small{color:#6b7a89;font-size:13px}.production-new-flow-modal>.modal-body{padding:22px 26px 24px}.production-confirm-lead,.production-confirm-plan-head{background:#fff!important;color:#16224d!important;border:1px solid #e8eef0;border-left:4px solid #1e2b60;border-radius:14px;padding:15px 18px;margin-bottom:18px;box-shadow:0 1px 2px #0f2a4008;gap:16px}.production-confirm-plan-head{border-left-color:#c98a1a;margin-top:6px}.production-confirm-lead-main{display:flex;align-items:center;gap:13px;min-width:0}.production-confirm-lead-icon{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#E8EEF0;font-size:20px}.production-confirm-plan-head .production-confirm-lead-icon{background:#fbf1de}.production-confirm-lead-main>div{display:grid;grid-gap:2px;gap:2px;min-width:0}.production-confirm-lead-main b{font-size:16px;color:#16224d}.production-confirm-lead-main small{font-size:12px;color:#7a8a98}.production-confirm-lead-note{flex:0 0 auto;max-width:340px;text-align:right;font-size:12.5px;line-height:1.45;color:#5b6b7b}.production-new-flow-modal .modal-body:has(.production-confirm-operation-preview)>.v16-table{border:1px solid #e8eef0;border-radius:14px;overflow:auto;margin-bottom:40px;box-shadow:0 1px 2px #0f2a4008}.production-confirm-operation-preview{margin-top:12px}.production-new-flow-modal .modal-body:has(.production-confirm-operation-preview)>.v16-table th{background:#f4f7fa;color:#5c6b7a;padding:12px 14px}.production-new-flow-modal .modal-body:has(.production-confirm-operation-preview)>.v16-table td{padding:12px 14px}.production-confirm-operation-preview .job-operation-card-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-gap:26px 32px;gap:26px 32px}.production-confirm-operation-preview .job-operation-work-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;align-items:stretch!important;gap:12px!important;padding:14px!important;border:1px solid #d9e1e3!important;border-radius:16px!important;background:#fff!important;box-shadow:0 2px 10px #12345608;transition:box-shadow .18s ease,transform .18s ease}.production-confirm-operation-preview .job-operation-work-card:hover{box-shadow:0 12px 28px #16224d18;transform:translateY(-2px)}.production-confirm-operation-preview .job-operation-work-image{width:100%!important;height:152px!important;border-radius:12px!important}.production-confirm-operation-preview .job-operation-step-no{left:12px!important;top:12px!important;width:32px!important;height:32px!important;font-size:14px!important;background:linear-gradient(135deg,#3a6b86,#16224d)!important;box-shadow:0 2px 8px #16224d33}.production-confirm-operation-preview .job-operation-work-detail{min-height:auto!important;justify-content:flex-start!important;gap:6px!important;padding:2px 2px 0!important}.production-confirm-operation-preview .job-operation-work-detail small{font-size:10px!important;font-weight:700;letter-spacing:.05em;color:#6b7a89!important;text-transform:uppercase}.production-confirm-operation-preview .job-operation-work-detail h3{font-size:15px!important;color:#16224d;line-height:1.3}.production-confirm-operation-preview .job-operation-work-detail span{font-size:11.5px!important;color:#8593a1!important}.production-confirm-operation-preview .job-operation-work-action{margin-top:auto!important}.production-plan-wait-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px 12px;border-radius:10px;background:#fbf3e2;border:1px solid #f2ddb6;color:#9a6b12;font-size:12px;font-weight:700}.production-confirm-operation-preview .job-operation-card-list .job-operation-work-card:after{display:none!important;content:"→"!important;color:#B9CAD5!important;font-weight:800!important;font-size:22px!important}@media(min-width:701px){.production-confirm-operation-preview .job-operation-card-list .job-operation-work-card:not(:nth-child(3n)):not(:last-child):after{display:block!important;top:50%!important;right:-28px!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important}}@media(max-width:700px){.production-confirm-operation-preview .job-operation-card-list{grid-template-columns:1fr!important}.production-confirm-operation-preview .job-operation-card-list .job-operation-work-card:not(:last-child):after{display:block!important;content:"↓"!important;top:auto!important;bottom:-22px!important;right:50%!important;left:auto!important;transform:translateX(50%)!important}}.job-operation-card-list>.job-operation-work-card:last-child:after{display:none!important;content:none!important}.production-new-flow-modal>.modal-foot{justify-content:space-between;align-items:center;padding:16px 26px;background:#E8EEF0;border-top:1px solid #e8eef0}.production-confirm-status{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:#5b6b7b}.production-confirm-status em{font-style:normal;padding:4px 12px;border-radius:999px;background:#E8EEF0;color:#1e2b60;font-weight:700;letter-spacing:.02em}.production-new-flow-modal>.modal-foot .v16-row-actions{gap:12px}.production-new-flow-modal>.modal-foot .v16-row-actions .btn{min-height:42px;padding:0 22px;font-weight:700}@media(max-width:700px){.production-confirm-lead,.production-confirm-plan-head{flex-direction:column;align-items:stretch}.production-confirm-lead-note{text-align:left;max-width:none}.production-new-flow-modal>.modal-foot{flex-direction:column-reverse;align-items:stretch;gap:12px}.production-new-flow-modal>.modal-foot .v16-row-actions .btn{flex:1 1}}.inline-operation-workflow .job-operation-work-detail,.inline-operation-workflow .job-operation-work-image{cursor:pointer}.inline-operation-workflow .job-operation-work-card.expanded{border-color:#1e2b60;box-shadow:0 8px 22px #1e2b6018}.inline-operation-entry{display:grid;grid-gap:8px;gap:8px;padding-top:8px;border-top:1px solid #e8eef0}.inline-operation-entry label{display:grid;grid-gap:4px;gap:4px}.inline-operation-entry input{width:100%}.inline-operation-entry .job-operation-weight-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-operation-workflow .job-operation-work-card.pending .job-operation-work-action>.btn:first-of-type{font-size:0;background:#1e2b60;color:#fff}.inline-operation-workflow .job-operation-work-card.pending .job-operation-work-action>.btn:first-of-type:after{content:"เริ่มขั้นตอน";font-size:12px}.inline-operation-workflow .job-operation-work-card.pending .job-operation-work-action>.btn.primary:last-child:not(:first-child){display:none}.production-new-flow-modal .job-cost-summary-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow-x:auto}.production-new-flow-modal .job-cost-summary-row>*{min-width:150px}.production-new-flow-modal .production-new-tab-placeholder:has(+.job-qc-workspace){display:none}.production-new-flow-modal .production-new-tab-placeholder:has(~.job-close-workspace){display:none}.production-new-flow-modal .production-new-tab-placeholder:has(~.job-finalize-cost-workspace){display:none}.production-new-flow-modal .job-close-workspace,.production-new-flow-modal .job-cost-workspace,.production-new-flow-modal .job-finalize-cost-workspace,.production-new-flow-modal .job-qc-workspace,.production-new-flow-modal .job-receive-workspace,.production-new-flow-modal .job-results-workspace{display:flex;flex-direction:column;gap:22px}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2){gap:20px}.production-new-flow-modal .job-operation-input-summary{margin:0}.production-new-flow-modal .v16-section-card .production-flow-step{margin-top:20px}.production-next-step{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.production-next-step>div{display:grid;grid-gap:2px;gap:2px}.production-next-step .btn{flex:0 0 auto}.cost-tab-tabs{display:flex;gap:24px;margin-top:6px;padding:0 14px;border-bottom:1px solid #d9e1e3;background:transparent}.cost-tab-tabs button{min-height:42px;padding:8px 2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#687785;box-shadow:none}.cost-tab-tabs button:hover{background:transparent;color:#1e2b60}.cost-tab-tabs button.active{border-bottom-color:#1e2b60;background:transparent;color:#244b62;box-shadow:none}.cost-tab-tabs+.v16-table{border:1px solid #d9e1e3;border-top:0;border-radius:0 0 10px 10px;margin-bottom:6px}.cost-detail-actual>div>span:last-child .btn.primary,.cost-tab-tabs+.v16-table .head-actions .btn.primary,.production-new-flow-modal .job-results-workspace>.v16-section-card>.card-head>.v16-row-actions>.btn.primary{display:none}.production-new-flow-modal .modal-body:has(.job-operation-workflow-v2)>.terminal-operation-workflow{order:3}.terminal-operation-workflow{display:grid;grid-gap:12px;gap:12px}.terminal-operation-workflow .production-flow-step{margin:0}.terminal-operation-card-list .job-operation-work-card,.terminal-operation-card-list .job-operation-work-detail,.terminal-operation-card-list .job-operation-work-image{cursor:default}.v16-sort-header{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.v16-sort-header span{opacity:.45;font-size:11px}.v16-sort-header.active span{opacity:1;color:#256b54}.job-cost-inline-summary{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line,#dce4df);background:transparent;color:#263b4d}.job-cost-inline-summary span{color:#9aa7a0}.cost-over,.job-cost-inline-summary .over{color:#b24a3a}.cost-under,.job-cost-inline-summary .under{color:#277257}.cost-compare-filters{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px 4px}.cost-compare-filters button{border:1px solid #d8e1dc;border-radius:999px;background:#fff;color:#50615a;padding:6px 12px;cursor:pointer;font:inherit}.cost-compare-filters button:nth-child(2){display:none}.cost-compare-filters button.active{background:#eaf4ef;border-color:#9fc5b3;color:#245f49;font-weight:700}.cost-compare-main-row{cursor:pointer}.cost-compare-main-row:hover td{background:#f8fbf9}.cost-expand-button{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.cost-expand-button>span:first-child{color:#648177;font-size:11px}.cost-expand-button small{display:block;margin-top:2px;color:#728079}.cost-compare-table .number{text-align:right;white-space:nowrap}.cost-compare-detail-row>td{padding:0!important;background:#E8EEF0}.v16-cost-table-section{margin-top:14px}.v16-cost-table-section>.card-head{padding:14px 0;border-bottom:1px solid #e8eef0}.v16-cost-table-section .cost-compare-filters{padding-left:0;padding-right:0}.cost-detail-panel{margin:0;padding:14px 16px 16px 42px;border-top:1px solid #e8eef0;background:#E8EEF0}.cost-detail-actual,.cost-detail-standard{display:grid;grid-gap:7px;gap:7px;margin-bottom:14px}.cost-detail-actual{opacity:.62}.cost-detail-standard>div{display:grid;grid-template-columns:1fr auto;grid-gap:12px;gap:12px}.cost-detail-actual>div{display:grid;grid-template-columns:100px minmax(120px,1fr) minmax(130px,auto) 100px 130px 90px;align-items:center;grid-gap:10px;gap:10px;padding-top:7px;border-top:1px solid #edf1ef}.cost-detail-total{display:grid;grid-template-columns:1fr auto;grid-gap:7px 14px;gap:7px 14px;padding-top:12px;border-top:1px solid #e8eef0}@media (max-width:900px){.job-cost-inline-summary{align-items:flex-start;flex-direction:column}.job-cost-inline-summary>span{display:none}.cost-detail-actual>div{grid-template-columns:1fr 1fr}}.warehouse-product-thumb{width:48px;height:48px;display:inline-flex;flex:0 0 48px;align-items:center;justify-content:center;object-fit:cover;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft,#f7f7f4)}.warehouse-product-thumb.empty{color:var(--muted);font-size:10px;text-align:center}.warehouse-product-cell{display:flex;align-items:center;gap:10px;min-width:190px}.warehouse-product-cell>span{display:grid;grid-gap:3px;gap:3px}.trace-item-cell{min-width:230px}.trace-item-cell>span{display:grid;grid-gap:3px;gap:3px}.trace-item-meta{display:flex;align-items:center;gap:7px}.trace-item-meta .trace-image{width:28px;height:28px;flex-basis:28px}.trace-item-meta>span{min-width:0}.trace-image{width:42px;height:42px;flex:0 0 42px;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:50%;background:var(--paper);cursor:zoom-in}.trace-image img{width:100%;height:100%;display:block;object-fit:cover}.trace-image.empty{display:grid;place-items:center;color:var(--muted);font-size:10px;text-align:center;cursor:default}.trace-focus-layout{display:flex;align-items:center;gap:16px}.trace-focus-layout .trace-image{width:92px;height:92px;flex-basis:92px;border-radius:12px}.trace-focus-layout .form-grid{flex:1 1}.trace-image-preview{width:min(800px,94vw);max-height:92vh}.trace-image-preview .modal-body{display:grid;place-items:center;padding:18px}.trace-image-preview img{max-width:100%;max-height:calc(92vh - 100px);object-fit:contain;border-radius:8px}.accounting-trace-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%}.accounting-trace-filters .search,.accounting-trace-filters .select{min-width:150px}.accounting-trace-notice{margin:0 0 14px;padding:10px 12px;border:1px solid #d7e4dc;border-radius:10px;background:#f4faf6;color:#365a46;font-size:12px}.accounting-trace-vendor-summary{display:flex;align-items:stretch;gap:10px;margin:0 0 14px;overflow-x:auto;padding:2px 1px 5px}.accounting-trace-vendor-summary-title{display:grid;align-content:center;min-width:190px;padding:10px 12px;border:2px solid #7ab28d;border-radius:12px;background:#eef9f1;color:#245e3d}.accounting-trace-vendor-summary-title small{margin-top:4px;color:#587663;font-size:11px;line-height:1.35}.accounting-trace-vendor-card{display:grid;grid-gap:3px;gap:3px;min-width:205px;padding:10px 12px;border:1px solid #d5e2d9;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(20,50,30,.05)}.accounting-trace-vendor-card b{color:#234b35;overflow-wrap:anywhere}.accounting-trace-vendor-card small,.accounting-trace-vendor-card span{color:#5c7967;font-size:11px}.accounting-trace-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 2px}.accounting-trace-pager>div{display:flex;align-items:center;gap:8px}.accounting-trace-modal-overlay,.accounting-trace-node-overlay{z-index:110}.accounting-trace-modal{width:min(1500px,97vw);height:min(900px,95vh);max-height:95vh}.accounting-trace-modal>.modal-head{flex:0 0 auto}.accounting-trace-modal>.modal-body{flex:1 1 auto;min-height:0;overflow:auto}.accounting-trace-report-tabs,.accounting-trace-stats{margin:0 0 14px}.accounting-trace-graph{display:grid;grid-gap:16px;gap:16px}.accounting-trace-flow{border:2px solid #9ac8a9;border-radius:14px;padding:14px;background:linear-gradient(180deg,#f4fbf6,#ffffff);overflow:hidden}.accounting-trace-flow h3{margin:0 0 12px;color:#245e3d;font-size:14px}.accounting-trace-flow-path{display:flex;align-items:center;gap:10px;overflow-x:auto;padding:4px 4px 12px}.accounting-trace-flow-step{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto}.accounting-trace-flow-step .accounting-trace-node{min-width:210px}.accounting-trace-flow-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:48px;color:#19713f;font-size:24px;font-weight:900;letter-spacing:-2px}.accounting-trace-lane{border:1px solid #e2e8e4;border-radius:12px;padding:12px;background:#fbfdfc}.accounting-trace-lane h3{margin:0 0 10px;font-size:13px;color:#315b47}.accounting-trace-lane-scroll{display:flex;gap:10px;overflow-x:auto;padding-bottom:3px}.accounting-trace-node{display:grid;grid-gap:3px;gap:3px;min-width:180px;max-width:250px;padding:11px 12px;border:1px solid #d5e2d9;border-radius:10px;background:#fff;color:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(20,50,30,.05)}.accounting-trace-node:hover{border-color:#6aab82;transform:translateY(-1px)}.accounting-trace-node small{color:#5c7967;font-size:10px}.accounting-trace-node b{font-size:13px;overflow-wrap:anywhere}.accounting-trace-node span{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.accounting-trace-node em{color:#2d6545;font-size:11px;font-style:normal}.accounting-trace-node-job{border-color:#b7cde4;background:#f6faff}.accounting-trace-node-destination,.accounting-trace-node-stock_issue{border-color:#ead4aa;background:#fffaf0}.accounting-trace-node-on_hand{border-color:#b8d8c5;background:#f3fbf5}.accounting-trace-edge-list{display:flex;flex-wrap:wrap;gap:7px}.accounting-trace-edge-list span{padding:5px 8px;border-radius:999px;background:#eef4f0;color:#496658;font-size:11px}.accounting-trace-exceptions{display:grid;grid-gap:10px;gap:10px}.accounting-trace-exceptions .card{margin:0}.accounting-trace-exceptions p{margin:8px 0 0}.accounting-trace-node-modal{width:min(680px,94vw)}.accounting-trace-node-overlay{z-index:111}@media (max-width:700px){.accounting-trace-filters{align-items:stretch}.accounting-trace-filters>*{flex:1 1 140px}.accounting-trace-pager{align-items:flex-start;flex-direction:column}}.lot-trace-modal{width:min(1500px,97vw);height:min(900px,95vh);max-height:95vh}.lot-trace-modal>.modal-head{flex:0 0 auto}.lot-trace-modal>.modal-body{flex:1 1 auto;min-height:0;overflow:auto}.lot-trace-detail-overlay{z-index:101}.trace-image-overlay{z-index:102}.lot-trace-detail-modal{width:min(760px,94vw)}.trace-detail-summary{display:flex;gap:16px;align-items:center}.trace-detail-summary .trace-image{width:92px;height:92px;flex-basis:92px;border-radius:12px}.trace-detail-summary .form-grid{flex:1 1}.lot-trace-detail-modal .modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:0 22px 20px}@media (max-width:640px){.trace-focus-layout{align-items:flex-start}.trace-focus-layout .trace-image{width:64px;height:64px;flex-basis:64px}}@media (max-width:720px){.receipt-modal-overlay{place-items:end center;padding:0}.receipt-modal-overlay .goods-receive-modal{width:100%;max-width:100%;height:94dvh;max-height:94dvh;margin:0;overflow:hidden;border-radius:22px 22px 0 0;animation:rcSheetUp .34s cubic-bezier(.22,1,.36,1)}.goods-receive-modal>form{min-height:0;height:100%;max-height:100%}}@keyframes rcSheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (max-width:720px){.goods-receive-modal .receipt-form-body{display:flex;flex-direction:column;padding:12px 14px;overflow:auto;-webkit-overflow-scrolling:touch}.goods-receive-modal .goods-receive-po-link{order:-1;margin-bottom:4px}.goods-receive-modal .receipt-header-grid{display:grid;grid-template-columns:1fr;grid-gap:12px;gap:12px;min-width:0!important}.goods-receive-modal .document-summary-row,.goods-receive-modal .receipt-grid-wrap,.goods-receive-modal .receipt-items-panel,.goods-receive-modal .receipt-summary{min-width:0!important}.goods-receive-modal .receipt-form-body{overflow-x:hidden}.goods-receive-modal .receipt-header-grid .receipt-field[class*=span-]{grid-column:1/-1!important}.goods-receive-modal .receipt-field{display:grid;grid-gap:5px;gap:5px}.goods-receive-modal .receipt-field>span{font-size:13px;color:#6c6350}.goods-receive-modal input,.goods-receive-modal select,.goods-receive-modal textarea{width:100%;min-height:44px;font-size:16px}.goods-receive-modal textarea{min-height:80px}.goods-receive-modal .document-inline-grid,.goods-receive-modal .document-summary-row,.goods-receive-modal .receipt-grid-wrap{display:block}.goods-receive-modal .receipt-summary{width:100%;margin-top:12px}.goods-receive-modal .receipt-table-scroll{overflow:visible}.goods-receive-modal .goods-receive-grid{display:block;min-width:0}.goods-receive-modal .goods-receive-grid thead{display:none}.goods-receive-modal .goods-receive-grid tbody{display:grid;grid-gap:12px;gap:12px}.goods-receive-modal .goods-receive-grid tr{display:grid;grid-gap:8px;gap:8px;padding:12px 14px;border:1px solid #e3dccb;border-radius:14px;background:#fffdf7}.goods-receive-modal .goods-receive-grid td{display:grid;grid-template-columns:40% 1fr;align-items:center;grid-gap:10px;gap:10px;padding:3px 0;border:0;text-align:left}.goods-receive-modal .goods-receive-grid td:before{content:attr(data-label);color:#8a7f66;font-size:12px}.goods-receive-modal .goods-receive-grid td.num{text-align:left}.goods-receive-modal .goods-receive-grid td input,.goods-receive-modal .goods-receive-grid td select{width:100%}.goods-receive-modal .goods-receive-grid .receipt-picker-trigger{width:100%;min-height:44px}.goods-receive-modal-direct .goods-receive-grid td:first-child{grid-template-columns:1fr;font-weight:600;color:var(--green)}.goods-receive-modal-direct .goods-receive-grid td:first-child:before{content:"รายการที่";font-weight:400;color:#8a7f66}.goods-receive-modal-direct .goods-receive-grid td:nth-child(2):before{content:"รหัสสินค้า"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(3):before{content:"ชื่อสินค้า"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(4):before{content:"คลัง"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(5):before{content:"ที่เก็บ"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(6):before{content:"หน่วย"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(7):before{content:"จำนวนรับ"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(8):before{content:"ราคา/หน่วย"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(9):before{content:"ส่วนลด"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(10):before{content:"จำนวนเงิน"}.goods-receive-modal-direct .goods-receive-grid td:nth-child(11):before{content:""}.goods-receive-modal-po .goods-receive-grid td:first-child{grid-template-columns:1fr;font-weight:600;color:var(--green)}.goods-receive-modal-po .goods-receive-grid td:first-child:before{content:"รายการที่";font-weight:400;color:#8a7f66}.goods-receive-modal-po .goods-receive-grid td:nth-child(2):before{content:"รหัสสินค้า"}.goods-receive-modal-po .goods-receive-grid td:nth-child(3):before{content:"ชื่อสินค้า"}.goods-receive-modal-po .goods-receive-grid td:nth-child(4):before{content:"คลัง"}.goods-receive-modal-po .goods-receive-grid td:nth-child(5):before{content:"ที่เก็บ"}.goods-receive-modal-po .goods-receive-grid td:nth-child(6):before{content:"หน่วย"}.goods-receive-modal-po .goods-receive-grid td:nth-child(7):before{content:"ยอดสั่ง"}.goods-receive-modal-po .goods-receive-grid td:nth-child(8):before{content:"รับแล้ว"}.goods-receive-modal-po .goods-receive-grid td:nth-child(9):before{content:"คงเหลือ"}.goods-receive-modal-po .goods-receive-grid td:nth-child(10):before{content:"จำนวนรับ"}.goods-receive-modal-po .goods-receive-grid td:nth-child(11):before{content:"ราคา/หน่วย"}.goods-receive-modal-po .goods-receive-grid td:nth-child(12):before{content:"ส่วนลด"}.goods-receive-modal-po .goods-receive-grid td:nth-child(13):before{content:"จำนวนเงิน"}.goods-receive-modal-po .goods-receive-grid td:nth-child(14):before{content:""}.goods-receive-modal .receipt-grid-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.goods-receive-modal .receipt-grid-tools .receipt-icon-btn{flex:1 1;min-height:44px}.goods-receive-modal .receipt-bottom-bar{position:-webkit-sticky;position:sticky;bottom:0;flex-direction:column;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom, 0px));background:#fff;border-top:1px solid #ece0c6}.goods-receive-modal .receipt-actions{width:100%}.goods-receive-modal .receipt-actions .receipt-bottom-btn{flex:1 1;min-height:46px}.goods-receive-modal .pr-submodal-overlay{place-items:end center;padding:0}.goods-receive-modal .pr-item-picker-modal{display:flex;flex-direction:column;width:100%;max-width:100%;height:92dvh;max-height:92dvh;border-radius:22px 22px 0 0;animation:rcSheetUp .32s cubic-bezier(.22,1,.36,1)}.goods-receive-modal .pr-item-picker-filters{grid-template-columns:1fr}.goods-receive-modal .pr-item-picker-filters input{min-height:44px;font-size:16px}.goods-receive-modal .pr-item-picker-table-wrap{flex:1 1;max-height:none;overflow:auto}.goods-receive-modal .pr-item-picker-table{display:block;min-width:0}.goods-receive-modal .pr-item-picker-table thead{display:none}.goods-receive-modal .pr-item-picker-table tbody{display:grid;grid-gap:10px;gap:10px;padding:12px 14px}.goods-receive-modal .pr-item-picker-table tr{display:grid;grid-gap:6px;gap:6px;padding:12px 14px;border:1px solid #e3dccb;border-radius:14px;background:#fffdf7}.goods-receive-modal .pr-item-picker-table td{display:grid;grid-template-columns:40% 1fr;align-items:center;grid-gap:10px;gap:10px;padding:2px 0;border:0}.goods-receive-modal .pr-item-picker-table td:before{color:#8a7f66;font-size:12px}.goods-receive-modal .pr-item-picker-table td:first-child{grid-template-columns:1fr;font-weight:600;color:var(--green);font-size:15px}.goods-receive-modal .pr-item-picker-table td:first-child:before{content:"รหัสสินค้า";font-weight:400;color:#8a7f66;font-size:12px}.goods-receive-modal .pr-item-picker-table td:nth-child(2):before{content:"ชื่อสินค้า"}.goods-receive-modal .pr-item-picker-table td:nth-child(3):before{content:"กลุ่มสินค้า"}.goods-receive-modal .pr-item-picker-table td:nth-child(4):before{content:"หน่วยนับ"}.goods-receive-modal .pr-item-picker-table td:nth-child(5):before{content:"ยอดคงเหลือ"}.goods-receive-modal .pr-item-picker-table td:nth-child(6):before{content:"สถานะ"}.goods-receive-modal .pr-item-picker-table td:nth-child(7){grid-template-columns:1fr;margin-top:4px}.goods-receive-modal .pr-item-picker-table td:nth-child(7):before{content:"";display:none}.goods-receive-modal .pr-item-picker-table td:nth-child(7) .btn{width:100%;min-height:44px}.pmob-page input,.pmob-page select,.pmob-page textarea{min-height:44px;font-size:16px}.pmob-page .v16-actions{flex-direction:column;align-items:stretch}.pmob-page .v16-actions .btn{width:100%;min-height:46px}.pmob-page .card-head{gap:8px}.pmob-page .card-head,.pmob-page .card-head .v16-row-actions{flex-direction:column;align-items:stretch}.pmob-page .card-head .btn{width:100%;min-height:44px}.pmob-page .v16-process-steps{overflow-x:auto}.pmob-page .v16-batch-banner{flex-direction:column}.pmob-page .v16-batch-banner>div:last-child{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.pmob-page .v16-table{overflow:visible}.pmob-page .v16-table table{min-width:0;display:block}.pmob-page .v16-table thead{display:none}.pmob-page .v16-table tbody{display:block}.pmob-page .v16-table tr{display:grid;grid-gap:6px;gap:6px;padding:12px 14px;margin:0 0 12px;border:1px solid #e3dccb;border-radius:14px;background:#fffdf7}.pmob-page .v16-table td{display:grid;grid-template-columns:42% 1fr;align-items:center;grid-gap:10px;gap:10px;padding:2px 0;border:0;text-align:left}.pmob-page .v16-table td:before{content:attr(data-label);color:#8a7f66;font-size:12px}.pmob-page .v16-table td:empty{display:none}.pmob-page .v16-table td.empty{display:block;text-align:center;padding:16px 0}.pmob-page .v16-table td.empty:before{content:""}.pmob-page .v16-table td .btn{width:100%;min-height:42px}.pmob-page .v16-table td small{display:block}.pmob-page-qc .v16-page{display:flex;flex-direction:column}.pmob-page-qc .v16-page>article.card:not(.v16-section-card){order:-1}.modal-overlay:has(>.v16-modal){place-items:end center;padding:0}.modal-overlay>.v16-modal{width:100%;max-width:100%;height:94dvh;max-height:94dvh;margin:0;overflow:hidden;border-radius:22px 22px 0 0;display:flex;flex-direction:column;animation:rcSheetUp .34s cubic-bezier(.22,1,.36,1)}.modal-overlay>.v16-modal>.modal-head{flex:0 0 auto}.modal-overlay>.v16-modal>.modal-body{flex:1 1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}.v16-modal input,.v16-modal select,.v16-modal textarea{min-height:44px;font-size:16px}.v16-modal .v16-form-grid,.v16-modal .v16-form-grid.compact,.v16-modal .v16-quality-grid{grid-template-columns:1fr!important}.v16-modal .v16-modal-form{min-width:0}}.side-collapse-btn{align-self:flex-end;margin:4px 2px 8px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid var(--sidebar-border);border-radius:8px;background:transparent;color:#fff;cursor:pointer;font-size:16px;line-height:1;opacity:.8}.side-collapse-btn:hover{opacity:1;background:var(--sidebar-hover)}.app.side-collapsed{grid-template-columns:72px minmax(0,1fr)}.side-collapsed .enterprise-side{padding-left:8px;padding-right:8px}.side-collapsed .brand{justify-content:center;padding-inline:0}.side-collapsed .brand-copy{display:none}.side-collapsed .side-collapse-btn{align-self:center;margin-inline:auto}.side-collapsed .nav>.setup-nav-flyout>.setup-nav-toggle>span,.side-collapsed .nav>button>span{display:none}.side-collapsed .nav>.setup-nav-flyout>.setup-nav-toggle,.side-collapsed .nav>button{justify-content:center;gap:0;padding-inline:0}.side-collapsed .side-foot,.side-collapsed .side-user{display:none}.enterprise-side .nav>.setup-nav-flyout>.setup-nav-toggle,.enterprise-side .nav>button{justify-content:flex-start;text-align:left;gap:11px}.enterprise-side .nav .setup-nav-toggle>span:first-child,.enterprise-side .nav>button>span{flex:1 1;min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-side .nav .setup-nav-chevron{flex:0 0 auto;margin-left:auto}.side-collapsed .enterprise-side .nav>.setup-nav-flyout>.setup-nav-toggle,.side-collapsed .enterprise-side .nav>button{justify-content:center}.app.app-3col{grid-template-columns:238px minmax(0,1fr) 380px}.app.app-3col.side-collapsed{grid-template-columns:72px minmax(0,1fr) 380px}@media (max-width:1200px){.app.app-3col{grid-template-columns:238px minmax(0,1fr)}.app.app-3col.side-collapsed{grid-template-columns:72px minmax(0,1fr)}.pp{display:none}}.weighing-modal-overlay{z-index:250}.weighing-modal{width:min(1380px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px)}.weighing-modal>.modal-head{flex:0 0 auto}.weighing-modal>.modal-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:14px;background:#faf9f7}.weighing-modal .card{margin:0;box-shadow:none}.weighing-modal .card-head{padding:12px 14px}.weighing-modal .card-body{padding:14px}.weighing-overview{padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.weighing-overview>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:15px;border:1px solid var(--line,#e5e5e5);background:#fff;border-radius:11px}.weighing-overview small,.weighing-overview>div>span{color:var(--muted,#6b7280);font-size:12px}.weighing-overview strong{font-size:24px;line-height:1.3}.weighing-overview strong span{font-size:14px;font-weight:500}@media (max-width:900px){.weighing-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.weighing-modal-overlay{padding:0;place-items:end center}.weighing-modal{width:100vw;height:100dvh;max-height:100dvh;border-radius:14px 14px 0 0}.weighing-modal>.modal-body{padding:8px}.weighing-overview{gap:7px;padding:10px}.weighing-overview>div{padding:10px}.weighing-overview strong{font-size:20px}}.weighing-panel-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.weighing-panel-tabs button{border:1px solid var(--line,#dfddd5);border-radius:10px;padding:11px 7px;background:#fff;color:#38455b;font:inherit;font-size:13px;cursor:pointer}.weighing-panel-tabs button.active{background:#202b60;border-color:#202b60;color:#fff;font-weight:650}.weighing-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--line,#dfddd5);border-radius:10px}.weighing-table-scroll td,.weighing-table-scroll th{padding:9px 10px}.weighing-info-row{display:flex;flex-wrap:wrap;gap:7px}.weighing-info-row span{background:#f5f5f3;border:1px solid var(--line,#dfddd5);border-radius:9px;padding:9px 10px;font-size:13px}.weighing-info-notice{color:#83501c;padding:10px 12px;background:#fff7e9;border:1px solid #efdbb4;border-radius:9px;font-size:13px}.weighing-total{display:grid;grid-gap:7px;gap:7px;border:1px solid #dfe1e7;border-radius:12px;padding:15px;background:#f8f9fd}.weighing-total>strong{font-size:29px;color:#202b60}.weighing-total small,.weighing-total>span{font-size:12px;color:#677087}.weighing-editor-backdrop{position:fixed;inset:0;z-index:8000;background:rgba(16,24,39,.6);display:grid;place-items:center;padding:12px}.weighing-editor-dialog{width:min(1020px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;display:flex;flex-direction:column;border-radius:15px;background:white;box-shadow:0 24px 80px rgba(0,0,0,.24)}.weighing-editor-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #ddd;padding:12px 15px}.weighing-editor-head h3{margin:0;font-size:18px}.weighing-editor-head small{display:block;font-size:12px;color:#647084}.weighing-editor-scroll{overflow:auto;min-height:0;padding:12px}@media(max-width:700px){.weighing-panel-tabs{gap:4px}.weighing-panel-tabs button{font-size:11px;padding:9px 4px}.weighing-editor-backdrop{padding:0;place-items:end center}.weighing-editor-dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:14px 14px 0 0}.weighing-editor-scroll{padding:8px}}.weighing-rounds-panel{overflow:hidden}.weighing-rounds-table thead th{font-size:12px;color:#677489;white-space:nowrap}.weighing-rounds-table tbody td{vertical-align:middle;font-size:13px}.weighing-rounds-table tbody tr:hover{background:#f7f9fc}.weighing-rounds-table tbody td:last-child{min-width:268px}.weighing-action-backdrop{position:fixed;inset:0;z-index:8100;display:grid;place-items:center;padding:16px;background:rgba(18,25,39,.56)}.weighing-action-dialog{width:min(1100px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e1e5ea;background:#fff;border-radius:15px;box-shadow:0 28px 90px rgba(0,0,0,.24)}.weighing-action-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e4e8ef;flex:0 0 auto}.weighing-action-head h3{margin:0 0 2px;font-size:18px}.weighing-action-head small{display:block;color:#6e7890;font-size:12px}.weighing-action-body{display:grid;align-content:start;grid-gap:14px;gap:14px;overflow:auto;min-height:0;padding:18px}.weighing-action-body label{display:grid;grid-gap:5px;gap:5px;font-size:13px;font-weight:500}.weighing-action-notice{border-radius:9px;padding:9px 12px;border:1px solid #d7e9d5;color:#456642;background:#f6fbf4}.weighing-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;align-items:end}.weighing-create-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px}.weighing-dialog-facts{display:flex;flex-wrap:wrap;gap:8px}.weighing-dialog-facts span{border-radius:9px;background:#f7f9fc;padding:9px 12px;font-size:13px}@media(max-width:700px){.weighing-action-backdrop{padding:0;place-items:end center}.weighing-action-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:13px 13px 0 0}.weighing-action-head{padding:13px}.weighing-action-body{padding:12px}.weighing-create-grid{grid-template-columns:1fr}.weighing-create-actions{grid-column:1}.weighing-rounds-panel .card-body{padding:10px}}.weighing-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 0}.weighing-pagination>small{color:#697586;font-size:12px}.weighing-pagination>div{display:flex;gap:9px;align-items:center}.weighing-pagination .btn{padding:7px 12px;min-height:34px}.weighing-pagination span{white-space:nowrap;font-size:13px}@media(max-width:700px){.weighing-pagination{justify-content:center}.weighing-pagination>small{width:100%;text-align:center}}@media (min-width:721px){.app{--bg:#f3ecdb;--card:#fffdf7;--line:#ece0c6;--muted:#7d7360;--shadow:0 4px 14px rgba(120,96,45,.06);--desktop-cream:#fffdf7;--desktop-paper:#faf6eb;--desktop-edge:#ece0c6;--desktop-shadow:0 4px 14px rgba(120,96,45,.06)}.app,.app>main,.app>main>.content{background:var(--bg)}.app .card,.app .jc-setup-menu>button,.app .report-item,.app .setting-card,.app .stat,.app .table-card,.app .v16-kpi,.app .v16-section-card{background:var(--desktop-cream);border:1px solid var(--desktop-edge);border-radius:18px;box-shadow:var(--desktop-shadow)}.app .card-head,.app .v16-section-card>.card-head{background:transparent;border-bottom-color:#efe5d4}.app .card-head small,.app .setting-card>p,.app .stat .cap,.app .stat .hint{color:var(--muted)}.app .stat .value,.app .v16-kpi>b{color:var(--primary)}.app .v16-kpi{border-top:1px solid var(--desktop-edge)}.app .v16-kpi>span{color:var(--muted)}.app .jc-setup-menu>button{color:var(--primary);transition:border-color .15s ease,box-shadow .15s ease}.app .card:has(>button:hover),.app .jc-setup-menu>button:hover{border-color:#d6c4a4;box-shadow:0 7px 20px rgba(120,96,45,.1)}.app .jc-setup-menu>button>span{background:#e8eef0;color:var(--primary)}.app .jc-setup-menu>button em{color:var(--muted)}.app .inventory-table-tools,.app .production-document-strip,.app .table-toolbar,.app .toolbar{background:var(--desktop-paper);border-color:var(--desktop-edge)}.app input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]):not([type=button]):not([type=submit]),.app select,.app textarea{background-color:#fffefb;border-color:#e4d9c5;border-radius:10px}.app input:focus-visible,.app select:focus-visible,.app textarea:focus-visible{outline-color:var(--primary);border-color:#adbad2}.app .action-btn:not(.danger),.app .btn:not(.primary):not(.danger),.app .icon-btn:not(.danger){background-color:#fffdf7;border-color:var(--desktop-edge)}.app .action-btn:not(.danger):hover,.app .btn:not(.primary):not(.danger):hover,.app .icon-btn:not(.danger):hover{background-color:#faf4e8;border-color:#d6c4a4}.app .btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.app .dashx-tablewrap,.app .table-card,.app .v16-table,.app .weighing-table-scroll{border-color:var(--desktop-edge)}.app table th{background:#faf5e9;color:#766d5d;border-bottom-color:var(--desktop-edge)}.app table td{border-bottom-color:#efe8da}.app table tbody tr:hover td{background:#fbf7ed}.app .empty{color:var(--muted)}.app .page-nav,.app .receipt-tabs,.app .segmented,.app .tabs,.app .v16-module-nav{background:var(--desktop-cream);border-color:var(--desktop-edge);box-shadow:var(--desktop-shadow)}.app .page-nav button:hover,.app .segmented button:hover,.app .tabs button:hover{background:#faf4e8}.app .modal,.app .weighing-action-dialog,.app .weighing-editor-dialog,.app .weighing-modal{background:var(--desktop-cream);border:1px solid var(--desktop-edge);border-radius:18px}.app .modal-foot,.app .modal-head,.app .weighing-action-head,.app .weighing-editor-head{background:#fffdf7;border-color:var(--desktop-edge)}.app .modal-body,.app .weighing-action-body,.app .weighing-editor-scroll,.app .weighing-modal>.modal-body{background:#faf7f0}.app .production-v16{--v16-line:#ece0c6;--v16-cream:#fffdf7}.app .v16-module-nav{border-radius:14px}.app .estimate-description-view,.app .estimate-summary>span,.app .job-operation-work-card,.app .production-create-detail-fields,.app .production-detail-operation-strip>div,.app .production-detail-product,.app .production-detail-visuals,.app .production-support-row>button,.app .production-workflow-guide,.app .production-workflow-phase,.app .v16-flow-strip>button,.app .warehouse-lot-card{background:#fffdf7;border:1px solid #ece0c6;border-radius:18px;box-shadow:0 4px 14px rgba(120,96,45,.06)}.app .production-support-row>button:hover,.app .v16-flow-strip>button:hover{border-color:#d6c4a4;background:#fbf7ed}.app .v16-activity>div{border-color:#efe5d4}.app .production-document-strip{border-color:#ece0c6;background:#fffdf7;border-radius:14px}.app .production-document-strip button:hover:not(.active){background:#faf4e8}}.document-table-placeholder td{height:39px;border-bottom:1px solid #efe8dc;padding:8px 14px;font-weight:400}.document-table-placeholder .document-placeholder-message{text-align:center;color:var(--muted,#8a7f66)}.document-table-placeholder .document-placeholder-line{height:39px;font-size:0}.document-table-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line,#ece0c6);padding:12px 16px}.document-table-pagination>span{color:var(--muted,#7d7360)}.document-pager-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.document-pager-controls .btn{min-width:36px;min-height:34px;padding:6px 9px}.document-pager-controls .btn:disabled{opacity:.5;cursor:default}.document-pager-controls .btn.primary:disabled{opacity:1}@media(max-width:780px){.document-table-pagination{justify-content:center}.document-table-pagination>span{width:100%;text-align:center}.document-pager-controls{justify-content:center}}.app .pr-document-table-scroll{width:100%;max-width:100%;max-height:max(300px,calc(100dvh - 330px));overflow:auto}.app .pr-document-table{width:100%;min-width:0;table-layout:fixed}.app .pr-document-table td,.app .pr-document-table th{box-sizing:border-box;padding:9px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.app .pr-document-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1;line-height:1.35}.app .pr-document-table td{height:52px}.app .pr-document-table td .pill{max-width:100%;white-space:normal;text-align:center}.app .pr-document-table .action-group{gap:4px;flex-wrap:wrap}.app .pr-document-table .action-group .btn{min-height:30px;padding:4px 7px;font-size:11px;white-space:normal}@media (max-width:1100px){.app .pr-document-table{min-width:980px}}@media (max-width:720px){.app .pr-document-table-scroll{max-height:max(260px,calc(100dvh - 370px))}}.app .card,.app .dashx-tablewrap,.app .enterprise-panel-stack,.app .estimate-grid-table,.app .lot-quality-result-table,.app .manager-workspace,.app .production-panel,.app .receipt-table-scroll,.app .table-card,.app .v16-table,.app .weighing-table-scroll,.app main,.app main .content{min-width:0;max-width:100%}.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll,.estimate-grid-table){box-sizing:border-box;overflow-x:auto}.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll):not(:is(.modal *,.receipt-modal *,.pr-submodal *,.v16-modal *,.weighing-editor-dialog *,.weighing-action-dialog *,.production-new-flow-modal *)){max-height:max(280px,calc(100dvh - 320px));overflow-y:auto;overscroll-behavior:contain}.app .card>table,.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:not(:is(.receipt-grid,.receipt-lines-table,.pr-item-picker-table,.pr-reference-picker-table,.po-entry-grid,.modal table,.receipt-modal table,.pr-submodal table,.v16-modal table,.weighing-editor-dialog table,.weighing-action-dialog table,.production-new-flow-modal table)){box-sizing:border-box;width:100%;min-width:0;table-layout:fixed}.app .card>table :is(th,td),.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:not(:is(.receipt-grid,.receipt-lines-table,.modal table,.receipt-modal table,.pr-submodal table,.v16-modal table,.production-new-flow-modal table)) :is(th,td){box-sizing:border-box;padding-inline:clamp(5px,.65vw,12px);white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:not(.receipt-grid)>thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2}.app :is(.table-card,.receipt-table-scroll,.v16-table) .action-group{flex-wrap:wrap;gap:4px}.app :is(.table-card,.receipt-table-scroll,.v16-table) .action-group .btn{white-space:normal;padding:5px 8px;font-size:11px}.app :is(.table-card,.receipt-table-scroll,.v16-table) .pill{max-width:100%;white-space:normal;text-align:center}.app .table-card .document-table-placeholder td{height:39px;padding-block:7px}.app .card:has(>table){overflow-x:auto}@media (max-width:1099px){.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(8)){min-width:920px}.app .card>table:has(thead tr>th:nth-child(8)){min-width:920px}}@media (max-width:799px){.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(6)){min-width:720px}.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(4)){min-width:510px}.app .card>table:has(thead tr>th:nth-child(4)){min-width:510px}.app :is(.table-card,.receipt-table-scroll,.v16-table){max-height:max(240px,calc(100dvh - 365px))}}@media (min-width:1200px){.app .weighing-rounds-table{min-width:0!important}}.app .weighing-rounds-panel .weighing-rounds-list{width:100%;max-width:100%;overflow:auto;background:#fff;border:0;border-radius:0;box-shadow:none}.app .weighing-rounds-panel .weighing-rounds-list>table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.app .weighing-rounds-panel .weighing-rounds-list thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2;height:39px;padding:7px 8px;background:#e8eef0;border-bottom:1px solid #e3e8ef;color:#68788e;font-size:var(--font-size-xs,12px);font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.app .weighing-rounds-panel .weighing-rounds-list tbody td{height:58px;padding:8px;border-bottom:1px solid #edf0f4;background:#fff;color:var(--ink);font-size:var(--font-size-sm,13px);line-height:1.4;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.app .weighing-rounds-panel .weighing-rounds-list tbody tr:hover td{background:#e8eef0}.app .weighing-rounds-panel .weighing-rounds-list tbody td:last-child{min-width:0}.app .weighing-rounds-panel .weighing-rounds-list .weighing-round-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.app .weighing-rounds-panel .weighing-rounds-list .weighing-round-actions .btn{min-height:32px;padding:5px 8px;border-radius:9px;font-size:11px;white-space:normal}.app .weighing-rounds-panel .weighing-rounds-list .pill{max-width:100%;white-space:normal}.app .weighing-rounds-panel .weighing-rounds-list .weighing-round-placeholder td{height:49px;padding:0 8px;border-bottom:1px solid #edf0f4;background:#fff;color:var(--muted)}.app .weighing-rounds-panel .weighing-rounds-list .weighing-round-placeholder td:not(:last-child){border-right:1px solid #f5f3ef}.app .weighing-rounds-panel .weighing-rounds-list .weighing-round-placeholder .weighing-round-message{padding:8px 12px;text-align:center}@media (max-width:799px){.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(6)){min-width:720px}}@media (max-width:1099px){.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(8)){min-width:920px}}@media (max-width:1199px){.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll)>table:has(thead tr>th:nth-child(10)){min-width:1080px}}@media (max-width:1100px){.app .weighing-rounds-panel .weighing-rounds-list>table{min-width:980px}}.app .receipt-entry-list-wrap,.app .weighing-modal .weighing-rounds-list,.app .weighing-rounds-panel .weighing-rounds-list{width:100%;min-width:0;max-width:100%;overflow-x:auto}.app .receipt-entry-list-wrap>.receipt-entry-list-table,.app .weighing-modal .weighing-rounds-list>.weighing-rounds-table,.app .weighing-rounds-panel .weighing-rounds-list>.weighing-rounds-table{width:100%;min-width:0;max-width:100%;table-layout:fixed}.app .receipt-entry-list-table :is(th,td),.app .weighing-rounds-list .weighing-rounds-table :is(th,td){padding-inline:6px;overflow-wrap:anywhere;white-space:normal}.app .weighing-modal .weighing-rounds-list,.app .weighing-modal .weighing-rounds-panel,.app .weighing-modal .weighing-rounds-panel>.card-body{min-width:0;max-width:100%}.app .weighing-rounds-list .weighing-rounds-table td:last-child{min-width:0}.app .weighing-rounds-list .weighing-round-actions .btn{min-height:30px!important;padding:5px 6px!important;font-size:11px}@media (min-width:721px){.app .goods-receive-modal,.app .goods-receive-modal.goods-receive-modal-po{width:min(1640px,calc(100vw - 24px));max-width:none}.app .goods-receive-modal .receipt-grid-wrap,.app .goods-receive-modal .receipt-items-panel,.app .goods-receive-modal .receipt-table-scroll{width:100%;min-width:0;max-width:100%}.app .goods-receive-modal .goods-receive-grid,.app .goods-receive-modal-po .goods-receive-grid{width:100%;min-width:0;table-layout:fixed}.app .goods-receive-grid .r-item{width:11%}.app .goods-receive-grid .r-name{width:20%}.app .goods-receive-grid .r-wh{width:7%}.app .goods-receive-grid .r-loc{width:8%}.app .goods-receive-grid .r-unit{width:6%}.app .goods-receive-grid .r-qty{width:auto}.app .goods-receive-grid .r-action{width:4%}.app .goods-receive-grid :is(th,td){overflow-wrap:anywhere}.app .goods-receive-grid td :is(input,select,.receipt-picker-trigger){box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;padding-inline:3px}.app .goods-receive-grid td.goods-receive-item-name{white-space:normal;overflow-wrap:anywhere}}@media (min-width:721px) and (max-width:1099px){.app .goods-receive-modal .goods-receive-grid{min-width:1020px}.app .goods-receive-modal-po .goods-receive-grid{min-width:1180px}}@media (max-width:700px){.app .receipt-entry-list-wrap>.receipt-entry-list-table{min-width:740px}.app .weighing-rounds-panel .weighing-rounds-list>.weighing-rounds-table{min-width:780px}}.app .btn.erp-print-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0!important;border:1px solid var(--line,#ece0c6)!important;border-radius:9px!important;background:#fffdf7!important;color:#8a7d6b!important;box-shadow:none;cursor:pointer}.app .btn.erp-print-icon-button:hover:not(:disabled){border-color:#cdb890!important;background:#f8f0df!important;color:#24466f!important}.app .btn.erp-print-icon-button:focus-visible{outline:2px solid #24466f;outline-offset:2px}.app .btn.erp-print-icon-button svg{display:block;width:19px;height:19px;flex:none}.app .production-doc-workspace :is(.v16-filter-tabs,.v16-view-toggle,.v16-segmented,.segmented,.cost-compare-filters,.cost-tab-tabs,.production-transaction-tabs,.production-document-strip),.app .production-new-flow-modal .production-transaction-tabs,.app .production-transaction-modal .production-transaction-tabs{display:inline-flex!important;align-items:center;flex-wrap:nowrap;gap:4px!important;width:-moz-fit-content!important;width:fit-content!important;max-width:100%;min-width:0;margin:0 0 16px!important;padding:4px!important;overflow-x:auto;border:1px solid #ece0c6!important;border-radius:11px!important;background:#fffdf7!important;box-shadow:none!important;scrollbar-width:thin}.app .production-doc-workspace :is(.v16-filter-tabs,.v16-view-toggle,.v16-segmented,.segmented,.cost-compare-filters,.cost-tab-tabs,.production-transaction-tabs,.production-document-strip)>button,.app .production-new-flow-modal .production-transaction-tabs>button,.app .production-transaction-modal .production-transaction-tabs>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:32px;padding:7px 13px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#65748a!important;box-shadow:none!important;font-family:inherit;font-size:var(--font-size-sm,12px);font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer}.app .production-doc-workspace :is(.v16-filter-tabs,.v16-view-toggle,.v16-segmented,.segmented,.cost-compare-filters,.cost-tab-tabs,.production-transaction-tabs,.production-document-strip)>button:hover,.app .production-new-flow-modal .production-transaction-tabs>button:hover,.app .production-transaction-modal .production-transaction-tabs>button:hover{border:0!important;background:#f2f5f6!important;color:#1e2b60!important}.app .production-doc-workspace :is(.v16-filter-tabs,.v16-view-toggle,.v16-segmented,.segmented,.cost-compare-filters,.cost-tab-tabs,.production-transaction-tabs,.production-document-strip)>button.active,.app .production-new-flow-modal .production-transaction-tabs>button.active,.app .production-transaction-modal .production-transaction-tabs>button.active{border:0!important;border-bottom:0!important;background:#e8eef0!important;color:#1e2b60!important;font-weight:700;box-shadow:none!important}.app .production-doc-workspace .v16-filter-tabs button>b{min-width:22px;background:#edf1f3;color:#65748a}.app .production-doc-workspace .v16-filter-tabs button.active:hover>b,.app .production-doc-workspace .v16-filter-tabs button.active>b{background:#d3dfe7;color:#1e2b60}.app .production-doc-workspace .production-document-strip button.active>span,.app .production-doc-workspace .production-document-strip button>span{background:#e8eef0;color:#1e2b60}.app .production-doc-workspace .cost-tab-tabs+.v16-table{border-top:1px solid #d9e1e3;border-radius:10px}@media (max-width:720px){.app .production-doc-workspace :is(.v16-filter-tabs,.v16-view-toggle,.production-document-strip),.app .production-new-flow-modal .production-transaction-tabs{max-width:100%;overscroll-behavior-x:contain}}.app .production-history-topline{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;width:100%;min-width:0;margin:0 0 18px}.app .production-history-topline>.page-nav{flex:0 1 auto;min-width:0;margin:0!important}.app .production-history-summary{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px 22px;min-width:0;background:transparent;border:0;box-shadow:none}.app .production-history-metric{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0;border:0;background:transparent;white-space:nowrap;color:#6d7485;font-size:12px;font-weight:500}.app .production-history-metric:before{content:"";display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--history-dot)}.app .production-history-metric.completed{--history-dot:#40a47b}.app .production-history-metric.cancelled{--history-dot:#d77976}.app .production-history-metric.closings{--history-dot:#d1a35c}.app .production-history-metric.total{--history-dot:#6f8fcb}.app .production-history-metric strong{color:#1e2b60;font-size:15px;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:1100px){.app .production-history-topline{flex-wrap:wrap}.app .production-history-summary{justify-content:flex-start}}@media (max-width:600px){.app .production-history-topline{gap:10px}.app .production-history-summary{gap:6px 16px}.app .production-history-metric{font-size:11px}}.app .warehouse-workspace-body>.warehouse-stock-filters{box-sizing:border-box;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-width:0;max-width:100%;padding:10px 14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.app .warehouse-stock-filters>.search{box-sizing:border-box;flex:1 1 270px;width:auto;min-width:225px}.app .warehouse-stock-filters>.select{box-sizing:border-box;flex:0 1 140px;min-width:112px;width:140px;max-width:100%;padding:8px 9px;text-overflow:ellipsis}.app .warehouse-stock-filters>.select:first-of-type{flex-basis:175px}.app .warehouse-stock-filters>.select:nth-of-type(2){flex-basis:133px}.app .warehouse-stock-filters>.select:nth-of-type(3){flex-basis:140px}.app .warehouse-stock-filters>.select:nth-of-type(4){flex-basis:148px}.app .warehouse-stock-filters>.check{display:inline-flex;align-items:center;flex:0 0 auto;gap:5px;margin:0;white-space:nowrap;font-size:12px}.app .warehouse-stock-filters>.check input{flex:none;margin:0}.app .warehouse-stock-filters>.btn{flex:0 0 auto;min-height:40px;padding:6px 12px;white-space:nowrap}.app .warehouse-workspace-body>.warehouse-movement-filters{box-sizing:border-box;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-width:0;max-width:100%;padding:10px 14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin}.app .warehouse-movement-filters>.search{box-sizing:border-box;flex:1 1 235px;min-width:185px;width:auto}.app .warehouse-movement-filters>.select{box-sizing:border-box;flex:0 1 130px;width:130px;min-width:100px;max-width:100%;padding:8px 9px;text-overflow:ellipsis}.app .warehouse-movement-filters>.select:first-of-type{flex-basis:160px}.app .warehouse-movement-filters>.select:nth-of-type(2){flex-basis:125px}.app .warehouse-movement-filters>.select:nth-of-type(3){flex-basis:120px}.app .warehouse-movement-filters>.select:nth-of-type(4){flex-basis:150px}.app .warehouse-movement-filters>.thai-date{box-sizing:border-box;display:block;flex:0 0 135px;width:135px;min-width:135px;max-width:135px}.app .warehouse-movement-filters>.thai-date>input[type=date]{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding-inline:8px}.app .warehouse-movement-filters>.thai-date .thai-date__text{left:8px;font-size:12px}.app .warehouse-workspace-body{min-width:0;width:100%;max-width:100%}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *){box-sizing:border-box;min-width:0;max-width:100%;overflow-x:auto}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table){box-sizing:border-box;width:100%;max-width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table) :is(th,td){box-sizing:border-box;min-width:0;padding:9px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table)>thead th{position:-webkit-sticky;position:sticky;top:0;z-index:1;height:40px;background:#e8eef0;border-bottom:1px solid #dce5e9;color:#61738a;font-size:12px;font-weight:650;line-height:1.35}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table)>tbody td{min-height:48px;border-bottom:1px solid #edf0f4;background:#fff;font-size:12px;line-height:1.45}.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table)>tbody tr:hover td{background:#f7fafb}.app .warehouse-workspace-body .warehouse-list-table .warehouse-product-cell{min-width:0;max-width:100%}.app .warehouse-workspace-body .warehouse-list-table .warehouse-product-cell>span{min-width:0;overflow-wrap:anywhere}.app .warehouse-workspace-body .warehouse-list-table td .btn{min-height:31px;padding:5px 8px;white-space:normal;font-size:11px}.app .warehouse-workspace-body>.card>.toolbar{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.app .warehouse-workspace-body>.card>.toolbar :is(.search,.select,.btn){flex-shrink:0}.app .warehouse-workspace-body>.card>.toolbar>.search{flex:1 0 220px}.app .warehouse-workspace-body .accounting-trace-pager,.app .warehouse-workspace-body .pagination-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;width:100%;padding:10px 15px;background:#fffdf7;border-top:1px solid #eee8de}.app .warehouse-workspace-body .accounting-trace-pager .btn,.app .warehouse-workspace-body .pagination-row .btn{min-height:34px;padding:6px 12px;font-size:12px}@media (max-width:1120px){.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table):has(thead th:nth-child(8)){min-width:960px}}@media (max-width:1120px){.app .warehouse-workspace-body :is(.table-card,.receipt-table-scroll):not(.modal *):not(.pr-submodal *):not(.receipt-modal *)>table:not(.receipt-lines-table):has(thead th:nth-child(10)){min-width:1080px}}.app .warehouse-list-panel{box-sizing:border-box;min-width:0;width:100%;max-width:100%;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fffdf9}.app .warehouse-list-panel .warehouse-list-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;padding:17px 18px;border-bottom:1px solid var(--line);background:#fffdf9}.app .warehouse-list-panel .warehouse-list-card-head h3{margin:0;color:var(--ink);font-size:17px;font-weight:700}.app .warehouse-list-panel .warehouse-list-card-head small{display:block;margin-top:4px;color:var(--muted);font-size:12px}.app .warehouse-list-panel .warehouse-list-card-head .head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.app .warehouse-list-panel .warehouse-workspace-body>.toolbar{box-sizing:border-box;width:100%;max-width:100%;margin:0!important;border-bottom:1px solid var(--line);background:#faf8f3}.app .warehouse-list-panel .warehouse-workspace-body>.table-card{width:100%;max-width:100%;margin:0;border:0;border-radius:0;box-shadow:none}.app .warehouse-list-panel .warehouse-workspace-body>.table-card>.receipt-table-scroll{border:0;border-radius:0}@media (max-width:760px){.app .warehouse-list-panel .warehouse-list-card-head{align-items:flex-start;flex-wrap:wrap;padding:14px}.app .warehouse-list-panel .warehouse-list-card-head .head-actions{flex-wrap:wrap;justify-content:flex-start}}.app button:has(svg[data-erp-icon=edit]):not(.primary):not(.danger){display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:34px;min-height:34px;padding:7px!important;background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important;color:var(--muted)}.app button:has(svg[data-erp-icon=edit]):not(.primary):not(.danger):hover:not(:disabled){background:transparent!important;border:0!important;box-shadow:none!important;color:var(--primary)}.app button:has(svg[data-erp-icon=edit]):not(.primary):not(.danger):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.app .v16-job-tracker-page{row-gap:9px}.app .v16-job-tracker-page>.v16-page-head{padding-bottom:0}.app .v16-job-tracker-page>.v16-filter-tabs{margin-top:0!important;margin-bottom:7px!important}.app .weighing-rounds-list .weighing-manage-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:98px;max-width:100%;min-height:34px;padding:6px 10px!important;white-space:normal;text-align:center;line-height:1.3;border-radius:9px;color:#1e2b60;background:#fffdf7;border:1px solid #e4d9c5}.app .weighing-rounds-list tbody td:last-child{min-width:0}.weighing-flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:0 0 auto;grid-gap:8px;gap:8px;padding:12px 18px;border-bottom:1px solid #e6e8eb;background:#fffdf7}.weighing-flow-step{min-width:0;min-height:58px;display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #e6e5e0;border-radius:10px;background:#fff;color:#65738a;font:inherit;text-align:left;cursor:pointer}.weighing-flow-step:hover:not(:disabled){background:#f3f6f7;border-color:#cbd6dd}.weighing-flow-step.active{background:#e8eef0;border-color:#c5d6e0;color:#1e2b60}.weighing-flow-step:focus-visible{outline:2px solid #1e2b60;outline-offset:2px}.weighing-flow-step:disabled{opacity:.55;cursor:wait}.weighing-flow-number{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#f0f1f2;color:#627085;font-size:13px;font-weight:700}.weighing-flow-step.active .weighing-flow-number{background:#1e2b60;color:#fff}.weighing-flow-caption{display:grid;min-width:0;grid-gap:3px;gap:3px}.weighing-flow-caption strong{font-size:13px;line-height:1.25}.weighing-flow-caption small{font-size:11px;color:#7a8494;line-height:1.25}.weighing-flow-footer{display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-top:1px solid #ececec;padding-top:14px}.weighing-flow-footer small{color:#976b3c}.weighing-flow-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.weighing-flow-section-title strong{color:#1e2b60;font-size:15px}.weighing-flow-section-title small{color:#6c7585}@media (max-width:700px){.weighing-flow-steps{gap:5px;padding:8px}.weighing-flow-step{flex-direction:column;gap:5px;min-height:68px;padding:8px 4px;text-align:center}.weighing-flow-caption strong{font-size:11px}.weighing-flow-caption small{font-size:10px}.weighing-flow-number{flex-basis:26px;width:26px;height:26px}}.weighing-action-dialog{height:min(920px,calc(100dvh - 32px));min-height:0}.weighing-action-dialog>.weighing-action-body{box-sizing:border-box;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-gutter:stable}.weighing-action-dialog .weighing-table-scroll{height:auto!important;max-height:none!important;min-height:0;overflow-y:visible!important}@media (min-width:750px){.weighing-action-dialog .weighing-table-scroll{overflow:visible!important}}.weighing-action-dialog .weighing-flow-footer{position:-webkit-sticky;position:sticky;bottom:-18px;z-index:3;margin:0 -18px -18px;padding:12px 18px;background:#faf7f0;border-top:1px solid #e5dfd4;box-shadow:0 -4px 12px rgba(34,43,66,.06)}.weighing-review-row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.weighing-review-row-actions>.btn{min-height:32px;padding:5px 8px!important;font-size:12px;white-space:nowrap}.weighing-review-row-actions>.weighing-review-delete{border-color:transparent!important;background:transparent!important;color:#b24842}.weighing-review-row-actions>.weighing-review-delete:hover:not(:disabled){border-color:transparent!important;background:#fbeceb!important;color:#9c302c}@media (max-width:700px){.weighing-action-dialog{height:100dvh;max-height:100dvh}.weighing-action-dialog .weighing-flow-footer{bottom:-12px;margin:0 -12px -12px;padding:10px 12px}.weighing-action-dialog .weighing-table-scroll{overflow-x:auto!important}}.weighing-action-dialog>.weighing-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.weighing-upload-list{border:1px solid #ece0c6;background:#fffdf7}.weighing-upload-list>table{width:100%;border-collapse:collapse}.weighing-upload-list>table>thead th{background:#e8eef0;color:#63758b;font-weight:650}.weighing-upload-list .weighing-inline-edit-row>td{padding:0!important;background:#f4f7f8!important;border-top:1px solid #dbe3e8;border-bottom:1px solid #dbe3e8}.weighing-inline-slip-editor{padding:14px;min-width:0;max-width:100%}.weighing-inline-edit-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.weighing-inline-edit-header strong{color:#1e2b60;font-size:13px}.weighing-inline-slip-editor>section{margin-bottom:0!important;background:#fffdf7}.weighing-flow-footer-summary{font-size:12px;color:#53657e;font-weight:600}.weighing-upload-action{max-width:100%;white-space:normal}@media (max-width:700px){.weighing-inline-slip-editor{padding:9px}.weighing-action-dialog .weighing-upload-list{overflow-x:auto!important}}.weighing-action-dialog .weighing-upload-toolbar{display:flex;align-items:flex-end;flex-wrap:nowrap;gap:10px;width:100%;min-width:0}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-product{display:grid;flex:1 1 auto;grid-gap:5px;gap:5px;min-width:0;margin:0}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-product select{box-sizing:border-box;width:100%;min-width:0;height:42px}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:flex-end;width:auto;min-width:158px;min-height:42px;height:42px;margin:0;padding:8px 14px!important;line-height:1.25;white-space:nowrap}@media (max-width:640px){.weighing-action-dialog .weighing-upload-toolbar{flex-wrap:wrap;align-items:stretch;gap:8px}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-product{flex:1 1 100%}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-action{flex:1 1 100%;width:100%;align-self:auto}}.weighing-action-dialog>.weighing-modal-bottom-bar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:12px 18px;width:100%;min-width:0;margin:0;padding:13px 18px;border-top:1px solid #e4dfd5;background:#fffdf7;box-shadow:0 -3px 12px rgba(28,41,75,.045);z-index:3}.weighing-modal-bottom-status{display:grid;grid-gap:3px;gap:3px;min-width:0;color:#52627a;font-size:12px}.weighing-modal-bottom-status strong{color:#23375b;font-weight:650}.weighing-modal-bottom-status small{color:#887453}.weighing-modal-bottom-bar>.btn{flex:0 0 auto;min-height:40px;padding:9px 15px;white-space:nowrap}@media (max-width:700px){.weighing-action-dialog>.weighing-modal-bottom-bar{padding:10px 12px;flex-wrap:wrap;gap:8px}.weighing-modal-bottom-bar>.btn{width:100%}}.weighing-action-dialog .weighing-editor-after-table{position:relative;display:block;clear:both;box-sizing:border-box;width:100%;min-width:0;margin:12px 0 0;padding:12px;background:#f7f9fa;border:1px solid #dfe7ec;border-radius:10px}.weighing-action-dialog .weighing-editor-after-table>section{margin-bottom:0!important;background:#fffdf9}.weighing-action-dialog .weighing-action-body>.weighing-pagination{position:static!important;inset:auto!important;z-index:auto;clear:both;align-self:stretch;width:100%;min-width:0;margin:12px 0 0!important;padding:12px 0 4px;border-top:1px solid #e5e4e0;background:transparent;box-shadow:none!important}@media (max-width:700px){.weighing-action-dialog .weighing-editor-after-table{padding:8px}}.weighing-slip-overlay{position:fixed;inset:0;z-index:8500;display:grid;place-items:center;box-sizing:border-box;padding:20px;background:rgba(18,25,42,.64)}.weighing-slip-dialog{box-sizing:border-box;display:flex;flex-direction:column;width:min(1040px,100%);max-height:calc(100dvh - 40px);min-height:0;min-width:0;overflow:hidden;border:1px solid #e5ddcf;border-radius:16px;background:#faf7f0;box-shadow:0 28px 86px rgba(8,18,42,.28)}.weighing-slip-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:14px 18px;border-bottom:1px solid #e5ddcf;background:#fffdf8}.weighing-slip-dialog-head h3{margin:0 0 3px;color:#1e2b60;font-size:18px;line-height:1.3}.weighing-slip-dialog-head small{display:block;color:#66748b;font-size:12px;overflow-wrap:anywhere}.weighing-slip-dialog-head>.btn{flex:0 0 auto}.weighing-slip-dialog-content{box-sizing:border-box;flex:1 1 auto;min-height:0;min-width:0;overflow-x:auto;overflow-y:auto;padding:16px 18px;overscroll-behavior:contain;scrollbar-gutter:stable}.weighing-slip-dialog-help{margin-bottom:12px;color:#66748b;font-size:12px}.weighing-slip-dialog-content>section{margin-bottom:0!important;background:#fffdf8}@media (max-width:700px){.weighing-slip-overlay{align-items:end;padding:8px}.weighing-slip-dialog{width:100%;max-height:calc(100dvh - 16px);border-radius:13px}.weighing-slip-dialog-head{padding:12px}.weighing-slip-dialog-content{padding:10px}}.weighing-rounds-table .weighing-round-sort-button{display:inline-flex;align-items:center;gap:5px;padding:0;border:none;border-radius:4px;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;white-space:nowrap;cursor:pointer}.weighing-rounds-table .weighing-round-sort-button span{color:#1e2b60;font-size:10px}.weighing-rounds-table .weighing-round-sort-button:hover{color:#1e2b60}.weighing-rounds-table .weighing-round-sort-button:focus-visible{outline:2px solid #1e2b60;outline-offset:3px}.weighing-rounds-panel .weighing-head-mobile-hint,.weighing-rounds-panel .weighing-mobile-rounds{display:none}.weighing-rounds-panel .weighing-rounds-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.weighing-rounds-panel .weighing-rounds-head-actions{display:flex;align-items:center;gap:8px}.weighing-rounds-panel .weighing-refresh-symbol{display:none}@media (max-width:799px){.weighing-rounds-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:hidden;border-radius:15px}.weighing-rounds-panel>.weighing-rounds-head{position:relative;display:grid;grid-gap:12px;gap:12px;align-items:start;padding:16px 13px 13px!important;background:#fffdf8;border-bottom:1px solid #eee5d7}.weighing-rounds-head .weighing-rounds-heading{min-width:0;width:100%;padding-right:0}.weighing-rounds-head h2{margin:0;color:#1e2b60;font-size:18px;line-height:1.35;font-weight:750}.weighing-rounds-head .weighing-head-desktop-hint{display:none}.weighing-rounds-head .weighing-head-mobile-hint{display:block;margin-top:4px;color:#758095;font-size:11px;line-height:1.4}.weighing-rounds-head .weighing-rounds-head-actions{display:flex;box-sizing:border-box;width:100%;min-width:0;gap:0}.weighing-rounds-head .weighing-rounds-refresh{display:none!important}.weighing-rounds-head .weighing-refresh-symbol{display:inline;line-height:1}.weighing-rounds-head .weighing-refresh-text{display:none}.weighing-rounds-head .weighing-rounds-create{display:flex;box-sizing:border-box;align-items:center;justify-content:center;flex:1 1 100%;width:100%!important;max-width:none!important;min-height:44px;padding:10px 14px!important;border-radius:10px;font-size:13px}.weighing-rounds-panel>.card-body{box-sizing:border-box;display:grid;grid-gap:12px;gap:12px;padding:12px!important;width:100%;min-width:0;max-width:100%;overflow:hidden;background:#f8f3e8}.weighing-rounds-panel .weighing-rounds-list{display:none!important}.weighing-rounds-panel .weighing-mobile-rounds{display:grid;grid-gap:10px;gap:10px;width:100%;min-width:0;max-width:100%}.weighing-mobile-rounds-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;color:#26395e;font-size:12px}.weighing-mobile-rounds-toolbar>strong{font-weight:700}.weighing-mobile-sort{box-sizing:border-box;min-height:36px;padding:7px 9px;color:#34516f;background:#fffdf8;border:1px solid #e9dfd0;border-radius:9px;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}.weighing-mobile-card-action:focus-visible,.weighing-mobile-sort:focus-visible{outline:2px solid #1e2b60;outline-offset:2px}.weighing-mobile-card-list{display:grid;grid-gap:11px;gap:11px;min-width:0}.weighing-mobile-card{box-sizing:border-box;display:grid;grid-gap:12px;gap:12px;min-width:0;width:100%;padding:13px 12px;background:#fffdf9;border:1px solid #eadfcf;border-radius:14px;box-shadow:0 3px 10px rgba(35,46,66,.035)}.weighing-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0}.weighing-mobile-card-title{display:grid;grid-gap:3px;gap:3px;min-width:0;flex:1 1 155px}.weighing-mobile-card-title small{color:#768398;font-size:11px;line-height:1.3}.weighing-mobile-card-title strong{color:#1e2b60;font-size:13px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.weighing-mobile-card-head .pill{flex:0 0 auto;max-width:100%;font-size:10px;white-space:nowrap}.weighing-mobile-card-info{display:grid;grid-gap:7px;gap:7px;padding-top:9px;border-top:1px solid #f0ebe4}.weighing-mobile-card-info>div{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;grid-gap:9px;gap:9px;min-width:0}.weighing-mobile-card-info span{color:#8290a0;font-size:11px;line-height:1.5}.weighing-mobile-card-info strong{min-width:0;color:#2a3a50;font-size:12px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}.weighing-mobile-card-info strong small{display:block;color:#87909c;font-size:10px;font-weight:400}.weighing-mobile-card-stats{display:grid;grid-template-columns:1fr 1.1fr 1.35fr;grid-gap:3px;gap:3px;padding:10px 5px;background:#f3f6f7;border-radius:9px;min-width:0}.weighing-mobile-card-stats>div{display:grid;grid-gap:3px;gap:3px;align-content:center;min-width:0;text-align:center}.weighing-mobile-card-stats>div+div{border-left:1px solid #dce5e7}.weighing-mobile-card-stats small{color:#758396;font-size:10px}.weighing-mobile-card-stats strong{color:#1e2b60;font-size:15px;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.weighing-mobile-card .weighing-mobile-card-action{display:flex;justify-content:space-between;align-items:center;min-height:43px;width:100%;margin:0;padding:9px 13px!important;color:#fff;background:#1e2b60;border:1px solid #1e2b60;border-radius:9px;font-size:12px;font-weight:700;text-align:left}.weighing-mobile-card-action:hover:not(:disabled){background:#293e79;border-color:#293e79;color:#fff}.weighing-mobile-card-action span{font-size:18px;line-height:1}.weighing-mobile-empty{min-height:105px;padding:30px 15px;border:1px dashed #dcd3c7;border-radius:12px;color:#6d7989;background:#fffdf8;font-size:12px;text-align:center}.weighing-rounds-panel>.card-body>.weighing-pagination{display:flex;gap:9px;justify-content:space-between;padding:10px 0 0;border-top:1px solid #e7ded1}.weighing-rounds-panel>.card-body>.weighing-pagination>small{width:100%;text-align:center}.weighing-rounds-panel>.card-body>.weighing-pagination>div{width:100%;display:flex;justify-content:space-between}.weighing-rounds-panel>.card-body>small:last-child{color:#788293;font-size:10px;line-height:1.45}}@media (max-width:360px){.weighing-mobile-card-title strong{font-size:12px}.weighing-mobile-card-stats strong{font-size:13px}.weighing-mobile-card-head .pill{font-size:9px}}@media (max-width:799px){.weighing-rounds-panel>.card-body>.table-card.weighing-rounds-list,.weighing-rounds-panel>.card-body>.weighing-rounds-list{display:none!important}.weighing-rounds-panel>.card-body>.weighing-mobile-rounds{display:grid!important}}@media (min-width:800px){.weighing-rounds-panel>.card-body>.weighing-mobile-rounds{display:none!important}.weighing-rounds-panel>.card-body>.weighing-rounds-list{display:block}}.weighing-slip-cards{display:none}@media (max-width:799px){.weighing-action-backdrop{padding:0;place-items:stretch}.weighing-action-dialog{box-sizing:border-box;width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#f8f3e8}.weighing-action-dialog>.weighing-action-head{align-items:flex-start;gap:10px;padding:max(14px,env(safe-area-inset-top)) 14px 12px;background:#fffdf8;border-bottom:1px solid #eee5d7}.weighing-action-head>div:first-child{min-width:0}.weighing-action-head h3{color:#1e2b60;font-size:17px;line-height:1.3}.weighing-action-head small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#758095;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.weighing-action-head .btn{min-height:38px;padding:7px 14px!important;border-radius:10px}.weighing-action-dialog>.weighing-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 12px;background:#fffdf8}.weighing-flow-step{flex-direction:row;gap:8px;min-height:52px;padding:7px 9px;text-align:left}.weighing-flow-number{flex:0 0 24px;width:24px;height:24px;font-size:12px}.weighing-flow-caption strong{font-size:11.5px;line-height:1.3}.weighing-flow-caption small{font-size:10px}.weighing-action-dialog>.weighing-action-body{gap:12px;padding:12px;background:#f8f3e8;scrollbar-gutter:auto}.weighing-dialog-facts{display:grid;grid-gap:0;gap:0;padding:4px 12px;background:#fffdf9;border:1px solid #eadfcf;border-radius:12px}.weighing-dialog-facts span{padding:8px 0;background:transparent;border-radius:0;color:#2a3a50;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.weighing-dialog-facts span+span{border-top:1px solid #f0ebe4}.weighing-action-dialog .weighing-upload-toolbar{flex-wrap:wrap;align-items:stretch;gap:10px;padding:12px;background:#fffdf9;border:1px solid #eadfcf;border-radius:12px}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-product{flex:1 1 100%;color:#5b6880;font-size:12px}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-product select{height:44px;font-size:13px}.weighing-action-dialog .weighing-upload-toolbar>.weighing-upload-action{flex:1 1 100%;width:100%;min-height:46px;height:46px;border-radius:10px;font-size:14px}.weighing-action-body>small{color:#788293;font-size:11px;line-height:1.45}.weighing-flow-section-title{display:grid;grid-gap:2px;gap:2px}.weighing-flow-section-title strong{font-size:14px}.weighing-flow-section-title small{font-size:11px}.weighing-action-dialog .weighing-summary-table,.weighing-action-dialog .weighing-upload-list{display:none!important}.weighing-slip-card,.weighing-slip-cards{display:grid;grid-gap:10px;gap:10px;min-width:0}.weighing-slip-card{box-sizing:border-box;padding:12px;background:#fffdf9;border:1px solid #eadfcf;border-left:4px solid #d8a548;border-radius:12px;box-shadow:0 3px 10px rgba(35,46,66,.035)}.weighing-slip-card.is-verified{border-left-color:#4f8a5b}.weighing-slip-card-head{display:flex;align-items:center;gap:10px;min-width:0}.weighing-slip-card-no{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e8eef0;color:#1e2b60;font-size:13px;font-weight:750}.weighing-slip-card-title{display:grid;grid-gap:2px;gap:2px;flex:1 1 auto;min-width:0}.weighing-slip-card-title small{color:#768398;font-size:10px}.weighing-slip-card-title strong{color:#1e2b60;font-size:13px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weighing-slip-card-head .pill{flex:0 0 auto;font-size:10px;white-space:nowrap}.weighing-slip-card-stats{display:grid;grid-template-columns:1fr 1.4fr;padding:9px 4px;background:#f3f6f7;border-radius:9px}.weighing-slip-card-stats>div{display:grid;grid-gap:2px;gap:2px;text-align:center}.weighing-slip-card-stats>div+div{border-left:1px solid #dce5e7}.weighing-slip-card-stats small{color:#758396;font-size:10px}.weighing-slip-card-stats strong{color:#1e2b60;font-size:15px;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.weighing-slip-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-gap:6px;gap:6px}.weighing-slip-card-actions>.btn{min-height:40px;padding:8px 12px!important;border-radius:9px;font-size:12px;white-space:nowrap}.weighing-slip-card-actions>.weighing-review-delete{border-color:#f1d4d1!important;background:#fff7f6!important;color:#b24842}.weighing-slip-cards-empty{display:grid;grid-gap:4px;gap:4px;padding:26px 14px;border:1px dashed #dcd3c7;border-radius:12px;background:#fffdf8;text-align:center}.weighing-slip-cards-empty strong{color:#26395e;font-size:13px}.weighing-slip-cards-empty small{color:#6d7989;font-size:11px}.weighing-total{gap:4px;padding:14px;background:#1e2b60;border:0;border-radius:12px;text-align:center}.weighing-total>strong{color:#fff;font-size:30px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.weighing-total small,.weighing-total>span{color:#c9d2ea;font-size:11px}.weighing-summary-cards{gap:0;padding:2px 12px;background:#fffdf9;border:1px solid #eadfcf;border-radius:12px}.weighing-summary-row{display:flex;align-items:center;gap:10px;padding:10px 0;min-width:0}.weighing-summary-row+.weighing-summary-row{border-top:1px solid #f0ebe4}.weighing-summary-row .weighing-slip-card-no{flex-basis:28px;width:28px;height:28px;font-size:12px}.weighing-summary-kg{flex:0 0 auto;color:#1e2b60;font-size:14px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.weighing-summary-kg small{margin-left:3px;color:#758396;font-size:10px;font-weight:500}.weighing-action-body>div:has(>.btn.primary){display:grid!important;grid-gap:8px!important;gap:8px!important}.weighing-action-body>.btn,.weighing-action-body>div:has(>.btn.primary)>.btn{width:100%;min-height:46px;border-radius:10px}.weighing-create-grid{grid-template-columns:1fr;gap:12px;padding:12px;background:#fffdf9;border:1px solid #eadfcf;border-radius:12px}.weighing-create-actions{grid-column:1;display:grid;grid-gap:8px;gap:8px}.weighing-create-actions>.btn{width:100%;min-height:46px}.weighing-action-dialog .weighing-action-body>.weighing-pagination{display:grid;grid-gap:8px;gap:8px;margin:0!important;padding:4px 0 0;border-top:0}.weighing-action-body>.weighing-pagination>small{text-align:center;font-size:11px}.weighing-action-body>.weighing-pagination>div{justify-content:space-between}.weighing-action-body>.weighing-pagination .btn{min-height:38px}.weighing-action-dialog>.weighing-modal-bottom-bar{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;grid-gap:8px;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#fffdf8}.weighing-modal-bottom-status{gap:2px;font-size:11px}.weighing-modal-bottom-status strong{font-size:12px}.weighing-modal-bottom-bar>.btn{width:100%;min-height:46px;border-radius:10px;font-size:13px;white-space:normal}}.weighing-slip-editor .weighing-slip-mobile-lines{display:none}@media (max-width:799px){.weighing-slip-dialog,.weighing-slip-dialog-content{min-width:0;max-width:100%}.weighing-slip-dialog-content{overflow-x:hidden!important}.weighing-slip-editor{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.weighing-slip-editor>.weighing-slip-editor-head{display:grid!important;grid-template-columns:minmax(0,1fr);align-items:start;grid-gap:9px!important;gap:9px!important;padding:10px!important}.weighing-slip-editor-head>div:first-child{min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.weighing-slip-editor-head>div:first-child small{color:#6d7c8b;font-size:11px}.weighing-slip-editor-head>.weighing-slip-editor-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px!important;gap:6px!important;align-items:center;min-width:0;width:100%}.weighing-slip-editor-actions>strong{grid-column:1/-1;font-size:15px;color:#1e2b60}.weighing-slip-editor-actions>.btn{min-width:0;min-height:39px;padding:7px 9px!important;font-size:12px;white-space:normal}.weighing-slip-editor-actions>.btn:last-child:not(.primary){justify-self:start;border-color:transparent;background:transparent;color:#a1443f}.weighing-slip-editor>.weighing-slip-editor-body{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:10px!important}.weighing-slip-editor-body input{box-sizing:border-box;min-width:0!important;max-width:100%;font-size:16px}.weighing-slip-editor-body>.weighing-slip-desktop-lines{display:none!important}.weighing-slip-editor-body>.weighing-slip-mobile-lines{display:grid!important;grid-gap:10px;gap:10px;min-width:0;max-width:100%}.weighing-slip-mobile-line{display:grid;grid-gap:10px;gap:10px;min-width:0;padding:11px;background:#fffdf9;border:1px solid #e5dfd5;border-radius:11px}.weighing-slip-mobile-line-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.weighing-slip-mobile-line-head strong{color:#203261;font-size:13px}.weighing-slip-mobile-line-head .weighing-slip-mobile-remove{min-height:31px;padding:4px 8px!important;border-color:transparent;background:#fff4f1;color:#a14542;font-size:11px}.weighing-slip-mobile-line-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column-gap:10px;column-gap:10px;grid-row-gap:10px;row-gap:10px;min-width:0}.weighing-slip-mobile-line-fields label{display:grid;grid-gap:5px;gap:5px;align-content:start;min-width:0;color:#6f7d8e;font-size:11px;line-height:1.4}.weighing-slip-mobile-line-fields input{display:block;height:41px;width:100%!important;min-width:0!important;padding:8px 10px!important;border-radius:8px;background:#fff;color:#26344e}.weighing-slip-mobile-line-fields .weighing-slip-mobile-label,.weighing-slip-mobile-line-fields .weighing-slip-mobile-netKg{grid-column:1/-1}.weighing-slip-mobile-line-fields .weighing-slip-mobile-netKg input{border-color:#c4d6e4;background:#f5f9fc;font-weight:700;color:#1e2b60}.weighing-slip-mobile-total{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;padding:12px;color:#30435a;background:#e9f0f2;border-radius:10px;font-size:12px}.weighing-slip-mobile-total strong{font-size:16px;color:#1e2b60;white-space:nowrap}}.v16-modal-form .production-lot-material,.v16-modal-form .production-lot-material-head,.v16-modal-form .production-lot-material-head>span,.v16-modal-form .production-lot-pick-button,.v16-modal-form .production-lot-row,.v16-modal-form .production-lot-selection{min-width:0;box-sizing:border-box}.v16-modal-form .production-lot-material-head>span,.v16-modal-form .production-lot-pick-button{overflow-wrap:anywhere}.v16-modal-form .production-lot-row{grid-template-columns:minmax(0,1fr) minmax(110px,180px) auto}.v16-modal-form .production-lot-quantity{display:grid;min-width:0;grid-gap:4px;gap:4px}.v16-modal-form .production-lot-quantity>span{display:none}.v16-modal-form .production-lot-quantity>input{width:100%;min-width:0;box-sizing:border-box}@media (max-width:700px){.v16-modal-form,.v16-modal-form .v16-form-grid,.v16-modal-form .v16-form-grid>label,.v16-modal-form form{min-width:0;max-width:100%;box-sizing:border-box}.v16-modal-form .v16-form-grid input,.v16-modal-form .v16-form-grid select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.v16-modal-form form>.production-lot-selection{margin:0 0 16px;padding:12px;gap:12px;width:100%;border-radius:12px}.v16-modal-form .production-lot-selection .card-head{padding:0 0 4px;min-width:0}.v16-modal-form .production-lot-selection .card-head>div{min-width:0;max-width:100%}.v16-modal-form .production-lot-selection .card-head small{display:block;overflow-wrap:anywhere;line-height:1.5}.v16-modal-form .production-lot-material-head{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;align-items:start;grid-gap:8px;gap:8px}.v16-modal-form .production-lot-material-head>span{display:block;width:100%;line-height:1.5}.v16-modal-form .production-lot-material-head>.btn{justify-self:start;width:auto;min-height:40px;white-space:nowrap;padding-inline:14px}.v16-modal-form .production-lot-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px 8px;gap:10px 8px;padding:10px;border:1px solid #e1e5e9;border-radius:10px;background:#fff}.v16-modal-form .production-lot-pick-button{grid-column:1/-1;display:flex;width:100%;min-height:44px;padding:10px 12px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;white-space:normal;text-align:left}.v16-modal-form .production-lot-pick-button small{white-space:normal;line-height:1.45;overflow-wrap:anywhere}.v16-modal-form .production-lot-quantity{grid-column:1;grid-row:2;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.v16-modal-form .production-lot-quantity>span{display:block;color:#64748b;font-size:12px;white-space:nowrap}.v16-modal-form .production-lot-quantity>input{min-height:44px;font-size:16px}.v16-modal-form .production-lot-row>.btn.danger{grid-column:2;grid-row:2;min-width:44px;min-height:44px}.v16-modal-form .production-lot-selection .v16-warning{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.v16-modal-form .production-lot-selection .yield-base-badge{margin-top:3px}.production-lot-picker-modal .production-lot-filters,.production-lot-picker-modal .production-lot-filters>*{min-width:0;max-width:100%;box-sizing:border-box}}@media (max-width:720px){.app .v16-job-tracker-page{min-width:0}.app .v16-job-tracker-page>.v16-filter-tabs{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-start;gap:8px;width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}.app .v16-job-tracker-page>.v16-filter-tabs::-webkit-scrollbar{display:none}.app .v16-job-tracker-page>.v16-filter-tabs>button{flex:0 0 auto;min-width:max-content;white-space:nowrap}}.app .v16-job-tracker-page>.v16-filter-tabs{display:flex!important;flex-flow:row nowrap!important;align-items:center;justify-content:flex-start;gap:8px;width:100%!important;justify-self:stretch;box-sizing:border-box;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x}.app .v16-job-tracker-page>.v16-filter-tabs::-webkit-scrollbar{display:none}.app .v16-job-tracker-page>.v16-filter-tabs>button{width:max-content;white-space:nowrap}.app .v16-job-tracker-page>.v16-filter-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;min-width:0!important;max-width:100%!important}.app .v16-job-tracker-page>.v16-filter-tabs>button{display:inline-flex!important;align-items:center!important;justify-content:center;flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;line-height:1.3}.app .v16-job-tracker-page>.v16-filter-tabs>button>.v16-job-status-label,.app .v16-job-tracker-page>.v16-filter-tabs>button>b{display:inline-block!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;-webkit-hyphens:none!important;hyphens:none!important}@media (max-width:720px){.app .v16-job-tracker-page>.v16-filter-tabs>button{padding:8px 12px!important;font-size:12px}}.pmob .v16-job-tracker-page>.v16-filter-tabs{display:flex!important;flex-flow:row nowrap!important;align-items:center;justify-content:flex-start;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;gap:8px;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x}.pmob .v16-job-tracker-page>.v16-filter-tabs::-webkit-scrollbar{display:none}.pmob .v16-job-tracker-page>.v16-filter-tabs>button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:8px 12px!important;line-height:1.3}.pmob .v16-job-tracker-page>.v16-filter-tabs>button,.pmob .v16-job-tracker-page>.v16-filter-tabs>button>.v16-job-status-label,.pmob .v16-job-tracker-page>.v16-filter-tabs>button>b{flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.pmob .v16-job-tracker-page>.v16-filter-tabs>button>.v16-job-status-label,.pmob .v16-job-tracker-page>.v16-filter-tabs>button>b{display:inline-block!important;-webkit-hyphens:none!important;hyphens:none!important}@media (max-width:720px){.pmob .modal-overlay,.pmob .pmob-qc-modal,.pmob .pr-submodal-overlay,.pmob .receipt-modal-overlay{position:fixed!important;top:var(--pmob-visible-top,0)!important;bottom:auto!important;left:0!important;right:0!important;height:var(--pmob-visible-height,100dvh)!important;max-height:var(--pmob-visible-height,100dvh)!important;box-sizing:border-box;padding:0!important;overflow:hidden;align-items:end;overscroll-behavior:contain}.pmob .modal-overlay>.production-lot-picker-modal,.pmob .modal-overlay>.v16-modal{display:flex;flex-direction:column;width:100%;max-width:100%}.pmob .modal-overlay>.production-lot-picker-modal,.pmob .modal-overlay>.production-new-flow-modal,.pmob .modal-overlay>.v16-modal{height:calc(var(--pmob-visible-height, 100dvh) - 8px)!important;min-height:0!important;max-height:calc(var(--pmob-visible-height, 100dvh) - 8px)!important;margin:0!important;overflow:hidden}.pmob .modal-overlay>.production-new-flow-modal{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important}.pmob .pmob-qc-modal-sheet,.pmob .pr-submodal-overlay .pr-submodal,.pmob .receipt-modal-overlay .goods-receive-modal{height:auto!important;min-height:0!important;max-height:calc(var(--pmob-visible-height, 100dvh) - 8px)!important}.pmob .modal-overlay>.production-new-flow-modal>.modal-body,.pmob .modal-overlay>.v16-modal>.modal-body,.pmob .pmob-qc-modal-content,.pmob .pr-submodal-overlay .pr-submodal-body,.pmob .receipt-modal-overlay .receipt-form-body{flex:1 1 auto;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;overflow-anchor:none;scroll-behavior:auto!important;scroll-padding-block:12px 28px}.pmob :is(input,textarea,select):focus{scroll-margin-block:12px 32px}html[data-pmob-keyboard=open] .pmob .pmob-nav{display:none}html[data-pmob-keyboard=open] .pmob{padding-bottom:12px}.pmob .modal-overlay>.production-new-flow-modal,.pmob .modal-overlay>.v16-modal,.pmob .pr-submodal-overlay .pr-submodal,.pmob .receipt-modal-overlay .goods-receive-modal{animation:none!important;transition-property:none!important;transform:none!important}.pmob .receipt-modal-overlay .goods-receive-modal{height:calc(var(--pmob-visible-height, 100dvh) - 8px)!important;max-height:calc(var(--pmob-visible-height, 100dvh) - 8px)!important}}.goods-receive-modal .receipt-form-body{display:flex;flex-direction:column;gap:18px;padding:20px}.goods-receive-modal .receipt-section{margin:0;padding:16px;border:1px solid #e6e0d5;border-radius:12px;background:#fff}.goods-receive-modal .receipt-section-title{margin:0 0 14px;padding:0;font-size:14px;font-weight:700;color:#16224d}.goods-receive-modal .goods-receive-header{min-width:0;gap:14px 16px;align-items:start}.goods-receive-modal .receipt-field{min-width:0;gap:6px}.goods-receive-modal .receipt-field>small{color:#747870;font-size:11px;line-height:1.5}.goods-receive-modal .receipt-field :is(input,select){min-height:38px}.goods-receive-modal .receipt-field input[readonly]{background:#f5f6f7;color:#667085}.goods-receive-modal .receipt-grid-wrap{gap:20px}.goods-receive-modal .receipt-panel-label{font-size:14px;color:#16224d;padding:0 0 12px}.goods-receive-modal .receipt-picker-trigger{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:36px;padding:7px 10px;border:1px solid #b9c9d4;border-radius:7px;background:#edf3f6;color:#16224d;font:inherit;font-weight:650;cursor:pointer;white-space:nowrap}.goods-receive-modal .receipt-picker-trigger:hover{background:#dfeaf0;border-color:#647c97}.goods-receive-modal .receipt-grid-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.goods-receive-modal .receipt-grid-tools .receipt-icon-btn{width:auto;height:auto;min-height:38px;padding:8px 14px;font:inherit;font-weight:600;white-space:nowrap;line-height:1.4}.goods-receive-modal .receipt-grid-tools .receipt-icon-btn:first-child{background:#16224d;border-color:#16224d;color:#fff}.goods-receive-modal .receipt-grid-tools .receipt-icon-btn:first-child:hover{background:#273b6a}.goods-receive-modal .receipt-remove-row{color:#b42318;width:32px;height:32px}.goods-receive-modal button:focus-visible{outline:3px solid #93b2cf;outline-offset:2px}.goods-receive-modal .receipt-bottom-btn{height:40px;padding:0 20px}.goods-receive-modal .receipt-bottom-btn:disabled{opacity:.5;cursor:not-allowed}.goods-receive-modal .goods-receive-summary{padding:16px}@media (min-width:761px){.goods-receive-modal .receipt-grid td{height:44px}.goods-receive-modal .receipt-grid td:has(.receipt-picker-trigger){padding:4px 6px}}@media (min-width:761px) and (max-width:1100px){.goods-receive-modal .goods-receive-header>.receipt-field{grid-column:span 6}}@media (max-width:760px){.goods-receive-modal .receipt-form-body{padding:12px;gap:14px}.goods-receive-modal .receipt-section{padding:12px}.goods-receive-modal .receipt-grid-tools .receipt-icon-btn{flex:1 1 auto;min-height:44px}}.goods-receive-modal .receipt-header-picker{justify-content:space-between;text-align:left;white-space:normal;min-height:38px;gap:12px;background:#fff;font-weight:500}.goods-receive-modal .receipt-header-picker:disabled{opacity:.6;cursor:not-allowed}.goods-receive-modal .receipt-lookup-dialog{width:min(780px,calc(100vw - 32px));max-height:85dvh;display:flex;flex-direction:column;overflow:hidden}.receipt-lookup-search{display:flex;align-items:end;gap:16px;padding:16px 20px}.receipt-lookup-search label{display:grid;grid-gap:6px;gap:6px;flex:1 1;color:#667085}.receipt-lookup-search input{width:100%;min-height:40px;border:1px solid #d8dedf;border-radius:8px;padding:8px 12px;font:inherit}.receipt-lookup-search>span{white-space:nowrap;padding-bottom:10px;color:#667085}.receipt-lookup-scroll{overflow:auto;min-height:0}.receipt-lookup-table{width:100%;border-collapse:collapse}.receipt-lookup-table :is(th,td){padding:10px 20px;border-bottom:1px solid #e8e9ec;text-align:left}.receipt-lookup-table th{position:-webkit-sticky;position:sticky;top:0;background:#f5f7f9;color:#475467}.receipt-lookup-table td:first-child{font-weight:600;white-space:nowrap}.receipt-lookup-table tr.selected{background:#edf3f6}.receipt-lookup-table tbody tr:hover{background:#f5f8fa}.receipt-lookup-table td:last-child{width:110px}.receipt-lookup-footer{display:flex;align-items:center;justify-content:end;gap:10px;padding:14px 20px;border-top:1px solid #e8e9ec}.receipt-lookup-footer>span{margin-right:auto}@media (min-width:761px){.app .goods-receive-modal .goods-receive-grid td{padding:6px;height:54px;vertical-align:middle}.app .goods-receive-modal .goods-receive-grid th{padding:10px 6px}.app .goods-receive-modal .goods-receive-grid td :is(input:not([readonly]),select){min-height:36px;height:36px;border:1px solid #d8dedf;border-radius:6px;background:#fff;padding:6px 8px}.app .goods-receive-modal .goods-receive-grid td input[type=number]{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.app .goods-receive-modal .goods-receive-grid td input::placeholder{color:#98a2b3}.app .goods-receive-modal .goods-receive-grid td:last-child{text-align:center}.app .goods-receive-modal .goods-receive-grid td.num>b{display:block;padding:0 6px}}@media (max-width:760px){.receipt-lookup-search{flex-direction:column;align-items:stretch;gap:8px;padding:12px}.receipt-lookup-table :is(th,td){padding:10px}.receipt-lookup-footer{flex-wrap:wrap;padding:12px}}.goods-receive-modal .receipt-lookup-dialog .receipt-lookup-table{width:100%;min-width:0;table-layout:fixed}.goods-receive-modal .receipt-lookup-table :is(th,td){white-space:normal;overflow-wrap:anywhere}.goods-receive-modal .receipt-lookup-table :is(th,td):first-child{width:26%}.goods-receive-modal .receipt-lookup-table :is(th,td):last-child{width:110px;padding:10px;text-align:center}.app :is(.table-card,.receipt-table-scroll,.v16-table,.dashx-tablewrap,.weighing-table-scroll):not(:is(.modal *,.receipt-modal *,.pr-submodal *,.v16-modal *,.weighing-editor-dialog *,.weighing-action-dialog *,.production-new-flow-modal *)){max-height:none;overflow-y:visible}.app .pr-document-table-scroll:not(:is(.modal *,.receipt-modal *,.pr-submodal *)){max-height:none;overflow-y:visible}.loyv-report{padding:24px;max-width:1500px;margin:auto;color:#1e293b}.loyv-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.loyv-heading h2{margin:0}.loyv-heading p{color:#64748b}.loyv-heading button{margin-left:8px}.loyv-status{background:#edf5ff;font-size:13px}.loyv-error,.loyv-status{padding:12px;border-radius:8px}.loyv-error{background:#fff1f2;color:#9f1239;margin-top:12px}.loyv-filters{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.loyv-filters label{display:grid;grid-gap:6px;gap:6px;font-size:13px;flex:1 1;min-width:160px}.loyv-filters input,.loyv-filters select{padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#1e293b}.loyv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.loyv-kpis>div{padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:white;display:grid;grid-gap:12px;gap:12px}.loyv-kpis span{font-size:13px;color:#64748b}.loyv-kpis strong{font-size:24px;color:#1e3a8a}.loyv-notice{font-size:13px;background:#fffbeb;padding:14px;border-radius:8px;line-height:1.8}.loyv-table{overflow-x:auto;border:1px solid #e2e8f0;border-radius:10px;background:white}.loyv-table table{width:100%;border-collapse:collapse;min-width:650px}.loyv-table td,.loyv-table th{padding:13px;text-align:left;border-bottom:1px solid #e2e8f0;font-size:13px}.loyv-table th{background:#f1f5f9}.loyv-table small{display:block;color:#64748b;margin-top:5px}.loyv-table .loyv-number{text-align:right;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.loyv-link{color:#1d4ed8;background:none;border:0;cursor:pointer;font-weight:600}.loyv-flag{color:#92400e}.loyv-empty{text-align:center;padding:30px;color:#64748b}.loyv-pager{justify-content:flex-end;gap:12px;margin-top:15px}.loyv-overlay,.loyv-pager{display:flex;align-items:center}.loyv-overlay{position:fixed;inset:0;background:#0f172a99;z-index:1000;justify-content:center;padding:20px}.loyv-dialog{background:white;border-radius:14px;max-width:850px;width:100%;max-height:90vh;overflow:auto}.loyv-dialog>button{float:right}@media(max-width:800px){.loyv-report{padding:12px}.loyv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-kpis strong{font-size:19px}.loyv-heading button{margin:4px}.loyv-pager{flex-wrap:wrap}}.loyv-report{font-size:16px;line-height:1.65}.loyv-report .loyv-heading h2{font-size:26px;line-height:1.4}.loyv-report .loyv-heading p{font-size:16px;color:#475569}.loyv-report .loyv-error,.loyv-report .loyv-status{font-size:15px;line-height:1.8;padding:16px}.loyv-report .loyv-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));grid-gap:12px;gap:12px;margin:16px 0}.loyv-report .loyv-filters label{min-width:0;font-size:13px;gap:5px;font-weight:600}.loyv-report .loyv-filters input,.loyv-report .loyv-filters select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:36px;height:36px;font-size:13px;font-weight:400;padding:6px 9px;text-overflow:ellipsis}.loyv-report .loyv-kpis span{font-size:16px;color:#475569}.loyv-report .loyv-kpis strong{font-size:30px;line-height:1.3}.loyv-report .loyv-notice{font-size:15px;line-height:1.9;padding:18px;color:#654b18}.loyv-report .loyv-table td,.loyv-report .loyv-table th{font-size:13px;padding:13px;line-height:1.65}.loyv-report .loyv-table small{font-size:12px;color:#475569}.loyv-report .loyv-link{font-size:13px}.loyv-report .btn,.loyv-report .loyv-pager{font-size:16px}.loyv-report .btn{min-height:46px;padding:10px 18px}@media(max-width:800px){.loyv-report .loyv-heading h2{font-size:23px}.loyv-report .loyv-kpis>div{padding:16px}.loyv-report .loyv-kpis strong{font-size:24px}.loyv-report .loyv-kpis span{font-size:15px}}.loyv-report .loyv-filter-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:end;grid-gap:10px;gap:10px;margin:0 0 16px}.loyv-report .loyv-filter-toolbar .loyv-filters{margin:0;gap:10px}.loyv-report .loyv-refresh-icon{display:inline-flex;justify-content:center;align-items:center;align-self:end;width:34px;height:34px;margin:0 0 1px;padding:0;border:1px solid #cbd5e1;border-radius:9px;background:white;color:#1e3a8a;cursor:pointer}.loyv-report .loyv-refresh-icon:hover{background:#edf3ff;border-color:#93a8d5}.loyv-report .loyv-refresh-icon:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.loyv-report .loyv-refresh-icon:disabled{opacity:.5;cursor:wait}.loyv-refresh-icon .is-spinning{animation:loyv-refresh-spin 1s linear infinite}@keyframes loyv-refresh-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.loyv-refresh-icon .is-spinning{animation:none}}.loyv-documents{padding:8px 0 20px}.loyv-document-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin:10px 0 22px}.loyv-document-types button{display:flex;align-items:center;gap:12px;text-align:left;padding:18px;border:1px solid #cbd5e1;border-radius:10px;background:white;color:#334155;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;line-height:1.6}.loyv-document-types button.active{border-color:#243b76;background:#edf2fc;color:#1e3a8a;box-shadow:inset 0 0 0 1px #243b76}.loyv-document-types button>span{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#e2e8f0;font-size:13px}.loyv-document-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.loyv-document-form label{display:grid;grid-gap:6px;gap:6px;font-size:13px;min-width:240px}.loyv-document-form input{height:36px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:7px;font-size:13px}.loyv-report .loyv-document-form .btn{min-height:36px;font-size:13px;padding:6px 14px}.loyv-document-help{font-size:13px;color:#64748b;line-height:1.8;margin-top:16px}@media(max-width:800px){.loyv-document-types{grid-template-columns:1fr}.loyv-document-types button{padding:12px}}.loyv-row-actions{display:flex;gap:6px;white-space:nowrap}.loyv-row-actions button{padding:5px 9px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#243b76;font:inherit;font-size:12px;cursor:pointer}.loyv-row-actions button:hover{background:#edf2fc;border-color:#8da0cc}.loyv-dialog{box-sizing:border-box;width:min(920px,100%);max-width:920px;padding:24px}.loyv-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.loyv-dialog-header h2{margin:0;font-size:20px}.loyv-dialog-header p{margin:7px 0 0;font-size:13px;color:#64748b}.loyv-close{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #e2e8f0;border-radius:8px;background:white;color:#475569;cursor:pointer}.loyv-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0 0 16px}.loyv-report .loyv-dialog-actions .btn{float:none;margin:0;min-height:36px;padding:7px 14px;font-size:13px}.loyv-dialog .loyv-table{clear:both;width:100%;box-sizing:border-box}.loyv-dialog .loyv-table table{min-width:0;width:100%;table-layout:fixed}.loyv-dialog .loyv-table td:first-child{overflow-wrap:anywhere}.loyv-dialog .loyv-table td,.loyv-dialog .loyv-table th{padding:12px;font-size:13px}.loyv-bill-summary{width:min(360px,100%);margin:18px 0 18px auto;display:grid;grid-gap:8px;gap:8px;font-size:13px}.loyv-bill-payments>div,.loyv-bill-summary>div{display:flex;justify-content:space-between;gap:16px}.loyv-bill-summary span{color:#64748b}.loyv-bill-grand{border-top:1px solid #e2e8f0;padding-top:12px}.loyv-bill-grand strong{font-size:19px;color:#243b76}.loyv-bill-payments{border-top:1px solid #e2e8f0;padding-top:14px;font-size:13px;color:#475569;display:grid;grid-gap:8px;gap:8px}.loyv-bill-note{font-size:13px;color:#64748b;overflow-wrap:anywhere}@media(max-width:600px){.loyv-overlay{padding:10px}.loyv-dialog{padding:16px}.loyv-dialog .loyv-table td,.loyv-dialog .loyv-table th{padding:8px 5px;font-size:12px}.loyv-dialog .loyv-table small{font-size:11px}.loyv-dialog-actions{justify-content:flex-start}}.loyv-deposit-flow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;font-size:13px}.loyv-deposit-flow span{display:flex;align-items:center;gap:8px}.loyv-deposit-flow b{background:#243b76;color:white;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}.loyv-deposit-flow i{color:#94a3b8;font-style:normal}.loyv-deposit-example{background:#edf3fc;border:1px solid #cfdaee;border-radius:10px;padding:16px;margin:12px 0 20px;font-size:13px}.loyv-deposit-example>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:12px}.loyv-deposit-example span{display:grid;grid-gap:4px;gap:4px}.loyv-deposit-example strong{font-size:22px;color:#243b76}.loyv-deposit-example small{color:#64748b}.loyv-deposit-panels{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px;margin:18px 0}.loyv-deposit-panels article{padding:18px;border:1px solid #e2e8f0;border-radius:10px;background:white}.loyv-deposits h3{font-size:15px;margin:0 0 10px}.loyv-deposit-panels p{font-size:13px;line-height:1.8;color:#64748b}.loyv-deposit-panels label{display:grid;grid-gap:5px;gap:5px;margin:12px 0;font-size:13px}.loyv-deposit-panels :is(input:not([type=checkbox]),select){min-width:0;width:100%;height:36px;font-size:13px;padding:6px 9px;border:1px solid #cbd5e1;border-radius:7px;box-sizing:border-box}.loyv-deposit-panels label.loyv-deposit-confirm{display:flex;align-items:center;gap:8px;font-size:12px}.loyv-deposit-form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.loyv-report .loyv-deposits .btn{font-size:13px;min-height:36px;padding:6px 12px}.loyv-deposit-list-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 10px}.loyv-deposit-panels p.loyv-deposit-hint{color:#92400e;background:#fffbeb;padding:8px;border-radius:6px}@media(max-width:850px){.loyv-deposit-example>div,.loyv-deposit-panels{grid-template-columns:1fr}.loyv-deposit-example strong{font-size:19px}}.loyv-deposit-ticket{width:100%;border-collapse:collapse;margin:12px 0 8px;background:white;font-size:13px}.loyv-deposit-ticket td,.loyv-deposit-ticket th{padding:8px 12px;text-align:left;border-bottom:1px solid #d7dfec}.loyv-deposit-ticket th{background:#e1eaf9}.loyv-deposit-ticket td:last-child,.loyv-deposit-ticket th:last-child{text-align:right}.loyv-schedule-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.loyv-schedule-settings-bar button,.loyv-schedule-tabs button,.loyv-tax-schedule .loyv-pager button{font:inherit;font-size:12px;padding:7px 11px;border:1px solid #cbd5e1;border-radius:7px;background:white;color:#243b76;cursor:pointer}.loyv-schedule-tabs button.active{background:#243b76;color:white;border-color:#243b76}.loyv-schedule-note{font-size:12px;line-height:1.8;color:#64748b;margin:12px 0}.loyv-tax-schedule .loyv-table td,.loyv-tax-schedule .loyv-table th{padding:8px 10px;font-size:12px}.loyv-tax-schedule .loyv-table tfoot th{background:#e6eef5}.loyv-tax-schedule input,.loyv-tax-schedule select{box-sizing:border-box;min-height:34px;max-width:100%;padding:5px 8px;border:1px solid #cbd5e1;border-radius:6px;font:inherit;font-size:12px;background:white;color:#1e293b}.loyv-schedule-settings-bar{display:flex;gap:10px;margin:12px 0}.loyv-tax-schedule button:disabled{opacity:.5;cursor:default}.loyv-tax-schedule .loyv-table td:first-child{white-space:nowrap}.loyv-tax-schedule .loyv-table input{width:100%;min-width:130px}.loyv-daily-close h3{font-size:14px;margin:20px 0 10px}.loyv-daily-close .loyv-tax-totals small{font-size:11px;color:#64748b}.loyv-close-detail-filters{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:12px;margin:10px 0}.loyv-close-detail-filters select{font:inherit;padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;background:white}.loyv-close-detail-filters label{display:flex;align-items:center;gap:6px}.loyv-daily-close .loyv-pager button{font:inherit;font-size:12px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;background:white}.loyv-daily-close button:disabled{opacity:.5;cursor:default}.loyv-daily-close tfoot th{background:#e6eef5}.loyv-tax-toolbar{margin:10px 0 16px}.loyv-report .loyv-tax-toolbar .loyv-filters{margin:0 0 10px}.loyv-tax-buttons{display:flex;gap:8px;flex-wrap:wrap}.loyv-tax-buttons button{padding:6px 10px;border:1px solid #cbd5e1;background:white;color:#243b76;border-radius:7px;font:inherit;font-size:12px;cursor:pointer}.loyv-tax-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin:14px 0}.loyv-tax-totals>div{display:grid;grid-gap:7px;gap:7px;padding:14px;background:#fff;border:1px solid #dce3ee;border-radius:9px}.loyv-tax-totals span{font-size:12px;color:#64748b}.loyv-tax-totals b{font-size:21px;color:#243b76;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.loyv-tax-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#64748b;margin:14px 0}.loyv-tax-meta .loyv-link{font-size:12px}.loyv-tax-help{font-size:12px;color:#64748b;line-height:1.8;margin:10px 0 14px}.loyv-tax-help summary{cursor:pointer}.loyv-tax-branches{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:14px 0}.loyv-tax-branches span{padding:6px 10px;border-radius:6px;background:#edf2fb;color:#243b76}.loyv-tax-review{background:#fffcf4}.loyv-report .loyv-table small.loyv-tax-review-text{color:#92400e}@media(max-width:800px){.loyv-tax-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-tax-totals b{font-size:18px}}.loyv-stock-sync h3{font-size:15px;margin:20px 0 10px}.loyv-stock-mapping{background:white;border:1px solid #dce3ee;border-radius:10px;padding:18px;margin:16px 0}.loyv-stock-enable{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0}.loyv-stock-sync .btn{font-size:13px;min-height:36px;padding:6px 12px}.loyv-stock-sync button:disabled{opacity:.5;cursor:default}.loyv-stock-sync .loyv-dialog>select,.loyv-stock-sync .loyv-dialog>textarea{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:13px;padding:8px;margin:12px 0;border:1px solid #cbd5e1;border-radius:6px}.loyv-stock-sync .loyv-dialog>textarea{min-height:90px}.warehouse-storage-tree{padding:0 0 18px}.warehouse-storage-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.warehouse-storage-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:12px;gap:12px;margin:16px}.warehouse-storage-filters label{display:grid;grid-gap:5px;gap:5px;font-size:13px}.warehouse-storage-tree :is(input,select){min-width:0;box-sizing:border-box;width:100%;padding:8px 10px;border:1px solid #d5ded8;border-radius:7px;font:inherit;font-size:13px;background:white;color:#253b31}.warehouse-storage-main{margin:16px;border:1px solid #d5ded8;border-radius:12px;overflow:hidden;background:white}.warehouse-storage-main>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;background:#edf4ef}.warehouse-storage-main h3{margin:4px 0;font-size:17px}.warehouse-storage-main h3 span{font-size:14px;color:#50695a}.warehouse-storage-main>header>strong{font-size:23px;white-space:nowrap;color:#22523a}.warehouse-storage-main>header small{font-size:12px;font-weight:400}.warehouse-storage-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));grid-gap:12px;gap:12px;padding:14px}.warehouse-storage-groups details{border:1px solid #dce5df;border-radius:8px;overflow:hidden}.warehouse-storage-groups summary{display:flex;justify-content:space-between;gap:10px;padding:12px;background:#f6f8f5;font-size:13px;cursor:pointer}.warehouse-storage-groups table{width:100%;border-collapse:collapse;font-size:12px}.warehouse-storage-groups :is(th,td){padding:9px;text-align:left;border-top:1px solid #edf0ed}.warehouse-storage-groups :is(th,td):nth-child(2){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.warehouse-storage-link{border:0;background:none;color:#246a45;font:inherit;cursor:pointer;white-space:nowrap}.warehouse-storage-note{font-size:12px;line-height:1.8;color:#647568;margin:12px 16px}.warehouse-storage-empty{text-align:center;padding:30px;font-size:13px;color:#647568}.warehouse-storage-overlay{position:fixed;inset:0;z-index:1200;padding:20px;background:#15271e80;display:flex;align-items:center;justify-content:center}.warehouse-storage-dialog{box-sizing:border-box;width:min(780px,100%);max-height:90vh;overflow:auto;background:white;border-radius:12px;padding:22px}.warehouse-storage-dialog>h3{margin:0}.warehouse-storage-config-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px;margin:14px 16px}.warehouse-storage-config-columns h4{font-size:14px;margin:8px 0}.warehouse-storage-config-row{display:flex;gap:6px;margin:7px 0}.warehouse-storage-config-row button{border:1px solid #d5ded8;border-radius:6px;background:white;cursor:pointer}.warehouse-storage-tree button:disabled{opacity:.5;cursor:default}@media(max-width:650px){.warehouse-storage-config-columns,.warehouse-storage-groups{grid-template-columns:1fr}.warehouse-storage-main>header{align-items:flex-start;flex-direction:column}}.app .warehouse-storage-groups table{table-layout:fixed!important;min-width:0!important;width:100%!important}.app .warehouse-storage-groups :is(th,td){min-width:0!important;width:auto!important;max-width:none!important;padding:8px 6px;white-space:normal;overflow-wrap:anywhere}.app .warehouse-storage-groups :is(th,td):first-child{width:28%!important}.app .warehouse-storage-groups :is(th,td):nth-child(2){width:26%!important}.app .warehouse-storage-groups :is(th,td):nth-child(3){width:10%!important;text-align:center}.app .warehouse-storage-groups :is(th,td):last-child{width:36%!important}.app .warehouse-storage-groups .warehouse-storage-link{font-size:11px;padding:0}.loyv-tax-schedule .loyv-review-row td{background:#fff8e8}.loyv-tax-schedule .loyv-replaced-row td{background:#fff3f3}.loyv-replaced-row .loyv-document-amount,.loyv-replaced-row td:nth-child(2) .loyv-link{text-decoration:line-through;color:#707780}.loyv-tax-schedule .loyv-replacement-active td{background:#f0faf3}.loyv-document-status{display:inline-block;padding:5px 8px;border-radius:8px;font-size:inherit}.loyv-document-status.is-replaced{background:#ffe0e0;color:#9d2525}.loyv-document-status.is-active{background:#daf1e3;color:#215d36}.loyv-document-status.is-review{background:#fff0ce;color:#795518}.quote-form{border:0;padding:0;margin:0;min-width:0}.quote-address,.quote-bottom>label{display:flex;flex-direction:column;gap:5px}.quote-address textarea,.quote-bottom textarea{border:1px solid #d9d4c4;border-radius:8px;padding:8px;background:white;font:inherit;color:inherit}.quote-picker{margin:16px 0;padding:12px;background:#ffffffa8;border-radius:10px}.quote-picker>label{display:flex;gap:10px;align-items:center}.quote-picker>span{display:block;font-size:12px;color:#6c7580;margin:6px 0}.quote-product-list{max-height:230px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4px;gap:4px}.quote-product-list button{display:flex;align-items:center;gap:10px;text-align:left;padding:8px}.quote-product-list button>span:first-child{flex:1 1}.quote-product-list small{display:block;font-size:11px;color:#747d86}.loyv-quotations .loyv-table input[type=number]{width:90px;padding:6px}.loyv-quotations .loyv-table input:not([type=number]){min-width:210px;width:100%}.quote-bottom{display:flex;justify-content:space-between;gap:24px;margin:12px 0 24px}.quote-bottom>label{flex:1 1}.quote-bottom>div{text-align:right;min-width:220px}.quote-preview{background:#fff;border-radius:12px;padding:12px;width:min(850px,96vw);max-height:96vh;display:flex;flex-direction:column}.quote-preview iframe{width:100%;height:78vh;border:1px solid #ddd;background:#fff}.quote-preview .loyv-dialog-header>div{display:flex;gap:8px}@media(max-width:700px){.quote-product-list{grid-template-columns:1fr}.quote-bottom,.quote-picker>label{flex-direction:column}.quote-picker>label{align-items:stretch}}.loyv-quotations button:not(.loyv-link){border:1px solid #ddd8c8;border-radius:8px;background:#fffdf7;color:#344653;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.loyv-quotations button:not(.loyv-link):hover{background:#f3f6fa}.loyv-quotations button:disabled{opacity:.5;cursor:default}.loyv-quotations .quote-product-list button{padding:8px;min-height:52px;background:#fff}.quote-preview iframe{flex:1 1;min-height:0}.loyv-quotations .quote-bottom button:last-child{background:#203b55;color:white}.quote-preview{height:min(1000px,94vh)}.quote-preview .loyv-dialog-header{flex-shrink:0}.quote-customer-picker{padding:12px;background:#ffffffb0;border-radius:10px;margin:12px 0}.quote-customer-picker .loyv-filters{margin:0 0 8px;align-items:end}.quote-customer-picker>label{display:grid;grid-gap:6px;gap:6px;font-size:13px}.quote-customer-picker select{width:100%;padding:8px;border:1px solid #ddd8c8;border-radius:8px;background:white;font:inherit}.quote-customer-picker>small{display:block;margin-top:7px;color:#64748b}.quote-customer-results{display:grid;grid-gap:5px;gap:5px;max-height:280px;overflow:auto}.loyv-quotations .quote-customer-results button{text-align:left;display:grid;grid-gap:4px;gap:4px;width:100%;background:white}.quote-customer-results small{color:#64748b;font-size:12px;white-space:normal}.quote-customer-results button:focus-visible{outline:2px solid #203b55;outline-offset:-2px}.quote-category-bar{display:flex;flex-wrap:wrap;gap:6px;max-height:170px;overflow:auto;margin-bottom:12px;padding:2px}.loyv-quotations .quote-category-bar button{padding:7px 10px;white-space:nowrap;background:#fff;border:1px solid #d8dedf}.loyv-quotations .quote-category-bar button[aria-pressed=true]{background:#203b55;color:#fff;border-color:#203b55}.quote-category-bar small{display:inline-block;margin-left:4px;opacity:.75;font-size:11px}.quote-products-more{display:block;margin:10px auto 0}.quote-category-bar button:focus-visible{outline:2px solid #6997ca;outline-offset:1px}.quote-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-gap:18px;gap:18px;align-items:start}.quote-editor{min-width:0}.quote-product-sidebar{position:-webkit-sticky;position:sticky;top:16px;min-width:0}.quote-product-sidebar .quote-picker{margin:0;display:flex;flex-direction:column;max-height:calc(100dvh - 32px);border:1px solid #e3dfd1;background:#fffdf7;box-shadow:0 3px 12px #203b5508}.quote-sidebar-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.quote-sidebar-heading span{color:#64748b;font-size:11px}.quote-product-sidebar .quote-category-bar{flex-shrink:0;max-height:150px}.quote-product-sidebar .quote-picker>label{display:grid;grid-gap:5px;gap:5px;font-size:12px;flex-shrink:0}.quote-product-sidebar .quote-picker>label input{min-width:0;width:100%;padding:8px;border:1px solid #ddd8c8;border-radius:8px;font:inherit;background:white}.quote-product-sidebar .quote-product-list{display:flex;flex-direction:column;max-height:none;min-height:120px;overflow:auto}.quote-product-sidebar .quote-product-list button{flex-shrink:0}.quote-product-sidebar .quote-product-list button>span:first-child{min-width:0;overflow-wrap:anywhere}.quote-product-sidebar .quote-products-more{flex-shrink:0}.quote-products-toggle{display:none}.quote-editor .loyv-table td,.quote-editor .loyv-table th{padding:8px}.quote-editor .loyv-filters{gap:10px}.quote-editor .loyv-table input[type=number]{width:75px}.quote-editor .quote-bottom{gap:12px}.quote-editor .quote-bottom>div{min-width:200px}@media(max-width:1100px){.quote-workspace{grid-template-columns:minmax(0,1fr)}.quote-product-sidebar{position:static;grid-row:1}.loyv-quotations .quote-products-toggle{display:block;width:100%;text-align:left;margin-bottom:8px}.quote-product-sidebar .quote-picker[data-open=false]{display:none}.quote-product-sidebar .quote-picker{max-height:65dvh}.quote-product-sidebar .quote-product-list{max-height:32dvh}.quote-product-sidebar .quote-category-bar{max-height:100px}}.quote-list-card{padding:18px;border:1px solid var(--border,#e4dfd3);border-radius:12px;background:var(--surface,#fffdf7)}.quote-list-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.quote-list-toolbar>input{flex:1 1;min-width:180px}.quote-list-toolbar>select{min-width:170px}.quote-list-toolbar>button{margin-left:auto}.quote-catalog-body input,.quote-editor-body input,.quote-editor-body select,.quote-editor-body textarea,.quote-list-toolbar input,.quote-list-toolbar select{padding:8px 10px;border:1px solid var(--border,#ddd8c8);border-radius:8px;background:var(--surface,#fff);font:inherit;color:inherit;min-width:0}.quote-status{display:inline-block;border-radius:20px;padding:4px 10px;font-size:12px;white-space:nowrap}.quote-status.is-saved{background:#e3f2e6;color:#2b633b}.quote-status.is-expired{background:#eceef1;color:#68717e}.loyv-quotations button.btn.primary{background:var(--primary,#203b55);border-color:var(--primary,#203b55);color:white}.quote-catalog-dialog,.quote-selection-dialog{border:1px solid var(--border,#e4dfd3);border-radius:14px;padding:0;color:var(--text,#344653);background:var(--surface,#fffdf7);width:min(1180px,96vw);max-width:96vw;max-height:94dvh;margin:auto;box-shadow:0 20px 80px #17263c33}.quote-catalog-dialog[open],.quote-selection-dialog[open]{display:flex;flex-direction:column}.quote-catalog-dialog::-webkit-backdrop,.quote-selection-dialog::-webkit-backdrop{background:#14203388}.quote-catalog-dialog::backdrop,.quote-selection-dialog::backdrop{background:#14203388}.quote-selection-footer,.quote-selection-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;flex-shrink:0;background:var(--surface,#fffdf7)}.quote-selection-header{border-bottom:1px solid var(--border,#e4dfd3)}.quote-selection-header h3{margin:0;font-size:18px}.quote-selection-footer{justify-content:flex-end;border-top:1px solid var(--border,#e4dfd3)}.quote-selection-footer>strong{margin-right:auto;font-size:13px}.quote-editor-body{border:0;padding:18px 20px;margin:0;overflow:auto;min-height:0;min-width:0}.quote-meta-grid{display:grid;grid-template-columns:1.4fr 1.2fr 1.2fr .7fr 1.2fr;grid-gap:12px;gap:12px}.quote-editor-body label{display:grid;grid-gap:5px;gap:5px;font-size:12px}.quote-editor-body input:disabled{background:#eeeae0;color:#78818c}.quote-editor-body .quote-customer-picker{padding:10px 0;margin:8px 0;background:transparent}.quote-editor-body .quote-customer-picker .loyv-filters{gap:10px}.quote-editor-body .loyv-filters{margin:10px 0;gap:12px}.quote-editor-body .loyv-filters label{min-width:150px}.quote-editor-body .quote-address textarea{min-height:55px}.quote-line-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}.quote-line-heading h4{margin:0}.quote-line-heading>div{display:flex;gap:8px}.quote-editor-body .loyv-table td,.quote-editor-body .loyv-table th{padding:8px;font-size:12px}.quote-editor-body .loyv-table input[type=number]{width:75px}.quote-editor-body .loyv-table input.quote-unit{min-width:0;width:75px;margin-top:4px}.quote-editor-body .loyv-table input:not([type=number]):not(.quote-unit){min-width:200px}.quote-empty-table{text-align:center;padding:25px;color:var(--muted,#77818c)}.quote-editor-bottom{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px;margin-top:18px}.quote-editor-bottom textarea{width:100%;resize:vertical}.quote-editor-totals p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 10px;font-size:13px}.quote-total-row{background:#edf1e8;font-weight:700;border-top:1px solid var(--border,#ddd8c8)}.quote-catalog-dialog{width:min(1240px,96vw);height:90dvh}.quote-catalog-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-gap:18px;gap:18px;border:0;margin:0;padding:16px;overflow:auto;min-height:0;flex:1 1;align-items:start}.quote-selection-products{min-width:0}.quote-selection-products-heading{display:flex;align-items:center;justify-content:space-between}.quote-selection-products-heading h4{margin:0}.quote-catalog-body .quote-picker{margin:10px 0}.quote-catalog-body .quote-picker>label{display:grid}.quote-catalog-body .quote-product-list{max-height:42dvh}.quote-selection-cart{position:-webkit-sticky;position:sticky;top:0;background:#f3f3ed;border:1px solid #e3dfd1;border-radius:10px;padding:12px;min-width:0}.quote-selection-cart h4{margin:0 0 12px}.quote-selection-cart h4 span{float:right}.quote-selection-cart-items{max-height:50dvh;overflow:auto}.quote-selection-cart article{padding:10px;margin-bottom:8px;border:1px solid #e3dfd1;border-radius:8px;background:white}.quote-selection-cart article>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.quote-selection-cart article strong{font-size:12px}.quote-selection-cart article small{font-size:11px;color:#78818c}.quote-cart-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:8px}.quote-cart-fields label{display:grid;grid-gap:4px;gap:4px;font-size:11px}.quote-cart-fields input{width:100%}.quote-selection-cart article p{font-size:12px;margin:8px 0 0}.quote-cart-total{display:grid;text-align:right;grid-gap:8px;gap:8px;border-top:1px solid #ddd8c8;margin-top:10px;padding-top:12px;font-size:12px}.quote-cart-empty{text-align:center;padding:25px;color:#78818c}@media(max-width:760px){.quote-list-toolbar{flex-wrap:wrap}.quote-list-toolbar>input{width:100%;flex-basis:100%}.quote-meta-grid{grid-template-columns:1fr 1fr}.quote-editor-bottom{grid-template-columns:1fr}.quote-catalog-body{grid-template-columns:minmax(0,1fr)}.quote-selection-cart{position:static}.quote-selection-cart-items{max-height:30dvh}.quote-selection-footer{flex-wrap:wrap;padding:12px}.quote-editor-body{padding:12px}.quote-line-heading{flex-wrap:wrap}.quote-list-card{padding:12px}}.quote-catalog-dialog{width:min(1360px,96vw)}.quote-catalog-body{grid-template-columns:minmax(0,1fr) clamp(340px,33vw,440px)}.quote-catalog-body .quote-product-list{max-height:57dvh}.quote-selection-cart{padding:16px;min-height:340px}.quote-selection-cart-items{max-height:58dvh}.quote-selection-cart article{padding:12px}.quote-cart-fields input{padding:9px;font-size:13px}@media(max-width:760px){.quote-catalog-body{grid-template-columns:minmax(0,1fr)}.quote-selection-cart{min-height:240px}.quote-selection-cart-items{max-height:35dvh}.quote-catalog-body .quote-product-list{max-height:40dvh}}.quote-selection-cart.quote-pos-cart{padding:0;background:var(--surface,#fffdf7);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(90dvh - 160px);min-height:380px;box-shadow:0 5px 20px #203b5508}.quote-pos-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;background:#f1f0e8;border-bottom:1px solid #e3dfd1;flex-shrink:0}.quote-pos-caption{font-size:10px;letter-spacing:.4px;color:var(--muted,#78818c)}.quote-pos-header h4{font-size:15px;margin:3px 0 0}.quote-pos-count{font-size:11px;background:var(--primary,#203b55);color:white;padding:5px 9px;border-radius:20px;white-space:nowrap}.quote-pos-cart .quote-selection-cart-items{max-height:none;min-height:0;flex:1 1;overflow:auto;padding:0 14px}.quote-pos-cart article.quote-pos-line{padding:13px 0;margin:0;border:0;border-bottom:1px solid #e8e5da;background:transparent;border-radius:0}.quote-pos-line-head{display:flex;gap:8px;align-items:flex-start}.quote-pos-index{font-size:10px;color:#7e8791;width:18px;height:20px;display:grid;place-items:center;background:#f0f1ed;border-radius:5px;flex-shrink:0}.quote-pos-name{flex:1 1;min-width:0}.quote-pos-name strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:12px}.quote-pos-name small{display:block;margin-top:3px}.loyv-quotations button.quote-pos-remove{padding:2px;border:0;background:transparent;color:#8c929a;min-height:24px;width:24px;font-size:12px}.loyv-quotations button.quote-pos-remove:hover{color:#b42318;background:#fceceb}.quote-pos-line-controls{display:flex;gap:10px;align-items:flex-end;margin-top:10px;padding-left:26px}.quote-pos-stepper{display:flex;align-items:center;border:1px solid #dcded4;border-radius:8px;background:white;overflow:hidden;flex-shrink:0;height:32px}.loyv-quotations .quote-pos-stepper button{border:0;padding:0;width:27px;height:30px;border-radius:0;background:#f3f4ee;font-size:15px}.quote-catalog-body .quote-pos-stepper input{width:44px;padding:3px 0;border:0;border-radius:0;text-align:center;font-size:12px;background:white;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.quote-pos-stepper input::-webkit-inner-spin-button,.quote-pos-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quote-pos-price{display:grid;grid-gap:3px;gap:3px;font-size:9px;color:#78818c;min-width:0}.quote-catalog-body .quote-pos-price input{width:80px;padding:5px 7px;height:32px;font-size:12px;border-color:#e4e2d9;background:white;text-align:right}.quote-pos-line-total{margin-left:auto;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:13px;white-space:nowrap;padding-bottom:2px}.quote-pos-line-total small{display:block;font-size:9px;font-weight:400;margin-top:3px}.quote-pos-summary{padding:14px 16px;background:#f4f3ed;flex-shrink:0;border-top:1px solid #dedbce}.quote-pos-summary>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:4px 0}.quote-pos-summary .quote-pos-grand{margin-top:8px;padding-top:12px;border-top:1px dashed #d1cebe;font-size:14px;align-items:center}.quote-pos-grand strong{font-size:23px;color:var(--primary,#203b55);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.quote-pos-grand small{font-size:11px;font-weight:400}.quote-pos-cart .quote-cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:220px;font-size:12px}.quote-pos-empty-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#efeee5;font-size:24px;color:#9c9e8b}@media(max-width:760px){.quote-selection-cart.quote-pos-cart{max-height:65dvh;min-height:300px}.quote-pos-line-controls{gap:8px}.quote-pos-line-total{font-size:12px}}.quote-editor-body .quote-meta-grid{grid-template-columns:minmax(180px,1.35fr) minmax(170px,1.2fr) minmax(145px,1fr) minmax(100px,.65fr) minmax(145px,1fr);gap:12px;align-items:start;margin-bottom:18px}.quote-customer-fields>label,.quote-customer-search-row>label,.quote-meta-grid>label{display:grid;grid-template-rows:18px 38px;grid-gap:6px;gap:6px;min-width:0;align-content:start}.quote-editor-body .quote-meta-grid .thai-date,.quote-editor-body .quote-meta-grid .thai-date input,.quote-editor-body .quote-meta-grid input,.quote-editor-body .quote-meta-grid select{width:100%;height:38px;min-width:0;max-width:none;margin:0;box-sizing:border-box}.quote-editor-body .quote-selection-customer{padding-top:14px;border-top:1px solid var(--border,#e4dfd3)}.quote-editor-body .quote-customer-picker{padding:0;margin:0 0 16px}.quote-customer-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;grid-gap:12px;gap:12px}.quote-customer-search-row>label input{width:100%;height:38px}.loyv-quotations .quote-customer-search-row>button{height:38px;padding:8px 14px;white-space:nowrap;align-self:end;margin:0}.quote-customer-fields{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr) minmax(0,1.1fr);grid-gap:12px;gap:12px;margin:0 0 12px}.quote-customer-fields input{width:100%;height:38px}.quote-editor-body .quote-address{gap:6px}.quote-editor-body .quote-address textarea{min-height:64px;resize:vertical}.quote-customer-search-row label,.quote-editor-body>.quote-selection-customer label{font-weight:500}@media(max-width:1000px){.quote-editor-body .quote-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.quote-editor-body .quote-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-customer-fields,.quote-customer-search-row{grid-template-columns:minmax(0,1fr)}.loyv-quotations .quote-customer-search-row>button{justify-self:start}}.quote-editor-body .loyv-table td{vertical-align:middle}.quote-item-name-field{display:flex;align-items:center;gap:8px;min-width:270px}.quote-item-sku{display:inline-flex;align-items:center;justify-content:center;flex:0 0 56px;min-height:32px;padding:4px 6px;border:1px solid #e1dfd3;border-radius:6px;background:#f2f1e9;color:var(--muted,#64748b);font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.quote-editor-body .loyv-table .quote-item-name-field input:not([type=number]){flex:1 1;min-width:190px;width:100%;margin:0}.quote-editor-body .loyv-table .quote-unit{margin-top:0}.quote-quantity-unit{display:flex;align-items:center;gap:8px}.quote-quantity-unit>input{flex-shrink:0}.quote-editor-body .loyv-table .quote-quantity-unit .quote-unit{margin:0}.quote-discount-cell{min-width:210px}.quote-discount-control{display:flex;align-items:center;gap:6px}.quote-editor-body .loyv-table .quote-discount-control input[type=number]{width:83px;flex:0 0 83px}.quote-editor-body .loyv-table .quote-discount-control select{min-width:112px;width:112px;flex:0 0 112px}.quote-discount-cell small{display:block;color:var(--muted,#687584);font-size:11px;margin-top:5px;white-space:nowrap}.quote-editor-body .loyv-table select.quote-tax-mode{min-width:116px;width:116px;max-width:none}.quote-editor-body .quote-editor-totals .quote-bill-discount{display:grid;grid-template-columns:minmax(0,1fr) minmax(138px,170px) minmax(110px,auto);align-items:center;grid-gap:10px;gap:10px;padding:7px 10px;font-size:13px}.quote-bill-discount-entry{display:flex;align-items:center;gap:5px;min-width:0}.quote-bill-discount-entry input{flex:1 1 auto;min-width:0;width:0;text-align:right;height:34px}.quote-bill-discount-entry select{flex:0 0 62px;min-width:62px;height:34px;padding:3px 5px;border:1px solid var(--border,#ddd8c8);border-radius:7px;background:var(--surface,#fff);color:inherit;font:inherit}.quote-bill-discount strong{text-align:right;white-space:nowrap}.quote-discount-total{border-top:1px dashed var(--border,#ddd8c8);font-weight:600;background:var(--surface-secondary,#f5f4ef)}@media(max-width:500px){.quote-editor-body .quote-editor-totals .quote-bill-discount{grid-template-columns:minmax(0,1fr) minmax(128px,154px);gap:6px;font-size:12px}.quote-bill-discount strong{grid-column:2}}.quote-credit-reference{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);grid-gap:10px 14px;gap:10px 14px;padding:14px;margin:14px 0;background:var(--surface-secondary,#f8f6f0);border:1px solid var(--border,#e4dfd3);border-radius:9px}.quote-credit-reference label{min-width:0}.quote-credit-reference input,.quote-credit-reference textarea{width:100%;min-width:0;box-sizing:border-box}.quote-credit-reference .quote-credit-reason,.quote-credit-reference>small{grid-column:1/-1}.quote-credit-reference>small{color:var(--muted,#687584);line-height:1.5}@media(max-width:650px){.quote-credit-reference{grid-template-columns:1fr}}.quote-selection-dialog{height:min(940px,94dvh);overflow:hidden}.quote-selection-dialog>.quote-editor-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.quote-editor-fields{border:0;padding:0;margin:0;min-width:0}.quote-selection-dialog>.quote-selection-footer{position:relative;flex:0 0 auto;margin:0;z-index:2}.quote-editor-lines .quote-lines-scroll{max-height:42dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.quote-lines-scroll thead{position:-webkit-sticky;position:sticky;top:0;z-index:1}.quote-lines-scroll:focus-visible{outline:2px solid var(--primary,#203b55);outline-offset:2px}.quote-editor-bottom{position:static;flex-shrink:0}@media(max-width:650px){.quote-selection-dialog{height:94dvh}.quote-editor-lines .quote-lines-scroll{max-height:45dvh}}table th.sortable-column{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .12s ease,background .12s ease}table th.sortable-column:hover{color:#123476;background-color:rgba(25,61,115,.055)}table th.sortable-column:focus-visible{outline:2px solid #3b6ca6;outline-offset:-2px}table th.sortable-column:after{content:"↕";margin-left:.4em;opacity:.45;font-size:.8em;display:inline-block}table th.sortable-column[data-sort=asc]:after{content:"▲";opacity:1}table th.sortable-column[data-sort=desc]:after{content:"▼";opacity:1}@media print{table th.sortable-column:after{content:none}}.loyv-customer-directory{display:grid;grid-gap:16px;gap:16px;min-width:0}.loyv-customers-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.loyv-customers-heading h3{margin:0 0 5px;font-size:20px;color:#243b56}.loyv-customers-heading p{margin:0 0 5px;font-size:13px;color:#64748b;line-height:1.6}.loyv-customers-heading small{font-size:12px;color:#6b7788}.loyv-customers-heading>.btn{flex-shrink:0;white-space:nowrap}.loyv-customer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.loyv-customer-stats>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;background:#fff;border:1px solid #dce3ee;border-radius:10px;padding:16px}.loyv-customer-stats span{display:block;flex-basis:100%;font-size:12px;color:#617084}.loyv-customer-stats strong{font-size:25px;color:#243b76;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.3}.loyv-customer-stats small{font-size:12px;color:#728095}.loyv-customer-list{padding:16px;min-width:0}.loyv-customer-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,230px);grid-gap:12px;gap:12px;align-items:end}.loyv-customer-toolbar label{display:grid;grid-gap:6px;gap:6px;color:#475569;font-size:12px}.loyv-customer-toolbar input,.loyv-customer-toolbar select{width:100%;min-width:0;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 11px;background:white;color:#1e293b;font:inherit;font-size:13px}.loyv-customer-toolbar input:focus-visible,.loyv-customer-toolbar select:focus-visible{outline:2px solid #7898d5;outline-offset:1px}.loyv-customer-list-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:15px 0 10px;color:#64748b;font-size:12px}.loyv-customer-table table{min-width:900px}.loyv-report .loyv-customer-table th{white-space:nowrap;background:#eef2f7}.loyv-report .loyv-customer-table td{vertical-align:top;line-height:1.5}.loyv-customer-table .customer-row-index{color:#8590a0;width:55px}.loyv-customer-table .customer-name{font-weight:600;min-width:160px;color:#243b56}.loyv-customer-table .customer-tax-cell{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.loyv-customer-table .customer-tax-missing{font-size:12px;color:#9a6700}.loyv-customer-table .customer-address{min-width:220px;max-width:420px;overflow-wrap:anywhere}.loyv-customer-pager{margin-top:16px}.loyv-customer-hint{font-size:12px;color:#65758a;line-height:1.7;margin:0}@media(max-width:750px){.loyv-customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-customer-stats>div:first-child{grid-column:1/-1}.loyv-customer-toolbar{grid-template-columns:1fr}.loyv-customer-list{padding:12px}.loyv-customers-heading>.btn{width:100%}}.loyv-cost-settings{display:grid;grid-gap:16px;gap:16px;min-width:0}.loyv-cost-header,.loyv-cost-header-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.loyv-cost-header h3{margin:0 0 6px;font-size:20px;color:#243b56}.loyv-cost-header p{font-size:13px;color:#64748b;margin:0;line-height:1.6}.loyv-cost-header-actions{justify-content:flex-end}.loyv-cost-header-actions button{font-size:13px}.loyv-cost-info{padding:12px 16px;background:#f4f7fb;border:1px solid #dfe6f1;border-radius:10px;display:grid;grid-gap:5px;gap:5px;font-size:13px}.loyv-cost-info strong{color:#293f62}.loyv-cost-info span{color:#64748b}.loyv-cost-success{color:#176a48;background:#f1faf4;border:1px solid #d1eadc;border-radius:8px;padding:10px 14px;font-size:13px;margin:0}.loyv-cost-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.loyv-cost-stats>div{display:grid;grid-gap:6px;gap:6px;border:1px solid #dfe5ec;background:white;border-radius:10px;padding:15px}.loyv-cost-stats span{color:#64748b;font-size:12px}.loyv-cost-stats strong{font-size:26px;color:#253b72;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.loyv-cost-list{background:white;border:1px solid #e2e8f0;border-radius:12px;padding:16px;min-width:0}.loyv-cost-filters{display:grid;grid-template-columns:minmax(250px,1fr) 200px;grid-gap:14px;gap:14px}.loyv-cost-editor-form label,.loyv-cost-filters label{font-size:12px;color:#475569;display:grid;grid-gap:6px;gap:6px}.loyv-cost-editor-form input,.loyv-cost-editor-form select,.loyv-cost-editor-form textarea,.loyv-cost-filters input,.loyv-cost-filters select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;background:white;color:#1e293b;font:inherit;font-size:13px}.loyv-cost-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 9px;color:#64748b;font-size:12px;flex-wrap:wrap}.loyv-cost-table table{min-width:1120px}.loyv-cost-table td{vertical-align:top}.loyv-cost-table .loyv-cost-name{min-width:220px;font-weight:600;color:#243b56}.loyv-cost-table .loyv-cost-name small{font-weight:400}.loyv-cost-table td:nth-child(5){min-width:200px}.loyv-cost-state{white-space:nowrap;font-size:12px;font-weight:600}.loyv-cost-state.missing{color:#a16207}.loyv-cost-state.waiting{color:#92400e}.loyv-cost-state.mapped{color:#24674e}.loyv-cost-edit{cursor:pointer;border:1px solid #ccd7e9;background:#f5f8fd;border-radius:7px;color:#244b89;padding:6px 10px;font-size:12px;font-weight:600;white-space:nowrap}.loyv-cost-edit:hover{background:#e8eef8}.loyv-cost-edit:disabled{opacity:.5;cursor:default}.loyv-cost-pager{margin-top:14px}.loyv-cost-editor{width:min(620px,96vw);max-width:620px;overflow:auto}.loyv-cost-editor .loyv-dialog-header p{overflow-wrap:anywhere}.loyv-cost-editor-form{display:grid;grid-gap:15px;gap:15px;padding:10px 0 15px}.loyv-cost-editor-form textarea{resize:vertical}.loyv-cost-help,.loyv-cost-warning{margin:-6px 0 0;color:#64748b;font-size:12px;line-height:1.6}.loyv-cost-warning{background:#fff8e7;border:1px solid #f5e6bd;border-radius:8px;padding:10px 12px;color:#875713}.loyv-cost-editor-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;border-top:1px solid #e2e8f0;padding-top:14px}.loyv-cost-editor-actions button:first-child:not(:last-child){margin-right:auto}.loyv-cost-footer{margin:0;font-size:12px;color:#69788b;line-height:1.7}@media(max-width:800px){.loyv-cost-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-cost-filters{grid-template-columns:1fr}.loyv-cost-header-actions{width:100%;justify-content:flex-start}.loyv-cost-list{padding:12px}}.loyv-sales-products{display:grid;grid-gap:16px;gap:16px;min-width:0}.loyv-sp-actions,.loyv-sp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.loyv-sp-head h3{margin:0 0 5px;font-size:20px;color:#243a58}.loyv-sp-head p{font-size:13px;line-height:1.6;color:#64748b;margin:0;max-width:730px}.loyv-sp-actions{align-items:center}.loyv-sp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.loyv-sp-stats>div{display:grid;grid-gap:8px;gap:8px;padding:15px 17px;background:#fff;border:1px solid #e1e7f0;border-radius:10px}.loyv-sp-stats span{font-size:12px;color:#637185}.loyv-sp-stats strong{font-size:26px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#293b61}.loyv-sp-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;min-width:0}.loyv-sp-filters{display:grid;grid-template-columns:170px minmax(260px,1fr) 185px;grid-gap:12px;gap:12px}.loyv-sp-editor label,.loyv-sp-filters label,.loyv-sp-import-fields label{font-size:12px;color:#566579;display:grid;grid-gap:6px;gap:6px}.loyv-sp-editor input,.loyv-sp-editor textarea,.loyv-sp-filters input,.loyv-sp-filters select,.loyv-sp-import-fields input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#26364b;padding:9px 10px;font:inherit;font-size:13px;width:100%;box-sizing:border-box}.loyv-sp-editor input:focus,.loyv-sp-editor textarea:focus,.loyv-sp-filters input:focus{outline:2px solid #d3e2f5}.loyv-sp-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:#64748b;margin:13px 0 10px}.loyv-sp-table table{min-width:930px}.loyv-sp-table td{vertical-align:top}.loyv-sp-table .loyv-sp-name{min-width:240px;color:#2b3952;font-weight:600}.loyv-sp-name small,.loyv-sp-preview small{display:block;color:#708096;font-size:11px;font-weight:400;margin-top:3px;line-height:1.5}.loyv-sp-link{white-space:nowrap;color:#3264a8;border:1px solid #c9d9eb;background:#f7faff;border-radius:7px;padding:7px 10px;font-size:12px;cursor:pointer}.loyv-sp-link:hover{background:#eaf2fb}.loyv-sp-link:disabled{opacity:.5;cursor:default}.loyv-sp-missing{color:#a16b2b;font-size:12px}.loyv-sp-pager{margin-top:12px}.loyv-sp-note{font-size:12px;line-height:1.7;color:#68788a;margin:0}.loyv-sp-success{background:#eef9f2;border:1px solid #cce7d7;color:#176e42;padding:10px 12px;border-radius:9px;font-size:13px;margin:0}.loyv-sp-dialog{width:min(590px,96vw);max-width:590px;max-height:92vh;overflow-y:auto}.loyv-sp-dialog .loyv-dialog-header small{overflow-wrap:anywhere}.loyv-sp-editor{display:grid;grid-gap:15px;gap:15px;padding:16px 0}.loyv-sp-editor p{font-size:12px;color:#68788a;line-height:1.65;margin:0}.loyv-sp-editor textarea{resize:vertical}.loyv-sp-dialog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid #e2e8f0}.loyv-sp-import{width:min(1100px,96vw);max-width:1100px;max-height:94vh;overflow-y:auto}.loyv-sp-import-fields{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:14px 0}.loyv-sp-import-fields label:first-child{flex:1 1;min-width:250px}.loyv-sp-import-fields label:nth-child(2){width:125px}.loyv-sp-import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin:5px 0 14px}.loyv-sp-import-stats>div{display:grid;grid-gap:5px;gap:5px;background:#f6f8fc;border:1px solid #e0e7f2;padding:10px;border-radius:8px}.loyv-sp-import-stats span{font-size:12px;color:#64748b}.loyv-sp-import-stats strong{font-size:21px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#293b61}.loyv-sp-preview{max-height:390px;overflow:auto;margin:12px 0}.loyv-sp-preview table{min-width:840px}.loyv-sp-preview td{vertical-align:top}.loyv-sp-status{display:inline-block;font-size:12px;font-weight:600;white-space:nowrap}.loyv-sp-status.ready{color:#18804c}.loyv-sp-status.review{color:#ae702b}.loyv-sp-status.exists{color:#516882}@media(max-width:860px){.loyv-sp-filters{grid-template-columns:1fr}.loyv-sp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.loyv-sp-import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-sp-panel{padding:12px}}@media(max-width:480px){.loyv-sp-stats{grid-template-columns:1fr}}.loyv-sp-preview-toolbar,.loyv-sp-review-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0}.loyv-sp-preview-toolbar label{font-size:12px;display:grid;grid-gap:5px;gap:5px;color:#64748b;min-width:210px}.loyv-sp-preview-toolbar select{border:1px solid #cbd5e1;border-radius:8px;padding:8px 9px;background:white;color:#26364b;font-size:12px}.loyv-sp-review-pager{justify-content:flex-end;font-size:12px;color:#64748b}.loyv-sp-source-note{display:block;color:#64748b;font-size:11px;line-height:1.5;margin-top:4px;max-width:235px}.loyv-cr-root{display:grid;grid-gap:15px;gap:15px;min-width:0}.loyv-cr-actions,.loyv-cr-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.loyv-cr-head h3{font-size:20px;color:#253e60;margin:0 0 5px}.loyv-cr-head h3 small{font-size:12px;font-weight:500;color:#718094}.loyv-cr-head p{margin:0;color:#68778b;font-size:13px;line-height:1.6}.loyv-cr-head .btn{font-size:13px}.loyv-cr-note{background:#f6f9fc;border:1px solid #dee7f1;color:#53677e;padding:11px 14px;margin:0;border-radius:9px;font-size:12px;line-height:1.7}.loyv-cr-note strong{color:#2d4970}.loyv-cr-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px}.loyv-cr-stats>div{display:grid;grid-gap:7px;gap:7px;background:#fff;border:1px solid #e0e6ee;border-radius:9px;padding:13px}.loyv-cr-stats span{color:#63758b;font-size:11px}.loyv-cr-stats strong{font-size:24px;font-weight:700;color:#263f65;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.loyv-cr-panel{min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:11px;padding:15px}.loyv-cr-filters{display:grid;grid-template-columns:170px 200px 235px minmax(210px,1fr);grid-gap:12px;gap:12px}.loyv-cr-filters label{display:grid;grid-gap:6px;gap:6px;font-size:12px;color:#53657c}.loyv-cr-filters input,.loyv-cr-filters select{font-size:13px;background:white;color:#25354a;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;width:100%;box-sizing:border-box}.loyv-cr-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:13px 0 9px;color:#6e7e90;font-size:12px}.loyv-cr-table{min-width:0}.loyv-cr-table table{min-width:1540px}.loyv-cr-table td{vertical-align:top}.loyv-cr-product{min-width:245px;max-width:320px}.loyv-cr-product strong{display:block;color:#30435e;font-size:12px}.loyv-cr-product small,.loyv-cr-table td small{display:block;color:#75869a;font-size:11px;margin-top:4px;line-height:1.45}.loyv-cr-review{min-width:235px}.loyv-cr-review small{max-width:300px}.loyv-cr-chip{display:inline-block;border-radius:6px;padding:3px 7px;font-size:11px;font-weight:600;white-space:nowrap}.loyv-cr-chip.review{background:#fff4e3;color:#a05e0d}.loyv-cr-chip.ok{background:#ecf8f2;color:#167243}.loyv-cr-difference{color:#a36412;font-weight:600}.loyv-cr-warn{color:#a05e0d!important}.loyv-cr-pager{margin-top:13px}.loyv-cr-footer{margin:0;color:#697b8d;font-size:12px;line-height:1.65}@media(max-width:1050px){.loyv-cr-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.loyv-cr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.loyv-cr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.loyv-cr-filters{grid-template-columns:1fr}.loyv-cr-panel{padding:11px}}.loyv-group-nav{display:grid;grid-gap:0;gap:0;margin-bottom:18px}.loyv-group-nav>.page-nav{margin-bottom:0;box-shadow:none;gap:6px}.loyv-group-nav>.page-nav button{white-space:nowrap}.loyv-subnav-row{justify-content:space-between;gap:10px;padding:10px 3px 12px;border-bottom:1px solid var(--line)}.loyv-subnav,.loyv-subnav-row{display:flex;align-items:center;flex-wrap:wrap}.loyv-subnav{gap:4px}.loyv-subnav button{border:0;background:transparent;border-radius:9px;padding:7px 12px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;color:var(--muted);line-height:1.45}.loyv-subnav button.active,.loyv-subnav button:hover{background:var(--coffee2);color:var(--ink)}.loyv-subnav button.active{font-weight:750}.loyv-create-document{white-space:nowrap;margin-left:auto}.loyv-document-picker{width:min(94vw,580px);max-width:580px}.loyv-document-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;padding:12px 0 4px}.loyv-document-picker-grid button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink);font-family:inherit;cursor:pointer}.loyv-document-picker-grid button:focus-visible,.loyv-document-picker-grid button:hover{background:var(--coffee2);border-color:var(--green);outline-offset:2px}.loyv-document-picker-grid strong{font-size:14px;line-height:1.5}.loyv-document-picker-grid small{font-size:12px;color:var(--muted);line-height:1.5}@media(max-width:650px){.loyv-group-nav>.page-nav button{padding:8px 10px;font-size:13px}.loyv-subnav{width:100%}.loyv-subnav button{padding:6px 9px}.loyv-create-document{margin-left:0}.loyv-document-picker-grid{grid-template-columns:1fr}}