@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:Manrope,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17241f;background:#f4f5f1;font-synthesis:none;text-rendering:optimizeLegibility;--green-950: #0b2b21;--green-900: #123f31;--green-800: #18513f;--green-700: #216b53;--green-100: #dcebe4;--green-50: #edf5f0;--amber-700: #a76319;--amber-500: #d69038;--amber-100: #fae8ca;--ink: #17241f;--muted: #6b7771;--line: #dfe4de;--line-soft: #e9ede7;--surface: #fff;--surface-alt: #f8f9f6;--danger: #b94f45;--danger-soft: #f9e6e2;--blue: #356a8a;--blue-soft: #e3eff5;--shadow-sm: 0 1px 2px rgb(15 35 27 / 4%), 0 6px 18px rgb(15 35 27 / 3%);--shadow-lg: 0 24px 70px rgb(8 35 25 / 20%);--border: var(--line);--text-secondary: var(--muted);--text-tertiary: var(--muted);--green: var(--green-700);--green-pale: var(--green-50);--surface-soft: var(--surface-alt)}.workflow-role-strip{display:flex;align-items:center;gap:10px;padding:14px 18px;margin-bottom:18px;border:1px solid var(--border);border-radius:16px;background:#ffffffb8;overflow-x:auto}.workflow-role-strip>span{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--text-secondary);font-size:13px;font-weight:700}.workflow-role-strip>svg{flex:0 0 auto;color:var(--text-tertiary)}.role-receipts-panel{overflow:hidden}.role-receipt-list{display:grid;gap:10px;padding:16px}.role-receipt-card{display:grid;grid-template-columns:auto minmax(220px,1.5fr) minmax(180px,1fr) auto;align-items:center;gap:16px;padding:16px;border:1px solid var(--border);border-radius:15px;background:#fff}.role-receipt-card.planned{border-left:4px solid #6a91b0}.role-receipt-card.lab{border-left:4px solid #8a67ad}.role-receipt-card.rejected{border-left:4px solid #c65f55}.role-receipt-card.ready,.role-receipt-card.completed{border-left:4px solid #3b8b67}.role-receipt-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--green);background:var(--green-pale)}.role-receipt-main{display:grid;gap:3px;min-width:0}.role-receipt-main small{color:var(--text-tertiary);font-weight:700}.role-receipt-main strong{font-size:15px}.role-receipt-main span{color:var(--text-secondary);font-size:13px}.role-receipt-meta{display:grid;justify-items:start;gap:8px}.role-receipt-meta>span{display:flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:12px}.role-receipt-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.laboratory-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.laboratory-summary article{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid var(--border);border-radius:15px;background:#fff}.laboratory-summary article>svg{color:#77569a}.laboratory-summary span{display:grid}.laboratory-summary small{color:var(--text-secondary)}.laboratory-summary strong{font-size:24px}.laboratory-search{max-width:420px;margin:0 0 18px auto}.laboratory-section{margin-top:18px}.laboratory-section>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.laboratory-section>header h2{margin:2px 0 0}.laboratory-section>header>b{min-width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:#ece5f4;color:#6f4c91}.laboratory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.laboratory-card{padding:17px;border:1px solid var(--border);border-radius:17px;background:#fff;box-shadow:0 7px 22px #25372f0a}.laboratory-card>header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start}.laboratory-card>header>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#755493;background:#f1ebf7}.laboratory-card>header>div{display:grid;gap:2px}.laboratory-card>header small,.laboratory-card>header p{margin:0;color:var(--text-secondary);font-size:12px}.laboratory-card>header>b{padding:6px 9px;border-radius:999px;color:#71528d;background:#f1ebf7;font-size:11px}.laboratory-card.approved>header>b,.laboratory-card.conditionally_approved>header>b{color:#287455;background:#e7f4ed}.laboratory-card.rejected>header>b{color:#a44139;background:#fbeae7}.laboratory-card-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.laboratory-card-facts span{display:grid;gap:3px;padding:9px;border-radius:10px;background:var(--surface-soft)}.laboratory-card-facts small{color:var(--text-tertiary)}.laboratory-card-facts strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.laboratory-result-mini{display:grid;gap:5px;padding:11px;margin-bottom:12px;border-radius:11px;background:#f7f5fa;font-size:12px}.laboratory-result-mini span{display:flex;justify-content:space-between;gap:12px}.laboratory-result-mini small{color:var(--text-tertiary)}.laboratory-sample-banner{display:flex;align-items:center;gap:12px;padding:13px;margin-bottom:16px;border-radius:12px;background:#f2edf7;color:#694988}.laboratory-sample-banner div{display:grid;gap:2px}.laboratory-sample-banner small{color:var(--text-secondary)}.laboratory-measure{position:relative}.laboratory-measure>b{position:absolute;right:11px;bottom:11px;padding:3px 7px;border-radius:7px;background:#edf5f0;color:#34765b;font-size:11px;pointer-events:none}.laboratory-measure input{padding-right:70px}.laboratory-report-panel{padding:18px;border:1px solid #cfe5d9;border-radius:16px;background:#f7fbf9}.laboratory-report-panel.rejected{border-color:#efcbc6;background:#fff8f7}.laboratory-report-panel>header{display:flex;align-items:center;gap:12px}.laboratory-report-panel>header>div{flex:1}.laboratory-report-panel h2,.laboratory-report-panel p{margin:2px 0 0}.laboratory-report-panel header>b{padding:7px 10px;border-radius:999px;color:#287455;background:#e3f2ea}.laboratory-report-panel.rejected header>b{color:#a44139;background:#f8dfdc}.laboratory-report-panel>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.laboratory-report-panel>div>span{display:grid;gap:3px;padding:10px;border-radius:10px;background:#ffffffc7}.laboratory-report-panel small{color:var(--text-secondary)}.workflow-waiting-panel{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid #dfd0ec;border-radius:15px;background:#faf7fc}.workflow-waiting-panel>svg{color:#77569a}.workflow-waiting-panel p{margin:4px 0 0;color:var(--text-secondary)}.receipt-process-chain{overflow-x:auto}.receipt-process-chain>div{min-width:142px}@media(max-width:900px){.role-receipt-card{grid-template-columns:auto 1fr}.role-receipt-meta,.role-receipt-actions{grid-column:2}.role-receipt-actions{justify-content:flex-start}.laboratory-grid,.laboratory-summary{grid-template-columns:1fr}}@media(max-width:600px){.role-receipt-card{grid-template-columns:1fr}.role-receipt-icon,.role-receipt-meta,.role-receipt-actions{grid-column:1}.laboratory-card-facts,.laboratory-report-panel>div{grid-template-columns:repeat(2,minmax(0,1fr))}}*{box-sizing:border-box}html{min-width:320px;background:#f4f5f1}body{margin:0;min-width:320px;min-height:100vh;background:#f4f5f1}body.modal-open,body.mobile-menu-open{overflow:hidden}button,input,select,textarea{font:inherit}button,select{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:246px;padding:24px 17px 17px;display:flex;flex-direction:column;color:#dcebe3;background:radial-gradient(circle at 12% 88%,rgb(205 148 70 / 10%),transparent 28%),linear-gradient(168deg,#123f31,#0b2d23);border-right:1px solid rgb(255 255 255 / 7%)}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 25px}.brand-mark{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#f7d59d;background:#ffffff17;border:1px solid rgb(255 255 255 / 10%)}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-copy strong{color:#fff;font-size:15px;letter-spacing:.08em}.brand-copy small{margin-top:4px;color:#8fb2a4;font-size:10px;letter-spacing:.04em}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-caption{padding:6px 12px 9px;color:#789c8e;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.nav-item{min-height:43px;padding:0 12px;display:flex;align-items:center;gap:11px;border-radius:9px;color:#b7cec5;font-size:13px;font-weight:600}.nav-item svg{flex:0 0 auto}.nav-item.active{color:#fff;background:#ffffff1a;box-shadow:inset 3px 0 #e5ad60}.nav-item.disabled{cursor:default;opacity:.67}.nav-soon{margin-left:auto;padding:3px 6px;border-radius:4px;color:#ddb67c;background:#e0a95b1a;font-size:8px;letter-spacing:.06em;text-transform:uppercase}.sidebar-spacer{flex:1}.facility-card{position:relative;margin:0 2px 9px;padding:13px 12px;display:flex;align-items:center;gap:10px;border-radius:10px;border:1px solid rgb(255 255 255 / 8%);background:#ffffff0d}.facility-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#e6bd7e;background:#e6bd7e1a}.facility-card div{display:flex;flex-direction:column;min-width:0}.facility-card strong{color:#eef6f1;font-size:11px}.facility-card span:not(.facility-icon):not(.live-dot){margin-top:3px;color:#7fa493;font-size:9px}.live-dot{width:7px;height:7px;margin-left:auto;border-radius:50%;background:#68bf83;box-shadow:0 0 0 4px #68bf831f}.settings-link{margin-top:2px}.workspace{min-width:0;min-height:100vh;margin-left:246px}.workspace>main{min-width:0;min-height:100vh}.icon-button{position:relative;width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-soft);border-radius:10px;background:#fff}.icon-button.subtle{border-color:transparent;background:transparent;color:var(--muted)}.sidebar-profile-wrap{margin-top:2px;padding-top:9px;border-top:1px solid rgb(255 255 255 / 8%)}.sidebar-profile-button{width:100%;min-height:54px;padding:6px 8px;display:flex;align-items:center;gap:9px;color:#dcebe3;border:0;border-radius:10px;background:transparent;text-align:left}.sidebar-profile-button:hover,.sidebar-profile-button[aria-expanded=true]{background:#ffffff14}.sidebar-profile-button .avatar{flex:0 0 auto;color:#f5d29b;background:#ffffff1a}.sidebar-profile-button .profile-copy{min-width:0;flex:1}.sidebar-profile-button .profile-copy strong{max-width:142px;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.sidebar-profile-button .profile-copy small{color:#89aa9d}.sidebar-profile-button>svg{flex:0 0 auto;color:#769a8c;transition:transform .15s ease}.sidebar-profile-button[aria-expanded=true]>svg{transform:rotate(180deg)}.avatar{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--green-900);background:#e7eee9;font-size:11px;font-weight:800}.profile-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.profile-copy strong{font-size:11px}.profile-copy small{margin-top:4px;color:var(--muted);font-size:9px}.profile-menu-wrap{position:relative}.profile-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:30;width:286px;max-height:calc(100dvh - 24px);overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 20px 55px #0c2b212e}.sidebar-profile-dropdown{top:auto;right:auto;bottom:0;left:calc(100% + 12px)}.profile-dropdown>header{padding:15px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line-soft);background:#fafbf9}.profile-dropdown>header div{min-width:0;display:flex;flex-direction:column}.profile-dropdown>header strong{color:var(--green-950);font-size:13px;overflow-wrap:anywhere}.profile-dropdown>header small{margin-top:4px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.avatar.large{width:42px;height:42px;flex:0 0 auto;font-size:13px}.profile-role{margin:10px;padding:10px;display:flex;align-items:center;gap:9px;color:var(--green-700);border-radius:8px;background:var(--green-50)}.profile-role>span{min-width:0;display:flex;flex-direction:column;overflow-wrap:anywhere}.profile-role strong{color:var(--green-900);font-size:11px}.profile-role small{margin-top:3px;color:#687870;font-size:9.5px}.profile-dropdown>a,.profile-dropdown>button{width:100%;min-height:42px;padding:0 14px;display:flex;align-items:center;gap:9px;color:#4c5d54;border:0;border-top:1px solid var(--line-soft);background:#fff;font-size:11.5px;font-weight:650;text-align:left}.profile-dropdown>a:hover,.profile-dropdown>button:hover{background:#f8faf8}.profile-dropdown>button.logout{color:var(--danger)}.nav-caption-secondary{margin-top:12px;padding-top:13px;border-top:1px solid rgb(255 255 255 / 7%)}.mobile-bottom-nav,.mobile-menu-backdrop{display:none}.auth-loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--green-900);background:#f4f5f1}.auth-loading-screen>span{width:42px;height:42px;margin-bottom:13px;border:3px solid var(--green-100);border-top-color:var(--green-700);border-radius:50%;animation:auth-spin .8s linear infinite}.auth-loading-screen strong{font-size:17px;letter-spacing:.1em}.auth-loading-screen small{margin-top:7px;color:var(--muted);font-size:12px}@keyframes auth-spin{to{transform:rotate(360deg)}}.pwa-install-guide{padding:18px 20px 4px}.pwa-install-device{min-height:68px;padding:13px;display:flex;align-items:center;gap:12px;color:var(--green-700);border:1px solid #cfe0d6;border-radius:11px;background:var(--green-50)}.pwa-install-device>span{display:flex;flex-direction:column}.pwa-install-device strong{color:var(--green-950);font-size:13px}.pwa-install-device small{margin-top:4px;color:#66766e;font-size:10px}.pwa-install-guide ol{margin:14px 0 0;padding:0;display:grid;gap:8px;list-style:none}.pwa-install-guide li{min-height:62px;padding:11px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--line-soft);border-radius:10px;background:#fff}.pwa-install-guide li>span{width:34px;height:34px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:#f0f5f1;font-size:12px;font-weight:800}.pwa-install-guide li>div{min-width:0;display:flex;flex-direction:column}.pwa-install-guide li strong{color:var(--green-950);font-size:11.5px}.pwa-install-guide li small{margin-top:4px;color:var(--muted);font-size:9.5px;line-height:1.45}.pwa-install-guide>p{margin:13px 2px 0;color:var(--muted);font-size:9.5px;line-height:1.5;text-align:center}.auth-login-page{min-height:100vh;display:grid;grid-template-columns:minmax(460px,1.05fr) minmax(440px,.95fr);background:#f6f7f3}.auth-login-story{position:relative;min-height:100vh;padding:clamp(38px,5vw,76px);display:flex;flex-direction:column;overflow:hidden;color:#fff;background:radial-gradient(circle at 82% 18%,rgb(221 175 103 / 22%),transparent 27%),radial-gradient(circle at 14% 86%,rgb(79 151 111 / 21%),transparent 30%),linear-gradient(148deg,#0b2c22,#154b39 58%,#0d392c)}.auth-login-story:after{content:"";position:absolute;right:-190px;bottom:-190px;width:510px;height:510px;border:1px solid rgb(255 255 255 / 8%);border-radius:50%;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px}.auth-brand>span{width:43px;height:43px;display:grid;place-items:center;color:#f3cd91;border:1px solid rgb(255 255 255 / 12%);border-radius:11px;background:#ffffff14}.auth-brand>div{display:flex;flex-direction:column}.auth-brand strong{font-size:17px;letter-spacing:.11em}.auth-brand small{margin-top:4px;color:#91b5a6;font-size:10px;letter-spacing:.04em}.auth-story-copy{position:relative;z-index:1;max-width:670px;margin:auto 0 44px}.auth-story-copy .eyebrow{color:#e8b96e}.auth-story-copy h1{max-width:650px;margin:12px 0 0;font-size:clamp(38px,4.4vw,64px);line-height:1.02;letter-spacing:-.05em}.auth-story-copy>p:last-child{max-width:590px;margin:22px 0 0;color:#bcd2c9;font-size:15px;line-height:1.7}.auth-feature-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.auth-feature-grid>span{min-height:104px;padding:15px;display:flex;flex-direction:column;color:#e8b96e;border:1px solid rgb(255 255 255 / 9%);border-radius:10px;background:#ffffff0d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-feature-grid strong{margin-top:auto;color:#fff;font-size:12px}.auth-feature-grid small{margin-top:4px;color:#8fb0a2;font-size:10px}.auth-login-story>footer{position:relative;z-index:1;margin-top:18px;display:flex;align-items:center;gap:7px;color:#8fb4a5;font-size:10px}.auth-login-form-shell{min-height:100vh;padding:40px;display:grid;place-items:center}.auth-login-form-card{width:min(100%,430px);padding:36px;border:1px solid #e2e6df;border-radius:16px;background:#fff;box-shadow:0 24px 70px #0d30251a}.auth-login-icon{width:50px;height:50px;margin-bottom:22px;display:grid;place-items:center;color:var(--green-700);border-radius:13px;background:var(--green-50)}.auth-login-form-card h2{margin:0;color:var(--green-950);font-size:30px;letter-spacing:-.035em}.auth-login-form-card>p:not(.eyebrow){margin:9px 0 25px;color:var(--muted);font-size:13px;line-height:1.55}.auth-login-form-card form{display:flex;flex-direction:column;gap:14px}.auth-submit{width:100%;margin-top:4px}.auth-install{width:100%;justify-content:center}.auth-login-form-card>footer{margin:26px -36px -36px;padding:16px 36px;display:flex;align-items:flex-start;gap:9px;color:var(--green-700);border-top:1px solid var(--line-soft);background:#fafbf9;border-radius:0 0 16px 16px}.auth-login-form-card>footer>span{display:flex;flex-direction:column}.auth-login-form-card>footer strong{color:var(--green-900);font-size:11px}.auth-login-form-card>footer small{margin-top:4px;color:var(--muted);font-size:9.5px;line-height:1.45}.access-denied{max-width:600px;margin:90px auto;padding:42px;display:flex;flex-direction:column;align-items:center;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm);text-align:center}.access-denied>span{width:58px;height:58px;margin-bottom:18px;display:grid;place-items:center;color:#a05a3c;border-radius:15px;background:#fff0e8}.access-denied h1{margin:0;color:var(--green-950);font-size:27px}.access-denied>p:not(.eyebrow){margin:12px 0 23px;color:var(--muted);font-size:13px;line-height:1.6}.page{width:min(100%,1530px);margin:0 auto;padding:33px 36px 60px}.page-heading,.board-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.eyebrow,.section-kicker{margin:0 0 7px;color:var(--amber-700);font-size:10px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.page-heading h1,.board-heading h1{margin:0;color:var(--green-950);font-size:clamp(28px,3vw,38px);line-height:1.05;letter-spacing:-.035em}.page-subtitle{margin:9px 0 0;color:var(--muted);font-size:13px}.button{min-height:41px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;border:1px solid transparent;font-size:12px;font-weight:750;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}.button:not(:disabled):hover{transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.6}.button.primary{color:#fff;background:var(--green-800);border-color:var(--green-800);box-shadow:0 5px 16px #18513f29}.button.primary:hover{background:var(--green-900)}.button.secondary{color:#34443d;background:#fff;border-color:#d9dfda}.button.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.button.danger-ghost{color:var(--danger);background:#fff;border-color:#e9c7c2}.button.full{width:100%}.read-only-stage-note{min-height:42px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:7px;color:#6c7872;border:1px solid var(--line);border-radius:8px;background:#f6f8f5;font-size:11px;text-align:center}.stats-grid{margin-top:26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.stat-card{position:relative;min-height:126px;padding:18px;display:grid;grid-template-columns:41px 1fr;gap:13px;overflow:hidden;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.stat-card:after{content:"";position:absolute;right:-20px;bottom:-30px;width:92px;height:92px;border-radius:50%;opacity:.06;background:currentColor}.stat-icon{width:41px;height:41px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.stat-green .stat-icon{color:var(--green-700);background:var(--green-50)}.stat-amber .stat-icon{color:#a86b22;background:#fbf1df}.stat-blue .stat-icon{color:var(--blue);background:var(--blue-soft)}.stat-terracotta .stat-icon{color:#a65a3e;background:#f6e7df}.stat-content{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;column-gap:8px}.stat-content>span{color:var(--muted);font-size:10px;font-weight:650}.stat-content strong{grid-column:1 / -1;align-self:center;color:var(--green-950);font-size:27px;line-height:1;letter-spacing:-.03em}.stat-content small{color:#89938e;font-size:9px}.stat-trend{position:absolute;right:13px;top:14px;padding:4px 7px;display:inline-flex;align-items:center;gap:4px;border-radius:20px;color:var(--green-700);background:var(--green-50);font-size:8px;font-weight:750}.stat-trend.attention{color:#a16419;background:#fff3e0}.orders-panel,.process-panel,.stage-detail-panel,.route-overview{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.orders-panel{margin-top:17px}.panel-header{min-height:77px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.panel-header.simple{min-height:72px}.panel-header h2{margin:0;color:var(--green-950);font-size:15px;letter-spacing:-.01em}.panel-header p{margin:5px 0 0;color:var(--muted);font-size:9px}.filters{display:flex;align-items:center;gap:8px}.search-field,.select-field{height:36px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#7b8781}.search-field{width:min(270px,30vw);padding:0 10px}.search-field input{min-width:0;width:100%;border:0;outline:0;color:var(--ink);font-size:10px;background:transparent}.select-field{padding:0 7px 0 9px}.select-field select{max-width:130px;border:0;outline:0;color:#46534e;background:transparent;font-size:10px}.orders-table{width:100%;overflow-x:auto}.order-row{min-width:960px;min-height:73px;padding:0 18px;display:grid;grid-template-columns:1.35fr 1.2fr 1.2fr .9fr .7fr .86fr 22px;align-items:center;gap:15px;border-bottom:1px solid var(--line-soft);transition:background .15s ease}.order-row:not(.order-row-head):hover{background:#fafbf9}.order-row:last-child{border-bottom:0}.order-row-head{min-height:39px;color:#8b9691;background:#f8f9f6;font-size:8px;font-weight:750;letter-spacing:.045em;text-transform:uppercase}.order-main,.product-cell>span:last-child,.stage-cell,.due-cell{display:flex;flex-direction:column;min-width:0}.order-main strong{color:var(--green-800);font-size:11px}.order-main small,.product-cell small,.stage-cell small,.due-cell small{margin-top:5px;overflow:hidden;color:#89938e;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.product-cell{display:flex;align-items:center;gap:9px;min-width:0}.product-cell strong,.stage-cell strong,.due-cell strong{overflow:hidden;color:#34423c;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.fruit-dot{width:28px;height:28px;flex:0 0 auto;border-radius:9px;background:#e8a144;box-shadow:inset 0 0 0 6px #ffffff40}.fruit-dot.apricot_organic{background:#6b9a58}.fruit-dot.prune{background:#6b506f}.progress-cell{display:grid;grid-template-columns:minmax(50px,1fr) 31px;align-items:center;gap:8px}.progress-track{height:5px;overflow:hidden;border-radius:10px;background:#e9ede9}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--green-700)}.progress-cell strong{color:#59665f;font-size:9px}.due-cell.overdue strong,.due-cell.overdue small{color:var(--danger)}.row-arrow{color:#96a19b;opacity:0;transform:translate(-4px);transition:.15s ease}.order-row:hover .row-arrow{opacity:1;transform:translate(0)}.status-badge{width:fit-content;padding:5px 8px;display:inline-flex;align-items:center;border-radius:5px;font-size:8px;font-weight:750;white-space:nowrap}.order-planned,.stage-pending,.stage-skipped{color:#65716b;background:#edf0ed}.order-in_production,.stage-in_progress{color:var(--green-700);background:#e3f0e8}.order-quality_hold,.stage-blocked{color:#a7611a;background:#fdf0dd}.order-ready{color:var(--blue);background:var(--blue-soft)}.order-shipped,.stage-completed{color:#4f775b;background:#e6f0e8}.orders-loading{padding:14px 18px}.orders-pagination{min-height:68px;padding:11px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line-soft);background:#fafbf9}.orders-pagination>div{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.orders-pagination>div strong{color:var(--green-900);font-size:11px}.orders-pagination>div span{color:#607069;font-size:9px}.orders-pagination>div small{margin-left:5px;color:var(--muted);font-size:8px}.orders-pagination nav{display:flex;align-items:center;gap:7px}.pagination-pages{display:flex;align-items:center;gap:4px}.pagination-pages a,.pagination-gap{width:31px;height:31px;display:grid;place-items:center;color:#52635c;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:9px;font-weight:750}.pagination-pages a:hover{color:var(--green-800);border-color:#a8c6b6;background:var(--green-50)}.pagination-pages a.active{color:#fff;border-color:var(--green-700);background:var(--green-700)}.pagination-gap{width:22px;border-color:transparent;background:transparent}.pagination-direction{min-width:78px;height:31px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--green-800);border:1px solid var(--line);border-radius:7px;background:#fff;font-size:9px;font-weight:750}.pagination-direction:hover{border-color:#a8c6b6;background:var(--green-50)}.pagination-direction.disabled{color:#a1aaa5;background:#f3f5f2;cursor:not-allowed}.skeleton-row{height:58px;margin:8px 0;background:linear-gradient(90deg,#f1f3ef 20%,#fafbf9,#f1f3ef 60%);background-size:300% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{to{background-position:-300% 0}}.empty-state{min-height:300px;padding:50px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#9aa49f}.empty-state h3,.empty-state h2{margin:13px 0 5px;color:var(--green-950)}.empty-state p{margin:0 0 17px;color:var(--muted);font-size:11px}.error-banner{margin-top:24px;padding:14px 16px;display:flex;align-items:center;gap:9px;border:1px solid #edc7c2;color:#92483f;background:#fff0ee;font-size:11px}.error-banner.compact-banner{margin:14px 0 0;padding:10px 13px}.error-banner button{margin-left:auto;border:0;color:inherit;background:transparent;font-size:9px;font-weight:700}.modal-backdrop{position:fixed;inset:0;z-index:100;padding:22px;display:flex;align-items:center;justify-content:center;background:#081b148c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fade-in .15s ease}.modal{max-height:calc(100vh - 44px);overflow-y:auto;border-radius:15px;background:#fff;box-shadow:var(--shadow-lg);animation:modal-in .18s ease}.modal-small{width:min(100%,455px)}.modal-medium{width:min(100%,570px)}.modal-large{width:min(100%,840px)}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}.modal-header{padding:21px 23px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line-soft)}.modal-header h2{margin:0;color:var(--green-950);font-size:18px;letter-spacing:-.025em}.modal-header p{max-width:550px;margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.create-order-form,.action-form{padding:22px 23px 0}.form-section-title{margin:0 0 17px;display:flex;align-items:center;gap:11px}.form-section-title>span{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green-800);background:var(--green-50);font-size:9px;font-weight:800}.form-section-title>div{display:flex;flex-direction:column}.form-section-title strong{font-size:12px}.form-section-title small{margin-top:3px;color:var(--muted);font-size:8.5px}.form-grid{display:grid;gap:13px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.nested-two{grid-template-columns:1.3fr .7fr}.form-grid.batch-start-fields{grid-template-columns:1fr 1fr .65fr}.span-two{grid-column:1 / -1}.field{display:flex;flex-direction:column;gap:7px;color:#536059;font-size:9px;font-weight:700}.field>span small{margin-left:5px;color:#97a19c;font-size:.9em;font-weight:550}.field input,.field select,.field textarea{width:100%;border:1px solid #dce2dd;border-radius:8px;outline:0;color:var(--ink);background:#fff;font-size:11px;font-weight:500;transition:border-color .15s,box-shadow .15s}.field input,.field select{height:41px;padding:0 11px}.field textarea{min-height:80px;padding:10px 11px;line-height:1.5;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6a9a83;box-shadow:0 0 0 3px #216b5314}.form-divider{height:1px;margin:22px 0;background:var(--line-soft)}.modal-actions{margin:23px -23px 0;padding:15px 23px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line-soft);background:#fafbf9;border-radius:0 0 15px 15px}.form-error{margin-top:14px;padding:10px;display:flex;align-items:center;gap:7px;color:var(--danger);background:var(--danger-soft);font-size:9px}.initial-batch-note{padding:11px 13px;display:flex;align-items:center;gap:9px;color:var(--green-700);border:1px solid #c9ddd0;border-radius:8px;background:var(--green-50)}.initial-batch-note>span{display:flex;flex-direction:column}.initial-batch-note strong{color:var(--green-900);font-size:11px}.initial-batch-note small{margin-top:4px;color:#61756a;font-size:9px}.board-page{padding-top:24px}.board-breadcrumbs{margin-bottom:18px;display:flex;align-items:center;gap:7px;color:#8a958f;font-size:9px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#637169;font-size:10px;font-weight:700}.back-link:hover{color:var(--green-700)}.board-heading{align-items:center}.board-title-block{display:flex;align-items:center;gap:14px}.product-emblem{width:51px;height:51px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;color:#9a5a19;background:#faead3}.product-emblem.apricot_organic{color:#4e7b43;background:#e6f0e2}.product-emblem.prune{color:#654c6a;background:#eee7f0}.heading-line{display:flex;align-items:center;gap:9px}.board-heading h1{font-size:29px}.board-title-block p{margin:7px 0 0;color:var(--muted);font-size:11px}.priority-badge{padding:5px 8px;color:#a45f17;background:#fff0d9;border-radius:5px;font-size:8px;font-weight:750}.board-heading-actions{display:flex;align-items:center;gap:9px}.order-facts{margin-top:20px;padding:13px 17px;display:grid;grid-template-columns:.85fr 1fr .65fr 1fr;gap:10px;border:1px solid var(--line-soft);background:#ffffffb8}.order-facts>div{padding:2px 14px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line-soft)}.order-facts>div:first-child{padding-left:0}.order-facts>div:last-child{border-right:0}.order-facts span{display:flex;align-items:center;gap:6px;color:#8a958f;font-size:8px}.order-facts strong{overflow:hidden;color:#36463f;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.route-overview{margin-top:14px;padding:17px 19px 16px}.route-overview>header{display:flex;align-items:flex-end;justify-content:space-between}.route-overview h2{margin:0;color:var(--green-950);font-size:14px}.route-progress-copy{display:flex;align-items:baseline;gap:7px}.route-progress-copy strong{color:var(--green-700);font-size:18px}.route-progress-copy span{color:var(--muted);font-size:8px}.route-progress-track{height:3px;margin-top:14px;overflow:hidden;background:#e9ede9}.route-progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--green-700),#6c9c72)}.route-rail{padding:17px 2px 0;display:flex;align-items:flex-start;overflow-x:auto;scrollbar-width:thin}.rail-stage{position:relative;min-width:78px;flex:1 0 78px;padding:0 5px;display:flex;flex-direction:column;align-items:center;gap:7px;border:0;background:transparent;color:#8a958f;font-size:7px;font-weight:650;white-space:nowrap}.rail-stage:before{content:"";position:absolute;z-index:0;left:-50%;top:13px;width:100%;height:1px;background:#dfe5df}.rail-stage:first-child:before{display:none}.rail-stage.completed:before,.rail-stage.in_progress:before{background:#7ba68d}.rail-dot{position:relative;z-index:1;width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #d9dfda;color:#7c8881;background:#fff;font-size:8px}.rail-stage.completed .rail-dot{color:#fff;background:var(--green-700);border-color:var(--green-700)}.rail-stage.in_progress .rail-dot{color:var(--green-700);background:#e6f1ea;border-color:#85aa95;box-shadow:0 0 0 4px #3b775b14}.rail-stage.blocked .rail-dot{color:#a9631b;background:#fff1de;border-color:#e1ad65}.rail-stage.skipped{opacity:.55}.rail-stage.selected{color:var(--green-800)}.rail-stage.selected>span:last-child{font-weight:800}.board-grid{margin-top:14px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(325px,.7fr);gap:14px;align-items:start}.process-panel{min-width:0;overflow:hidden}.stage-list{padding:7px 0 0}.stage-group-label{height:32px;padding:9px 20px 4px;display:flex;align-items:center;gap:7px;color:#8b9791;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.stage-row{width:100%;min-height:61px;padding:7px 17px;display:grid;grid-template-columns:30px minmax(140px,1.45fr) 1.05fr .72fr 18px;align-items:center;gap:11px;border:0;border-left:3px solid transparent;background:#fff;text-align:left;transition:.15s ease}.stage-row:hover{background:#fafbf9}.stage-row.selected{border-left-color:var(--green-700);background:#f6f9f6}.stage-row.blocked{background:#fffaf3}.stage-row.skipped{opacity:.62}.stage-index{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #dce2dd;color:#7a8680;background:#fff;font-size:8px;font-weight:800}.stage-row.completed .stage-index{color:#fff;background:var(--green-700);border-color:var(--green-700)}.stage-row.in_progress .stage-index{color:var(--green-700);background:#e3f0e8;border-color:#9ebfac}.stage-row.blocked .stage-index{color:#a9631b;background:#ffedcf;border-color:#e1b06b}.stage-row-main,.stage-row-time,.stage-row-weight{display:flex;flex-direction:column;min-width:0}.stage-row-main strong,.stage-row-time strong,.stage-row-weight strong{overflow:hidden;color:#34423c;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.stage-row-main small,.stage-row-time small,.stage-row-weight small{margin-top:4px;overflow:hidden;color:#909a95;font-size:7.5px;text-overflow:ellipsis;white-space:nowrap}.stage-row.in_progress .stage-row-main strong{color:var(--green-700)}.stage-row.blocked .stage-row-main strong,.stage-row.blocked .stage-row-time strong{color:#9a5c1b}.stage-row-weight{align-items:flex-end;text-align:right}.stage-row-weight .loss-text{color:var(--danger)}.stage-chevron{color:#a6afa9}.process-summary{min-height:58px;padding:0 20px;display:flex;align-items:center;justify-content:flex-end;gap:28px;border-top:1px solid var(--line-soft);background:#fafbf9}.process-summary>div{display:flex;align-items:center;gap:7px;color:var(--green-700)}.process-summary span{color:var(--muted);font-size:8px}.process-summary strong{font-size:10px}.stage-detail-panel{position:sticky;top:83px;overflow:hidden}.detail-accent{height:3px;background:linear-gradient(90deg,var(--green-700),var(--amber-500))}.stage-detail-header{padding:19px 19px 13px;display:flex;align-items:flex-start;gap:11px}.detail-icon{width:37px;height:37px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.detail-icon.group-quality{color:var(--blue);background:var(--blue-soft)}.detail-icon.group-packing{color:#a16520;background:#fbefdc}.detail-icon.group-logistics{color:#765d82;background:#eee8f1}.stage-detail-header h2{margin:0;color:var(--green-950);font-size:15px;line-height:1.25;letter-spacing:-.015em}.detail-status-line{padding:0 19px 15px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.detail-status-line>span:last-child{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:8px}.block-alert{margin:14px 17px 0;padding:11px;display:flex;gap:9px;color:#9a5d1d;background:#fff2de;border-left:3px solid #d68b34}.block-alert svg{flex:0 0 auto;margin-top:1px}.block-alert strong{font-size:9px}.block-alert p{margin:4px 0 0;font-size:8px;line-height:1.5}.stage-description{margin:0;padding:16px 19px;color:#5d6963;font-size:9px;line-height:1.65}.detail-section{padding:14px 19px;border-top:1px solid var(--line-soft)}.detail-section h3{margin:0 0 11px;color:#35443d;font-size:9px}.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.date-grid>div{padding:9px;display:flex;flex-direction:column;gap:5px;background:#f7f8f5}.date-grid span{display:flex;align-items:center;gap:5px;color:#8c9791;font-size:7px}.date-grid strong{color:#45524c;font-size:8.5px}.late-text{color:var(--danger)!important}.weight-strip{display:grid;grid-template-columns:1fr 12px 1fr 1fr 1.05fr;align-items:center;gap:7px}.weight-strip>div{display:flex;flex-direction:column;gap:4px}.weight-strip span{color:#8d9892;font-size:7px}.weight-strip strong{color:#35433d;font-size:10px}.weight-strip>svg{color:#a7b0ab}.loss-box{padding:8px;background:#fff4f1}.loss-box strong{color:var(--danger)}.loss-box small{color:#b77870;font-size:7px}.checkpoints{display:flex;flex-direction:column}.checkpoints>div{min-height:35px;display:grid;grid-template-columns:19px 1fr auto;align-items:center;border-bottom:1px solid #edf0ed}.checkpoints>div:last-child{border-bottom:0}.checkpoints>div>span{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#9ba59f;border:1px solid #dce2dd;border-radius:50%}.checkpoints>div>span.check-done{color:#fff;background:var(--green-700);border-color:var(--green-700)}.checkpoints strong{color:#4a5751;font-size:8px}.checkpoints small{color:#929c97;font-size:7px}.detail-note{margin:0 19px 14px;padding:10px;display:flex;gap:8px;color:#486157;background:var(--green-50)}.detail-note svg{flex:0 0 auto}.detail-note strong{font-size:8px}.detail-note p{margin:4px 0 0;font-size:7.5px;line-height:1.5}.stage-actions{padding:14px 19px 18px;display:flex;flex-direction:column;gap:7px;border-top:1px solid var(--line-soft);background:#fafbf9}.completed-stamp{padding:4px 0;display:flex;align-items:center;gap:8px;color:var(--green-700)}.completed-stamp span{display:flex;flex-direction:column}.completed-stamp strong{font-size:9px}.completed-stamp small{margin-top:3px;color:#84918a;font-size:7px}.skipped-stamp{color:#88938d;font-size:8px;text-align:center}.action-form{padding-top:18px}.weight-entry-card{padding:13px;display:grid;grid-template-columns:1fr 18px 1.2fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;background:#f7f8f5}.weight-entry-card>span{color:var(--muted);font-size:8px}.weight-entry-card>strong{grid-row:2;color:var(--green-950);font-size:16px}.weight-entry-arrow{grid-column:2;grid-row:1 / 3;color:#a1aaa5;transform:rotate(180deg)}.weight-entry-card label{grid-column:3;grid-row:1 / 3;display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:8px}.weight-entry-card input{height:39px;padding:0 10px;border:1px solid #ccd6cf;border-radius:7px;outline:none;background:#fff;font-size:13px;font-weight:700}.loss-preview{margin:8px 0 14px;padding:9px 11px;display:flex;align-items:baseline;gap:7px;color:#89564d;background:#fff2ef}.loss-preview span{margin-right:auto;font-size:8px}.loss-preview strong{font-size:11px}.loss-preview small{font-size:8px}.loss-preview.over{color:#9d2f26;background:#ffe4df;box-shadow:inset 3px 0 #bd4b40}.finished-goods-destination{margin:11px 0;overflow:hidden;border:1px solid #bcd6c6;border-radius:10px;background:linear-gradient(145deg,#f4fbf6,#fff);box-shadow:0 7px 20px #1b533d12}.finished-goods-destination>header{min-height:72px;padding:12px 14px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid #dbe9df}.finished-goods-destination>header>span{width:40px;height:40px;display:grid;place-items:center;color:#fff;border-radius:10px;background:linear-gradient(145deg,#2f8062,#55a67f);box-shadow:0 5px 13px #2f806238}.finished-goods-destination>header>div{min-width:0;display:flex;flex-direction:column}.finished-goods-destination>header small{color:#658073;font-size:9px;font-weight:700}.finished-goods-destination>header strong{margin-top:3px;overflow:hidden;color:var(--green-950);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.finished-goods-destination>header em{margin-top:3px;color:#829189;font-size:9px;font-style:normal}.finished-goods-destination>header>b{padding:7px 9px;color:var(--green-800);border-radius:8px;background:#dff1e6;font-size:13px;white-space:nowrap}.finished-goods-destination>div{padding:12px 14px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);align-items:end;gap:12px}.finished-goods-destination>div>span{min-height:43px;padding:7px 10px;display:flex;flex-direction:column;justify-content:center;border-left:3px solid #7db397;background:#f2f8f4}.finished-goods-destination>div>span small{color:#72827a;font-size:8.5px}.finished-goods-destination>div>span strong{margin-top:3px;color:var(--green-900);font-size:11px}.finished-goods-destination>div>span em{margin-top:2px;color:#8b9690;font-size:8px;font-style:normal}.finished-goods-destination>footer{min-height:44px;padding:9px 14px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;color:#567163;border-top:1px solid #dbe9df;background:#edf7f0}.finished-goods-destination>footer span{font-size:9px;line-height:1.45}.finished-goods-destination>footer strong{color:var(--green-800);font-size:9px;white-space:nowrap}.shipment-stock-control{margin:12px 0 15px;overflow:hidden;border:1px solid #bed4c6;border-radius:12px;background:#fbfdfb;box-shadow:0 9px 24px #204c3a14}.shipment-stock-control>header{min-height:78px;padding:13px 15px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid #dbe7df;background:linear-gradient(135deg,#edf8f1,#fff)}.shipment-stock-control>header>span{width:42px;height:42px;display:grid;place-items:center;color:#fff;border-radius:11px;background:linear-gradient(145deg,#236b51,#4c9c75);box-shadow:0 6px 15px #236b513b}.shipment-stock-control>header>div{min-width:0;display:flex;flex-direction:column}.shipment-stock-control>header small{color:#668074;font-size:10px;font-weight:700}.shipment-stock-control>header strong{margin-top:2px;color:var(--green-950);font-size:14px}.shipment-stock-control>header p{margin:3px 0 0;color:#7e8e86;font-size:10px}.shipment-stock-control>header>b{padding:8px 10px;color:var(--green-800);border:1px solid #c8dfd0;border-radius:9px;background:#e2f2e8;font-size:14px;white-space:nowrap}.shipment-stock-mode{padding:13px 14px 4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shipment-stock-mode>button{min-height:66px;padding:10px 11px;display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:9px;color:#4c5d55;border:1px solid #d5e0d8;border-radius:9px;background:#fff;cursor:pointer;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.shipment-stock-mode>button:hover{border-color:#8cb49d;transform:translateY(-1px)}.shipment-stock-mode>button.active{color:var(--green-800);border-color:#70a78a;background:#f0f8f3;box-shadow:inset 0 0 0 1px #b7d4c2}.shipment-stock-mode>button.active.warning{color:#915a19;border-color:#d9ad76;background:#fff8ed;box-shadow:inset 0 0 0 1px #f0d4ae}.shipment-stock-mode>button>span{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#e8f3ec}.shipment-stock-mode>button.warning>span{background:#fae9d2}.shipment-stock-mode>button>div{display:flex;flex-direction:column}.shipment-stock-mode strong{font-size:11px}.shipment-stock-mode small{margin-top:3px;color:#829088;font-size:9px;line-height:1.35}.shipment-stock-mode i{width:18px;height:18px;display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--green-700)}.shipment-stock-mode .warning i{background:#b57831}.shipment-stock-summary{padding:9px 14px 12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shipment-stock-summary>span{min-height:54px;padding:9px 10px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e1e9e3;border-radius:8px;background:#fff}.shipment-stock-summary small{color:#7b8b83;font-size:9px}.shipment-stock-summary strong{margin-top:4px;color:#34483e;font-size:13px}.shipment-stock-summary .ready{border-color:#9bc4a9;background:#f0f8f3}.shipment-stock-summary .ready strong{color:var(--green-800)}.shipment-stock-summary .mismatch{border-color:#e6c699;background:#fff9ef}.shipment-stock-summary .mismatch strong{color:#9a651f}.shipment-stock-lots{margin:0 14px 12px;overflow:hidden;border:1px solid #dce6df;border-radius:9px;background:#fff}.shipment-stock-lots article{min-height:76px;padding:9px 10px;display:grid;grid-template-columns:minmax(0,1fr) 92px 115px;align-items:center;gap:10px;border-bottom:1px solid #e8ede9}.shipment-stock-lots article:last-child{border-bottom:0}.shipment-stock-lots article>a,.shipment-stock-lots article>div:first-child{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;color:inherit;text-decoration:none}.shipment-stock-lots article>a>span,.shipment-stock-lots article>div:first-child>span{width:32px;height:32px;display:grid;place-items:center;color:var(--green-700);border-radius:8px;background:var(--green-50)}.shipment-stock-lots article>a>div,.shipment-stock-lots article>div:first-child>div{min-width:0;display:flex;flex-direction:column}.shipment-stock-lots article>a strong,.shipment-stock-lots article>div:first-child strong{overflow:hidden;color:#35473e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.shipment-stock-lots article>a small,.shipment-stock-lots article>div:first-child small{margin-top:3px;overflow:hidden;color:#718179;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.shipment-stock-lots article>a em,.shipment-stock-lots article>div:first-child em{margin-top:3px;color:#909b95;font-size:8px;font-style:normal}.shipment-lot-available{display:flex;flex-direction:column}.shipment-lot-available small,.shipment-stock-lots article>label>span{color:#819088;font-size:8.5px}.shipment-lot-available strong{margin-top:3px;color:var(--green-800);font-size:11px}.shipment-stock-lots article>label{display:flex;flex-direction:column;gap:4px}.shipment-stock-lots article>label input{width:100%;height:36px;padding:0 8px;color:var(--green-950);border:1px solid #bdcec3;border-radius:7px;outline:none;background:#fbfdfb;font-size:12px;font-weight:700}.shipment-stock-lots article>label input:focus{border-color:var(--green-600);box-shadow:0 0 0 3px #3e84601a}.shipment-stock-empty,.shipment-stock-balance-error{margin:0 14px 12px;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;color:#91601f;border:1px solid #ecd2ab;border-radius:8px;background:#fff8ed}.shipment-stock-empty svg,.shipment-stock-balance-error svg{flex:0 0 auto}.shipment-stock-empty strong{font-size:10px}.shipment-stock-empty p{margin:3px 0 0;font-size:9px;line-height:1.45}.shipment-stock-balance-error{font-size:9.5px;line-height:1.45}.shipment-stock-keep{margin:11px 14px 13px;padding:13px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;color:#82571f;border:1px solid #e5c493;border-radius:9px;background:#fff8ed}.shipment-stock-keep>svg{margin-top:1px}.shipment-stock-keep>div>strong{font-size:11px}.shipment-stock-keep>div>p{margin:4px 0 11px;font-size:9px;line-height:1.5}.shipment-stock-keep .field span{color:#75572f}.shipment-stock-control>footer{min-height:44px;padding:9px 14px;display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:8px;color:#536d60;border-top:1px solid #dbe7df;background:#edf6f0}.shipment-stock-control>footer span{font-size:9px;line-height:1.45}.stage-shipment-result{overflow:hidden;border:1px solid #b9d5c3;border-radius:8px;background:#f4faf6}.stage-shipment-result.keep{border-color:#e3c28e;background:#fff9ef}.stage-shipment-result>h3{display:flex;align-items:center;gap:6px}.stage-shipment-result-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stage-shipment-result-summary>span{padding:8px;display:flex;flex-direction:column;border-radius:6px;background:#ffffffb8}.stage-shipment-result-summary small{color:#74837b;font-size:7.5px}.stage-shipment-result-summary strong{margin-top:3px;color:#3e5147;font-size:9px}.stage-shipment-result blockquote{margin:9px 0 0;padding:8px 9px;color:#795527;border-left:3px solid #d0a56d;background:#ffffffad;font-size:8px;font-style:normal;line-height:1.45}.stage-output-entry{margin:10px 0;border:1px solid #d7e2da;background:#fbfdfb}.stage-output-entry>header{min-height:62px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line-soft)}.stage-output-entry>header>div{min-width:220px;flex:1;display:flex;align-items:center;gap:9px;color:var(--green-700)}.stage-output-entry>header>div>span{display:flex;flex-direction:column}.stage-output-entry>header strong{color:var(--green-900);font-size:12px}.stage-output-entry>header small{margin-top:3px;color:var(--muted);font-size:9px}.stage-output-auto-cost{padding:7px 9px;display:flex;align-items:center;gap:7px;color:var(--green-700);border:1px solid #c7d9cd;background:var(--green-50)}.stage-output-auto-cost>span{display:flex;flex-direction:column}.stage-output-auto-cost small{margin:0}.stage-output-auto-cost strong{margin-top:2px;white-space:nowrap}.stage-output-auto-cost.missing{color:#96621f;border-color:#ead2a9;background:#fff7e9}.stage-output-entry-list{padding:8px 12px}.stage-output-entry-row{min-height:65px;padding:8px 0;display:grid;grid-template-columns:1.35fr .58fr 1fr 34px;align-items:end;gap:8px;border-bottom:1px solid var(--line-soft)}.stage-output-entry-row:last-child{border-bottom:0}.stage-output-entry-row .field input,.stage-output-entry-row .field select{height:37px}.stage-output-entry-row>.icon-button{margin-bottom:2px}.stage-output-entry-empty{min-height:74px;padding:14px;display:flex;align-items:center;justify-content:center;gap:9px;color:#77847d;font-size:10px;text-align:center}.stage-output-cost-note{min-height:48px;padding:9px 12px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;color:#567163;border-top:1px solid #d9e6dd;background:#f1f8f3}.stage-output-cost-note span{font-size:10px;line-height:1.45}.stage-output-cost-note strong{color:var(--green-800);font-size:12px;white-space:nowrap}.stage-output-cost-note.missing{color:#8e632b;border-color:#ecd8b8;background:#fff9ef}.action-form>.field+.field{margin-top:13px}.warning-callout{margin-bottom:15px;padding:11px;display:flex;gap:9px;color:#9b5d1c;background:#fff2de}.warning-callout p{margin:0;font-size:8.5px;line-height:1.5}.toast{position:fixed;z-index:200;right:24px;bottom:24px;padding:12px 16px;display:flex;align-items:center;gap:8px;border-radius:9px;color:#fff;background:var(--green-900);box-shadow:0 14px 40px #09271d40;font-size:10px;font-weight:700;animation:toast-in .22s ease}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.board-skeleton{display:grid;gap:15px}.board-skeleton div{height:100px;background:linear-gradient(90deg,#ecefeb 20%,#f7f8f5,#ecefeb 60%);background-size:300% 100%;animation:shimmer 1.4s infinite}.board-skeleton div:nth-child(2){height:160px}.board-skeleton div:nth-child(3){height:420px}.warehouse-stats{margin-top:26px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.warehouse-stats article{min-height:102px;padding:17px;display:flex;align-items:center;gap:13px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.warehouse-stat-icon{width:42px;height:42px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:11px}.warehouse-stat-icon.green{color:var(--green-700);background:var(--green-50)}.warehouse-stat-icon.blue{color:var(--blue);background:var(--blue-soft)}.warehouse-stat-icon.amber{color:#a16520;background:#fbefdc}.warehouse-stat-icon.purple{color:#71567c;background:#eee8f1}.warehouse-stats article>div{min-width:0;display:flex;flex-direction:column;overflow-wrap:anywhere}.warehouse-stats small{color:var(--muted);font-size:8px}.warehouse-stats strong{margin-top:4px;color:var(--green-950);font-size:20px;letter-spacing:-.025em}.warehouse-stats article div span{margin-top:5px;color:#96a09b;font-size:7px}@media(min-width:981px)and (max-width:1600px){.warehouse-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}.warehouse-layout{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:14px;align-items:start}.warehouse-panel .panel-header{flex-wrap:wrap;align-items:flex-start}.warehouse-panel .filters{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-start}.warehouse-panel .filters>label{min-width:0;max-width:100%}.warehouse-panel .filters .search-field{flex:1 1 220px}.warehouse-panel .filters .select-field{flex:1 1 160px}.warehouse-panel,.reservations-panel,.settings-intro,.materials-settings,.parameters-settings{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.warehouse-table{overflow-x:auto}.warehouse-row{min-width:890px;min-height:69px;padding:0 18px;display:grid;grid-template-columns:1.4fr 1.15fr .7fr .68fr .9fr .72fr;align-items:center;gap:13px;border-bottom:1px solid var(--line-soft)}.warehouse-row:last-child{border-bottom:0}.warehouse-row-head{min-height:38px;color:#8b9691;background:#f8f9f6;font-size:8px;font-weight:750;letter-spacing:.045em;text-transform:uppercase}.lot-main,.location-cell{min-width:0;display:flex;align-items:center;gap:9px}.lot-main>span:last-child,.location-cell>span{min-width:0;display:flex;flex-direction:column}.lot-main strong,.lot-number strong,.availability-cell strong,.location-cell strong{overflow:hidden;color:#34423c;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.lot-main small,.lot-number small,.availability-cell small,.location-cell small{margin-top:4px;overflow:hidden;color:#8e9993;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.material-cube{width:31px;height:31px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#a25d19;background:#faead3}.material-cube.raw_prune{color:#684f70;background:#eee7f0}.attribute-stack{display:flex;flex-wrap:wrap;gap:4px}.attribute-stack>span{padding:3px 6px;border-radius:4px;color:#58655f;background:#f0f3f0;font-size:7px;font-weight:650}.lot-number{display:flex;flex-direction:column}.lot-number em{margin-top:4px;color:#8b6228;font-size:10.5px;font-style:normal;line-height:1.35}.lot-number.reserved strong{color:#a16520}.availability-cell{display:flex;flex-direction:column;gap:6px}.availability-cell>div{display:flex;flex-direction:column}.mini-stock-track{height:3px;overflow:hidden;background:#e7ebe7}.mini-stock-track i{display:block;height:100%;background:var(--green-700)}.location-cell>svg{color:#89968f}.reservations-panel{position:sticky;top:83px;overflow:hidden}.reservations-panel>header{padding:17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft)}.reservations-panel h2{margin:0;color:var(--green-950);font-size:13px}.reservation-count{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green-700);background:var(--green-50);font-size:9px;font-weight:800}.reservation-list{padding:5px 0}.reservation-item{min-height:68px;padding:10px 14px;display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.reservation-link{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#a56a22;background:#fbefdc}.reservation-item div{display:flex;flex-direction:column;min-width:0}.reservation-item strong{color:var(--green-800);font-size:9px}.reservation-item div span,.reservation-item small{margin-top:3px;color:#8e9993;font-size:7px}.reservation-item b{display:flex;flex-direction:column;align-items:flex-end;color:#46544d;font-size:8px}.reservation-item b small{margin-top:3px;color:#8b6228;font-weight:650;white-space:nowrap}.reservations-panel>footer{padding:12px 14px;display:flex;gap:7px;color:#658072;background:var(--green-50);font-size:7.5px;line-height:1.45}.settings-intro{margin-top:26px;padding:19px 21px;display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:14px}.settings-intro>span{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;color:var(--green-700);background:var(--green-50)}.settings-intro h2{margin:0;color:var(--green-950);font-size:14px}.settings-intro p{max-width:760px;margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.55}.settings-counter{min-width:70px;display:flex;flex-direction:column;align-items:center;border-left:1px solid var(--line-soft)}.settings-counter strong{color:var(--green-700);font-size:20px}.settings-counter small{margin-top:3px;color:var(--muted);font-size:7px}.settings-layout{margin-top:14px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}.materials-settings,.parameters-settings{overflow:hidden}.materials-settings>header,.parameters-settings>header{min-height:68px;padding:15px 17px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.materials-settings h2,.parameters-settings h2{margin:0;color:var(--green-950);font-size:13px}.materials-settings p,.parameters-settings p{margin:4px 0 0;color:var(--muted);font-size:8px}.material-setting-item{min-height:66px;padding:12px 14px;display:grid;grid-template-columns:31px minmax(0,1fr) auto 31px;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.material-setting-item.inactive{opacity:.58;background:#f8faf9}.material-setting-item>span{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#a16520;background:#fbefdc}.material-setting-item div{display:flex;flex-direction:column}.material-setting-item strong{font-size:8.5px}.material-setting-item small{margin-top:4px;color:var(--muted);font-size:7px}.material-setting-item b{color:#87928c;font-size:7px}.parameter-card-grid{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.parameter-card{min-height:170px;padding:14px;border:1px solid var(--line);background:#fcfdfa}.parameter-card>header{display:flex;align-items:center;gap:9px}.parameter-card>header>span{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green-700);background:var(--green-50)}.parameter-card>header>div{min-width:0;display:flex;flex-direction:column}.parameter-card>header strong{font-size:9px}.parameter-card>header small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:6.8px;text-overflow:ellipsis;white-space:nowrap}.option-chips{min-height:53px;margin-top:12px;display:flex;align-content:flex-start;flex-wrap:wrap;gap:5px}.option-chips span{padding:4px 7px;border:1px solid #dfe5df;border-radius:5px;color:#53615a;background:#fff;font-size:7px}.add-option-row{height:33px;margin-top:8px;display:grid;grid-template-columns:1fr 32px;border:1px dashed #cfd7d1}.add-option-row input{min-width:0;padding:0 9px;border:0;outline:0;background:transparent;font-size:8px}.add-option-row button{border:0;color:var(--green-700);background:var(--green-50)}.add-option-row button:disabled{color:#aeb7b2;background:#f1f3f1}.settings-field-group{margin:14px 0;display:flex;flex-direction:column;gap:7px}.settings-field-group>span{color:#536059;font-size:9px;font-weight:700}.material-toggle{min-height:39px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid #dce2dd;border-radius:8px;color:#68736d;background:#fff;font-size:9px;font-weight:650;text-align:left}.material-toggle>span{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;color:#a5afa9;background:#f0f2f0}.material-toggle.selected{color:var(--green-700);border-color:#8eb29d;background:#f4f8f5}.material-toggle.selected>span{color:#fff;background:var(--green-700)}.stock-check-loading{min-height:350px;padding:24px}.stock-check-form{padding:18px 22px 0}.stock-requirement-banner{padding:13px 15px;display:grid;grid-template-columns:1fr 20px 1.2fr 1fr;align-items:center;gap:13px;background:#f6f8f5;border:1px solid #e2e7e2}.stock-requirement-banner>div,.stock-requirement-banner>label{display:flex;flex-direction:column;gap:4px}.stock-requirement-banner span{color:var(--muted);font-size:7.5px}.stock-requirement-banner strong{color:var(--green-950);font-size:15px}.stock-requirement-banner small{color:#929c97;font-size:7px}.stock-requirement-banner>svg{color:#9ca7a1}.stock-requirement-banner label input{height:35px;padding:0 9px;border:1px solid #ced7d0;border-radius:7px;outline:none;color:var(--green-950);background:#fff;font-size:13px;font-weight:750}.stock-ready,.stock-shortage{padding:9px;border-left:3px solid var(--green-700);background:#e9f3ec}.stock-shortage{border-left-color:#d98e37;background:#fff1dc}.stock-ready>span,.stock-shortage>span{display:flex;align-items:center;gap:5px;color:var(--green-700);font-weight:750}.stock-shortage>span{color:#a6641f}.stock-filter-section{padding:19px 0;border-bottom:1px solid var(--line-soft)}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-filter-hint{margin-top:11px;padding:10px 12px;display:flex;align-items:flex-start;gap:9px;color:#7a6a4f;border:1px solid #ead9bb;border-radius:8px;background:#fff9ef}.stock-filter-hint>svg{flex:0 0 auto;margin-top:1px}.stock-filter-hint>span{min-width:0;display:flex;flex-direction:column}.stock-filter-hint strong{color:#765529;font-size:11px}.stock-filter-hint small{margin-top:3px;color:#8a7658;font-size:10px;line-height:1.45}.stock-filter-hint.resolved{color:var(--green-700);border-color:#c7ddce;background:var(--green-50)}.stock-filter-hint.resolved strong{color:var(--green-800)}.stock-filter-hint.resolved small{color:#62786c}.stock-lots-section{padding-top:17px}.stock-lots-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.stock-lots-section h3{margin:0;color:var(--green-950);font-size:12px}.small-button{min-height:33px;padding-inline:11px;font-size:8px}.stock-lots-table{margin-top:11px;border:1px solid var(--line)}.stock-lot-row{min-height:54px;padding:7px 12px;display:grid;grid-template-columns:1.05fr 1.35fr .72fr .72fr;align-items:center;gap:10px;border-bottom:1px solid var(--line-soft);transition:background .15s}.stock-lot-row:last-child{border-bottom:0}.stock-lot-row.selected{background:#f2f8f4;box-shadow:inset 3px 0 var(--green-700)}.stock-lot-head{min-height:32px;color:#8b9691;background:#f8f9f6;font-size:7px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.stock-lot-main{display:flex;align-items:center;gap:8px}.stock-lot-main>span:first-child{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:#a16520;background:#fbefdc}.stock-lot-main>span:last-child{display:flex;flex-direction:column}.stock-lot-main strong{color:var(--green-800);font-size:8.5px}.stock-lot-main small{margin-top:3px;color:var(--muted);font-size:6.8px}.allocation-input{height:34px;display:grid;grid-template-columns:1fr 25px;align-items:center;border:1px solid #d6ddd7;border-radius:7px;overflow:hidden;background:#fff}.allocation-input input{min-width:0;width:100%;height:100%;padding:0 8px;border:0;outline:0;font-size:9px;font-weight:700}.allocation-input span{display:flex;align-items:center;justify-content:center;height:100%;color:#89948e;background:#f3f5f2;font-size:7px}.stock-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ba59f}.stock-empty strong{margin-top:8px;color:#58655f;font-size:9px}.stock-empty span{margin-top:4px;font-size:7.5px}.selection-total{margin-top:10px;padding:10px 12px;display:grid;grid-template-columns:1fr auto auto;align-items:baseline;gap:10px;color:#8e5c52;background:#fff3f0}.selection-total.enough{color:var(--green-700);background:var(--green-50)}.selection-total span{font-size:8px}.selection-total strong{font-size:10px}.selection-total small{font-size:7px}.selection-total em{grid-column:1 / -1;margin-top:-3px;color:#8b6228;font-size:10.5px;font-style:normal;text-align:right}.stock-actions{margin-top:18px}.purchase-button{color:#9a611f;border-color:#e0b878;background:#fff8ec}.stock-error{margin-top:10px}.page-heading-actions{display:flex;align-items:center;gap:9px}.processes-layout{margin-top:26px;display:grid;grid-template-columns:310px minmax(0,1fr);gap:14px;align-items:start}.process-catalog,.process-editor-panel{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.process-catalog{overflow:hidden}.process-catalog>header{min-height:76px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft)}.process-catalog h2,.process-editor-header h2{margin:3px 0 0;color:var(--green-950);font-size:18px}.process-catalog>header>span{min-width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;color:var(--green-700);background:var(--green-50);font-size:12px;font-weight:800}.process-catalog-item{width:100%;min-height:78px;padding:12px 14px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--line-soft);color:#5f6b65;background:#fff;text-align:left}.process-catalog-item:hover,.process-catalog-item.active{background:#f4f8f5}.process-catalog-item.active{box-shadow:inset 3px 0 var(--green-700)}.process-catalog-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.process-catalog-item>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.process-catalog-item strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.process-catalog-item small{margin-top:5px;color:var(--muted);font-size:10px}.process-catalog-item b{padding:4px 6px;border-radius:5px;color:var(--green-700);background:var(--green-50);font-size:9px}.process-editor-panel{min-height:560px}.process-editor-header{min-height:106px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.process-editor-header p{margin:6px 0 0;color:var(--muted);font-size:11px}.process-stage-list{padding:14px}.process-stage-card{min-height:72px;padding:10px 12px;display:grid;grid-template-columns:20px 34px minmax(180px,1fr) minmax(145px,auto) 36px;align-items:center;gap:10px;border:1px solid var(--line-soft);border-bottom:0;background:#fff}.process-stage-card:last-child{border-bottom:1px solid var(--line-soft)}.stage-drag{color:#b1b9b4}.process-stage-number{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--green-700);background:var(--green-50);font-size:11px;font-weight:800}.process-stage-copy{min-width:0;display:flex;flex-direction:column}.process-stage-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.process-stage-copy strong{color:var(--green-900);font-size:13px}.process-stage-copy small{margin-top:5px;color:var(--muted);font-size:10px}.system-stage-badge{padding:4px 6px;display:inline-flex;align-items:center;gap:4px;border-radius:5px;color:#95611f;background:#fff3df;font-size:9px;font-weight:750}.stage-form-summary{display:flex;align-items:center;gap:6px;color:#68756e;font-size:11px}.stage-editor-form{padding:22px 23px 0}.custom-fields-header{margin:22px 0 10px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line-soft)}.custom-fields-header>div{display:flex;align-items:center;gap:9px;color:var(--green-700)}.custom-fields-header>div>span{display:flex;flex-direction:column}.custom-fields-header strong{color:var(--green-900);font-size:13px}.custom-fields-header small{margin-top:4px;color:var(--muted);font-size:10px}.stage-output-header{margin-top:18px}.stage-output-header .required-toggle{margin-left:auto}.stage-output-settings{margin-bottom:16px;padding:13px;border:1px solid #dce5de;background:#f8fbf9}.stage-output-settings>p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.stage-output-materials{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stage-output-links{display:flex;flex-direction:column;gap:6px}.stage-output-links>a{min-height:54px;padding:8px 9px;display:grid;grid-template-columns:29px minmax(0,1fr) auto 16px;align-items:center;gap:8px;border:1px solid var(--line-soft);background:#f8fbf8}.stage-output-links>a:hover{border-color:#b4cabb;background:#f0f7f2}.stage-output-links>a>span{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:#986226;background:#fbefdc}.stage-output-links>a>div{min-width:0;display:flex;flex-direction:column}.stage-output-links strong{overflow:hidden;color:var(--green-900);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.stage-output-links small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.stage-output-links b{color:var(--green-700);font-size:10px;white-space:nowrap}.custom-field-list{display:flex;flex-direction:column;gap:8px}.custom-field-row{padding:11px;display:grid;grid-template-columns:1.1fr .72fr 1fr 120px 36px;align-items:end;gap:8px;border:1px solid var(--line-soft);background:#fafcf9}.required-toggle{min-height:42px;display:flex;align-items:center}.required-toggle input{position:absolute;opacity:0;pointer-events:none}.required-toggle span{width:100%;min-height:38px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dce2dd;border-radius:8px;color:#7b8781;background:#fff;font-size:10px;font-weight:700}.required-toggle input:checked+span{color:var(--green-700);border-color:#8eb29d;background:var(--green-50)}.danger-icon{color:#b5574d}.custom-fields-empty{min-height:80px;display:flex;align-items:center;justify-content:center;gap:8px;color:#96a09b;border:1px dashed #d7ded8;font-size:11px}.dynamic-stage-form{margin:15px 0;padding:15px;border:1px solid #dce5de;background:#f7faf7}.dynamic-stage-form .form-section-title{margin-bottom:13px}.dynamic-stage-form .form-grid{align-items:start}.dynamic-stage-form .field{min-width:0;margin-top:0}.dynamic-stage-form .field input,.dynamic-stage-form .field select,.dynamic-stage-form .field textarea{min-width:0}.dynamic-checkbox{min-height:43px;display:flex;align-items:center}.dynamic-checkbox input{position:absolute;opacity:0}.dynamic-checkbox span{width:100%;min-height:43px;padding:0 12px;display:flex;align-items:center;gap:7px;border:1px solid #d6ddd7;border-radius:8px;color:#69756f;background:#fff;font-size:12px;font-weight:700}.dynamic-checkbox input:checked+span{color:var(--green-700);border-color:#86ad95;background:var(--green-50)}.stage-form-values{display:grid;grid-template-columns:1fr 1fr;gap:7px}.stage-form-values>div{min-height:48px;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line-soft);background:#fafbf9}.stage-form-values span{color:var(--muted);font-size:10px}.stage-form-values strong{margin-top:4px;color:var(--green-900);font-size:11px}.supplier-picker{display:grid;grid-template-columns:minmax(0,1fr) 43px;align-items:end;gap:7px}.quick-add-button{height:43px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #98b4a1;border-radius:8px;color:var(--green-700);background:var(--green-50)}.quick-add-button:hover{color:#fff;background:var(--green-700)}.suppliers-layout{margin-top:26px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:14px;align-items:start}.supplier-catalog,.supplier-detail-panel{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.supplier-catalog{overflow:hidden}.supplier-catalog>header{min-height:72px;padding:14px 16px;display:flex;align-items:center;border-bottom:1px solid var(--line-soft)}.supplier-catalog h2{margin:4px 0 0;color:var(--green-950);font-size:17px}.supplier-search{height:43px;margin:11px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #d9e0da;border-radius:8px;color:#95a099;background:#fafbf9}.supplier-search input{min-width:0;width:100%;border:0;outline:0;color:var(--green-900);background:transparent;font-size:12px}.supplier-catalog-list{max-height:600px;overflow-y:auto;border-top:1px solid var(--line-soft)}.supplier-catalog-item{width:100%;min-height:74px;padding:11px 13px;display:grid;grid-template-columns:42px minmax(0,1fr) 8px;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--line-soft);color:#6b7771;background:#fff;text-align:left}.supplier-catalog-item:hover,.supplier-catalog-item.active{background:#f4f8f5}.supplier-catalog-item.active{box-shadow:inset 3px 0 var(--green-700)}.supplier-catalog-item>span{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#a16520;background:#fbefdc;font-size:10px;font-weight:850}.supplier-catalog-item>div{min-width:0;display:flex;flex-direction:column}.supplier-catalog-item strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.supplier-catalog-item small{margin-top:5px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.supplier-catalog-item>i{width:7px;height:7px;border-radius:50%;background:#c7ceca}.supplier-catalog-item>i.active{background:#4a9368}.supplier-detail-panel{min-height:650px}.supplier-detail-header{min-height:112px;padding:20px 22px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--line-soft)}.supplier-avatar{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;color:#fff;background:var(--green-700);font-size:13px;font-weight:850}.supplier-detail-header h2{margin:3px 0 0;color:var(--green-950);font-size:20px}.supplier-detail-header p{margin:5px 0 0;color:var(--muted);font-size:11px}.supplier-status{padding:7px 9px;display:inline-flex;align-items:center;gap:5px;border-radius:7px;color:var(--green-700);background:var(--green-50);font-size:10px;font-weight:750}.supplier-kpis{padding:14px 22px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;border-bottom:1px solid var(--line-soft)}.supplier-kpis article{min-height:64px;padding:10px 12px;display:flex;align-items:center;gap:10px;color:var(--green-700);border:1px solid var(--line-soft);background:#fafbf9}.supplier-kpis article span{display:flex;flex-direction:column}.supplier-kpis small{color:var(--muted);font-size:10px}.supplier-kpis strong{margin-top:3px;color:var(--green-950);font-size:17px}.supplier-info-grid{padding:17px 22px 5px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.supplier-info-grid>div{min-height:58px;padding:9px 11px;display:flex;align-items:center;gap:9px;color:#8b9790;border:1px solid var(--line-soft)}.supplier-info-grid>div>span{min-width:0;display:flex;flex-direction:column}.supplier-info-grid small{color:var(--muted);font-size:9px}.supplier-info-grid strong{margin-top:4px;overflow-wrap:anywhere;color:var(--green-900);font-size:11px}.supplier-info-grid .span-two{grid-column:1 / -1}.supplier-certifications{padding:10px 22px 18px}.supplier-certifications>span{color:var(--muted);font-size:10px;font-weight:700}.supplier-certifications>div{margin-top:7px;display:flex;flex-wrap:wrap;gap:6px}.supplier-certifications b{padding:5px 7px;display:inline-flex;align-items:center;gap:4px;border-radius:6px;color:var(--green-700);background:var(--green-50);font-size:10px}.supplier-certifications small{color:#98a29c;font-size:10px}.supplier-deliveries{border-top:1px solid var(--line-soft)}.supplier-deliveries>header{min-height:68px;padding:13px 22px;display:flex;align-items:center;justify-content:space-between}.supplier-deliveries h3{margin:3px 0 0;color:var(--green-950);font-size:16px}.supplier-deliveries>header>span{min-width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--green-700);background:var(--green-50);font-size:10px;font-weight:800}.supplier-delivery-table{overflow-x:auto;border-top:1px solid var(--line-soft)}.supplier-delivery-row{min-width:780px;min-height:68px;padding:8px 18px;display:grid;grid-template-columns:1fr 1.2fr .75fr 1fr .75fr;align-items:center;gap:11px;border-bottom:1px solid var(--line-soft)}.supplier-delivery-table a.supplier-delivery-row{color:inherit;text-decoration:none}.supplier-delivery-table a.supplier-delivery-row:hover{background:#f7faf7}.supplier-delivery-row>span{min-width:0;display:flex;flex-direction:column}.supplier-delivery-row strong{overflow:hidden;color:var(--green-900);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.supplier-delivery-row small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.supplier-delivery-head{min-height:37px;color:#8b9691;background:#f8f9f6;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.compact-empty{min-height:160px}.traceability-panel{margin-top:13px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.traceability-panel>header{min-height:58px;padding:11px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft)}.traceability-panel>header>div{display:flex;align-items:center;gap:9px;color:var(--green-700)}.traceability-panel>header>div>span{display:flex;flex-direction:column}.traceability-panel>header strong{color:var(--green-950);font-size:13px}.traceability-panel>header small{margin-top:3px;color:var(--muted);font-size:10px}.traceability-panel>header b{padding:5px 8px;border-radius:6px;color:var(--green-700);background:var(--green-50);font-size:10px}.traceability-flow{padding:14px 17px;display:grid;grid-template-columns:minmax(0,1.2fr) 22px minmax(0,1fr) 22px minmax(0,1fr);align-items:stretch;gap:8px}.traceability-node{min-height:78px;padding:11px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:9px;border:1px solid var(--line-soft);background:#fafbf9}.traceability-node-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green-700);background:var(--green-50)}.packaging-node .traceability-node-icon{color:#765482;background:#eee8f1}.source-node .traceability-node-icon{color:#a16520;background:#fbefdc}.traceability-node>div{min-width:0;display:flex;flex-direction:column}.traceability-node>div>small{color:var(--muted);font-size:9px}.traceability-node>div>strong,.packaging-lot strong{margin-top:5px;color:var(--green-900);font-size:11px}.traceability-node>div>span:not(.packaging-lot){margin-top:5px;color:#7f8b85;font-size:9px}.traceability-arrow{align-self:center;justify-self:center;color:#aab3ae}.source-lot-list{margin-top:5px;display:flex;flex-direction:column;gap:5px}.source-lot-list>span,.source-lot-list>a,.packaging-lot{padding:5px 7px;display:flex;flex-direction:column;border-left:2px solid #c18a45;background:#fff}.source-lot-list>a:hover{background:#fff8ec}.source-lot-list strong{color:var(--green-900);font-size:10px}.source-lot-list small,.packaging-lot small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.packaging-lot{border-left-color:#80608d}.warehouse-view-switch{margin-top:14px;padding:5px;display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid var(--line-soft);border-radius:10px;background:#eef1ed}.warehouse-view-switch button{min-width:285px;min-height:52px;padding:7px 12px;display:flex;align-items:center;gap:9px;border:0;border-radius:7px;color:#7a857f;background:transparent;text-align:left}.warehouse-view-switch button>span{display:flex;flex-direction:column}.warehouse-view-switch strong{font-size:11px}.warehouse-view-switch small{margin-top:3px;font-size:9px}.warehouse-view-switch button.active{color:var(--green-700);background:#fff;box-shadow:0 2px 7px #223d2d14}.warehouse-summary-table,.warehouse-receipt-table{overflow-x:auto}.warehouse-summary-row{min-width:1020px;min-height:76px;padding:8px 18px;display:grid;grid-template-columns:1.05fr 1.2fr .66fr 1fr .66fr .85fr;align-items:center;gap:12px;border-bottom:1px solid var(--line-soft)}.warehouse-summary-table a.warehouse-summary-row{transition:background .15s ease,box-shadow .15s ease}.warehouse-summary-table a.warehouse-summary-row:hover{background:#f5f9f6;box-shadow:inset 3px 0 var(--green-700)}.stock-cost-cell{min-width:0;display:flex;flex-direction:column}.stock-cost-cell strong{overflow:hidden;color:var(--green-800);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.stock-cost-cell small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.stock-cost-cell em{margin-top:4px;color:#9a641f;font-size:10px;font-style:normal;line-height:1.35}.warehouse-summary-head,.warehouse-receipt-head{min-height:40px;color:#8b9691;background:#f8f9f6;font-size:9px;font-weight:750;letter-spacing:.045em;text-transform:uppercase}.warehouse-receipts-panel{margin-top:14px}.warehouse-receipt-row{min-width:980px;min-height:78px;padding:8px 18px;display:grid;grid-template-columns:1.1fr .8fr 1.35fr 1fr .72fr 18px;align-items:center;gap:12px;color:inherit;border-bottom:1px solid var(--line-soft);text-decoration:none}.warehouse-receipt-row:not(.warehouse-receipt-head):hover{background:#f7faf7}.receipt-main{display:flex;align-items:center;gap:9px}.receipt-main>span:first-child{width:34px;height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green-700);background:var(--green-50)}.receipt-main>span:last-child,.receipt-calibers,.receipt-location>span{min-width:0;display:flex;flex-direction:column}.receipt-main strong,.receipt-calibers strong,.receipt-location strong{overflow:hidden;color:var(--green-900);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.receipt-main small,.receipt-calibers small,.receipt-location small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.receipt-location{display:flex;align-items:center;gap:7px;color:#8a958f}.receipt-status{padding:6px 8px;display:inline-flex;align-items:center;gap:6px;border-radius:6px;color:#896325;background:#fff2db;font-size:9px;font-weight:750;white-space:nowrap}.receipt-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.receipt-status.completed{color:var(--green-700);background:var(--green-50)}.receipt-status.calibrating{color:#316d8e;background:#e7f2f8}.receipt-status.cancelled{color:#8b5a25;background:#f3e7d6}.warehouse-receipt-row.cancelled{opacity:.72;background:#fbf8f3}.warehouse-receipt-row.cancelled .receipt-main strong,.warehouse-receipt-row.cancelled .lot-number strong{text-decoration:line-through;text-decoration-thickness:1px}.lot-state.voided{color:#8b5a25;background:#f3e7d6}.reversal-banner{margin:14px 0;padding:13px 15px;display:flex;gap:10px;color:#7a4d1a;background:#fff2dc;border-left:4px solid #c78b35}.reversal-banner svg{flex:0 0 auto}.reversal-banner strong{font-size:12px}.reversal-banner p{margin:4px 0 0;font-size:11px;line-height:1.45}.receipt-heading{margin-top:17px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.production-output-origin{margin-top:14px;min-height:68px;padding:11px 14px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #bdd3c4;background:linear-gradient(90deg,#eff7f1,#fff);box-shadow:var(--shadow-sm)}.production-output-origin>svg{width:34px;height:34px;padding:8px;color:#fff;border-radius:8px;background:var(--green-700)}.production-output-origin>div{min-width:0;display:flex;flex-direction:column}.production-output-origin strong{margin-top:3px;color:var(--green-900);font-size:12px}.production-output-origin small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-title-line{display:flex;align-items:center;gap:10px}.receipt-title-line h1{margin:2px 0 0;color:var(--green-950);font-size:31px;letter-spacing:-.035em}.receipt-process-steps{margin-top:22px;padding:14px 18px;display:grid;grid-template-columns:1fr 22px 1fr 22px 1fr;align-items:center;gap:8px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.receipt-process-steps>div{display:grid;grid-template-columns:31px 1fr;align-items:center;column-gap:8px;color:#8a958f}.receipt-process-steps>div>span{width:31px;height:31px;grid-row:1 / span 2;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#8b9690;background:#eef1ee}.receipt-process-steps strong{font-size:11px}.receipt-process-steps small{margin-top:3px;font-size:9px}.receipt-process-steps>div.completed>span{color:#fff;background:var(--green-700)}.receipt-process-steps>div.active>span{color:#fff;background:#bb7d34}.receipt-process-steps>div.completed strong,.receipt-process-steps>div.active strong{color:var(--green-900)}.receipt-process-steps>svg{color:#acb5b0}.receipt-layout{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:14px}.receipt-main-column{display:flex;flex-direction:column;gap:14px}.receipt-info-panel,.calibration-panel,.output-lots-panel,.receipt-qr-card,.production-qr-reference{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.receipt-info-panel>header,.calibration-panel>header,.output-lots-panel>header{min-height:70px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft)}.receipt-info-panel>header>div{display:flex;align-items:center;gap:9px;color:var(--green-700)}.receipt-info-panel>header span{display:flex;flex-direction:column}.receipt-info-panel>header strong{color:var(--green-900);font-size:13px}.receipt-info-panel>header small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-facts{padding:14px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.receipt-facts>div{min-height:52px;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line-soft);background:#fafbf9}.receipt-facts span,.receipt-attribute-strip small{color:var(--muted);font-size:9px}.receipt-facts strong,.receipt-attribute-strip strong{margin-top:4px;color:var(--green-900);font-size:11px}.receipt-attribute-strip{padding:0 18px 15px;display:flex;flex-wrap:wrap;gap:7px}.receipt-attribute-strip>span{min-width:120px;padding:7px 9px;display:flex;flex-direction:column;border-left:2px solid #bf8640;background:#fff8ec}.calibration-panel>header h2,.output-lots-panel h2{margin:3px 0 0;color:var(--green-950);font-size:17px}.calibration-panel>header p{margin:5px 0 0;max-width:610px;color:var(--muted);font-size:10px;line-height:1.45}.calibration-progress{padding:13px 18px;display:grid;grid-template-columns:1fr 1.2fr auto;align-items:center;gap:12px;background:#f8faf7;border-bottom:1px solid var(--line-soft)}.calibration-progress>div:first-child{display:flex;flex-direction:column}.calibration-progress span{color:var(--muted);font-size:9px}.calibration-progress strong{margin-top:4px;color:var(--green-900);font-size:12px}.calibration-track{height:6px;overflow:hidden;border-radius:3px;background:#e1e6e1}.calibration-track span{display:block;height:100%;background:var(--green-700)}.calibration-progress>small{color:#9a681f;font-size:9px}.calibration-progress>small.done{color:var(--green-700)}.calibration-progress>small.over{color:#b55147}.calibration-table{overflow-x:auto}.calibration-row{min-width:520px;min-height:62px;padding:8px 18px;display:grid;grid-template-columns:1fr .9fr 36px;align-items:center;gap:10px;border-bottom:1px solid var(--line-soft)}.calibration-head{min-height:36px;color:#8b9691;background:#f8f9f6;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.calibration-row .field input,.calibration-row .field select{height:38px}.mobile-field-label{display:none}.calibration-actions{padding:14px 18px;display:flex;justify-content:flex-end;gap:8px;background:#fafbf9}.output-lots-panel>header>span{min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--green-700);background:var(--green-50);font-size:10px;font-weight:800}.output-lot-grid{padding:14px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.output-lot-grid article,.output-lot-grid>a{min-height:88px;padding:10px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;border:1px solid var(--line-soft);background:#fafbf9}.output-lot-grid>a:hover{border-color:#b8cec0;background:#f4f8f5}.output-lot-grid>a.selected{border-color:#79a88c;background:#edf6f0;box-shadow:inset 3px 0 var(--green-700)}.output-lot-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#a16520;background:#fbefdc}.output-lot-grid article>div,.output-lot-grid>a>div{display:flex;flex-direction:column}.output-lot-grid strong{color:var(--green-900);font-size:11px}.output-lot-grid small{margin-top:4px;color:var(--muted);font-size:9px}.output-lot-grid em{margin-top:4px;color:#8b6228;font-size:10px;font-style:normal;line-height:1.35}.output-lot-grid article>div>span,.output-lot-grid>a>div>span{margin-top:5px;display:flex;align-items:center;gap:4px;color:#758079;font-size:9px}.output-lot-grid article>b,.output-lot-grid>a>b{padding:5px 7px;color:var(--green-700);background:var(--green-50);font-size:8px}.receipt-qr-card{position:sticky;top:18px;padding:17px;text-align:center}.qr-label-brand{display:flex;align-items:center;gap:8px;text-align:left}.qr-label-brand>span{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:var(--green-700)}.qr-label-brand>div{display:flex;flex-direction:column}.qr-label-brand strong{color:var(--green-950);font-size:12px}.qr-label-brand small{margin-top:2px;color:var(--muted);font-size:8px}.qr-code-wrap{margin:18px auto 12px;display:flex;justify-content:center}.receipt-qr-card h3{margin:0;color:var(--green-950);font-size:18px}.receipt-qr-card>p{margin:5px 0 0;color:var(--muted);font-size:9px}.qr-label-meta{margin-top:14px;text-align:left;border-top:1px solid var(--line-soft)}.qr-label-meta>span{padding:8px 0;display:flex;flex-direction:column;border-bottom:1px solid var(--line-soft)}.qr-label-meta small{color:var(--muted);font-size:8px}.qr-label-meta strong{margin-top:3px;color:var(--green-900);font-size:10px}.receipt-qr-card footer{margin:13px -4px -3px;padding:10px;color:#78837d;background:#f4f7f4;font-size:8px;line-height:1.45}.production-qr-reference{position:sticky;top:18px;overflow:hidden;padding:19px;text-align:center;border-color:#b8d2c1;background:linear-gradient(155deg,#f0f8f3,#fff 54%)}.production-qr-reference>span{width:52px;height:52px;margin:0 auto 11px;display:grid;place-items:center;color:#fff;border-radius:14px;background:linear-gradient(145deg,var(--green-700),#58a27c);box-shadow:0 8px 18px #25694d38}.production-qr-reference>.section-kicker{margin:0;color:var(--green-700);font-size:9px}.production-qr-reference>h2{margin:5px 0 0;color:var(--green-950);font-size:18px;letter-spacing:-.02em}.production-qr-reference>p:not(.section-kicker){margin:9px 0 0;color:#687a70;font-size:10px;line-height:1.55}.production-qr-reference>div{margin:15px 0 13px;padding:11px;display:flex;flex-direction:column;border:1px solid #d6e5db;border-radius:8px;background:#ffffffc2;text-align:left}.production-qr-reference>div small{color:#809087;font-size:8px}.production-qr-reference>div strong{margin-top:3px;color:var(--green-900);font-size:13px}.production-qr-reference>div span{margin-top:3px;color:#77867f;font-size:9px}.production-qr-reference>.button{width:100%;justify-content:center}.production-qr-reference>footer{margin:15px -19px -19px;padding:11px 13px;display:flex;align-items:flex-start;justify-content:center;gap:6px;color:#587063;border-top:1px solid #d9e6dd;background:#eaf4ed;font-size:8.5px;line-height:1.45;text-align:left}.production-qr-reference>footer svg{flex:0 0 auto}.selected-receipt-lot{border:1px solid #bcd2c4;background:#fff;box-shadow:var(--shadow-sm)}.selected-receipt-lot>header{min-height:76px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft);background:linear-gradient(90deg,#f2f8f4,#fff)}.selected-receipt-lot h2{margin:3px 0 0;color:var(--green-950);font-size:19px}.selected-receipt-lot header p{margin:5px 0 0;color:var(--muted);font-size:11px}.selected-receipt-lot-kpis{padding:13px 17px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.selected-receipt-lot-kpis article{min-height:62px;padding:9px 10px;display:flex;align-items:center;gap:9px;color:var(--green-700);border:1px solid var(--line-soft);background:#fafbf9}.selected-receipt-lot-kpis article>span{min-width:0;display:flex;flex-direction:column}.selected-receipt-lot-kpis small{color:var(--muted);font-size:10px}.selected-receipt-lot-kpis strong{margin-top:4px;color:var(--green-900);font-size:13px}.selected-receipt-lot-meta{padding:0 17px 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px}.selected-receipt-lot-meta>span{padding:8px 9px;display:flex;flex-direction:column;border-left:2px solid #bd8440;background:#fff8ec}.selected-receipt-lot-meta small{color:#8d7758;font-size:9.5px}.selected-receipt-lot-meta strong{margin-top:3px;color:#63481f;font-size:11.5px}.stock-route-loading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:13px}.stock-detail-heading{min-height:118px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.stock-detail-heading h1{margin:0;color:var(--green-950);font-size:clamp(27px,3vw,38px);line-height:1.06;letter-spacing:-.035em}.stock-heading-attributes{margin-top:13px;display:flex;flex-wrap:wrap;gap:7px}.stock-heading-attributes>span{min-width:100px;padding:7px 9px;display:flex;flex-direction:column;border-left:2px solid #bd8440;background:#fff8ec}.stock-heading-attributes small{color:#907653;font-size:10px}.stock-heading-attributes strong{margin-top:3px;color:#62451f;font-size:12px}.stock-scope-badge{padding:9px 11px;display:inline-flex;align-items:center;gap:7px;color:var(--green-700);border:1px solid #c8d9ce;background:var(--green-50);font-size:11px;font-weight:750}.stock-detail-kpis{margin-top:13px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.stock-detail-kpis article{min-height:92px;padding:14px;display:flex;align-items:center;gap:11px;border:1px solid var(--line-soft);background:#fff}.stock-detail-kpis article>span{width:38px;height:38px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.stock-detail-kpis article>div{min-width:0;display:flex;flex-direction:column}.stock-detail-kpis small{color:var(--muted);font-size:11px}.stock-detail-kpis strong{margin-top:4px;color:var(--green-950);font-size:19px}.stock-detail-kpis p{margin:3px 0 0;color:#8a958f;font-size:10.5px}.stock-lot-breakdown-panel,.stock-productions-panel,.warehouse-lot-info-panel,.lot-balance-panel{margin-top:14px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.stock-lot-breakdown-panel>header,.stock-productions-panel>header,.warehouse-lot-info-panel>header{min-height:77px;padding:14px 19px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.stock-lot-breakdown-panel h2,.stock-productions-panel h2,.warehouse-lot-info-panel h2,.lot-balance-panel h2{margin:3px 0 0;color:var(--green-950);font-size:18px}.stock-lot-breakdown-panel header p,.stock-productions-panel header p{margin:5px 0 0;color:var(--muted);font-size:12px}.stock-lot-breakdown-table{overflow-x:auto}.stock-lot-breakdown-row{min-width:1350px;min-height:82px;padding:8px 18px;display:grid;grid-template-columns:1.05fr 1.15fr .9fr .65fr 1fr .6fr .6fr .65fr 18px;align-items:center;gap:13px;border-bottom:1px solid var(--line-soft)}a.stock-lot-breakdown-row:hover{background:#f5f9f6}.stock-lot-breakdown-head{min-height:40px;color:#89948e;background:#f8f9f6;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.stock-lot-breakdown-row>span:not(.stock-lot-id){min-width:0;display:flex;flex-direction:column}.stock-lot-breakdown-row strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.stock-lot-breakdown-row small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.stock-lot-breakdown-row small svg{margin-right:3px;vertical-align:-2px}.stock-lot-id{min-width:0;display:flex;align-items:center;gap:9px}.stock-lot-id>i{width:35px;height:35px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#9a6627;background:#fbefdc}.stock-lot-id>span{min-width:0;display:flex;flex-direction:column}.stock-lot-breakdown-row .reserved-value strong{color:#9a641f}.stock-lot-breakdown-row .available-value strong{color:var(--green-700)}.stock-lot-breakdown-row>svg{color:#95a099}.stock-production-tabs{display:flex;gap:5px}.stock-production-tabs button{height:38px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:7px;color:#6d7972;background:transparent;font-size:11.5px;font-weight:750}.stock-production-tabs button.active{color:var(--green-800);border-color:#c7d8cd;background:var(--green-50)}.stock-production-tabs button span{min-width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#216b531a;font-size:8.5px}.stock-production-list{display:flex;flex-direction:column}.stock-production-card{min-height:88px;padding:10px 18px;display:grid;grid-template-columns:38px minmax(200px,1.3fr) .7fr .85fr auto 18px;align-items:center;gap:13px;border-bottom:1px solid var(--line-soft)}.stock-production-card:hover{background:#f6f9f6}.stock-production-card:last-child{border-bottom:0}.stock-production-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.stock-production-icon.quality-hold{color:#a0641e;background:#fff1dc}.stock-production-icon.ready{color:var(--blue);background:var(--blue-soft)}.stock-production-icon.completed{color:#64736b;background:#edf0ed}.stock-production-main,.stock-production-allocation,.stock-production-stage{min-width:0;display:flex;flex-direction:column}.stock-production-main>span{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.stock-production-main strong,.stock-production-allocation strong,.stock-production-stage strong{overflow:hidden;color:var(--green-900);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.stock-production-main small,.stock-production-allocation small,.stock-production-stage small{margin-top:5px;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.stock-production-stage small{margin:0 0 5px;display:flex;align-items:center;gap:4px}.stock-production-allocation em{margin-top:3px;color:#8b9690;font-size:8.5px;font-style:normal}.stock-production-state{padding:4px 6px;border-radius:5px;color:var(--green-700);background:var(--green-50);font-size:10px;font-style:normal;font-weight:750}.stock-production-state.quality-hold{color:#a0641e;background:#fff1dc}.stock-production-state.ready{color:var(--blue);background:var(--blue-soft)}.stock-production-state.completed{color:#65716b;background:#edf0ed}.stock-production-progress{height:4px;margin-top:7px;overflow:hidden;border-radius:3px;background:#e5eae6}.stock-production-progress i{display:block;height:100%;background:var(--green-700)}.stock-production-card>svg{color:#95a099}.stock-productions-empty{min-height:110px;padding:22px;display:flex;align-items:center;justify-content:center;gap:11px;color:#93a099}.stock-productions-empty>div{display:flex;flex-direction:column}.stock-productions-empty strong{color:var(--green-900);font-size:13px}.stock-productions-empty span{margin-top:5px;color:var(--muted);font-size:11px}.lot-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.lot-state{padding:7px 9px;display:inline-flex;align-items:center;gap:6px;color:var(--green-700);background:var(--green-50);font-size:10px;font-weight:750}.lot-state>i{width:6px;height:6px;border-radius:50%;background:currentColor}.warehouse-lot-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px;align-items:start}.warehouse-lot-facts{padding:13px 17px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.warehouse-lot-facts>div{min-height:60px;padding:9px 10px;display:flex;align-items:center;gap:9px;color:#87938d;border:1px solid var(--line-soft);background:#fafbf9}.warehouse-lot-facts span{min-width:0;display:flex;flex-direction:column}.warehouse-lot-facts small{color:var(--muted);font-size:10.5px}.warehouse-lot-facts strong{margin-top:4px;overflow-wrap:anywhere;color:var(--green-900);font-size:12px}.warehouse-lot-attributes{padding:0 17px 14px;display:flex;flex-wrap:wrap;gap:7px}.warehouse-lot-attributes>span{min-width:110px;padding:7px 9px;display:flex;flex-direction:column;border-left:2px solid #bd8440;background:#fff8ec}.warehouse-lot-attributes small{color:#8b7457;font-size:10px}.warehouse-lot-attributes strong{margin-top:3px;color:#63471f;font-size:11.5px}.warehouse-lot-note{margin:0 17px 16px;padding:11px;display:flex;gap:8px;color:#8d652e;background:#fff8eb}.warehouse-lot-note span{display:flex;flex-direction:column}.warehouse-lot-note strong{font-size:11.5px}.warehouse-lot-note p{margin:4px 0 0;font-size:11px;line-height:1.5}.lot-balance-panel>header{padding:15px 17px;border-bottom:1px solid var(--line-soft)}.lot-balance-chart{padding:18px 17px;border-bottom:1px solid var(--line-soft)}.lot-balance-track{height:12px;display:flex;overflow:hidden;border-radius:7px;background:#dcece2}.lot-balance-track i,.lot-balance-track b{display:block;height:100%}.lot-balance-track .consumed-segment{background:#6d5680}.lot-balance-track .reserved-segment{background:#d49a4e}.lot-balance-chart>div:last-child{margin-top:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.lot-balance-chart>div:last-child span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.lot-balance-chart>div:last-child i{width:7px;height:7px;border-radius:50%}.reserved-dot{background:#d49a4e}.consumed-dot{background:#6d5680}.available-dot{background:#78a98b}.lot-balance-chart strong{color:var(--green-900);font-size:11px}.lot-reservation-list{padding:14px 17px}.lot-reservation-list h3{margin:0 0 9px;color:var(--green-900);font-size:12px}.lot-reservation-list>p{margin:0;padding:13px;color:var(--muted);background:#fafbf9;font-size:10px}.lot-reservation-row{min-height:61px;padding:8px 0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;border-bottom:1px solid var(--line-soft)}.lot-reservation-row:last-child{border-bottom:0}.lot-reservation-row>span{min-width:0;display:flex;flex-direction:column}.lot-reservation-row strong{color:var(--green-800);font-size:11.5px}.lot-reservation-row small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.lot-reservation-row b{display:flex;flex-direction:column;align-items:flex-end;color:var(--green-900);font-size:11px}.lot-reservation-row b small{color:#8b6228;font-weight:650;white-space:nowrap}.lot-reservation-row em{padding:4px 5px;color:var(--green-700);background:var(--green-50);font-size:9px;font-style:normal}.lot-reservation-row em.released{color:#777;background:#eee}.lot-reservation-row em.consumed{color:#6d5680;background:#eee8f1}.field-help{margin-top:-2px;color:var(--muted);font-size:10px;font-weight:500}.client-stats-grid{margin-top:26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.client-stats-grid article{min-height:112px;padding:17px;display:flex;align-items:flex-start;gap:13px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.client-stat-icon{width:41px;height:41px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.client-stat-icon.green{color:var(--green-700);background:var(--green-50)}.client-stat-icon.amber{color:#a86b22;background:#fbf1df}.client-stat-icon.blue{color:var(--blue);background:var(--blue-soft)}.client-stat-icon.terracotta{color:#a65a3e;background:#f6e7df}.client-stats-grid article>div{min-width:0;display:flex;flex-direction:column}.client-stats-grid small{color:var(--muted);font-size:11px;font-weight:650}.client-stats-grid strong{margin-top:8px;color:var(--green-950);font-size:27px;line-height:1}.client-stats-grid p{margin:7px 0 0;color:#89938e;font-size:10px}.clients-panel{margin-top:16px;overflow:hidden;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.clients-panel-header{min-height:78px;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.clients-panel-header h2{margin:3px 0 0;color:var(--green-950);font-size:18px}.client-search{width:min(340px,34vw);height:42px;padding:0 11px;display:flex;align-items:center;gap:8px;color:#8b9690;border:1px solid var(--line);border-radius:8px;background:#fafbf9}.client-search input{min-width:0;width:100%;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px}.clients-table{overflow-x:auto}.client-row{min-width:1120px;min-height:82px;padding:9px 18px;display:grid;grid-template-columns:1.35fr 1fr 1.25fr .65fr .7fr .82fr 22px;align-items:center;gap:15px;border-bottom:1px solid var(--line-soft);transition:background .15s ease}a.client-row:hover{background:#f8faf7}.client-row:last-child{border-bottom:0}.client-row-head{min-height:42px;color:#8b9691;background:#f8f9f6;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.client-row>span:not(.client-company):not(.row-arrow){min-width:0;display:flex;flex-direction:column}.client-row strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.client-row small{margin-top:5px;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.client-company{min-width:0;display:flex;align-items:center;gap:10px}.client-company>i{width:42px;height:42px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#fff;background:var(--green-700);font-size:10px;font-style:normal;font-weight:850}.client-company>span{min-width:0;display:flex;flex-direction:column}a.client-row:hover .row-arrow{opacity:1;transform:translate(0)}.client-back{margin-bottom:16px}.client-back a{display:inline-flex;align-items:center;gap:7px;color:#66736c;font-size:12px;font-weight:700}.board-client-link{color:var(--green-700);font-weight:750;border-bottom:1px solid #a9c6b6}.board-client-link:hover{color:var(--green-900)}.client-profile-hero{min-height:126px;padding:22px 24px;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:16px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.client-profile-avatar{width:64px;height:64px;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--green-700),var(--green-900));font-size:16px;font-weight:850}.client-profile-title h1{margin:3px 0 0;color:var(--green-950);font-size:clamp(25px,2.8vw,35px);line-height:1.1;letter-spacing:-.035em}.client-profile-title p{margin:9px 0 0;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.client-profile-kpis{margin-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.client-profile-kpis article{min-height:90px;padding:14px;display:flex;align-items:center;gap:11px;border:1px solid var(--line-soft);background:#fff}.client-profile-kpis article>span{width:37px;height:37px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.client-profile-kpis article>div{min-width:0;display:flex;flex-direction:column}.client-profile-kpis small{color:var(--muted);font-size:10px}.client-profile-kpis strong{margin-top:4px;overflow:hidden;color:var(--green-950);font-size:19px;text-overflow:ellipsis;white-space:nowrap}.client-profile-kpis p{margin:3px 0 0;color:#8d9892;font-size:9.5px}.client-profile-layout{margin-top:14px;display:grid;grid-template-columns:340px minmax(0,1fr);align-items:start;gap:14px}.client-profile-info,.client-orders-panel{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.client-profile-info>header,.client-orders-panel>header{min-height:76px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line-soft)}.client-profile-info h2,.client-orders-panel h2{margin:3px 0 0;color:var(--green-950);font-size:17px}.client-info-list{padding:7px 17px}.client-info-list>div{min-height:62px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;color:#89958e;border-bottom:1px solid var(--line-soft)}.client-info-list>div:last-child{border-bottom:0}.client-info-list span{min-width:0;display:flex;flex-direction:column}.client-info-list small{color:var(--muted);font-size:10px}.client-info-list strong{margin-top:4px;overflow-wrap:anywhere;color:var(--green-900);font-size:12px}.client-note{margin:8px 17px 17px;padding:12px;display:flex;gap:9px;color:#976226;background:#fff7e9}.client-note svg{flex:0 0 auto}.client-note strong{color:#7b4f1d;font-size:11px}.client-note p{margin:5px 0 0;color:#795e3e;font-size:10.5px;line-height:1.55}.client-order-tabs{display:flex;align-items:center;gap:5px}.client-order-tabs button{height:36px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:7px;color:#69766f;background:transparent;font-size:11px;font-weight:700}.client-order-tabs button.active{color:var(--green-800);border-color:#cad9cf;background:var(--green-50)}.client-order-tabs span{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:inherit;background:#216b5317;font-size:9px}.client-orders-list{display:flex;flex-direction:column}.client-order-card{min-height:82px;padding:10px 17px;display:grid;grid-template-columns:30px minmax(190px,1.5fr) minmax(110px,.8fr) 105px auto 18px;align-items:center;gap:12px;border-bottom:1px solid var(--line-soft)}.client-order-card:hover{background:#f8faf7}.client-order-card:last-child{border-bottom:0}.client-order-main,.client-order-stage,.client-order-date{min-width:0;display:flex;flex-direction:column}.client-order-card strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.client-order-card small{margin-bottom:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.client-order-main small{margin:5px 0 0}.client-order-card>svg{color:#95a099}.workspace{font-size:15px}.profile-copy strong{font-size:13px}.profile-copy small{font-size:11px}.eyebrow,.section-kicker{font-size:12px}.page-subtitle{font-size:15px;line-height:1.55}.button{min-height:44px;font-size:14px}.stat-content>span{font-size:12px}.stat-content strong{font-size:30px}.stat-content small{font-size:11px}.stat-trend{font-size:10px}.panel-header h2{font-size:18px}.panel-header p{font-size:12px}.search-field input,.select-field select{font-size:13px}.order-row-head,.warehouse-row-head{min-height:44px;font-size:10px}.order-row{min-height:82px}.warehouse-row{min-height:94px}.order-main strong{font-size:13px}.order-main small,.product-cell small,.stage-cell small,.due-cell small{font-size:11px;line-height:1.35}.product-cell strong,.stage-cell strong,.due-cell strong{font-size:12.5px}.progress-cell strong{font-size:11px}.status-badge{padding:6px 9px;font-size:11px}.modal-header h2{font-size:22px}.modal-header p{font-size:13px}.form-section-title strong{font-size:14px}.form-section-title small{font-size:11px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:14px}.form-error,.board-breadcrumbs,.back-link{font-size:12px}.board-title-block p{font-size:14px}.priority-badge{font-size:10px}.order-facts span{font-size:11px}.order-facts strong{font-size:13px}.route-overview h2{font-size:17px}.route-progress-copy span{font-size:11px}.rail-stage{font-size:10px}.stage-group-label{font-size:11px}.stage-row{min-height:70px}.stage-row-main strong,.stage-row-time strong,.stage-row-weight strong{font-size:13px}.stage-row-main small,.stage-row-time small,.stage-row-weight small,.process-summary span{font-size:11px}.process-summary strong{font-size:13px}.stage-detail-panel,.reservations-panel{top:18px}.stage-detail-header h2{font-size:18px}.detail-status-line>span:last-child{font-size:11px}.block-alert strong,.block-alert p,.stage-description{font-size:12px}.detail-section h3{font-size:13px}.date-grid span,.weight-strip span{font-size:10px}.date-grid strong{font-size:12px}.weight-strip strong{font-size:13px}.loss-box small{font-size:10px}.checkpoints strong{font-size:11.5px}.checkpoints small{font-size:10.5px}.detail-note strong{font-size:11px}.detail-note p{font-size:10.5px}.completed-stamp strong{font-size:12px}.completed-stamp small,.skipped-stamp{font-size:10.5px}.warehouse-stats small{font-size:11px}.warehouse-stats strong{font-size:24px}.warehouse-stats article div span{font-size:10px}.lot-main strong,.lot-number strong,.availability-cell strong,.location-cell strong{font-size:12px}.lot-main small,.lot-number small,.availability-cell small,.location-cell small{font-size:10.5px}.attribute-stack>span{font-size:10px}.reservations-panel h2{font-size:16px}.reservation-item{min-height:76px}.reservation-item strong{font-size:12px}.reservation-item div span,.reservation-item small,.reservation-item b{font-size:10px}.reservations-panel>footer{font-size:10.5px}.settings-intro h2{font-size:17px}.settings-intro p{font-size:12px}.materials-settings h2,.parameters-settings h2{font-size:16px}.materials-settings p,.parameters-settings p{font-size:11px}.material-setting-item strong{font-size:12px}.material-setting-item small,.material-setting-item b{font-size:10px}.parameter-card>header strong{font-size:12px}.parameter-card>header small{font-size:10px}.option-chips span{font-size:10px}.add-option-row input{font-size:11px}.settings-field-group>span,.material-toggle{font-size:12px}.stock-requirement-banner span{font-size:10.5px}.stock-requirement-banner strong{font-size:18px}.stock-requirement-banner small{font-size:10px}.stock-requirement-banner label input,.stock-lots-section h3{font-size:15px}.small-button{font-size:11px}.stock-lot-head{font-size:9.5px}.stock-lot-main strong{font-size:11.5px}.stock-lot-main small{font-size:10px}.allocation-input input{font-size:12px}.allocation-input span{font-size:10px}.stock-empty strong{font-size:12px}.stock-empty span,.selection-total span,.selection-total small{font-size:10.5px}.selection-total strong{font-size:13px}.route-logic-legend{margin-top:13px;padding:9px 11px;display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;color:#607069;background:#f6f8f5;border:1px solid var(--line-soft);font-size:10.5px}.route-logic-legend span{display:inline-flex;align-items:center;gap:6px}.route-logic-legend i{width:8px;height:8px;border-radius:50%}.route-logic-legend .main-flow-dot{background:var(--green-700)}.route-logic-legend .warehouse-flow-dot{background:#d49535;box-shadow:0 0 0 3px #fff0d7}.route-rail{padding-top:20px}.rail-stage{min-width:108px;flex-basis:108px;white-space:normal}.rail-stage-copy{width:100%;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}.rail-stage-copy strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}.rail-stage-copy small{color:#99a39e;font-size:9px;font-weight:550}.rail-stage-copy em{margin-top:3px;padding:3px 5px;color:#96611c;background:#fff2dc;border-radius:4px;font-size:8.5px;font-style:normal;font-weight:750}.rail-stage.selected .rail-stage-copy strong{color:var(--green-800);font-weight:800}.revision-badge{padding:4px 7px;color:#55685e!important;background:#edf2ee;border-radius:5px;font-size:10px!important;font-weight:750}.detail-section.stage-history-section h3{display:flex;align-items:center;gap:6px}.stage-history-list{display:flex;flex-direction:column;gap:9px}.stage-history-list>div{display:grid;grid-template-columns:27px minmax(0,1fr);gap:8px}.stage-history-list>div>span{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;color:var(--green-700);background:var(--green-50);border-radius:50%}.stage-history-list>div.rollback-event>span{color:#a2661d;background:#fff0d7}.stage-history-list>div>div{min-width:0;display:flex;flex-direction:column}.stage-history-list strong{color:#3f4d46;font-size:10.5px;line-height:1.35}.stage-history-list small{margin-top:2px;color:#89958f;font-size:9.5px}.stage-history-list p{margin:4px 0 0;color:#9a621f;font-size:9.5px;line-height:1.4}.button.rollback-button{color:#82581f;background:#fff8eb;border:1px solid #e3c58f}.button.rollback-button:hover{color:#67400d;background:#fff0d3}.process-activity-panel{margin-top:14px;overflow:hidden;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.process-activity-panel>header{min-height:86px;padding:16px 19px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft)}.process-activity-panel>header>div{display:flex;align-items:center;gap:11px}.process-activity-panel>header>div>span{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;color:var(--green-700);background:var(--green-50);border-radius:9px}.process-activity-panel h2{margin:1px 0 0;color:var(--green-950);font-size:17px}.process-activity-panel header p{margin:5px 0 0;color:var(--muted);font-size:11px}.process-activity-panel header b{padding:6px 9px;color:#5f6e66;background:#f1f4f1;border-radius:6px;font-size:11px;white-space:nowrap}.process-activity-list{padding:5px 19px 10px}.process-activity-event{min-height:73px;display:grid;grid-template-columns:35px minmax(0,1fr) 135px;align-items:start;gap:11px;padding:13px 0;border-bottom:1px solid #edf0ed}.process-activity-event:last-child{border-bottom:0}.activity-event-icon{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;color:var(--green-700);background:var(--green-50);border-radius:50%}.process-activity-event.stage_rolled_back .activity-event-icon{color:#9a631c;background:#fff0d6}.process-activity-event.stage_blocked .activity-event-icon{color:#a3591c;background:#fff0df}.activity-event-copy{min-width:0}.activity-event-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.activity-event-copy strong{color:#35443d;font-size:12.5px}.activity-event-copy em{padding:3px 5px;color:#627169;background:#eff3ef;border-radius:4px;font-size:9px;font-style:normal;font-weight:750}.activity-event-copy p{margin:5px 0 0;color:#69766f;font-size:11px;line-height:1.45}.activity-event-copy blockquote{margin:7px 0 0;padding:7px 9px;color:#81551c;background:#fff8ec;border-left:3px solid #d5a24c;font-size:10.5px}.activity-receipt-links{margin-top:7px;display:flex;flex-wrap:wrap;gap:6px}.activity-receipt-links a{padding:4px 6px;display:inline-flex;align-items:center;gap:4px;color:var(--green-700);background:var(--green-50);border-radius:4px;font-size:9.5px;font-weight:750}.process-activity-event time{display:flex;flex-direction:column;align-items:flex-end;color:#65736c;font-size:10.5px;font-weight:700;text-align:right}.process-activity-event time small{margin-top:4px;color:#98a19d;font-size:9.5px;font-weight:500}.rollback-form{padding-top:16px}.rollback-explanation{padding:13px 14px;display:flex;gap:10px;color:#76501f;background:#fff7e8;border-left:3px solid #d39b42}.rollback-explanation svg{flex:0 0 auto;margin-top:1px}.rollback-explanation strong{font-size:13px}.rollback-explanation p{margin:5px 0 0;color:#765f40;font-size:11.5px;line-height:1.5}.rollback-impact-grid{margin:12px 0;display:grid;grid-template-columns:.72fr 1.3fr 1fr 1fr;gap:8px}.rollback-impact-grid>div{min-height:94px;padding:12px;display:flex;flex-direction:column;background:#f6f8f5;border:1px solid var(--line-soft)}.rollback-impact-grid span{color:#7a8780;font-size:10px}.rollback-impact-grid strong{margin-top:7px;color:var(--green-900);font-size:22px}.rollback-impact-grid small{margin-top:5px;overflow:hidden;color:#6f7b75;font-size:9.5px;line-height:1.4}.rollback-impact-grid .warning-impact{background:#fff9ee;border-color:#ead5ad}.rollback-impact-grid .warning-impact strong{color:#9a631c}.rollback-stock-warning{margin-bottom:13px;padding:11px 12px;display:flex;gap:9px;color:#925d19;background:#fff3dd}.rollback-stock-warning svg{flex:0 0 auto}.rollback-stock-warning strong{font-size:11.5px}.rollback-stock-warning p{margin:4px 0 0;font-size:10.5px;line-height:1.45}.rollback-form .field>small{margin-top:5px;color:#87928c;font-size:10px}.button.rollback-confirm{color:#fff;background:#9b651f}.button.rollback-confirm:hover{background:#805016}.button.rollback-confirm:disabled{opacity:.55}@media(max-width:1440px){.clients-table,.supplier-delivery-table,.stock-lot-breakdown-table{overflow:visible}.client-row-head,.supplier-delivery-head,.stock-lot-breakdown-head{display:none}.client-row:not(.client-row-head){width:100%;min-width:0;min-height:0;padding:15px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 18px;align-items:start}.client-row:not(.client-row-head)>.row-arrow{display:none}.supplier-delivery-row:not(.supplier-delivery-head){width:100%;min-width:0;min-height:0;padding:14px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 18px;align-items:start}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head){width:100%;min-width:0;min-height:0;padding:15px 17px;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 18px;align-items:start}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>svg{display:none}}@media(max-width:1220px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.board-grid{grid-template-columns:minmax(0,1fr) 330px}.stage-row{grid-template-columns:30px minmax(140px,1.4fr) .9fr .55fr 18px}.stage-row-weight{display:none}.warehouse-layout{grid-template-columns:1fr}.reservations-panel{position:static}.processes-layout{grid-template-columns:280px minmax(0,1fr)}.process-stage-card{grid-template-columns:20px 34px minmax(160px,1fr) 36px}.stage-form-summary{display:none}.custom-field-row{grid-template-columns:1fr 1fr}.custom-field-row .icon-button{align-self:center}.receipt-layout{grid-template-columns:minmax(0,1fr) 260px}.client-stats-grid,.client-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.client-profile-layout{grid-template-columns:300px minmax(0,1fr)}.client-order-card{grid-template-columns:30px minmax(180px,1fr) 105px auto 18px}.client-order-stage{display:none}.stock-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-production-card{grid-template-columns:38px minmax(190px,1.2fr) .7fr auto 18px}.stock-production-stage{display:none}}@media(max-width:1180px)and (min-width:721px){.sidebar{width:76px;padding-inline:12px}.brand{justify-content:center;padding-inline:0}.brand-copy,.nav-item span,.nav-caption,.facility-card div,.facility-card .live-dot{display:none}.nav-item{justify-content:center;padding:0}.facility-card{justify-content:center;padding:9px}.sidebar-profile-button{justify-content:center;padding:5px}.sidebar-profile-button .profile-copy,.sidebar-profile-button>svg{display:none}.sidebar-profile-dropdown{left:calc(100% + 10px)}.workspace{margin-left:76px}}@media(max-height:780px)and (min-width:721px){.sidebar{padding-top:13px;padding-bottom:11px}.brand{padding-bottom:11px}.main-nav{gap:2px}.nav-item{min-height:37px}.nav-caption-secondary{margin-top:2px;padding-top:3px}.facility-card{display:none}.sidebar-profile-wrap{padding-top:4px}.sidebar-profile-button{min-height:47px}}@media(max-width:980px){.sidebar{width:76px;padding-inline:12px}.brand{justify-content:center;padding-inline:0}.brand-copy,.nav-item span,.nav-caption,.facility-card div,.facility-card .live-dot{display:none}.nav-item{justify-content:center;padding:0}.facility-card{justify-content:center;padding:9px}.workspace{margin-left:76px}.page{padding-inline:24px}.filters{flex-wrap:wrap;justify-content:flex-end}.board-grid{grid-template-columns:1fr}.stage-detail-panel{position:static}.order-facts{grid-template-columns:repeat(2,1fr)}.order-facts>div:nth-child(2n){border-right:0}.order-facts>div:nth-child(n+3){padding-top:9px}.warehouse-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout,.processes-layout{grid-template-columns:1fr}.process-catalog{max-height:320px;overflow-y:auto}.suppliers-layout{grid-template-columns:1fr}.supplier-catalog-list{max-height:310px}.receipt-layout{grid-template-columns:1fr}.receipt-qr-card,.production-qr-reference{position:static;max-width:360px}.client-profile-layout,.warehouse-lot-layout{grid-template-columns:1fr}.warehouse-panel,.suppliers-layout>*,.settings-layout>*,.orders-panel,.clients-panel,.supplier-catalog,.supplier-detail-panel,.parameters-settings,.materials-settings{min-width:0}.orders-table,.clients-table,.warehouse-summary-table,.warehouse-receipt-table,.supplier-delivery-table{overflow:visible}.order-row-head,.client-row-head,.warehouse-summary-head,.warehouse-receipt-head,.supplier-delivery-head{display:none}.order-row:not(.order-row-head){width:100%;min-width:0;min-height:0;padding:15px 16px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;grid-template-rows:auto auto;gap:13px 18px;align-items:center}.order-row:not(.order-row-head)>.stage-cell{grid-column:1;grid-row:2}.order-row:not(.order-row-head)>.progress-cell{grid-column:2;grid-row:2}.order-row:not(.order-row-head)>.due-cell{grid-column:3;grid-row:2;align-items:flex-end;text-align:right}.order-row:not(.order-row-head)>span:nth-child(6){grid-column:3;grid-row:1;justify-self:end}.order-row:not(.order-row-head)>.row-arrow{display:none}.client-row:not(.client-row-head){width:100%;min-width:0;min-height:0;padding:15px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 18px;align-items:start}.client-row:not(.client-row-head)>.row-arrow{display:none}.warehouse-summary-row:not(.warehouse-summary-head){width:100%;min-width:0;min-height:0;padding:15px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 18px;align-items:start}.warehouse-receipt-row:not(.warehouse-receipt-head){width:100%;min-width:0;min-height:0;padding:15px 16px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:15px 18px;align-items:start}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-calibers{grid-column:1;grid-row:2}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-location{grid-column:2;grid-row:2}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-status{grid-column:3;grid-row:1}.warehouse-receipt-row:not(.warehouse-receipt-head)>svg{display:none}.supplier-delivery-row:not(.supplier-delivery-head){width:100%;min-width:0;min-height:0;padding:14px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 18px;align-items:start}}@media(max-width:720px){html,body,#root{max-width:100%;overflow-x:hidden}.sidebar{display:none}.workspace{margin-left:0}.profile-copy{display:none}.page{max-width:100%;padding:24px 14px 45px}.page>*,.page-heading>*,.board-heading>*{min-width:0;max-width:100%}.page-heading,.board-heading{align-items:flex-start}.page-heading{flex-direction:column}.page-heading .button{width:100%}.page-heading-actions{width:100%;flex-direction:column}.page-heading h1{font-size:30px}.stats-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-card{min-height:112px;padding:13px;grid-template-columns:33px 1fr;gap:9px}.stat-icon{width:33px;height:33px}.stat-trend{display:none}.stat-content strong{font-size:23px}.panel-header{align-items:flex-start;flex-direction:column}.filters{width:100%;justify-content:stretch}.search-field{width:100%;flex:1 0 100%}.select-field{min-width:0;flex:1 1 calc(50% - 4px)}.select-field select{width:100%;max-width:none}.orders-pagination{padding:12px 14px;align-items:stretch;flex-direction:column}.orders-pagination>div{justify-content:center}.orders-pagination nav{justify-content:space-between}.modal-backdrop{padding:env(safe-area-inset-top) 0 0;align-items:flex-end}.modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));overscroll-behavior:contain;border-radius:16px 16px 0 0}.modal-header{position:sticky;z-index:4;top:0;background:#fff}.modal-actions{position:sticky;z-index:3;bottom:0;border-radius:0;box-shadow:0 -8px 22px #0f2b210f}input,select,textarea{font-size:16px!important}.field{font-size:11px}.field input,.field select{min-height:46px}.field textarea{min-height:112px}.button{min-height:46px}.icon-button{width:42px;height:42px;flex:0 0 auto}.form-grid.two{grid-template-columns:1fr}.span-two{grid-column:auto}.board-heading{gap:14px}.board-title-block{align-items:flex-start}.product-emblem{width:42px;height:42px}.heading-line{flex-wrap:wrap}.board-heading h1{font-size:24px}.board-heading-actions{display:none}.order-facts{grid-template-columns:1fr 1fr}.order-facts>div{padding:7px 10px}.order-facts>div:nth-child(2n){border-right:0}.route-overview{padding-inline:14px}.route-progress-copy span{display:none}.route-logic-legend{align-items:flex-start;flex-direction:column}.rail-stage{min-width:92px;flex-basis:92px}.rail-stage-copy small{display:none}.stage-row{min-height:67px;padding-inline:11px;grid-template-columns:30px minmax(140px,1fr) 17px;gap:8px}.stage-row-time,.stage-row-weight{display:none}.process-summary{padding:11px 14px;align-items:flex-start;flex-direction:column;gap:8px}.process-activity-panel>header{align-items:flex-start}.process-activity-panel>header>b{display:none}.process-activity-panel header p{display:none}.process-activity-list{padding-inline:14px}.process-activity-event{grid-template-columns:32px minmax(0,1fr)}.process-activity-event time{grid-column:2;align-items:flex-start;margin-top:-6px;text-align:left}.rollback-impact-grid{grid-template-columns:1fr}.rollback-impact-grid>div{min-height:78px}.weight-strip{grid-template-columns:1fr 1fr}.weight-strip>svg{display:none}.loss-box{grid-column:1 / -1;margin-top:4px}.checkpoints>div{grid-template-columns:19px 1fr;padding:6px 0}.checkpoints small{grid-column:2;margin-top:3px}.warehouse-stats{grid-template-columns:1fr 1fr;gap:8px}.warehouse-stats article{min-height:91px;padding:12px}.stock-check-form{padding-inline:15px}.stock-requirement-banner{grid-template-columns:1fr 1fr}.stock-requirement-banner>svg{display:none}.form-grid.three{grid-template-columns:1fr 1fr}.stock-lot-row{grid-template-columns:1fr .75fr .75fr}.stock-lot-row>.attribute-stack{display:none}.stock-actions{flex-wrap:wrap}.stock-actions .button{flex:1 0 45%}.settings-intro{grid-template-columns:40px 1fr}.settings-counter{display:none}.parameter-card-grid{grid-template-columns:1fr}.process-editor-header{align-items:flex-start;flex-direction:column}.process-editor-header .button{width:100%}.process-stage-card{grid-template-columns:26px minmax(0,1fr) 36px}.stage-drag{display:none}.process-stage-number{width:25px;height:25px}.custom-fields-header{align-items:flex-start;flex-direction:column;gap:10px}.custom-fields-header .button{width:100%}.stage-output-header .required-toggle{margin-left:0}.stage-output-materials{grid-template-columns:1fr}.stage-output-entry>header{align-items:flex-start;flex-direction:column}.stage-output-entry>header .button{width:100%}.stage-output-entry-row{grid-template-columns:1fr 1fr}.stage-output-entry-row>.field:first-child{grid-column:1 / -1}.stage-output-entry>header{align-items:stretch}.stage-output-entry>header>div{flex-basis:100%}.stage-output-auto-cost{flex:1}.stage-output-cost-note{grid-template-columns:18px minmax(0,1fr)}.stage-output-cost-note strong{grid-column:2}.finished-goods-destination>header{grid-template-columns:40px minmax(0,1fr)}.finished-goods-destination>header>b{grid-column:2;width:max-content}.finished-goods-destination>div{grid-template-columns:1fr}.finished-goods-destination>footer{grid-template-columns:18px minmax(0,1fr)}.finished-goods-destination>footer strong{grid-column:2;white-space:normal}.shipment-stock-control>header{grid-template-columns:42px minmax(0,1fr)}.shipment-stock-control>header>b{grid-column:2;width:max-content}.shipment-stock-mode,.shipment-stock-summary{grid-template-columns:1fr}.shipment-stock-lots article{grid-template-columns:minmax(0,1fr) 1fr}.shipment-stock-lots article>a,.shipment-stock-lots article>div:first-child{grid-column:1 / -1}.stage-shipment-result-summary{grid-template-columns:1fr}.production-output-origin{grid-template-columns:34px minmax(0,1fr)}.production-output-origin .button{grid-column:1 / -1;width:100%}.custom-field-row{grid-template-columns:1fr}.field-placeholder{display:none}.stage-form-values{grid-template-columns:1fr}.supplier-detail-header{grid-template-columns:46px 1fr}.supplier-avatar{width:46px;height:46px}.supplier-status{grid-column:1 / -1;justify-self:start}.supplier-kpis,.supplier-info-grid{grid-template-columns:1fr}.supplier-info-grid .span-two{grid-column:auto}.traceability-flow{grid-template-columns:1fr}.traceability-arrow{transform:rotate(90deg)}.traceability-panel>header{align-items:flex-start;flex-direction:column;gap:8px}.warehouse-view-switch{width:100%;grid-template-columns:1fr}.warehouse-view-switch button{min-width:0;width:100%}.receipt-heading{align-items:flex-start;flex-direction:column}.receipt-heading .button{width:100%}.receipt-process-steps{grid-template-columns:1fr}.receipt-process-steps>svg{justify-self:center;transform:rotate(90deg)}.receipt-facts{grid-template-columns:1fr 1fr}.receipt-layout,.receipt-main-column,.receipt-main-column>*,.receipt-info-panel,.calibration-panel,.output-lots-panel,.selected-receipt-lot{width:100%;min-width:0}.receipt-attribute-strip{display:grid;grid-template-columns:1fr 1fr}.receipt-attribute-strip>span{min-width:0}.calibration-table{overflow:visible}.calibration-row{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.output-lot-grid article,.output-lot-grid>a{min-width:0}.selected-receipt-lot-kpis{grid-template-columns:1fr 1fr}.calibration-progress{grid-template-columns:1fr}.calibration-actions{flex-direction:column}.calibration-actions .button{width:100%}.output-lot-grid{grid-template-columns:1fr}.client-stats-grid,.client-profile-kpis{grid-template-columns:1fr 1fr}.clients-panel-header{align-items:flex-start;flex-direction:column}.client-search{width:100%}.client-profile-hero{grid-template-columns:52px 1fr;padding:18px}.client-profile-avatar{width:52px;height:52px;border-radius:12px}.client-profile-hero .button{grid-column:1 / -1;width:100%}.client-orders-panel>header{align-items:flex-start;flex-direction:column}.client-order-tabs{width:100%}.client-order-tabs button{flex:1;justify-content:center}.client-order-card{grid-template-columns:28px minmax(150px,1fr) auto 17px}.client-order-date{display:none}.stock-detail-heading{align-items:flex-start;flex-direction:column}.stock-detail-heading .button{width:100%}.stock-detail-kpis{grid-template-columns:1fr 1fr}.stock-productions-panel>header{align-items:flex-start;flex-direction:column}.stock-production-tabs{width:100%}.stock-production-tabs button{flex:1;justify-content:center}.stock-production-card{grid-template-columns:36px minmax(150px,1fr) auto 17px}.stock-production-allocation,.stock-production-card .status-badge{display:none}.warehouse-lot-facts{grid-template-columns:1fr}.order-row:not(.order-row-head){grid-template-columns:minmax(0,1fr) auto;grid-template-rows:repeat(4,auto);gap:11px 14px}.order-row:not(.order-row-head)>.order-main{grid-column:1;grid-row:1}.order-row:not(.order-row-head)>span:nth-child(6){grid-column:2;grid-row:1}.order-row:not(.order-row-head)>.product-cell{grid-column:1 / -1;grid-row:2}.order-row:not(.order-row-head)>.stage-cell{grid-column:1;grid-row:3}.order-row:not(.order-row-head)>.due-cell{grid-column:2;grid-row:3}.order-row:not(.order-row-head)>.progress-cell{grid-column:1 / -1;grid-row:4}.client-row:not(.client-row-head){grid-template-columns:1fr 1fr;gap:14px}.client-row:not(.client-row-head)>.client-company{grid-column:1 / -1}.client-row:not(.client-row-head)>span:nth-child(3),.client-row:not(.client-row-head)>span:nth-child(6){grid-column:1 / -1}.warehouse-summary-row:not(.warehouse-summary-head){grid-template-columns:1fr 1fr;gap:14px}.warehouse-summary-row:not(.warehouse-summary-head)>.lot-main,.warehouse-summary-row:not(.warehouse-summary-head)>.attribute-stack,.warehouse-summary-row:not(.warehouse-summary-head)>.stock-cost-cell{grid-column:1 / -1}.warehouse-receipt-row:not(.warehouse-receipt-head){grid-template-columns:minmax(0,1fr) auto;gap:14px}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-main{grid-column:1;grid-row:1}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-status{grid-column:2;grid-row:1}.warehouse-receipt-row:not(.warehouse-receipt-head)>.lot-number,.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-calibers{grid-column:1 / -1;grid-row:auto}.warehouse-receipt-row:not(.warehouse-receipt-head)>.receipt-location{grid-column:1 / -1;grid-row:auto}.supplier-delivery-row:not(.supplier-delivery-head){grid-template-columns:1fr 1fr;gap:13px}.supplier-delivery-row:not(.supplier-delivery-head)>span:nth-child(2),.supplier-delivery-row:not(.supplier-delivery-head)>span:nth-child(5){grid-column:1 / -1}.parameter-card-grid{min-width:0;padding:10px}.parameter-card{width:100%;min-width:0}.parameter-card>header small{white-space:normal;overflow-wrap:anywhere}.stock-lot-breakdown-panel>header{align-items:flex-start}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head){grid-template-columns:1fr 1fr;gap:14px}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>.stock-lot-id,.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>.stock-cost-cell{grid-column:1 / -1}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:before{margin-bottom:5px;color:#98a29c;font-size:8px;font-weight:750;letter-spacing:.035em;text-transform:uppercase}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(2):before{content:"Поступление"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(3):before{content:"Склад"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(4):before{content:"Объём"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(5):before{content:"Себестоимость"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(6):before{content:"В резерве"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(7):before{content:"Доступно"}.stock-lot-breakdown-row:not(.stock-lot-breakdown-head)>span:nth-child(8):before{content:"Производства"}}@media(max-width:430px){.stats-grid{grid-template-columns:1fr}.stat-card{min-height:96px}.orders-pagination>div small{display:none}.pagination-direction{min-width:34px;width:34px;padding:0}.pagination-direction span{display:none}.pagination-pages a,.pagination-gap{width:29px;height:29px}.form-grid.nested-two{grid-template-columns:1fr 1fr}.modal-header,.create-order-form,.action-form,.stage-editor-form{padding-left:17px;padding-right:17px}.modal-actions{margin-left:-17px;margin-right:-17px;padding-left:17px;padding-right:17px}.modal-actions{display:grid;grid-template-columns:1fr}.modal-actions .button{width:100%}.warehouse-stats,.form-grid.three,.stock-requirement-banner{grid-template-columns:1fr}.stock-lot-row{grid-template-columns:1fr 1fr}.stock-lot-row .lot-number{display:none}.stock-lot-head span:nth-child(3){display:none}.stock-actions .button{flex-basis:100%}.receipt-facts{grid-template-columns:1fr}.selected-receipt-lot>header{align-items:flex-start;flex-direction:column}.selected-receipt-lot>header .button{width:100%}.selected-receipt-lot-kpis,.selected-receipt-lot-meta,.receipt-attribute-strip,.client-stats-grid,.client-profile-kpis{grid-template-columns:1fr}.client-order-card{grid-template-columns:28px minmax(130px,1fr) 17px}.client-order-card .status-badge{display:none}.stock-detail-heading{align-items:flex-start;flex-direction:column}.stock-detail-heading .button{width:100%}.stock-detail-kpis{grid-template-columns:1fr 1fr}.stock-productions-panel>header{align-items:flex-start;flex-direction:column}.stock-production-tabs{width:100%}.stock-production-tabs button{flex:1;justify-content:center}.stock-production-card{grid-template-columns:36px minmax(150px,1fr) auto 17px}.stock-production-allocation,.stock-production-card .status-badge{display:none}.warehouse-lot-facts{grid-template-columns:1fr}}@media(max-width:430px){.stock-detail-kpis{grid-template-columns:1fr}.stock-production-card{grid-template-columns:34px minmax(125px,1fr) 17px}.stock-production-card .stock-production-icon{width:34px;height:34px}}.system-tag{margin-left:7px;padding:3px 6px;border-radius:999px;color:#725019;background:var(--amber-100);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.receipt-cost-preview{min-height:74px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px solid #cfe0d7;background:var(--green-50)}.receipt-cost-preview span{color:var(--green-700);font-size:11px;font-weight:700}.receipt-cost-preview strong{color:var(--green-950);font-size:16px}.receipt-cost-preview small{color:var(--muted);font-size:10px}.finance-settings{margin-top:16px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.finance-settings-header{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft);background:linear-gradient(120deg,#f8fbf8,#fffaf1)}.finance-settings-header h2{margin:3px 0 5px;color:var(--green-950);font-size:20px}.finance-settings-header p:not(.eyebrow){max-width:720px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.finance-settings-header>span{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:#986521;background:var(--amber-100)}.finance-settings-grid{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.finance-directory-card{overflow:hidden;border:1px solid var(--line);background:var(--surface-alt)}.finance-directory-card>header{min-height:72px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft);background:#fff}.finance-directory-card>header>div{display:flex;align-items:center;gap:10px}.finance-directory-card>header>div>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:var(--green-700);background:var(--green-50)}.finance-directory-card>header div div{display:flex;flex-direction:column;gap:3px}.finance-directory-card>header strong{font-size:13px}.finance-directory-card>header small{color:var(--muted);font-size:10px}.finance-directory-list{display:flex;flex-direction:column}.finance-directory-list>div{min-height:58px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft)}.finance-directory-list>div:last-child{border-bottom:0}.finance-directory-list span{display:flex;flex-direction:column;gap:3px}.finance-directory-list strong,.finance-directory-list b{font-size:12px}.finance-directory-list small{color:var(--muted);font-size:10px}.finance-directory-list b{color:var(--green-700);white-space:nowrap}.production-finance-summary{margin-top:14px;overflow:hidden;border:1px solid #d8dfd7;background:#fff;box-shadow:var(--shadow-sm)}.production-finance-summary>header{min-height:68px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#fff;background:linear-gradient(115deg,var(--green-900),#1c5945)}.production-finance-summary>header>div{display:flex;align-items:center;gap:11px}.production-finance-summary>header span{display:flex;flex-direction:column;gap:3px}.production-finance-summary>header strong{font-size:14px}.production-finance-summary>header small{color:#b9d5c9;font-size:11px}.production-finance-summary>header b{padding:8px 12px;border:1px solid rgb(255 255 255 / 15%);border-radius:8px;color:#ffdc9f;background:#ffffff14;font-size:15px;white-space:nowrap}.production-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.production-finance-grid article{min-height:100px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.production-finance-grid article:nth-child(3n){border-right:0}.production-finance-grid article:nth-child(n+7){border-bottom:0}.production-finance-grid span{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.production-finance-grid strong{color:var(--green-950);font-size:17px}.production-finance-grid small{color:var(--muted);font-size:11px;line-height:1.45}.production-finance-grid .finance-total-card{grid-column:1 / -1;background:#fff8ea}.production-finance-grid .finance-total-card strong{color:#8b5915}.production-finance-summary>footer{padding:10px 17px;display:flex;align-items:center;gap:8px;color:#8a5a1c;background:#fff7e7;font-size:10px}.production-batches-panel{margin-top:14px;overflow:hidden;border:1px solid #d7dfd8;background:#fff;box-shadow:var(--shadow-sm)}.production-batches-panel>header{padding:18px 19px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line-soft);background:linear-gradient(180deg,#fbfcfa,#f6f9f6)}.production-batches-panel>header h2{margin:3px 0 0;color:var(--green-950);font-size:18px}.production-batches-panel>header p{max-width:760px;margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.production-batch-header-actions{display:flex;align-items:center;gap:8px}.production-batch-header-actions .button{white-space:nowrap}.production-batch-tabs{padding:12px;display:flex;flex-direction:column;gap:9px;background:#f7f9f7}.production-batch-tab{position:relative;min-width:0;padding:15px 16px 12px;display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(150px,.7fr) minmax(230px,1.25fr) minmax(170px,.8fr) auto;align-items:center;gap:14px;color:inherit;background:#fff;border:1px solid #dde4de;border-radius:10px;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.production-batch-tab:before{content:"";position:absolute;inset:9px auto 9px 0;width:3px;border-radius:0 3px 3px 0;background:transparent}.production-batch-tab:hover{border-color:#abc4b3;box-shadow:0 5px 16px #19483412}.production-batch-tab.selected{border-color:#8fb4a0;background:linear-gradient(90deg,#f2faf5,#fff 48%);box-shadow:inset 0 0 0 1px #216b532e,0 7px 20px #145b3e14}.production-batch-tab.selected:before{background:var(--green-700)}.batch-row-identity{min-width:0;display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;gap:10px}.batch-row-icon{width:39px;height:39px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:var(--green-50)}.production-batch-tab.selected .batch-row-icon{color:#fff;background:var(--green-700)}.batch-row-identity>span:last-child,.batch-row-volume,.batch-row-current,.batch-row-cost{min-width:0;display:flex;flex-direction:column}.batch-row-identity small,.batch-row-volume small,.batch-row-current small,.batch-row-cost small{color:var(--muted);font-size:11px;font-style:normal}.batch-row-identity strong{margin-top:3px;overflow:hidden;color:var(--green-950);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.batch-row-identity em,.batch-row-volume em,.batch-row-current em,.batch-row-cost em{margin-top:4px;overflow:hidden;color:#849089;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.production-batch-tab.selected .batch-row-identity em{color:var(--green-700);font-weight:750}.batch-row-volume strong{margin-top:4px;color:var(--green-950);font-size:19px}.batch-row-current strong,.batch-row-cost strong{margin-top:4px;overflow:hidden;color:#35493f;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.batch-row-cost strong{color:#8a5b19}.batch-row-status{display:flex;align-items:center;gap:9px}.batch-row-status>svg{color:#9ca7a1;transition:transform .15s ease}.production-batch-tab.selected .batch-row-status>svg{color:var(--green-700);transform:rotate(90deg)}.batch-route-summary{grid-column:1 / -1;padding-top:11px;display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center;gap:14px;border-top:1px solid var(--line-soft)}.batch-route-summary>span:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}.batch-route-summary strong{color:#43554b;font-size:12px}.batch-route-summary small{overflow:hidden;color:#87928c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.batch-route-segments{height:7px;display:flex;gap:3px}.batch-route-segments i{min-width:5px;height:100%;flex:1;border-radius:999px;background:#e3e8e4}.batch-route-segments i.completed{background:var(--green-700)}.batch-route-segments i.in_progress{background:#4e89ad;box-shadow:0 0 0 2px #4e89ad21}.batch-route-segments i.blocked{background:#c67845;box-shadow:0 0 0 2px #c6784521}.batch-allocation-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:#f7f9f7}.batch-allocation-summary>span{min-height:82px;padding:14px 16px;display:flex;flex-direction:column;justify-content:center;gap:6px;border-right:1px solid var(--line)}.batch-allocation-summary>span:last-child{border-right:0}.batch-allocation-summary>span.available{background:#eef8f1}.batch-allocation-summary small{color:var(--muted);font-size:11px}.batch-allocation-summary strong{color:var(--green-950);font-size:20px}.batch-model-note{padding:13px 14px;display:flex;gap:10px;color:var(--green-800);background:var(--green-50);border-left:3px solid var(--green-600)}.batch-model-note svg{flex:0 0 auto;margin-top:2px}.batch-model-note strong{font-size:13px}.batch-model-note p{margin:4px 0 0;color:#597067;font-size:11.5px;line-height:1.5}.batch-order-distribution{padding:13px 15px;border-top:1px solid var(--line-soft);background:#fff}.batch-order-distribution>div:first-child{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.batch-order-distribution>div:first-child>span{display:flex;flex-direction:column;gap:3px}.batch-order-distribution>div:first-child>span:nth-child(2){text-align:center}.batch-order-distribution>div:first-child>span:last-child{text-align:right}.batch-order-distribution small{color:var(--muted);font-size:9px}.batch-order-distribution strong{color:var(--green-900);font-size:12px}.batch-order-distribution .available strong{color:#a16520}.batch-order-track{height:7px;margin-top:10px;overflow:hidden;border-radius:999px;background:#e8ece8}.batch-order-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--green-700),#66aa7d);transition:width .2s ease}.batch-order-distribution p{margin:8px 0 0;color:#748078;font-size:9.5px;line-height:1.45;text-align:center}.selected-batch-workspace-heading{margin-top:18px;min-height:112px;display:grid;grid-template-columns:minmax(300px,.9fr) minmax(500px,1.1fr);align-items:stretch;overflow:hidden;border:1px solid #abc8b7;border-radius:11px;background:linear-gradient(115deg,#164a39,#1e654d 42%,#fff 42.1%);box-shadow:0 10px 28px #144f391c}.selected-workspace-title{min-width:0;padding:18px 20px;display:grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:12px;color:#fff}.selected-workspace-title>span{width:43px;height:43px;display:grid;place-items:center;color:#f6d29b;border:1px solid rgb(255 255 255 / 12%);border-radius:10px;background:#ffffff17}.selected-workspace-title>div{min-width:0;display:flex;flex-direction:column}.selected-workspace-title small{color:#b7d5c8;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.selected-workspace-title h2{margin:5px 0 0;overflow:hidden;color:#fff;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.selected-workspace-title p{margin:5px 0 0;overflow:hidden;color:#c7ded4;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.selected-workspace-facts{min-width:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff}.selected-workspace-facts>span{min-width:0;padding:15px 13px;display:flex;flex-direction:column;justify-content:center;gap:6px;border-right:1px solid var(--line-soft)}.selected-workspace-facts>span:last-child{border-right:0;background:#fff9ee}.selected-workspace-facts small{color:var(--muted);font-size:11px}.selected-workspace-facts strong{overflow:hidden;color:var(--green-950);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.selected-workspace-facts>span:last-child strong{color:#8a5b19}.batch-consumables-panel{margin-top:12px;overflow:hidden;border:1px solid #d7e2da;border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.batch-consumables-panel>header{min-height:75px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line-soft);background:linear-gradient(90deg,#f1f7f3,#fff)}.batch-consumables-panel>header>div{min-width:0;display:flex;align-items:center;gap:11px}.batch-consumables-panel>header>div>span{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;color:var(--green-700);border-radius:10px;background:#fff;box-shadow:0 1px 5px #103f2d14}.batch-consumables-panel>header>div>div{min-width:0;display:flex;flex-direction:column}.batch-consumables-panel>header small{color:var(--green-700);font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.batch-consumables-panel>header strong{margin-top:3px;color:var(--green-950);font-size:13px}.batch-consumables-panel>header p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.batch-consumables-panel>header>b{color:#8a5b19;font-size:15px;white-space:nowrap}.batch-consumable-grid{padding:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;background:#f7f9f7}.batch-consumable-grid article{min-width:0;min-height:82px;padding:11px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:4px 10px;border:1px solid #dce5de;border-radius:9px;background:#fff}.batch-consumable-grid article>span{width:34px;height:34px;grid-row:1 / 3;display:grid;place-items:center;color:var(--green-700);border-radius:8px;background:var(--green-50)}.batch-consumable-grid article>div{min-width:0;grid-row:1 / 3;display:flex;flex-direction:column}.batch-consumable-grid article small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.batch-consumable-grid article strong{margin-top:3px;overflow:hidden;color:var(--green-950);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.batch-consumable-grid article em{margin-top:3px;color:#849089;font-size:10px;font-style:normal}.batch-consumable-grid article>b{align-self:end;color:#405248;font-size:11px;text-align:right;white-space:nowrap}.batch-consumable-grid article>strong{align-self:start;color:#8a5b19;font-size:11px;text-align:right;white-space:nowrap}.batch-consumables-empty{min-height:74px;padding:15px 18px;display:flex;align-items:center;justify-content:center;gap:10px;color:#75837b;text-align:center}.batch-consumables-empty>span{display:flex;flex-direction:column}.batch-consumables-empty strong{color:#46564d;font-size:11px}.batch-consumables-empty small{margin-top:3px;color:var(--muted);font-size:10.5px}.edit-batch-result{min-height:74px;padding:12px 14px;display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:9px;border:1px solid var(--line);background:#f8faf8}.edit-batch-result>span{display:flex;flex-direction:column;gap:5px}.edit-batch-result>span:last-child{text-align:right}.edit-batch-result svg{justify-self:center;color:#9ba59f}.edit-batch-result small{color:var(--muted);font-size:9px}.edit-batch-result strong{color:var(--green-950);font-size:16px}.stage-cost-detail h3{display:flex;align-items:center;gap:6px}.stage-chevron{transition:transform .18s ease}.stage-row.expanded .stage-chevron{transform:rotate(90deg)}.stage-inline-expansion{margin:0 14px 12px;overflow:hidden;border:1px solid #cbded1;border-radius:10px;background:#f8fbf8;box-shadow:inset 3px 0 var(--green-700)}.stage-inline-expansion>header{min-height:76px;padding:13px 16px;display:flex;align-items:center;border-bottom:1px solid #dce8df;background:linear-gradient(100deg,#edf6f0,#fbfdfb)}.stage-inline-expansion>header>div{min-width:0;display:flex;align-items:center;gap:11px}.stage-inline-expansion>header>div>span:last-child{min-width:0;display:flex;flex-direction:column}.stage-inline-expansion>header small{color:var(--green-700);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.stage-inline-expansion>header strong{margin-top:3px;color:var(--green-950);font-size:14px}.stage-inline-expansion>header em{margin-top:4px;overflow:hidden;color:#68766f;font-size:11px;font-style:normal;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.consumable-stage-mark{color:#96702d!important}.stage-consumable-journal{min-width:0;background:#fff;border-bottom:1px solid #dce8df}.stage-consumable-journal>header{min-height:70px;padding:11px 14px;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px}.stage-consumable-journal>header>div{min-width:0;display:flex;align-items:center;gap:8px;color:var(--green-700)}.stage-consumable-journal>header>div>span,.stage-consumable-journal>header>span{min-width:0;display:flex;flex-direction:column;gap:3px}.stage-consumable-journal>header>span{align-items:flex-end;text-align:right}.stage-consumable-journal>header small{color:var(--muted);font-size:9.5px}.stage-consumable-journal>header strong{overflow-wrap:anywhere;color:var(--green-950);font-size:12px}.stage-consumable-journal>header>span strong{color:#8a5b19;white-space:nowrap}.stage-consumable-journal>header .button{min-height:36px;padding-inline:11px;font-size:11px}.stage-consumable-list{padding:0 10px 10px;display:flex;flex-direction:column;gap:7px}.stage-consumable-list article{min-height:61px;padding:8px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border:1px solid var(--line-soft);border-radius:8px;background:#fafbf9}.stage-consumable-list article>a{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px}.stage-consumable-list article>a>span{width:32px;height:32px;display:grid;place-items:center;color:var(--green-700);border-radius:8px;background:var(--green-50)}.stage-consumable-list article>a>div,.stage-consumable-list article>span{min-width:0;display:flex;flex-direction:column}.stage-consumable-list article strong{overflow:hidden;color:#394c42;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.stage-consumable-list article small{margin-top:3px;color:var(--muted);font-size:9px}.stage-consumable-list article em{margin-top:3px;overflow:hidden;color:#7a8780;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.stage-consumable-list article>span{align-items:flex-end;text-align:right}.stage-consumable-list article>span strong{margin-top:4px;color:#8a5b19}.consumable-row-actions{display:flex;align-items:center;gap:5px}.consumable-row-actions .icon-button{width:32px;height:32px}.stage-detail-panel .stage-consumable-journal>header{grid-template-columns:minmax(0,1fr) auto}.stage-detail-panel .stage-consumable-journal>header>.button{width:100%;grid-column:1 / -1}.stage-detail-panel .stage-consumable-list article{grid-template-columns:minmax(0,1fr) auto}.stage-detail-panel .stage-consumable-list article>span{grid-column:1;padding-left:40px;align-items:flex-start;text-align:left}.stage-detail-panel .stage-consumable-list article>.consumable-row-actions{grid-column:2;grid-row:1 / 3}.stage-cost-journal{min-width:0;background:#fff}.stage-cost-journal>header{min-height:72px;padding:12px 14px;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid var(--line-soft)}.stage-cost-journal>header>div{min-width:0;display:flex;align-items:center;gap:8px;color:var(--green-700)}.stage-cost-journal>header>div>span,.stage-cost-journal>header>span{min-width:0;display:flex;flex-direction:column;gap:3px}.stage-cost-journal>header>span{align-items:flex-end;text-align:right}.stage-cost-journal>header small{color:var(--muted);font-size:9.5px}.stage-cost-journal>header strong{overflow-wrap:anywhere;color:var(--green-950);font-size:12px}.stage-cost-journal>header>span strong{color:#8a5b19;font-size:13px;white-space:nowrap}.stage-cost-journal>header .button{min-height:36px;padding-inline:11px;font-size:11px}.stage-detail-panel .stage-cost-journal>header{grid-template-columns:minmax(0,1fr) auto}.stage-detail-panel .stage-cost-journal>header>.button{width:100%;grid-column:1 / -1}.stage-cost-totals{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line-soft)}.stage-cost-totals>span{min-height:58px;padding:10px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line-soft)}.stage-cost-totals>span:last-child{border-right:0;background:#fff8e9}.stage-cost-totals small{color:var(--muted);font-size:9px}.stage-cost-totals strong{font-size:11px}.stage-cost-lines{margin-top:8px;display:flex;flex-direction:column}.stage-cost-lines>div{padding:8px 2px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line-soft)}.stage-cost-lines span{display:grid;grid-template-columns:16px 1fr;align-items:center;gap:2px 5px;font-size:10px;font-weight:700}.stage-cost-lines span small{grid-column:2;color:var(--muted);font-size:8px;font-weight:500}.stage-cost-lines b{font-size:10px;white-space:nowrap}.stage-cost-entry-list{padding:10px;display:flex;flex-direction:column;gap:9px;background:#f5f8f5}.stage-cost-entry-card{overflow:hidden;border:1px solid #d9e3dc;border-radius:8px;background:#fff;box-shadow:0 2px 6px #153f2d0a}.stage-cost-entry-card>header{min-height:61px;padding:10px 12px;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:11px;border-bottom:1px solid var(--line-soft)}.stage-cost-entry-card>header>div:first-child{min-width:0;display:flex;align-items:center;gap:9px}.stage-cost-entry-card>header>div:first-child>span{width:31px;height:31px;flex:0 0 auto;display:grid;place-items:center;color:var(--green-700);border-radius:8px;background:var(--green-50)}.stage-cost-entry-card>header>div:first-child>div{min-width:0;display:flex;flex-direction:column}.stage-cost-entry-card>header strong{overflow:hidden;color:var(--green-950);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.stage-cost-entry-card>header small{margin-top:4px;color:var(--muted);font-size:9.5px}.stage-cost-entry-card>header>b{color:#80561d;font-size:12px;white-space:nowrap}.stage-cost-entry-card>header>div:last-child{display:flex;gap:6px}.stage-detail-panel .stage-cost-entry-card>header{grid-template-columns:minmax(0,1fr) auto}.stage-detail-panel .stage-cost-entry-card>header>b{grid-column:1;padding-left:40px}.stage-detail-panel .stage-cost-entry-card>header>div:last-child{grid-column:2;grid-row:1 / 3}.stage-cost-entry-card .danger-icon{color:var(--danger);border-color:#ead1cd}.stage-cost-entry-lines{padding:5px 12px;display:flex;flex-direction:column}.stage-cost-entry-lines>div{min-height:46px;padding:7px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft)}.stage-cost-entry-lines>div:last-child{border-bottom:0}.stage-cost-entry-lines>div>span{min-width:0;display:flex;align-items:center;gap:8px;color:#718078}.stage-cost-entry-lines>div>span>span{min-width:0;display:flex;flex-direction:column}.stage-cost-entry-lines strong{overflow:hidden;color:#435149;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.stage-cost-entry-lines small{margin-top:3px;color:var(--muted);font-size:9px}.stage-cost-entry-lines b{color:#3b4942;font-size:10.5px;white-space:nowrap}.stage-cost-entry-card>footer{padding:9px 12px;color:#65736c;border-top:1px solid var(--line-soft);background:#fafbf9;font-size:9.5px;line-height:1.5}.stage-cost-empty{min-height:112px;padding:18px;display:flex;align-items:center;justify-content:center;gap:11px;color:#7a8780;text-align:left}.stage-cost-empty>span{min-width:0;display:flex;flex-direction:column}.stage-cost-empty strong{color:#4b5951;font-size:11.5px}.stage-cost-empty small{margin-top:4px;color:var(--muted);font-size:9.5px}.stage-cost-empty .button{min-height:36px;margin-left:8px;font-size:11px}.stage-cost-form{gap:16px}.cost-entry-meta{padding:14px;border:1px solid #d9e4dc;border-radius:9px;background:#f7faf7}.cost-modal-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:var(--surface-alt)}.cost-modal-summary>span{min-height:76px;padding:13px 15px;display:grid;grid-template-columns:22px 1fr;align-items:center;gap:3px 8px;border-right:1px solid var(--line)}.cost-modal-summary>span:last-child{border-right:0;color:#895914;background:#fff4dc}.cost-modal-summary svg{grid-row:1 / 3}.cost-modal-summary small{color:var(--muted);font-size:10px}.cost-modal-summary strong{font-size:14px}.cost-entry-section{border:1px solid var(--line);background:#fff}.cost-entry-section>header{min-height:68px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft)}.cost-entry-section h3{margin:3px 0 0;font-size:14px}.cost-entry-table{padding:10px;display:flex;flex-direction:column;gap:8px}.resource-cost-row,.labor-cost-row{padding:10px;display:grid;align-items:end;gap:8px;border:1px solid var(--line-soft);background:var(--surface-alt)}.resource-cost-row{grid-template-columns:1.2fr .7fr .85fr .75fr 32px}.labor-cost-row{grid-template-columns:1.2fr .55fr .55fr .9fr .8fr 32px}.cost-row-amount{min-height:41px;display:flex;flex-direction:column;justify-content:center;gap:4px}.cost-row-amount span{color:var(--muted);font-size:9px}.cost-row-amount strong{font-size:11px;white-space:nowrap}.delete-cost-confirm{margin:0 20px 18px;padding:14px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;color:var(--danger);border:1px solid #ead2ce;border-radius:9px;background:#fff8f6}.delete-cost-confirm>span{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#fbe7e3}.delete-cost-confirm>div{min-width:0;display:flex;flex-direction:column}.delete-cost-confirm strong{overflow:hidden;color:#854842;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.delete-cost-confirm small{margin-top:4px;color:#9a6c66;font-size:10px}.stage-consumable-form{gap:14px}.consumable-catalog-picker{min-height:0;display:flex;flex:1;flex-direction:column}.consumable-catalog-search{min-height:48px;margin:14px 18px 0;padding:0 13px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;color:var(--muted);border:1px solid #cad8cf;border-radius:9px;background:#fff;box-shadow:0 0 0 3px #18694d0a}.consumable-catalog-search:focus-within{color:var(--green-700);border-color:#6c9e83;box-shadow:0 0 0 3px #18694d1a}.consumable-catalog-search input{min-width:0;height:44px;padding:0;border:0;outline:0;background:transparent;font-size:13px}.consumable-catalog-search kbd{min-width:26px;padding:4px 7px;color:var(--green-800);border:1px solid #d4e3da;border-radius:6px;background:var(--green-50);font:700 10px/1 sans-serif;text-align:center}.consumable-material-grid{min-height:0;max-height:510px;padding:14px 18px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;overflow-y:auto}.consumable-material-grid>button{min-width:0;min-height:178px;padding:14px;display:flex;flex-direction:column;color:inherit;border:1px solid #dbe5de;border-radius:11px;background:#fff;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.consumable-material-grid>button:hover{border-color:#82aa93;box-shadow:0 8px 24px #1a483317;transform:translateY(-1px)}.consumable-material-grid>button>header{width:100%;display:flex;align-items:center;gap:8px}.consumable-material-grid>button>header>span{width:35px;height:35px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:var(--green-50)}.consumable-material-grid>button>header em{padding:4px 7px;color:#5e7468;border-radius:6px;background:#f1f4f1;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase}.consumable-material-grid>button>header svg:last-child{margin-left:auto;color:#9aa7a0}.consumable-material-grid>button>strong{margin-top:11px;overflow:hidden;color:var(--green-950);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.consumable-material-grid>button>small{min-height:32px;margin-top:4px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.45}.consumable-material-grid>button>div{width:100%;margin-top:10px;padding-top:10px;display:grid;grid-template-columns:1.15fr .65fr 1.15fr;gap:7px;border-top:1px solid var(--line-soft)}.consumable-material-grid>button>div span{min-width:0;display:flex;flex-direction:column;gap:3px}.consumable-material-grid>button>div b{overflow:hidden;color:#395247;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.consumable-material-grid>button>div small{color:#89968f;font-size:10px}.consumable-material-grid>button>footer{width:100%;margin-top:9px;overflow:hidden;color:#73837a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.consumable-catalog-empty{min-height:260px;margin:14px 18px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#7c8d83;border:1px dashed #cbd9d0;border-radius:11px;background:#f8faf8;text-align:center}.consumable-catalog-empty strong{margin-top:10px;color:var(--green-950);font-size:14px}.consumable-catalog-empty p{margin:5px 0 0;color:var(--muted);font-size:11px}.consumable-material-selection{min-height:72px;padding:11px 13px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid #cfe0d5;border-radius:10px;background:linear-gradient(135deg,#f3faf6,#fbfdfb)}.consumable-material-selection>span{width:38px;height:38px;display:grid;place-items:center;color:var(--green-700);border-radius:10px;background:#e4f3e9}.consumable-material-selection>div{min-width:0;display:flex;flex-direction:column;gap:3px}.consumable-material-selection small{color:var(--green-700);font-size:10px;font-weight:800;text-transform:uppercase}.consumable-material-selection strong{overflow:hidden;color:var(--green-950);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.consumable-material-selection em{color:var(--muted);font-size:11px;font-style:normal}.consumable-material-selection .button{min-height:36px;padding-inline:11px;font-size:11px}.consumable-lot-picker{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#f7f9f7}.consumable-lot-picker>header{min-height:61px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line-soft);background:#fff}.consumable-lot-picker h3{margin:3px 0 0;color:var(--green-950);font-size:14px}.consumable-lot-picker>header b{color:var(--green-700);font-size:11px}.consumable-lot-picker>div{max-height:310px;padding:9px;display:flex;flex-direction:column;gap:7px;overflow-y:auto}.consumable-lot-picker button{position:relative;min-width:0;min-height:68px;padding:9px 38px 9px 10px;display:grid;grid-template-columns:34px minmax(170px,1fr) auto auto;align-items:center;gap:10px;color:inherit;border:1px solid #dfe5e0;border-radius:8px;background:#fff;text-align:left}.consumable-lot-picker button:hover{border-color:#abc5b4}.consumable-lot-picker button.selected{border-color:#72a188;background:#eff8f2;box-shadow:inset 3px 0 var(--green-700)}.consumable-lot-picker button>span{width:34px;height:34px;display:grid;place-items:center;color:var(--green-700);border-radius:8px;background:var(--green-50)}.consumable-lot-picker button>div{min-width:0;display:flex;flex-direction:column}.consumable-lot-picker button small,.consumable-lot-picker button em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.consumable-lot-picker button strong{margin-top:3px;color:var(--green-950);font-size:12px;white-space:nowrap}.consumable-lot-picker button>b{color:#44564c;font-size:12px;white-space:nowrap}.consumable-lot-picker button>i{position:absolute;right:11px;width:21px;height:21px;display:grid;place-items:center;color:#fff;border:1px solid #cddbd2;border-radius:50%;background:#fff}.consumable-lot-picker button.selected>i{border-color:var(--green-700);background:var(--green-700)}.consumable-lot-picker button:disabled{opacity:1;cursor:default}.consumable-lot-picker.fixed-source>div{max-height:none}.consumable-quantity-card{padding:11px;display:grid;grid-template-columns:minmax(150px,.8fr) repeat(3,minmax(130px,1fr));align-items:end;gap:8px;border:1px solid #d5e1d9;border-radius:9px;background:#f8fbf8}.consumable-quantity-card>span{min-height:43px;padding:7px 9px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-left:1px solid #dce5df}.consumable-quantity-card small{color:var(--muted);font-size:10px}.consumable-quantity-card strong{color:var(--green-950);font-size:12px}.consumable-quantity-card .total strong{color:#8a5b19;font-size:13px}.consumable-adjustment-preview{min-height:55px;padding:9px 12px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;color:#5d7066;border:1px solid #dce5df;border-radius:9px;background:#fafcfb}.consumable-adjustment-preview>svg{width:28px;height:28px;padding:6px;border-radius:8px;background:#eef3ef}.consumable-adjustment-preview>span{display:flex;flex-direction:column;gap:3px}.consumable-adjustment-preview small{color:var(--muted);font-size:10px}.consumable-adjustment-preview strong,.consumable-adjustment-preview>b{color:#43574c;font-size:12px}.consumable-adjustment-preview.increase{color:#a05d25;border-color:#ead6c3;background:#fff9f4}.consumable-adjustment-preview.increase>svg{background:#faeadb}.consumable-adjustment-preview.decrease{color:var(--green-700);border-color:#c8dfd0;background:#f3faf5}.consumable-adjustment-preview.decrease>svg{background:#e2f1e7}.consumable-stock-empty{min-height:170px;padding:22px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;color:#718078;border:1px dashed #cbd8cf;border-radius:10px;background:#f8faf8}.consumable-stock-empty>div{min-width:0}.consumable-stock-empty strong{color:var(--green-950);font-size:13px}.consumable-stock-empty p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.5}@media(max-width:1100px){.production-batch-tab{grid-template-columns:minmax(220px,1fr) minmax(150px,.7fr) auto}.batch-row-identity{grid-column:1;grid-row:1}.batch-row-volume{grid-column:2;grid-row:1}.batch-row-status{grid-column:3;grid-row:1}.batch-row-current{grid-column:1 / 3;grid-row:2}.batch-row-cost{grid-column:3;grid-row:2}.batch-route-summary{grid-row:3}.selected-batch-workspace-heading{grid-template-columns:1fr;background:linear-gradient(115deg,#164a39,#1e654d)}.selected-workspace-facts{border-top:1px solid rgb(255 255 255 / 12%)}}@media(max-width:900px){.finance-settings-grid,.production-finance-grid,.selected-batch-strip{grid-template-columns:1fr 1fr}.selected-batch-strip>span:nth-child(2){border-right:0}.selected-batch-strip>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.production-finance-grid article:nth-child(3n){border-right:1px solid var(--line-soft)}.production-finance-grid article:nth-child(2n){border-right:0}.production-finance-grid article:nth-child(n+7){border-bottom:0}.consumable-quantity-card{grid-template-columns:1fr 1fr}.consumable-quantity-card>span{border-left:0}.resource-cost-row,.labor-cost-row,.form-grid.batch-start-fields{grid-template-columns:1fr 1fr}.form-grid.batch-start-fields .field:last-child{grid-column:1 / -1}.resource-cost-row .icon-button,.labor-cost-row .icon-button{justify-self:end}.batch-route-summary{grid-template-columns:180px minmax(0,1fr)}.stage-inline-expansion{margin-inline:9px}}@media(max-width:560px){.finance-settings-grid,.production-finance-grid,.cost-modal-summary{grid-template-columns:1fr}.production-finance-summary>header,.finance-settings-header,.finance-directory-card>header,.cost-entry-section>header{align-items:flex-start;flex-direction:column}.production-finance-summary>header b{width:100%;text-align:center}.production-finance-grid article{border-right:0;border-bottom:1px solid var(--line-soft)}.production-finance-grid article:nth-child(n+5){border-bottom:1px solid var(--line-soft)}.production-finance-grid article:last-child{border-bottom:0}.cost-modal-summary>span{border-right:0;border-bottom:1px solid var(--line)}.cost-modal-summary>span:last-child{border-bottom:0}.stage-cost-totals{grid-template-columns:1fr}.stage-cost-totals>span{border-right:0;border-bottom:1px solid var(--line-soft)}.stage-cost-totals>span:last-child{border-bottom:0}.resource-cost-row,.labor-cost-row{grid-template-columns:1fr}.stage-inline-expansion{margin:0 5px 10px}.stage-inline-expansion>header{padding:12px}.stage-inline-expansion>header em{white-space:normal}.stage-cost-journal>header{grid-template-columns:1fr auto}.stage-cost-journal>header>span{align-items:flex-start;grid-column:1;grid-row:2;text-align:left}.stage-cost-journal>header>.button{grid-column:2;grid-row:1 / 3}.stage-consumable-journal>header{grid-template-columns:1fr auto}.stage-consumable-journal>header>span{align-items:flex-start;grid-column:1;grid-row:2;text-align:left}.stage-consumable-journal>header>.button{grid-column:2;grid-row:1 / 3}.stage-consumable-list article,.stage-detail-panel .stage-consumable-list article{grid-template-columns:minmax(0,1fr) auto}.stage-consumable-list article>span,.stage-detail-panel .stage-consumable-list article>span{grid-column:1;padding-left:40px;align-items:flex-start;text-align:left}.stage-consumable-list article>.consumable-row-actions,.stage-detail-panel .stage-consumable-list article>.consumable-row-actions{grid-column:2;grid-row:1 / 3;flex-direction:column}.consumable-material-grid{grid-template-columns:1fr;padding-inline:12px}.consumable-catalog-search{margin-inline:12px}.consumable-material-selection{grid-template-columns:38px minmax(0,1fr)}.consumable-material-selection .button{width:100%;grid-column:1 / -1;justify-content:center}.consumable-lot-picker button{grid-template-columns:34px minmax(0,1fr) auto}.consumable-lot-picker button>strong{grid-column:2 / 4;padding-left:0}.consumable-quantity-card{grid-template-columns:1fr}.consumable-adjustment-preview{grid-template-columns:28px minmax(0,1fr)}.consumable-adjustment-preview>b{grid-column:2}.consumable-stock-empty{grid-template-columns:36px minmax(0,1fr)}.consumable-stock-empty .button{grid-column:1 / -1;justify-content:center}.stage-cost-entry-card>header{grid-template-columns:minmax(0,1fr) auto}.stage-cost-entry-card>header>b{grid-column:1;padding-left:40px}.stage-cost-entry-card>header>div:last-child{grid-column:2;grid-row:1 / 3}.stage-cost-entry-lines>div{align-items:flex-start;flex-direction:column;gap:5px}.stage-cost-entry-lines>div>b{padding-left:21px}.stage-cost-empty{align-items:flex-start;flex-direction:column}.stage-cost-empty .button{width:100%;margin:5px 0 0}.cost-entry-meta{padding:10px}.production-batches-panel>header{align-items:stretch;flex-direction:column}.production-batches-panel>header .button,.production-batch-header-actions{width:100%}.production-batch-header-actions{flex-direction:column}.form-grid.batch-start-fields{grid-template-columns:1fr}.form-grid.batch-start-fields .field:last-child{grid-column:auto}.production-batch-tabs{grid-template-columns:1fr;padding:10px}.production-batch-tab{padding:13px;grid-template-columns:minmax(0,1fr) auto;gap:11px}.batch-row-identity{grid-column:1;grid-row:1}.batch-row-status{grid-column:2;grid-row:1;align-self:start}.batch-row-status .status-badge{display:none}.batch-row-volume{grid-column:1;grid-row:2}.batch-row-cost{grid-column:2;grid-row:2}.batch-row-current{grid-column:1 / -1;grid-row:3;padding-top:9px;border-top:1px solid var(--line-soft)}.batch-route-summary{grid-column:1 / -1;grid-row:4;grid-template-columns:1fr;gap:8px}.selected-workspace-facts{grid-template-columns:1fr 1fr}.selected-workspace-facts>span:nth-child(2){border-right:0}.selected-workspace-facts>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.selected-workspace-title{padding:16px}.selected-workspace-title h2{font-size:16px}.selected-batch-strip,.batch-allocation-summary{grid-template-columns:1fr}.selected-batch-strip>span,.batch-allocation-summary>span{border-right:0;border-bottom:1px solid var(--line-soft)}.selected-batch-strip>span:last-child,.batch-allocation-summary>span:last-child{border-bottom:0}.batch-order-distribution>div:first-child{grid-template-columns:1fr}.batch-order-distribution>div:first-child>span:nth-child(2),.batch-order-distribution>div:first-child>span:last-child{text-align:left}}@media print{.sidebar,.receipt-heading,.receipt-process-steps,.receipt-main-column,.production-qr-reference,.board-breadcrumbs,.toast{display:none!important}.workspace{margin:0!important}.page{padding:0!important}.receipt-layout{display:block!important;margin:0!important}.receipt-qr-card{width:85mm;max-width:none;margin:0;border:1px solid #222;box-shadow:none}}.production-section-tabs{margin:14px 0;padding:5px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.production-section-tabs>a,.production-section-tabs>span{min-height:41px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;border-radius:7px;color:#637169;font-size:12.5px;font-weight:750}.production-section-tabs>a:hover{color:var(--green-800);background:var(--green-50)}.production-section-tabs>.active{color:#fff;background:var(--green-700)}.production-section-tabs>a svg:last-child{margin-left:2px;color:#9b7650}.team-security-banner{margin-top:24px;min-height:82px;padding:16px 18px;display:flex;align-items:center;gap:13px;color:var(--green-700);border:1px solid #c9dbcf;border-radius:11px;background:linear-gradient(90deg,var(--green-50),#fff)}.team-security-banner>span{width:43px;height:43px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:#dcece3}.team-security-banner>div{min-width:0;display:flex;flex-direction:column}.team-security-banner strong{color:var(--green-900);font-size:14px}.team-security-banner p{margin:5px 0 0;color:#65766d;font-size:11px}.team-security-banner>b{margin-left:auto;padding:7px 10px;color:var(--green-700);border-radius:7px;background:#fff;font-size:11px;white-space:nowrap}.team-tabs{margin-top:17px;padding:4px;display:inline-flex;gap:3px;border:1px solid var(--line);border-radius:10px;background:#e9ede8}.team-tabs button{min-height:38px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;color:#607068;border:0;border-radius:7px;background:transparent;font-size:11px;font-weight:750}.team-tabs button.active{color:var(--green-900);background:#fff;box-shadow:0 2px 7px #0f2d2314}.team-tabs button span{min-width:21px;height:21px;display:grid;place-items:center;color:inherit;border-radius:999px;background:#216b5317;font-size:9px}.employees-panel{margin-top:13px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm)}.employees-panel>header{min-height:72px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line-soft)}.employees-panel>header h2{margin:0;color:var(--green-950);font-size:18px}.employees-table{display:flex;flex-direction:column}.employee-row{min-height:78px;padding:10px 16px;display:grid;grid-template-columns:minmax(250px,1.3fr) minmax(180px,.85fr) minmax(170px,.75fr) 115px 138px;align-items:center;gap:14px;border-bottom:1px solid var(--line-soft)}.employee-row:last-child{border-bottom:0}.employee-row:not(.employee-row-head):hover{background:#fafbf9}.employee-row.inactive{background:#fbfbfa;opacity:.72}.employee-row-head{min-height:38px;color:#89938e;background:#f7f9f6;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.employee-row>span:not(.employee-person):not(.employee-actions){min-width:0;display:flex;flex-direction:column}.employee-row>span>strong{overflow:hidden;color:#34483e;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.employee-row>span>small{margin-top:5px;overflow:hidden;color:var(--muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.employee-person{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px}.employee-person>i,.delete-employee-confirm>span{width:42px;height:42px;display:grid;place-items:center;color:var(--green-800);border-radius:11px;background:var(--green-50);font-size:11px;font-style:normal;font-weight:800}.employee-person>span{min-width:0;display:flex;flex-direction:column}.employee-person strong{display:flex;align-items:center;gap:6px;color:var(--green-950)!important;font-size:12.5px!important}.employee-person strong svg{color:#b47a2e}.employee-status{width:fit-content;padding:6px 8px;display:inline-flex;flex-direction:row!important;align-items:center;gap:5px;border-radius:6px;font-size:9.5px;font-style:normal;font-weight:750}.employee-status.active{color:#27704f;background:#e8f5ec}.employee-status.blocked{color:#9a5c46;background:#f9ebe5}.employee-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.employee-actions .icon-button{width:34px;height:34px;color:#5b6b63}.employee-actions .danger-icon{color:var(--danger)}.protected-account{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:5px;color:#7d8983;font-size:9.5px;font-weight:700;white-space:nowrap}.roles-grid{margin-top:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.role-card{min-width:0;padding:17px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:var(--shadow-sm)}.role-card.system{border-color:#d4b781;background:linear-gradient(145deg,#fffcf6,#fff)}.role-card>header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}.role-card>header>span{width:40px;height:40px;display:grid;place-items:center;color:var(--green-700);border-radius:10px;background:var(--green-50)}.role-card.system>header>span{color:#a36c27;background:#fff0d8}.role-card>header>div{min-width:0}.role-card>header small{color:var(--muted);font-size:8.5px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.role-card h2{margin:3px 0 0;overflow:hidden;color:var(--green-950);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.role-card>header>b{padding:5px 7px;color:var(--green-700);border-radius:6px;background:var(--green-50);font-size:9px}.role-card>p{min-height:51px;margin:15px 0;color:var(--muted);font-size:10px;line-height:1.55}.role-card>div{padding-top:12px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid var(--line-soft)}.role-card>div>span{padding:5px 7px;display:inline-flex;align-items:center;gap:4px;color:#54675d;border-radius:6px;background:#f4f7f4;font-size:8.5px}.role-card>div>span svg{color:var(--green-700)}.role-card>footer{margin-top:14px;padding-top:12px;display:flex;gap:8px;border-top:1px solid var(--line-soft)}.role-permission-selector{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-alt)}.role-permission-selector>strong{color:var(--green-950);font-size:14px}.role-permission-selector>p{margin:4px 0 12px;color:var(--muted);font-size:11px;line-height:1.45}.role-permission-selector>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.role-permission-selector label{min-height:42px;padding:9px 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#53645b;font-size:10px;line-height:1.3;cursor:pointer}.role-permission-selector label.selected{border-color:#8fc6ac;background:var(--green-50);color:var(--green-900)}.role-permission-selector input{accent-color:var(--green-700)}.delete-employee-confirm{margin:18px 20px 0;padding:13px;display:flex;align-items:center;gap:11px;border:1px solid var(--line-soft);border-radius:9px;background:#fafbf9}.delete-employee-confirm>div{display:flex;flex-direction:column}.delete-employee-confirm strong{color:var(--green-950);font-size:12px}.delete-employee-confirm small{margin-top:4px;color:var(--muted);font-size:10px}.traceability-login-shell{min-height:calc(100vh - 73px);margin:-26px -30px;padding:42px 24px;display:grid;place-items:center;background:radial-gradient(circle at 50% 0%,rgb(45 124 91 / 13%),transparent 38%),linear-gradient(145deg,#edf2ed,#f7f7f3)}.traceability-login-card{width:min(470px,100%);padding:34px;border:1px solid #d8e1da;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0e322429}.traceability-login-mark{width:54px;height:54px;display:grid;place-items:center;color:#fff;border-radius:15px;background:linear-gradient(145deg,var(--green-700),var(--green-900));box-shadow:0 10px 25px #195b4038}.traceability-login-card .eyebrow{margin:22px 0 7px}.traceability-login-card h1{margin:0;color:var(--green-950);font-size:26px;line-height:1.18}.traceability-login-card>p:not(.eyebrow){margin:12px 0 24px;color:var(--muted);font-size:13px;line-height:1.65}.traceability-login-card form{display:flex;flex-direction:column;gap:14px}.traceability-login-card .field>span{font-size:12px}.traceability-login-card input{min-height:46px}.trace-login-button{width:100%;min-height:46px;justify-content:center;margin-top:3px}.traceability-login-card>footer{margin:23px -34px -34px;padding:15px 22px;display:flex;justify-content:center;align-items:center;gap:7px;color:#718078;border-radius:0 0 16px 16px;background:#f5f7f4;font-size:10.5px}.traceability-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.traceability-heading h1{margin:4px 0 0;color:var(--green-950);font-size:27px;letter-spacing:-.025em}.traceability-heading .page-subtitle{margin-top:8px}.traceability-user{min-width:270px;padding:10px 11px;display:grid;grid-template-columns:38px 1fr 34px;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.traceability-user>span{width:38px;height:38px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:var(--green-50)}.traceability-user>div{min-width:0;display:flex;flex-direction:column}.traceability-user strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.traceability-user small{margin-top:4px;color:var(--muted);font-size:9.5px}.traceability-batch-switcher{margin-top:2px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm)}.traceability-batch-switcher>header{min-height:65px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-soft);background:#fafbf9}.traceability-batch-switcher h2{margin:3px 0 0;color:var(--green-950);font-size:16px}.traceability-batch-switcher header b,.trace-passport-section>header>b{padding:5px 8px;color:var(--green-700);border-radius:6px;background:var(--green-50);font-size:10px}.traceability-batch-switcher>div{padding:10px;display:flex;gap:8px;overflow-x:auto}.traceability-batch-switcher a{min-width:210px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line-soft);border-radius:8px}.traceability-batch-switcher a:hover{border-color:#b6cbbb;background:#f7faf7}.traceability-batch-switcher a.active{border-color:var(--green-700);box-shadow:inset 0 0 0 1px var(--green-700);background:var(--green-50)}.traceability-batch-switcher a>span{display:flex;align-items:center;gap:7px;color:var(--green-700)}.traceability-batch-switcher a strong{color:var(--green-900);font-size:11.5px}.traceability-batch-switcher a small{color:var(--muted);font-size:9.5px}.traceability-summary-grid{margin-top:12px;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm)}.traceability-summary-grid article{min-width:0;min-height:96px;padding:15px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;border-right:1px solid var(--line-soft)}.traceability-summary-grid article:last-child{border-right:0}.traceability-summary-grid article>svg{color:var(--green-700)}.traceability-summary-grid article>span{min-width:0;display:flex;flex-direction:column}.traceability-summary-grid small{color:var(--muted);font-size:9.5px}.traceability-summary-grid strong{margin-top:5px;color:var(--green-950);font-size:17px;white-space:nowrap}.traceability-summary-grid em{margin-top:4px;overflow:hidden;color:#8a9690;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.traceability-main-layout{margin-top:13px;display:grid;grid-template-columns:minmax(0,1fr) 302px;align-items:start;gap:13px}.traceability-main-column{min-width:0;display:flex;flex-direction:column;gap:13px}.trace-passport-section{overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm)}.trace-passport-section>header{min-height:70px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line-soft);background:linear-gradient(180deg,#fbfcfa,#f8faf8)}.trace-passport-section>header>div{display:flex;align-items:center;gap:10px}.trace-passport-section>header>div>span:last-child{display:flex;flex-direction:column}.trace-passport-section>header strong{color:var(--green-950);font-size:14px}.trace-passport-section>header small{margin-top:4px;color:var(--muted);font-size:10px}.trace-section-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:var(--green-50)}.trace-section-icon.amber{color:#9b6428;background:#fff1dc}.trace-section-icon.violet{color:#72537d;background:#f1eaf3}.trace-section-icon.blue{color:#356a8a;background:var(--blue-soft)}.trace-source-list{padding:12px;display:flex;flex-direction:column;gap:10px}.trace-source-card{overflow:hidden;border:1px solid var(--line-soft);border-radius:9px;background:#fff}.trace-source-title{min-height:70px;padding:11px 13px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;background:#fafbf9}.trace-source-title>span{width:38px;height:38px;display:grid;place-items:center;color:#9a6428;border-radius:9px;background:#fff0d8}.trace-source-title>div{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:baseline}.trace-source-title small{grid-column:1 / 3;color:var(--muted);font-size:9px}.trace-source-title strong{color:var(--green-950);font-size:13px}.trace-source-title em{overflow:hidden;color:#69766f;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.trace-source-title>i{padding:5px 7px;color:#297151;border-radius:6px;background:#e9f6ed;font-size:9px;font-style:normal;font-weight:750;white-space:nowrap}.trace-source-title>i.consumed{color:#356a8a;background:var(--blue-soft)}.trace-source-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.trace-source-facts>span{min-height:60px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.trace-source-facts>span:nth-child(3n){border-right:0}.trace-source-facts>span:nth-child(n+4){border-bottom:0}.trace-source-facts small,.trace-attributes small{color:var(--muted);font-size:8.5px}.trace-source-facts strong,.trace-attributes strong{overflow:hidden;color:#33473d;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.trace-attributes{padding:10px 12px;display:flex;flex-wrap:wrap;gap:7px}.trace-attributes>span{padding:6px 8px;display:flex;flex-direction:column;gap:3px;border-radius:6px;background:var(--green-50)}.trace-source-card>footer{min-height:42px;padding:7px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--line-soft);background:#fafbf9}.trace-source-card>footer a{padding:5px 7px;display:inline-flex;align-items:center;gap:5px;color:var(--green-700);border-radius:5px;font-size:10px;font-weight:700}.trace-source-card>footer a:hover{background:var(--green-50)}.trace-empty{padding:34px 20px;display:flex;flex-direction:column;align-items:center;color:#87928c;text-align:center}.trace-empty strong{margin-top:9px;color:var(--green-900);font-size:13px}.trace-empty p{margin:5px 0 0;font-size:10px}.trace-stage-timeline{padding:14px 15px 16px}.trace-stage-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px}.trace-stage-marker{position:relative;display:flex;justify-content:center}.trace-stage-marker>span{position:relative;z-index:1;width:29px;height:29px;display:grid;place-items:center;color:#6f7c75;border:1px solid #ccd5ce;border-radius:50%;background:#fff;font-size:10px;font-weight:800}.trace-stage-marker>i{position:absolute;top:29px;bottom:0;width:1px;background:#dce3dd}.trace-stage-card:last-child .trace-stage-marker>i{display:none}.trace-stage-card.completed .trace-stage-marker>span{color:#fff;border-color:var(--green-700);background:var(--green-700)}.trace-stage-card.in_progress .trace-stage-marker>span{color:var(--green-800);border-color:var(--green-600);box-shadow:0 0 0 4px var(--green-50)}.trace-stage-card.blocked .trace-stage-marker>span{color:#a05b31;border-color:#d89873;background:#fff1e8}.trace-stage-body{margin-bottom:12px;overflow:hidden;border:1px solid var(--line-soft);border-radius:9px}.trace-stage-body>header{min-height:73px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafbf9}.trace-stage-body>header>div{min-width:0;display:flex;flex-direction:column}.trace-stage-body>header small{color:var(--muted);font-size:8.5px}.trace-stage-body>header strong{margin-top:4px;color:var(--green-950);font-size:13px}.trace-stage-body>header em{margin-top:4px;overflow:hidden;color:#7a8680;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.trace-stage-body>header>b{padding:5px 7px;color:#6f7a74;border-radius:6px;background:#edf0ed;font-size:9px;white-space:nowrap}.trace-stage-card.completed .trace-stage-body>header>b{color:var(--green-700);background:var(--green-50)}.trace-stage-card.in_progress .trace-stage-body>header>b{color:#356a8a;background:var(--blue-soft)}.trace-stage-card.blocked .trace-stage-body>header>b{color:#a35a32;background:#fff0e6}.trace-stage-metadata{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-soft)}.trace-stage-metadata>span{min-height:58px;padding:9px 11px;display:grid;grid-template-columns:17px 1fr;align-content:center;gap:2px 5px;border-right:1px solid var(--line-soft)}.trace-stage-metadata>span:last-child{border-right:0}.trace-stage-metadata svg{grid-row:1 / 3;align-self:center;color:var(--green-700)}.trace-stage-metadata small{color:var(--muted);font-size:8px}.trace-stage-metadata strong{overflow:hidden;color:#3a4d43;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.trace-mass-balance{min-height:58px;padding:9px 12px;display:flex;align-items:center;gap:9px;border-top:1px solid var(--line-soft);background:#f7faf7}.trace-mass-balance>span{display:flex;flex-direction:column;gap:3px}.trace-mass-balance>span.loss{margin-left:auto;text-align:right}.trace-mass-balance small{color:var(--muted);font-size:8px}.trace-mass-balance strong{color:var(--green-900);font-size:10px}.trace-mass-balance .loss strong{color:#9b6242}.trace-stage-form-values{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line-soft)}.trace-stage-form-values>span{min-height:52px;padding:9px 12px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.trace-stage-form-values>span:nth-child(2n){border-right:0}.trace-stage-form-values small{color:var(--muted);font-size:8px}.trace-stage-form-values strong{color:#3a4d43;font-size:9.5px}.trace-stage-body>blockquote{margin:0;padding:10px 13px;color:#6b7771;border-top:1px solid var(--line-soft);border-left:3px solid #d5a361;background:#fffaf1;font-size:9.5px;line-height:1.5}.trace-stage-body>footer{min-height:43px;padding:7px 11px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--line-soft)}.trace-stage-body>footer>span,.trace-stage-body>footer>a{padding:5px 7px;display:inline-flex;align-items:center;gap:5px;color:#5e6e65;border-radius:5px;background:#f4f7f4;font-size:9px}.trace-stage-body>footer>a{color:var(--green-700)}.trace-event-list{display:flex;flex-direction:column}.trace-event-list>article{padding:12px 16px;display:grid;grid-template-columns:31px minmax(0,1fr);gap:9px;border-bottom:1px solid var(--line-soft)}.trace-event-list>article:last-child{border-bottom:0}.trace-event-list>article>span{width:31px;height:31px;display:grid;place-items:center;color:#72537d;border-radius:8px;background:#f1eaf3}.trace-event-list>article>div{display:flex;flex-direction:column}.trace-event-list strong{color:var(--green-900);font-size:11px}.trace-event-list p{margin:4px 0;color:#6d7972;font-size:9.5px;line-height:1.45}.trace-event-list small{color:#8b9690;font-size:8.5px}.trace-event-list blockquote{margin:4px 0;padding:6px 8px;color:#9b5e3c;border-left:2px solid #c87d53;background:#fff5ee;font-size:9px}.trace-output-grid{padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.trace-output-grid>a,.trace-output-grid>article{min-width:0;min-height:72px;padding:11px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--line-soft);border-radius:8px;background:#fafbf9}.trace-output-grid>a:hover{border-color:#bad0c0;background:var(--green-50)}.trace-output-grid>article{grid-template-columns:36px minmax(0,1fr)}.trace-output-grid>a>span,.trace-output-grid>article>span{width:36px;height:36px;display:grid;place-items:center;color:#356a8a;border-radius:9px;background:var(--blue-soft)}.trace-output-grid>a>div,.trace-output-grid>article>div{min-width:0;display:flex;flex-direction:column}.trace-output-grid small{color:var(--muted);font-size:8.5px}.trace-output-grid strong{margin-top:4px;overflow:hidden;color:var(--green-900);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.trace-output-grid em{margin-top:4px;overflow:hidden;color:#87928c;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.trace-output-grid>a>svg{color:#91a099}.trace-output-grid .span-full{grid-column:1 / -1}.traceability-side-column{align-self:start;display:flex;flex-direction:column;gap:12px}.traceability-qr-card,.traceability-access-note,.traceability-order-facts{border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm)}.traceability-qr-card{position:static;padding:17px;text-align:center}.traceability-qr-card h3{margin:2px 0 0;color:var(--green-950);font-size:19px}.traceability-qr-card>p{margin:5px 0 0;color:var(--muted);font-size:9px}.traceability-qr-card .button{width:100%;justify-content:center;margin-top:13px}.traceability-qr-card>footer{margin:13px -17px -17px;padding:11px;display:flex;justify-content:center;align-items:center;gap:5px;color:#738078;background:#f3f6f3;font-size:8.5px;line-height:1.4}.traceability-access-note{padding:13px;display:flex;gap:9px;color:var(--green-700);background:var(--green-50)}.traceability-access-note div{display:flex;flex-direction:column}.traceability-access-note strong{color:var(--green-900);font-size:10.5px}.traceability-access-note p{margin:4px 0 0;color:#62736a;font-size:8.5px;line-height:1.45}.traceability-order-facts{display:flex;flex-direction:column}.traceability-order-facts>header{min-height:50px;padding:10px 13px;display:flex;align-items:center;gap:7px;color:var(--green-700);border-bottom:1px solid var(--line-soft)}.traceability-order-facts>header strong{color:var(--green-900);font-size:11px}.traceability-order-facts>span{min-height:51px;padding:9px 13px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-bottom:1px solid var(--line-soft)}.traceability-order-facts small{color:var(--muted);font-size:8.5px}.traceability-order-facts>span strong{color:#3a4d43;font-size:10px}.traceability-order-facts .button{margin:11px;justify-content:center}@media(max-width:1180px){.roles-grid{grid-template-columns:1fr 1fr}.role-permission-selector>div{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-row{grid-template-columns:minmax(240px,1.25fr) minmax(170px,.85fr) 110px 132px}.employee-row>span:nth-child(3){display:none}.traceability-summary-grid{grid-template-columns:repeat(3,1fr)}.traceability-summary-grid article:nth-child(3){border-right:0}.traceability-summary-grid article:nth-child(-n+3){border-bottom:1px solid var(--line-soft)}.traceability-main-layout{grid-template-columns:minmax(0,1fr) 270px}}@media(max-width:900px){.auth-login-page{grid-template-columns:1fr}.auth-login-story{min-height:190px;padding:34px}.auth-story-copy,.auth-feature-grid,.auth-login-story>footer{display:none}.auth-login-form-shell{position:relative;z-index:2;min-height:0;margin-top:-42px;padding:0 20px 34px;place-items:start center}.roles-grid{grid-template-columns:1fr}.role-permission-selector>div{grid-template-columns:1fr}.employee-row{grid-template-columns:minmax(230px,1.2fr) minmax(170px,.9fr) 100px}.employee-row>span:nth-child(4){display:none}.traceability-heading{align-items:flex-start;flex-direction:column}.traceability-user{width:100%}.traceability-main-layout{grid-template-columns:1fr}.traceability-side-column{display:grid;grid-template-columns:minmax(260px,.8fr) 1fr;align-items:start}.traceability-qr-card{position:static;grid-row:span 2}}@media(max-width:680px){.auth-login-story{min-height:138px;padding:24px 22px 42px}.auth-login-form-shell{min-height:0;margin-top:-18px;padding:0 14px 28px;place-items:start center}.auth-login-form-card{padding:26px 21px;border-radius:13px}.auth-login-form-card>footer{margin:23px -21px -26px;padding:15px 21px}.auth-login-form-card h2{font-size:26px}.team-security-banner{align-items:flex-start}.team-security-banner>b{display:none}.team-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.team-tabs button{justify-content:center;padding-inline:8px}.employees-panel>header{align-items:stretch;flex-direction:column}.employees-panel .client-search{width:100%}.employee-row-head{display:none}.employee-row{padding:14px;grid-template-columns:minmax(0,1fr) auto;gap:11px}.employee-person{grid-column:1;grid-row:1}.employee-row>span:nth-child(2){grid-column:1;grid-row:2;padding-left:53px}.employee-actions{grid-column:2;grid-row:1 / 3;flex-direction:column}.role-card>p{min-height:auto}.role-card>p{font-size:12px}.role-card>div>span{font-size:10.5px;line-height:1.35}.role-permission-selector{padding:14px}.role-permission-selector label{min-height:50px;font-size:12px}.traceability-login-shell{margin:-18px -15px;padding:24px 14px}.traceability-login-card{padding:25px 20px}.traceability-login-card h1{font-size:22px}.traceability-login-card>footer{margin:21px -20px -25px}.production-section-tabs{width:100%;display:grid;grid-template-columns:1fr}.production-section-tabs>a,.production-section-tabs>span{justify-content:center}.traceability-heading h1{font-size:23px}.traceability-summary-grid{grid-template-columns:1fr 1fr}.traceability-summary-grid article,.traceability-summary-grid article:nth-child(3){border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.traceability-summary-grid article:nth-child(2n){border-right:0}.traceability-summary-grid article:last-child{border-right:0;border-bottom:0}.traceability-side-column{display:flex}.trace-source-title{grid-template-columns:38px minmax(0,1fr)}.trace-source-title>i{grid-column:1 / 3;justify-self:start}.trace-source-facts,.trace-stage-metadata,.trace-stage-form-values{grid-template-columns:1fr}.trace-source-facts>span,.trace-source-facts>span:nth-child(3n),.trace-stage-metadata>span,.trace-stage-form-values>span{border-right:0;border-bottom:1px solid var(--line-soft)}.trace-source-facts>span:last-child,.trace-stage-metadata>span:last-child,.trace-stage-form-values>span:last-child{border-bottom:0}.trace-passport-section>header{align-items:flex-start}.trace-passport-section>header>b{display:none}.trace-output-grid{grid-template-columns:1fr}}@media(max-width:980px){.sidebar-profile-wrap{padding-top:8px}.sidebar-profile-button{justify-content:center;padding:5px}.sidebar-profile-button .profile-copy,.sidebar-profile-button>svg{display:none}.sidebar-profile-dropdown{left:calc(100% + 10px)}}@media(max-width:720px){.workspace{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.page{padding-top:26px;padding-bottom:38px}.mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:50;min-height:70px;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));display:flex;align-items:stretch;gap:4px;border-top:1px solid #dce3dd;background:#fffffff5;box-shadow:0 -10px 28px #0c2b2114;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-bottom-nav>a,.mobile-bottom-nav>button{min-width:0;min-height:54px;flex:1;padding:5px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#738078;border:0;border-radius:9px;background:transparent;font-size:10px;font-weight:750}.mobile-bottom-nav>.active{color:var(--green-800);background:var(--green-50)}.mobile-bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-backdrop{position:fixed;inset:0;z-index:70;display:flex;align-items:flex-end;justify-content:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#071d157f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mobile-menu-sheet{width:min(100%,520px);max-height:min(88dvh,720px);overflow-y:auto;overscroll-behavior:contain;border:1px solid rgb(255 255 255 / 50%);border-radius:18px;background:#f8faf7;box-shadow:0 24px 80px #0519124d;animation:mobile-sheet-in .18s ease}@keyframes mobile-sheet-in{0%{opacity:0;transform:translateY(18px)}}.mobile-menu-sheet>header{min-height:69px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#fff;border-radius:17px 17px 0 0;background:linear-gradient(135deg,#103c2e,#1a5c45)}.mobile-menu-sheet .auth-brand>span{width:38px;height:38px}.mobile-menu-sheet .auth-brand strong{font-size:14px}.mobile-menu-sheet .auth-brand small{color:#a7c7ba}.mobile-menu-sheet>header .icon-button{color:#fff;border-color:#ffffff1f;background:#ffffff17}.mobile-account-card{margin:12px;padding:12px;display:flex;align-items:center;gap:11px;border:1px solid #dce5de;border-radius:11px;background:#fff}.mobile-account-card>div{min-width:0;display:flex;flex-direction:column}.mobile-account-card strong{overflow:hidden;color:var(--green-950);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mobile-account-card small{margin-top:4px;color:var(--muted);font-size:10px}.mobile-menu-sheet>nav{padding:0 12px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.mobile-menu-sheet>nav>a{min-width:0;min-height:68px;padding:11px;display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px;color:var(--green-700);border:1px solid var(--line);border-radius:10px;background:#fff}.mobile-menu-sheet>nav>a.active{border-color:#9ec1aa;background:var(--green-50);box-shadow:inset 3px 0 var(--green-700)}.mobile-menu-sheet>nav>a>span{min-width:0;display:flex;flex-direction:column}.mobile-menu-sheet>nav strong{overflow:hidden;color:var(--green-900);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-sheet>nav small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-sheet>footer{margin-top:12px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:7px;border-top:1px solid var(--line-soft)}.mobile-menu-sheet>footer button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;color:#4c5e54;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px;font-weight:700}.mobile-menu-sheet>footer button.logout{color:var(--danger);border-color:#ead0cb}.toast{right:14px;bottom:calc(82px + env(safe-area-inset-bottom));left:14px;justify-content:center}}@media(max-width:430px){.mobile-menu-sheet>nav{grid-template-columns:1fr}.mobile-menu-sheet>footer{grid-template-columns:1fr}}.related-finance-card{margin-top:13px;overflow:hidden;border:1px solid #cadbd1;background:#fff;box-shadow:var(--shadow-sm)}.supplier-detail-panel .related-finance-card{margin:10px 22px 18px}.related-finance-card>header{min-height:66px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft);background:linear-gradient(90deg,#f1f7f3,#fff)}.related-finance-card>header>div{display:flex;align-items:center;gap:9px}.related-finance-card>header>div>span{width:36px;height:36px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:#fff}.related-finance-card>header>div>div{display:flex;flex-direction:column}.related-finance-card>header small{color:var(--muted);font-size:9px}.related-finance-card>header strong{margin-top:3px;color:var(--green-900);font-size:12px}.related-finance-card>header>a{min-height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;color:var(--green-700);border:1px solid #c6d8cc;border-radius:7px;background:#fff;font-size:9.5px;font-weight:750;white-space:nowrap}.related-finance-grid{padding:10px 14px 14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.related-finance-grid>span{min-width:0;padding:9px 10px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:3px 6px;color:#7d8982;border:1px solid var(--line-soft);background:#fafbf9}.related-finance-grid>span>svg{grid-row:1 / 3;align-self:center}.related-finance-grid small{color:var(--muted);font-size:8.5px}.related-finance-grid strong{overflow:hidden;color:var(--green-900);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.related-finance-grid .receivable{color:var(--green-700)}.related-finance-grid .payable{color:#9a641f}.related-finance-grid .overdue{color:var(--danger);border-color:#ecd2ce;background:#fff8f6}.order-settlement-card{margin-top:13px;overflow:hidden;border:1px solid #c9d9cf;background:#fff;box-shadow:var(--shadow-sm)}.order-settlement-card>header{min-height:78px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft);background:linear-gradient(95deg,#f0f7f2,#fff)}.order-settlement-card>header>div{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px}.order-settlement-card>header>div>span{width:40px;height:40px;display:grid;place-items:center;color:var(--green-700);border-radius:10px;background:#fff;box-shadow:0 2px 7px #14463214}.order-settlement-card>header>div>div{min-width:0;display:flex;flex-direction:column}.order-settlement-card>header small{color:var(--green-700);font-size:9px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.order-settlement-card>header strong{margin-top:3px;color:var(--green-950);font-size:13px}.order-settlement-card>header p{margin:4px 0 0;color:var(--muted);font-size:9.5px}.order-settlement-card>header>a{min-height:36px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;color:var(--green-700);border:1px solid #bfd3c6;border-radius:7px;background:#fff;font-size:10px;font-weight:750;white-space:nowrap}.order-settlement-card>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.order-settlement-card>div>span{min-width:0;min-height:69px;padding:12px 15px;display:flex;flex-direction:column;justify-content:center;gap:5px;border-right:1px solid var(--line-soft)}.order-settlement-card>div>span:last-child{border-right:0}.order-settlement-card>div small{color:var(--muted);font-size:9px}.order-settlement-card>div strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.order-settlement-card>div .overdue{background:#fff8f6}.order-settlement-card>div .overdue strong{color:var(--danger)}.linked-finance-obligation{margin-top:13px;overflow:hidden;border:1px solid #c8dacf;background:#fff;box-shadow:var(--shadow-sm)}.linked-finance-obligation>header{min-height:78px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #dce8e0;background:linear-gradient(96deg,#edf7f1,#fff 64%,#fff9ef)}.linked-finance-heading{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px}.linked-finance-heading>span{width:42px;height:42px;display:grid;place-items:center;color:var(--green-700);border:1px solid #d4e5da;border-radius:10px;background:#fff;box-shadow:0 3px 10px #19473512}.linked-finance-heading>div{min-width:0;display:flex;flex-direction:column}.linked-finance-heading small{color:#9a6a24;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.linked-finance-heading strong{margin-top:3px;color:var(--green-950);font-size:14px}.linked-finance-heading p{margin:4px 0 0;max-width:700px;color:var(--muted);font-size:9.5px;line-height:1.45}.linked-finance-actions{flex:0 0 auto;display:flex;align-items:center;gap:7px}.linked-finance-actions .button{min-height:36px;padding:0 11px;justify-content:center;font-size:10px;white-space:nowrap}.linked-finance-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.linked-finance-grid>span{min-width:0;min-height:77px;padding:11px 13px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line-soft)}.linked-finance-grid>span:last-child{border-right:0}.linked-finance-grid small{color:var(--muted);font-size:8.5px}.linked-finance-grid strong{margin-top:5px;overflow:hidden;color:var(--green-950);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.linked-finance-grid em{margin-top:4px;overflow:hidden;color:#839087;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.linked-finance-grid .overdue{background:#fff7f4}.linked-finance-grid .overdue strong{color:var(--danger)}.linked-finance-status .finance-status{align-self:flex-start;margin-top:6px}.linked-finance-status em{display:flex;align-items:center;gap:4px}.receipt-main-column>.linked-finance-obligation:first-child{margin-top:0}.receipt-main-column .linked-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-main-column .linked-finance-grid>span:nth-child(2n){border-right:0}.receipt-main-column .linked-finance-grid>span:nth-child(-n+4){border-bottom:1px solid var(--line-soft)}.receipt-main-column .linked-finance-grid>span:last-child{grid-column:1 / -1}.linked-finance-modal-action{margin-top:13px;padding:13px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid #cfe0d6;background:var(--green-50)}.linked-finance-modal-action>div{min-width:0;display:flex;flex-direction:column}.linked-finance-modal-action strong{color:var(--green-950);font-size:11px}.linked-finance-modal-action small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}.linked-finance-modal-action .button{min-height:38px;white-space:nowrap}.finance-heading{align-items:center}.finance-context-banner{margin-top:18px;padding:12px 14px;display:flex;align-items:center;gap:10px;color:var(--green-700);border:1px solid #c9dbd0;background:var(--green-50)}.finance-context-banner>span{min-width:0;display:flex;flex:1;flex-direction:column}.finance-context-banner strong{color:var(--green-900);font-size:12px}.finance-context-banner small{margin-top:3px;color:#66776e;font-size:10px}.finance-context-banner>a{padding:7px 9px;border:1px solid #b9d0c2;border-radius:7px;background:#fff;font-size:10px;font-weight:750;white-space:nowrap}.finance-kpis{margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.finance-kpis article{min-height:118px;padding:17px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.finance-kpis article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px}.finance-kpis article>div{min-width:0;display:flex;flex-direction:column}.finance-kpis small{color:var(--muted);font-size:10px;font-weight:650}.finance-kpis strong{margin-top:8px;overflow:hidden;color:var(--green-950);font-size:20px;letter-spacing:-.03em;text-overflow:ellipsis;white-space:nowrap}.finance-kpis p{margin:7px 0 0;color:#8b9690;font-size:9.5px}.finance-kpis .receivable>span{color:var(--green-700);background:var(--green-50)}.finance-kpis .payable>span{color:#9a641f;background:#fff1dc}.finance-kpis .overdue>span{color:var(--danger);background:var(--danger-soft)}.finance-kpis .unallocated>span{color:var(--blue);background:var(--blue-soft)}.finance-control-grid{margin-top:13px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:13px}.cashflow-card,.aging-card{min-width:0;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.cashflow-card>header,.aging-card>header{min-height:69px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;color:var(--green-700);border-bottom:1px solid var(--line-soft)}.cashflow-card h2,.aging-card h2{margin:2px 0 0;color:var(--green-950);font-size:17px}.cashflow-net{padding:17px;display:flex;flex-direction:column;border-bottom:1px solid var(--line-soft)}.cashflow-net small{color:var(--muted);font-size:10px}.cashflow-net strong{margin-top:5px;font-size:27px;letter-spacing:-.04em}.cashflow-net strong.positive{color:var(--green-700)}.cashflow-net strong.negative{color:var(--danger)}.cashflow-split{padding:14px 17px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.cashflow-split>span{padding:10px;display:grid;grid-template-columns:8px minmax(0,1fr);gap:3px 8px;border:1px solid var(--line-soft);background:#fafbf9}.cashflow-split i{width:7px;height:7px;grid-row:1 / 3;align-self:center;border-radius:50%}.cashflow-split i.incoming{background:#4e9a70}.cashflow-split i.outgoing{background:#c58b41}.cashflow-split small{color:var(--muted);font-size:9px}.cashflow-split strong{color:var(--green-900);font-size:12px}.cashflow-card>footer{padding:13px 17px;display:flex;align-items:center;gap:10px;color:#9b681f;background:#fff8ec}.cashflow-card>footer>span{display:flex;flex-direction:column}.cashflow-card>footer strong{color:#6d4b20;font-size:10.5px}.cashflow-card>footer small{margin-top:3px;color:#9b7f5e;font-size:9px}.aging-list{padding:13px 17px;display:flex;flex-direction:column;gap:12px}.aging-list>div{display:grid;grid-template-columns:108px minmax(80px,1fr) 126px;align-items:center;gap:11px}.aging-list>div>span{min-width:0;display:flex;flex-direction:column}.aging-list strong{color:#425049;font-size:10.5px}.aging-list small{margin-top:3px;color:var(--muted);font-size:8.5px}.aging-list i{height:7px;overflow:hidden;border-radius:8px;background:#edf0ed}.aging-list b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6c9a7c,#c08b4b)}.aging-list em{color:var(--green-900);font-size:11px;font-style:normal;font-weight:750;text-align:right}.finance-ledger-panel{margin-top:13px;overflow:hidden;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.finance-ledger-header{min-height:78px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.finance-ledger-header h2{margin:2px 0 0;color:var(--green-950);font-size:18px}.finance-tabs{padding:4px;display:flex;gap:3px;border:1px solid var(--line);border-radius:9px;background:#f3f5f2}.finance-tabs button{min-height:36px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;color:#6e7a73;border:0;border-radius:7px;background:transparent;font-size:10.5px;font-weight:700}.finance-tabs button span{min-width:20px;padding:3px 5px;border-radius:10px;background:#216b5314;font-size:8.5px}.finance-tabs button.active{color:var(--green-800);background:#fff;box-shadow:0 2px 6px #16342714}.finance-filters{padding:12px 18px;display:flex;align-items:center;justify-content:flex-end;gap:8px;border-bottom:1px solid var(--line-soft);background:#fafbf9}.finance-filters .search-field{margin-right:auto}.finance-obligation-row,.finance-payment-row{width:100%;min-width:1180px;min-height:78px;padding:9px 17px;display:grid;align-items:center;gap:13px;color:inherit;border:0;border-bottom:1px solid var(--line-soft);background:#fff;text-align:left}.finance-obligation-row{grid-template-columns:1.28fr 1fr .76fr .72fr .88fr .72fr 18px}.finance-payment-row{grid-template-columns:1.15fr 1fr .78fr .9fr .9fr .62fr 18px}.finance-obligation-row:not(.finance-row-head):hover,.finance-payment-row:not(.finance-row-head):hover{background:#f7faf7}.finance-row-head{min-height:39px;color:#8b9691;background:#f8f9f6;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.finance-obligation-list,.finance-payment-list{overflow-x:auto}.finance-obligation-row>span,.finance-payment-row>span{min-width:0;display:flex;flex-direction:column}.finance-obligation-row>svg,.finance-payment-row>svg{color:#9ba59f}.finance-obligation-row strong,.finance-payment-row strong{overflow:hidden;color:var(--green-900);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.finance-obligation-row small,.finance-payment-row small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.finance-record-main{display:grid!important;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px}.finance-record-main>i{width:35px;height:35px;display:grid;place-items:center;border-radius:9px}.finance-record-main>i.receivable,.finance-record-main>i.incoming{color:var(--green-700);background:var(--green-50)}.finance-record-main>i.payable,.finance-record-main>i.outgoing{color:#9a641f;background:#fff1dc}.finance-record-main>span{min-width:0;display:flex;flex-direction:column}.finance-status,.payment-status{width:fit-content;padding:5px 7px;display:inline-flex;border-radius:6px;font-size:9px;font-weight:750;white-space:nowrap}.finance-status.open{color:#53635b;background:#edf0ed}.finance-status.partial{color:var(--blue);background:var(--blue-soft)}.finance-status.overdue{color:var(--danger);background:var(--danger-soft)}.finance-status.paid,.payment-status.confirmed{color:var(--green-700);background:var(--green-50)}.finance-status.cancelled,.payment-status.cancelled{color:#767f7b;background:#eceeec}.finance-counterparty-grid{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.finance-counterparty-grid article{min-width:0;padding:14px;border:1px solid var(--line);background:#fcfdfa}.finance-counterparty-grid article>header{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px}.finance-counterparty-grid article>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:9px}.finance-counterparty-grid article>header>span.client{color:var(--green-700);background:var(--green-50)}.finance-counterparty-grid article>header>span.supplier{color:#9a641f;background:#fff1dc}.finance-counterparty-grid article header div{min-width:0;display:flex;flex-direction:column}.finance-counterparty-grid article header strong{overflow:hidden;color:var(--green-950);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-counterparty-grid article header small{margin-top:4px;color:var(--muted);font-size:9px}.finance-counterparty-grid article>div{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.finance-counterparty-grid article>div>span{padding:9px;display:flex;flex-direction:column;background:#f3f6f3}.finance-counterparty-grid article>div small{color:var(--muted);font-size:8.5px}.finance-counterparty-grid article>div strong{margin-top:4px;color:var(--green-900);font-size:11px}.finance-counterparty-grid article>p{margin:9px 0 0;display:flex;align-items:center;gap:6px;color:var(--danger);font-size:9.5px}.finance-counterparty-grid article>a{margin-top:13px;min-height:35px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--green-700);border:1px solid #cbdacf;border-radius:7px;background:#fff;font-size:10px;font-weight:750}.finance-direction-switch{margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.finance-direction-switch button{min-height:69px;padding:11px 13px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;color:#75817a;border:1px solid var(--line);border-radius:9px;background:#fafbf9;text-align:left}.finance-direction-switch button>span{display:flex;flex-direction:column}.finance-direction-switch strong{color:#435049;font-size:11.5px}.finance-direction-switch small{margin-top:4px;font-size:9px}.finance-direction-switch button.active.receivable{color:var(--green-700);border-color:#91b29f;background:var(--green-50)}.finance-direction-switch button.active.payable{color:#98611f;border-color:#ddbd89;background:#fff6e8}.finance-link-section{margin:19px 0;padding:14px;border:1px solid #dce5de;background:#f7faf7}.finance-link-section>header{margin-bottom:13px;display:flex;align-items:center;gap:8px;color:var(--green-700)}.finance-link-section>header>div{display:flex;flex-direction:column}.finance-link-section>header strong{color:var(--green-900);font-size:11px}.finance-link-section>header small{margin-top:3px;color:var(--muted);font-size:9px}.finance-base-preview{min-height:67px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;border:1px solid #c9ddd0;border-radius:8px;background:var(--green-50)}.finance-base-preview small{color:#668073;font-size:9px}.finance-base-preview strong{margin-top:5px;color:var(--green-900);font-size:14px}.finance-allocation-picker{margin-bottom:17px;padding:14px;border:1px solid #d7e2da;background:#f7faf7}.finance-payment-intent-switch{margin-bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.finance-payment-intent-switch>button{min-height:74px;padding:12px 13px;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;color:#748178;border:1px solid #dbe2dc;border-radius:10px;background:#fff;text-align:left}.finance-payment-intent-switch>button>span{min-width:0;display:flex;flex-direction:column}.finance-payment-intent-switch strong{color:var(--green-900);font-size:11px}.finance-payment-intent-switch small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4}.finance-payment-intent-switch>button.active{color:var(--green-700);border-color:#8db8a0;background:#f2faf5;box-shadow:0 0 0 3px #216b5312}.finance-payment-obligation-pick{margin-bottom:16px;padding:11px;border:1px solid #cfe0d5;border-radius:10px;background:#f6faf7}.finance-payment-obligation-pick .finance-picker-field-wrap>span{display:none}.finance-selected-obligation{min-height:62px;display:grid;grid-template-columns:38px minmax(0,1fr) 36px;align-items:center;gap:10px}.finance-selected-obligation>span{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:var(--green-700);background:#e4f4ea}.finance-selected-obligation>span.payable{color:#a06b25;background:#fff1dc}.finance-selected-obligation>div{min-width:0;display:flex;flex-direction:column}.finance-selected-obligation small{color:var(--muted);font-size:8.5px}.finance-selected-obligation strong{margin-top:3px;overflow:hidden;color:var(--green-950);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.finance-selected-obligation em{margin-top:4px;overflow:hidden;color:#5e7167;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.finance-locked-payment-context{min-height:150px;padding:20px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid #cfe0d5;border-radius:12px;background:linear-gradient(135deg,#f4faf6,#fff)}.finance-locked-payment-context>span{width:46px;height:46px;display:grid;place-items:center;color:var(--green-700);border-radius:13px;background:#e3f3e9}.finance-locked-payment-context>div{display:flex;flex-direction:column}.finance-locked-payment-context small{color:var(--muted);font-size:9px}.finance-locked-payment-context strong{margin-top:5px;color:var(--green-950);font-size:15px}.finance-locked-payment-context p{margin:5px 0 0;color:#607269;font-size:10px}.finance-locked-payment-context>b{padding:7px 9px;color:var(--green-700);border-radius:7px;background:#e4f4ea;font-size:10px}.finance-allocation-picker>header{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.finance-allocation-picker>header>div{min-width:0;display:flex;align-items:center;gap:8px;color:var(--green-700)}.finance-allocation-picker>header span{min-width:0;display:flex;flex-direction:column}.finance-allocation-picker>header b{padding:6px 8px;color:var(--green-700);border-radius:6px;background:var(--green-50);font-size:9px;white-space:nowrap}.finance-allocation-picker strong{color:var(--green-900);font-size:10px}.finance-allocation-picker small{margin-top:3px;color:#64766d;font-size:8.5px}.finance-allocation-rows{margin-top:10px;display:flex;flex-direction:column;gap:7px}.finance-allocation-rows>div{padding:9px;display:grid;grid-template-columns:minmax(0,1fr) 155px 36px;align-items:end;gap:8px;border:1px solid #d6e4da;background:#fff}.finance-allocation-rows>div>span{min-width:0;align-self:center;display:flex;flex-direction:column}.finance-allocation-rows>div>span strong,.finance-allocation-rows>div>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-allocation-rows label{display:flex;flex-direction:column}.finance-allocation-rows label small{margin:0 0 4px}.finance-allocation-rows input{width:100%;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:7px;outline:0;background:#fff;font-size:10px}.finance-allocation-rows .icon-button{width:36px;height:36px;color:var(--danger);border-color:#ead5d1;border-radius:7px}.finance-wizard{padding-top:0}.finance-wizard-steps{margin:0 -23px 22px;padding:16px 23px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line-soft);background:#fafbf9}.finance-wizard-steps>div{min-width:0;display:grid;grid-template-columns:29px minmax(0,1fr) minmax(12px,.35fr);align-items:center;gap:8px;color:#86928c}.finance-wizard-steps>div:last-child{grid-template-columns:29px minmax(0,1fr)}.finance-wizard-steps span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #dce2dd;border-radius:50%;color:#78847e;background:#fff;font-size:11px;font-weight:800}.finance-wizard-steps strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.finance-wizard-steps i{height:1px;background:#dce2dd}.finance-wizard-steps .active{color:var(--green-800)}.finance-wizard-steps .active span{color:#fff;border-color:var(--green-700);background:var(--green-700);box-shadow:0 0 0 4px #216b5317}.finance-wizard-steps .complete{color:#4e7864}.finance-wizard-steps .complete span{color:var(--green-700);border-color:#a9c8b5;background:var(--green-50)}.finance-wizard-steps .complete i{background:#a9c8b5}.finance-wizard-panel{min-height:390px;animation:finance-step-in .2s ease}@keyframes finance-step-in{0%{opacity:0;transform:translate(8px)}}.finance-wizard-title{margin-bottom:18px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px}.finance-wizard-title>span{width:42px;height:42px;display:grid;place-items:center;color:var(--green-700);border-radius:11px;background:var(--green-50)}.finance-wizard-title>div{min-width:0;display:flex;flex-direction:column}.finance-wizard-title strong{color:var(--green-950);font-size:16px}.finance-wizard-title small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.finance-control-label{margin:2px 0 8px;display:block;color:#536059;font-size:12px;font-weight:750}.finance-control-label-spaced{margin-top:19px}.finance-choice-grid{display:grid;gap:8px}.finance-choice-grid button{min-width:0;min-height:63px;padding:10px 11px;display:grid;grid-template-columns:29px minmax(0,1fr) 18px;align-items:center;gap:8px;color:#6d7972;border:1px solid #dce2dd;border-radius:9px;background:#fff;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}.finance-choice-grid button:hover:not(:disabled){border-color:#a9c3b2;background:#fbfdfb;transform:translateY(-1px)}.finance-choice-grid button.active{color:var(--green-700);border-color:#7fa88f;background:var(--green-50);box-shadow:0 0 0 3px #216b530f}.finance-choice-grid button:disabled{cursor:not-allowed;opacity:.52}.finance-choice-grid button>span{min-width:0;display:flex;flex-direction:column}.finance-choice-grid button strong{overflow:hidden;color:#34463d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-choice-grid button small{margin-top:4px;overflow:hidden;color:#84908a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-currency-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.finance-currency-grid button{min-height:65px;grid-template-columns:minmax(0,1fr) 18px}.finance-currency-grid button strong{font-size:14px}.finance-currency-grid button small{grid-column:1}.finance-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-counterparty-type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-wizard-fields{margin-top:17px}.finance-link-fields{margin-top:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.finance-project-field{grid-column:1 / -1}.finance-picker-field-wrap{min-width:0;display:flex;flex-direction:column;gap:7px}.finance-picker-field-wrap>span{color:#536059;font-size:12px;font-weight:700}.finance-picker-field{min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #dce2dd;border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s}.finance-picker-field:hover:not(.disabled){border-color:#96b29f;box-shadow:0 3px 12px #133d2b0f}.finance-picker-field.selected{border-color:#9bbcab;background:#f9fcf9}.finance-picker-field>button:first-child{min-width:0;min-height:67px;padding:10px 12px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;color:#718078;border:0;border-radius:inherit;background:transparent;text-align:left}.finance-picker-field>button:first-child>i{width:36px;height:36px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:var(--green-50);font-style:normal}.finance-picker-field>button:first-child>span{min-width:0;display:flex;flex-direction:column}.finance-picker-field strong{overflow:hidden;color:var(--green-900);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.finance-picker-field small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-picker-clear{position:absolute;z-index:2;top:5px;right:5px;width:27px;height:27px;display:grid;place-items:center;color:#849089;border:0;border-radius:7px;background:#f0f3f0}.finance-picker-field .finance-picker-clear+*{pointer-events:none}.finance-allocation-picker .finance-picker-field-wrap>span{display:none}.finance-allocation-picker .finance-picker-field{margin-top:10px}.finance-review{margin-top:17px;border:1px solid #ccded2;border-radius:10px;background:#f8fbf8}.finance-review>header{padding:10px 12px;display:flex;align-items:center;gap:7px;color:var(--green-700);border-bottom:1px solid #dce8df}.finance-review>header strong{color:var(--green-900);font-size:11.5px}.finance-review>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.finance-review>div>span{min-width:0;padding:11px 12px;display:flex;flex-direction:column;border-right:1px solid #dce8df}.finance-review>div>span:last-child{border-right:0}.finance-review small{color:#718179;font-size:9.5px}.finance-review strong{margin-top:4px;overflow:hidden;color:var(--green-950);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.finance-wizard-actions .finance-cancel-action{margin-right:auto}.finance-picker-backdrop{position:fixed;inset:0;z-index:130;padding:22px;display:flex;align-items:center;justify-content:center;background:#081b14ad;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:fade-in .15s ease}.finance-picker-dialog{width:min(100%,650px);max-height:min(760px,calc(100vh - 44px));overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;border-radius:15px;background:#fff;box-shadow:var(--shadow-lg);animation:modal-in .18s ease}.finance-picker-dialog>header{padding:19px 20px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line-soft)}.finance-picker-dialog>header>span{min-width:0;display:flex;flex-direction:column}.finance-picker-dialog>header strong{color:var(--green-950);font-size:19px}.finance-picker-dialog>header small{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}.finance-picker-search{margin:14px 16px 10px;min-height:46px;padding:0 12px;display:grid;grid-template-columns:20px minmax(0,1fr) 28px;align-items:center;gap:8px;color:#6f7c75;border:1px solid #cfd9d2;border-radius:10px;background:#fafbf9}.finance-picker-search:focus-within{color:var(--green-700);border-color:#6f9c84;box-shadow:0 0 0 3px #216b5314}.finance-picker-search input{min-width:0;height:44px;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px}.finance-picker-search button{width:28px;height:28px;display:grid;place-items:center;color:#77847d;border:0;border-radius:7px;background:#edf1ee}.finance-picker-list{min-height:210px;padding:4px 16px 14px;overflow-y:auto;display:flex;flex-direction:column;gap:7px}.finance-picker-option{width:100%;min-height:73px;padding:10px 12px;display:grid;grid-template-columns:40px minmax(0,1fr) auto 18px;align-items:center;gap:10px;color:#718078;border:1px solid #dce2dd;border-radius:10px;background:#fff;text-align:left;transition:border-color .15s,background .15s,transform .15s}.finance-picker-option:hover{border-color:#8caf98;background:#f8fbf8;transform:translateY(-1px)}.finance-picker-option>i{width:40px;height:40px;display:grid;place-items:center;color:var(--green-800);border-radius:10px;background:var(--green-50);font-size:14px;font-style:normal;font-weight:800}.finance-picker-option>span{min-width:0;display:flex;flex-direction:column}.finance-picker-option strong{overflow:hidden;color:var(--green-950);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.finance-picker-option small{margin-top:4px;overflow:hidden;color:#66746d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.finance-picker-option em{margin-top:4px;overflow:hidden;color:#919b96;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.finance-picker-option b{padding:5px 7px;color:var(--green-700);border-radius:6px;background:var(--green-50);font-size:9.5px;white-space:nowrap}.finance-picker-option.clear-option{border-style:dashed;background:#fafbf9}.finance-picker-option.clear-option>i{color:#7b8881;background:#edf0ed}.finance-picker-empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#95a09a;text-align:center}.finance-picker-empty strong{margin-top:9px;color:#536059;font-size:13px}.finance-picker-empty small{margin-top:4px;font-size:11px}.finance-picker-dialog>footer{min-height:63px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line-soft);background:#fafbf9}.finance-picker-dialog>footer>span{color:var(--muted);font-size:10.5px}.finance-detail-body{padding:18px 21px 0}.finance-detail-hero{padding:14px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;background:#f7faf7;border:1px solid var(--line-soft)}.finance-detail-hero>span{width:48px;height:48px;display:grid;place-items:center;border-radius:12px}.finance-detail-hero>span.receivable,.finance-detail-hero>span.incoming{color:var(--green-700);background:var(--green-50)}.finance-detail-hero>span.payable,.finance-detail-hero>span.outgoing{color:#98611f;background:#fff1dc}.finance-detail-hero>div{display:flex;flex-direction:column;align-items:flex-start}.finance-detail-hero small{color:var(--muted);font-size:9px}.finance-detail-hero strong{margin:4px 0 7px;color:var(--green-950);font-size:20px}.finance-detail-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.finance-automatic-badge{min-height:22px;padding:0 7px;display:inline-flex;align-items:center;gap:4px;color:#397359;border-radius:20px;background:#e7f4eb;font-size:8px;font-weight:750}.finance-detail-grid{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.finance-detail-grid>span{min-width:0;padding:9px 10px;display:flex;flex-direction:column;border:1px solid var(--line-soft)}.finance-detail-grid small{color:var(--muted);font-size:8.5px}.finance-detail-grid strong{margin-top:4px;overflow-wrap:anywhere;color:var(--green-900);font-size:10.5px}.finance-detail-links{margin-top:12px;border:1px solid var(--line-soft)}.finance-detail-links>header{padding:10px;display:flex;align-items:center;gap:7px;color:var(--green-700);border-bottom:1px solid var(--line-soft);background:#fafbf9}.finance-detail-links>header strong{color:var(--green-900);font-size:10px}.finance-detail-links>div{padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line-soft)}.finance-detail-links>div:last-child{border-bottom:0}.finance-detail-links>div>span{display:flex;flex-direction:column}.finance-detail-links strong,.finance-detail-links b{color:var(--green-900);font-size:10px}.finance-detail-links small{margin-top:3px;color:var(--muted);font-size:8.5px}.finance-detail-note{margin-top:11px;padding:10px;display:flex;gap:8px;color:#8b652f;background:#fff8ec}.finance-detail-note p{margin:0;font-size:9.5px;line-height:1.55}.finance-cancellation-note{margin-top:11px;padding:10px;display:flex;align-items:flex-start;gap:8px;color:var(--danger);border:1px solid #ead0cb;background:#fff8f6}.finance-cancellation-note>span{display:flex;flex-direction:column}.finance-cancellation-note strong{color:#854841;font-size:9.5px}.finance-cancellation-note small{margin-top:4px;color:#986a64;font-size:8.5px}.finance-audit-note{margin-top:10px;display:flex;align-items:center;gap:6px;color:#8a958f;font-size:8.5px}.finance-cancel-box{margin-top:15px;padding:12px;display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;color:var(--danger);border:1px solid #ecd0cb;background:#fff8f6}.finance-cancel-box>div{display:flex;flex-direction:column;align-items:flex-start}.finance-cancel-box strong{color:#84463f;font-size:10.5px}.finance-cancel-box small{margin-top:4px;color:#9b6d67;font-size:8.5px}.finance-cancel-box input{width:100%;height:39px;margin-top:9px;padding:0 10px;border:1px solid #e4c5c0;border-radius:7px;outline:0;background:#fff;font-size:10px}.finance-cancel-box .button{margin-top:8px;min-height:36px}.finance-detail-footer{margin:18px -21px 0;padding:13px 21px;display:flex;justify-content:flex-end;border-top:1px solid var(--line-soft);background:#fafbf9}.finance-pay-obligation-action{margin-top:13px;padding:13px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid #b9d5c3;border-radius:10px;background:linear-gradient(135deg,#eff9f3,#fff)}.finance-pay-obligation-action>span{width:42px;height:42px;display:grid;place-items:center;color:var(--green-700);border-radius:11px;background:#dff1e6}.finance-pay-obligation-action>div{min-width:0;display:flex;flex-direction:column}.finance-pay-obligation-action strong{color:var(--green-950);font-size:11px}.finance-pay-obligation-action small{margin-top:4px;color:#63756b;font-size:8.5px;line-height:1.45}.finance-pay-obligation-action .button{white-space:nowrap}.order-commercial-form{display:grid;grid-template-columns:.85fr 1.45fr .85fr;gap:13px}.order-currency-choice{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.order-currency-choice button{min-height:53px;padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#78847e;border:1px solid #dce2dd;border-radius:8px;background:#fff}.order-currency-choice button strong{color:#405149;font-size:12px}.order-currency-choice button small{margin-top:3px;font-size:9px}.order-currency-choice button.active{color:var(--green-700);border-color:#7fa88f;background:var(--green-50);box-shadow:0 0 0 3px #216b530f}.order-currency-choice button.active strong{color:var(--green-800)}.order-commercial-preview{min-height:72px;padding:12px 14px;grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 18px;border:1px solid #c8dcd0;border-radius:9px;background:linear-gradient(135deg,#f3faf5,#fbf8ef)}.order-commercial-preview span{color:#64766d;font-size:11px;font-weight:700}.order-commercial-preview strong{grid-row:1 / 3;grid-column:2;color:var(--green-950);font-size:20px}.order-commercial-preview small{color:#87928c;font-size:10px}.order-commercial-value-card{margin-top:13px;border:1px solid #cbded2;background:#fff;box-shadow:var(--shadow-sm)}.order-commercial-value-card>header{min-height:68px;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dbe7df;background:linear-gradient(90deg,#f5faf6,#fffaf2)}.order-commercial-value-card>header>div{min-width:0;display:flex;align-items:center;gap:10px;color:var(--green-700)}.order-commercial-value-card>header span{min-width:0;display:flex;flex-direction:column}.order-commercial-value-card>header strong{color:var(--green-950);font-size:14px}.order-commercial-value-card>header small{margin-top:4px;color:#75827b;font-size:11.5px;line-height:1.4}.order-commercial-value-card>header a{min-height:36px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:var(--green-700);border:1px solid #bcd2c4;border-radius:8px;background:#fff;font-size:10.5px;font-weight:750}.order-commercial-value-card>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.order-commercial-value-card>div>span{min-width:0;min-height:83px;padding:13px 16px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line-soft)}.order-commercial-value-card>div>span:last-child{border-right:0}.order-commercial-value-card small{color:var(--muted);font-size:11px}.order-commercial-value-card>div strong{margin-top:6px;overflow:hidden;color:var(--green-950);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.order-commercial-value-card em{margin-top:4px;color:#88938e;font-size:10px;font-style:normal}.order-commercial-value-card .positive strong{color:var(--green-700)}.order-commercial-value-card .negative strong{color:var(--danger)}.order-commercial-value-card>footer{padding:9px 16px;display:flex;align-items:center;gap:7px;color:#61786c;border-top:1px solid #dbe7df;background:#f7faf7;font-size:9.5px}.dashboard-heading{align-items:flex-end}.dashboard-heading-actions{display:flex;gap:8px}.dashboard-kpi-grid{margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.dashboard-kpi-grid article{min-width:0;min-height:119px;padding:16px;display:grid;grid-template-columns:43px minmax(0,1fr);align-items:start;gap:12px;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.dashboard-kpi-grid article>span{width:43px;height:43px;display:grid;place-items:center;border-radius:11px}.dashboard-kpi-grid article>div{min-width:0;display:flex;flex-direction:column}.dashboard-kpi-grid small{color:var(--muted);font-size:10.5px;font-weight:700}.dashboard-kpi-grid strong{margin-top:8px;overflow:hidden;color:var(--green-950);font-size:23px;letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap}.dashboard-kpi-grid p{margin:7px 0 0;color:#87928c;font-size:9.5px}.dashboard-kpi-grid .portfolio>span{color:var(--green-700);background:var(--green-50)}.dashboard-kpi-grid .cost>span{color:#9b6828;background:#fff4e4}.dashboard-kpi-grid .margin>span{color:#26735b;background:#eaf8f0}.dashboard-kpi-grid .receivable>span{color:var(--blue);background:var(--blue-soft)}.dashboard-operations-strip{margin-top:11px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.dashboard-operations-strip article{min-width:0;min-height:67px;padding:11px 14px;display:flex;align-items:center;gap:10px;color:#708078;border-right:1px solid var(--line-soft)}.dashboard-operations-strip article:last-child{border-right:0}.dashboard-operations-strip article>span{min-width:0;display:flex;flex-direction:column}.dashboard-operations-strip small{overflow:hidden;color:var(--muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-operations-strip strong{margin-top:4px;overflow:hidden;color:var(--green-950);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.dashboard-operations-strip .attention{color:#ad7429;background:#fff9ef}.dashboard-operations-strip .negative{color:var(--danger);background:#fff8f6}.dashboard-operations-strip .positive{color:var(--green-700);background:#f7fbf8}.dashboard-insights-grid{margin-top:12px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.72fr) minmax(250px,.72fr);gap:12px}.dashboard-trend-card{min-width:0;overflow:hidden;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.dashboard-trend-card>header{min-height:78px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--green-700);border-bottom:1px solid var(--line-soft)}.dashboard-trend-card>header>div{min-width:0}.dashboard-trend-card h2{margin:2px 0 0;color:var(--green-950);font-size:17px}.dashboard-trend-card header p{margin:4px 0 0;color:var(--muted);font-size:9.5px}.dashboard-line-chart{padding:13px 15px 9px}.dashboard-chart-legend{min-height:28px;display:flex;align-items:center;gap:15px;color:#65766e;font-size:10px;font-weight:650}.dashboard-chart-legend span{display:inline-flex;align-items:center;gap:5px}.dashboard-chart-legend i{width:20px;height:4px;border-radius:4px;box-shadow:0 1px 4px #1948361f}.dashboard-chart-legend .incoming i{background:linear-gradient(90deg,#2f8062,#59ad83)}.dashboard-chart-legend .outgoing i{background:linear-gradient(90deg,#c67c28,#eda94f)}.dashboard-chart-legend b{margin-left:auto;color:#76827c;font-size:9.5px;font-weight:700}.dashboard-chart-scroll{overflow:visible}.dashboard-chart-canvas{min-width:0;position:relative}.dashboard-line-chart svg{width:100%;height:auto;display:block;overflow:visible;touch-action:pan-x}.chart-grid-line{stroke:#e8ede9;stroke-width:1}.chart-axis-value,.chart-axis-label{fill:#8c9791;font-family:inherit;font-size:10px;transition:fill .18s ease,font-weight .18s ease}.chart-axis-label.active{fill:var(--green-900);font-weight:800}.chart-area{opacity:0;animation:dashboard-chart-area-in .65s .15s ease forwards}.chart-area.incoming{fill:url(#cashflow-incoming-area)}.chart-area.outgoing{fill:url(#cashflow-outgoing-area)}.chart-line{fill:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:dashboard-chart-line-in .85s cubic-bezier(.22,.8,.25,1) forwards;filter:drop-shadow(0 2px 2px rgb(22 71 52 / 8%))}.chart-line.incoming{stroke:#348665}.chart-line.outgoing{stroke:#d78a31;animation-delay:.08s}.chart-point{stroke:#fff;stroke-width:2.5;transition:r .18s ease,opacity .18s ease}.chart-point.incoming{fill:#348665}.chart-point.outgoing{fill:#d78a31}.chart-point-halo{opacity:.16;pointer-events:none}.chart-point-halo.incoming{fill:#348665}.chart-point-halo.outgoing{fill:#d78a31}.chart-active-window{fill:#2f806209;pointer-events:none}.chart-active-line{stroke:#9bb6a8;stroke-width:1;stroke-dasharray:4 4;pointer-events:none}.chart-hover-zone{fill:transparent;cursor:crosshair;outline:none}.chart-hover-zone:focus-visible{fill:#2f80620a}.dashboard-chart-tooltip{width:218px;padding:12px;position:absolute;z-index:5;top:8px;pointer-events:none;border:1px solid rgb(189 210 198 / 88%);border-radius:12px;background:#fffffff5;box-shadow:0 12px 32px #163e2f29;transform:translate(12px);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:dashboard-chart-tooltip-in .16s ease-out}.dashboard-chart-tooltip.align-right{transform:translate(calc(-100% - 12px))}.dashboard-chart-tooltip>header{padding:0 0 9px;display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-bottom:1px solid #e8eee9;text-transform:capitalize}.dashboard-chart-tooltip>header strong{color:var(--green-950);font-size:12px}.dashboard-chart-tooltip>header small{color:#8a9690;font-size:8.5px;text-transform:none}.dashboard-chart-tooltip>div{padding:8px 0 4px;display:flex;flex-direction:column;gap:7px}.dashboard-chart-tooltip>div>span{min-width:0;display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:6px}.dashboard-chart-tooltip>div i{width:7px;height:7px;border-radius:50%}.dashboard-chart-tooltip>div .incoming i{background:#348665}.dashboard-chart-tooltip>div .outgoing i{background:#d78a31}.dashboard-chart-tooltip>div .turnover i{background:#8da398}.dashboard-chart-tooltip>div small{color:#65766e;font-size:9px}.dashboard-chart-tooltip>div strong{overflow:hidden;color:var(--green-950);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.dashboard-chart-tooltip>footer{padding-top:9px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e8eee9}.dashboard-chart-tooltip>footer small{color:#6e7d75;font-size:9px}.dashboard-chart-tooltip>footer strong{font-size:10px}.dashboard-chart-tooltip>footer.positive strong{color:var(--green-700)}.dashboard-chart-tooltip>footer.negative strong{color:var(--danger)}@keyframes dashboard-chart-line-in{to{stroke-dashoffset:0}}@keyframes dashboard-chart-area-in{to{opacity:1}}@keyframes dashboard-chart-tooltip-in{0%{opacity:0;margin-top:4px}}.dashboard-volume-chart{min-height:258px;padding:16px;position:relative;display:flex;flex-direction:column}.dashboard-volume-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:3px 8px}.dashboard-volume-total small{color:var(--muted);font-size:9px}.dashboard-volume-total strong{grid-column:1;color:var(--green-950);font-size:25px;letter-spacing:-.04em}.dashboard-volume-total span{grid-column:2;grid-row:1 / 3;padding:6px 8px;color:var(--green-700);border-radius:7px;background:var(--green-50);font-size:9px;font-weight:750}.dashboard-volume-bars{height:145px;margin-top:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:7px}.dashboard-volume-bars>button{min-width:0;height:100%;padding:0;display:grid;grid-template-rows:minmax(0,1fr) 18px;align-items:end;color:inherit;border:0;border-radius:7px;background:transparent;text-align:center;cursor:pointer;outline:none}.dashboard-volume-bars>button>span{width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dfe7e1;transition:background .18s ease,border-color .18s ease}.dashboard-volume-bars>button:hover>span,.dashboard-volume-bars>button.active>span,.dashboard-volume-bars>button:focus-visible>span{border-color:#98b9a6;background:linear-gradient(180deg,transparent 25%,rgb(53 133 100 / 7%))}.dashboard-volume-bars i{width:min(24px,75%);min-height:2px;position:relative;display:block;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#3e8f6b,#85b59c);box-shadow:0 3px 8px #307b5b1f;transition:height .28s cubic-bezier(.22,.8,.25,1),width .18s ease,filter .18s ease,transform .18s ease;transform-origin:bottom}.dashboard-volume-bars>button:hover i,.dashboard-volume-bars>button.active i,.dashboard-volume-bars>button:focus-visible i{width:min(30px,88%);filter:saturate(1.16);transform:scaleY(1.015)}.dashboard-volume-bars b{position:absolute;top:5px;left:50%;color:#fff;font-size:8px;transform:translate(-50%)}.dashboard-volume-bars small{padding-top:5px;overflow:hidden;color:#8b9690;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.dashboard-volume-bars>button.active small,.dashboard-volume-bars>button:focus-visible small{color:var(--green-800);font-weight:800}.dashboard-volume-tooltip{width:198px;padding:10px 11px;position:absolute;z-index:6;top:66px;pointer-events:none;border:1px solid #c5d9cd;border-radius:10px;background:#fffffff7;box-shadow:0 12px 28px #163e2f29;transform:translate(8px);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:dashboard-chart-tooltip-in .16s ease-out}.dashboard-volume-tooltip.align-right{transform:translate(calc(-100% - 8px))}.dashboard-volume-tooltip>header{padding-bottom:7px;display:flex;align-items:baseline;justify-content:space-between;gap:6px;border-bottom:1px solid #e8eee9;text-transform:capitalize}.dashboard-volume-tooltip>header strong{color:var(--green-950);font-size:11px}.dashboard-volume-tooltip>header small{color:#89958f;font-size:7.5px;text-transform:none}.dashboard-volume-tooltip>div{padding-top:7px;display:flex;flex-direction:column;gap:5px}.dashboard-volume-tooltip>div>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.dashboard-volume-tooltip>div small{color:#68776f;font-size:8.5px}.dashboard-volume-tooltip>div strong{color:var(--green-900);font-size:9px;white-space:nowrap}.dashboard-status-chart{min-height:258px;padding:18px 16px;display:grid;grid-template-rows:142px auto;place-items:center;gap:8px}.dashboard-donut{width:136px;height:136px;position:relative;display:grid;place-items:center;border-radius:50%}.dashboard-donut:after{content:"";width:80px;height:80px;position:absolute;z-index:1;border-radius:50%;background:#fff;box-shadow:0 2px 10px #173e2f14;pointer-events:none}.dashboard-donut svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.dashboard-donut circle{fill:none;transform-origin:center}.dashboard-donut-track{stroke:#edf1ed;stroke-width:16}.dashboard-donut-segment{stroke-width:16;cursor:pointer;outline:none;transition:stroke-width .18s ease,opacity .18s ease,filter .18s ease}.dashboard-donut:has(.dashboard-donut-segment:hover) .dashboard-donut-segment:not(:hover),.dashboard-donut:has(.dashboard-donut-segment.active) .dashboard-donut-segment:not(.active){opacity:.42}.dashboard-donut-segment:hover,.dashboard-donut-segment.active,.dashboard-donut-segment:focus-visible{stroke-width:21;opacity:1;filter:drop-shadow(0 3px 4px rgb(34 85 63 / 16%))}.dashboard-donut>span{max-width:72px;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:none}.dashboard-donut strong{color:var(--green-950);font-size:24px;line-height:1}.dashboard-donut small{width:100%;margin-top:4px;overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.dashboard-donut em{margin-top:3px;color:var(--green-700);font-size:7.5px;font-style:normal;font-weight:800;white-space:nowrap}.dashboard-status-legend{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px 10px}.dashboard-status-legend>button{min-width:0;padding:4px 5px;display:grid;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:6px;color:inherit;border:0;border-radius:6px;background:transparent;cursor:pointer;outline:none;transition:background .16s ease,box-shadow .16s ease}.dashboard-status-legend>button:hover,.dashboard-status-legend>button.active,.dashboard-status-legend>button:focus-visible{background:#f0f7f3;box-shadow:inset 2px 0 var(--green-600)}.dashboard-status-legend i{width:8px;height:8px;border-radius:50%}.dashboard-status-legend span{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:5px}.dashboard-status-legend small{overflow:hidden;color:#68776f;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-status-legend strong{color:var(--green-900);font-size:10px;white-space:nowrap}.dashboard-status-legend strong em{margin-left:4px;color:#87958d;font-size:7.5px;font-style:normal;font-weight:700}.dashboard-main-grid{margin-top:12px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.7fr);gap:12px}.dashboard-projects-card,.dashboard-finance-pulse,.dashboard-deadlines-card,.dashboard-payments-card{min-width:0;border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.dashboard-projects-card>header,.dashboard-finance-pulse>header,.dashboard-deadlines-card>header,.dashboard-payments-card>header{min-height:72px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--green-700);border-bottom:1px solid var(--line-soft)}.dashboard-projects-card>header>div,.dashboard-finance-pulse>header>div,.dashboard-deadlines-card>header>div,.dashboard-payments-card>header>div{min-width:0}.dashboard-projects-card h2,.dashboard-finance-pulse h2,.dashboard-deadlines-card h2,.dashboard-payments-card h2{margin:2px 0 0;color:var(--green-950);font-size:17px}.dashboard-projects-card>header p{margin:4px 0 0;color:var(--muted);font-size:9.5px}.dashboard-projects-card>header a{min-height:35px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:var(--green-700);border:1px solid #c8d9ce;border-radius:8px;font-size:10px;font-weight:750}.dashboard-project-list{overflow-x:auto}.dashboard-project-row{min-width:980px;min-height:78px;padding:10px 16px;display:grid;grid-template-columns:1.15fr .88fr .9fr .9fr .8fr .72fr 18px;align-items:center;gap:13px;color:inherit;border-bottom:1px solid var(--line-soft)}.dashboard-project-row:not(.head){transition:background .18s ease,box-shadow .18s ease}.dashboard-project-row:not(.head):hover{background:linear-gradient(90deg,#f7fbf8,#fff);box-shadow:inset 3px 0 #72a98d}.dashboard-project-row.head{min-height:41px;color:#75837b;background:#f6f8f5;font-size:9.5px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.dashboard-project-row>span{min-width:0;display:flex;flex-direction:column}.dashboard-project-row strong{overflow:hidden;color:var(--green-900);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.dashboard-project-row small{margin-top:5px;overflow:hidden;color:#6f7d76;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.dashboard-project-row>.dashboard-progress-cell{display:grid;grid-template-columns:1fr;align-items:center;gap:7px}.dashboard-progress-meta{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:6px}.dashboard-progress-meta strong{color:#256d53;font-size:14px;font-variant-numeric:tabular-nums}.dashboard-progress-meta small{margin:0;color:#587267;font-size:9.5px;font-weight:700}.dashboard-progress-cell>i{height:10px;overflow:hidden;position:relative;display:block;border-radius:10px;background:#dceee5;box-shadow:inset 0 1px 2px #1d543e1a}.dashboard-progress-cell>i>b{min-width:0;height:100%;overflow:hidden;position:relative;display:block;border-radius:inherit;background:linear-gradient(90deg,#2f8062,#63b68c);box-shadow:0 1px 4px #2f806238;transition:width .45s cubic-bezier(.22,.8,.25,1)}.dashboard-progress-cell>i>b>em{width:35%;height:100%;position:absolute;top:0;left:-42%;display:block;background:linear-gradient(90deg,transparent,rgb(255 255 255 / 48%),transparent);transform:skew(-18deg);animation:dashboard-progress-shine 2.8s 1s ease-in-out infinite}.dashboard-progress-cell.progress-hold>i{background:#faecd6}.dashboard-progress-cell.progress-hold>i>b{background:linear-gradient(90deg,#c77a24,#efad50);box-shadow:0 1px 4px #c77a2438}.dashboard-progress-cell.progress-hold .dashboard-progress-meta strong{color:#9b611f}.dashboard-progress-cell.progress-hold .dashboard-progress-meta small{color:#9b702f}.dashboard-progress-cell.progress-ready>i{background:#dfeaf4}.dashboard-progress-cell.progress-ready>i>b{background:linear-gradient(90deg,#39789f,#65a4c7);box-shadow:0 1px 4px #39789f38}.dashboard-progress-cell.progress-ready .dashboard-progress-meta strong{color:#356f93}.dashboard-progress-cell.progress-ready .dashboard-progress-meta small{color:#55788e}.dashboard-progress-cell.progress-planned>i{background:#e9e5f3}.dashboard-progress-cell.progress-planned>i>b{background:linear-gradient(90deg,#74629e,#a08ac9);box-shadow:0 1px 4px #74629e38}.dashboard-progress-cell.progress-planned .dashboard-progress-meta strong{color:#68578d}.dashboard-progress-cell.progress-planned .dashboard-progress-meta small{color:#766a8f}.dashboard-project-row .positive strong{color:var(--green-700)}.dashboard-project-row .negative strong,.dashboard-project-row .overdue strong{color:var(--danger)}.dashboard-project-row>svg{color:#8c9b93;transition:color .18s ease,transform .18s ease}.dashboard-project-row:not(.head):hover>svg{color:var(--green-700);transform:translate(2px)}@keyframes dashboard-progress-shine{0%,55%{left:-42%}85%,to{left:115%}}@media(prefers-reduced-motion:reduce){.chart-area,.chart-line,.dashboard-chart-tooltip,.dashboard-progress-cell>i>b>em{animation:none}.chart-area{opacity:1}.chart-line{stroke-dashoffset:0}}.dashboard-finance-pulse{display:flex;flex-direction:column}.dashboard-debt-pair{padding:13px 15px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashboard-debt-pair>span{min-width:0;padding:11px;display:flex;flex-direction:column;background:#f5f8f5}.dashboard-debt-pair small{color:var(--muted);font-size:9px}.dashboard-debt-pair strong{margin-top:5px;overflow:hidden;color:var(--green-950);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.dashboard-cash-bars{padding:2px 15px 13px;display:flex;flex-direction:column;gap:13px}.dashboard-cash-bars>div>span{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:6px;color:var(--green-700)}.dashboard-cash-bars small{color:#65746c;font-size:9px}.dashboard-cash-bars strong{color:var(--green-900);font-size:10px}.dashboard-cash-bars i{height:7px;margin-top:6px;overflow:hidden;display:block;border-radius:8px;background:#edf0ed}.dashboard-cash-bars b{height:100%;display:block;border-radius:inherit}.dashboard-cash-bars b.incoming{background:#579674}.dashboard-cash-bars b.outgoing{background:#c48a43}.dashboard-finance-alert{margin:0 15px 13px;padding:10px;display:flex;align-items:center;gap:8px;color:#668073;background:#f3f8f4}.dashboard-finance-alert.danger{color:var(--danger);background:var(--danger-soft)}.dashboard-finance-alert>span{display:flex;flex-direction:column}.dashboard-finance-alert strong{color:inherit;font-size:9.5px}.dashboard-finance-alert small{margin-top:3px;color:#8a958f;font-size:8.5px}.dashboard-card-link{min-height:43px;margin:auto 15px 14px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--green-700);border:1px solid #c9d9ce;border-radius:8px;font-size:10.5px;font-weight:750}.dashboard-bottom-grid{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.dashboard-deadlines-card>div,.dashboard-payments-card>div{display:flex;flex-direction:column}.dashboard-deadlines-card>div>a,.dashboard-payments-card>div>button{min-height:65px;padding:9px 14px;display:grid;align-items:center;gap:10px;color:inherit;border:0;border-bottom:1px solid var(--line-soft);background:#fff;text-align:left}.dashboard-deadlines-card>div>a{grid-template-columns:70px minmax(0,1fr) auto 17px}.dashboard-payments-card>div>button{grid-template-columns:35px minmax(0,1fr) auto}.dashboard-deadlines-card>div>a:hover,.dashboard-payments-card>div>button:hover{background:#f8faf8}.dashboard-deadlines-card>div>a>span,.dashboard-deadlines-card>div>a>div,.dashboard-payments-card>div>button>div{min-width:0;display:flex;flex-direction:column}.dashboard-deadlines-card strong,.dashboard-payments-card strong{overflow:hidden;color:var(--green-900);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-deadlines-card small,.dashboard-payments-card small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-deadlines-card .overdue strong{color:var(--danger)}.dashboard-payments-card>div>button>span{width:35px;height:35px;display:grid;place-items:center;border-radius:9px}.dashboard-payments-card>div>button>span.incoming{color:var(--green-700);background:var(--green-50)}.dashboard-payments-card>div>button>span.outgoing{color:#a06b25;background:#fff3e1}.dashboard-payments-card b{color:var(--green-950);font-size:11px;white-space:nowrap}.dashboard-empty{min-height:180px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9aa49f;text-align:center}.dashboard-empty strong{margin-top:9px;color:#536059;font-size:11px}.dashboard-empty small{margin-top:4px;font-size:9px}@media(max-width:1220px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-insights-grid{grid-template-columns:1fr 1fr}.cashflow-trend-card{grid-column:1 / -1}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-finance-pulse{min-height:0}.finance-kpis,.finance-counterparty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.dashboard-operations-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-operations-strip article:nth-child(3){border-right:0}.dashboard-operations-strip article:nth-child(-n+3){border-bottom:1px solid var(--line-soft)}.dashboard-bottom-grid{grid-template-columns:1fr}.order-commercial-value-card>div{grid-template-columns:repeat(2,minmax(0,1fr))}.order-commercial-value-card>div>span:nth-child(2){border-right:0}.order-commercial-value-card>div>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.related-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-settlement-card>div{grid-template-columns:1fr 1fr}.order-settlement-card>div>span:nth-child(2){border-right:0}.order-settlement-card>div>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.linked-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.linked-finance-grid>span:nth-child(2n){border-right:0}.linked-finance-grid>span:nth-child(-n+4){border-bottom:1px solid var(--line-soft)}.linked-finance-grid>span:last-child{grid-column:1 / -1}.finance-control-grid{grid-template-columns:1fr}.finance-obligation-list,.finance-payment-list{overflow:visible}.finance-row-head{display:none}.finance-obligation-row:not(.finance-row-head),.finance-payment-row:not(.finance-row-head){min-width:0;min-height:0;padding:15px;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 17px;align-items:start}.finance-obligation-row:not(.finance-row-head)>svg,.finance-payment-row:not(.finance-row-head)>svg{display:none}.finance-obligation-row:not(.finance-row-head)>.finance-record-main,.finance-payment-row:not(.finance-row-head)>.finance-record-main{grid-column:1 / 3}.finance-obligation-row:not(.finance-row-head)>span:nth-child(6),.finance-payment-row:not(.finance-row-head)>span:nth-child(6){grid-column:3;grid-row:1;align-items:flex-end}}@media(max-width:720px){.dashboard-heading{align-items:stretch}.dashboard-heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.dashboard-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.dashboard-kpi-grid article{min-height:108px;padding:12px;grid-template-columns:36px minmax(0,1fr);gap:9px}.dashboard-kpi-grid article>span{width:36px;height:36px}.dashboard-kpi-grid strong{font-size:17px;white-space:normal}.dashboard-operations-strip{grid-template-columns:1fr 1fr}.dashboard-operations-strip article,.dashboard-operations-strip article:nth-child(3){border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.dashboard-operations-strip article:nth-child(2n){border-right:0}.dashboard-operations-strip article:last-child{grid-column:1 / -1;border-right:0;border-bottom:0}.dashboard-insights-grid{grid-template-columns:1fr}.cashflow-trend-card{grid-column:auto}.dashboard-chart-scroll{margin-inline:-3px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.dashboard-chart-canvas{min-width:620px}.dashboard-projects-card>header{align-items:flex-start;flex-direction:column}.dashboard-projects-card>header>a{width:100%;justify-content:center}.dashboard-deadlines-card>div>a{grid-template-columns:60px minmax(0,1fr) 17px}.dashboard-deadlines-card .status-badge{display:none}.dashboard-payments-card>div>button{grid-template-columns:35px minmax(0,1fr)}.dashboard-payments-card b{grid-column:2}.order-commercial-form{grid-template-columns:1fr}.order-commercial-preview{grid-column:auto}.order-commercial-value-card>header{align-items:flex-start;flex-direction:column}.order-commercial-value-card>header a{width:100%;justify-content:center}.supplier-detail-panel .related-finance-card{margin-inline:12px}.related-finance-card>header{align-items:flex-start;flex-direction:column}.related-finance-card>header>a{width:100%;justify-content:center}.order-settlement-card>header{align-items:flex-start;flex-direction:column}.order-settlement-card>header>a{width:100%;justify-content:center}.linked-finance-obligation>header{align-items:stretch;flex-direction:column}.linked-finance-actions{display:grid;grid-template-columns:1fr 1fr}.linked-finance-actions .button{width:100%}.linked-finance-modal-action{grid-template-columns:1fr}.linked-finance-modal-action .button{width:100%;justify-content:center}.finance-heading .page-heading-actions{flex-direction:column}.finance-context-banner{align-items:flex-start;flex-wrap:wrap}.finance-context-banner>a{width:100%;text-align:center}.finance-kpis{grid-template-columns:1fr 1fr;gap:8px}.finance-kpis article{min-height:108px;padding:12px;grid-template-columns:34px minmax(0,1fr);gap:9px}.finance-kpis article>span{width:34px;height:34px}.finance-kpis strong{font-size:16px;white-space:normal}.finance-ledger-header{align-items:flex-start;flex-direction:column}.finance-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.finance-tabs button{min-width:0;padding-inline:6px;justify-content:center}.finance-filters{align-items:stretch;flex-wrap:wrap}.finance-filters .search-field{width:100%;margin:0;flex-basis:100%}.finance-filters .select-field{flex:1}.aging-list>div{grid-template-columns:90px minmax(50px,1fr) 105px;gap:8px}.finance-obligation-row:not(.finance-row-head),.finance-payment-row:not(.finance-row-head){grid-template-columns:1fr 1fr;gap:13px}.finance-obligation-row:not(.finance-row-head)>.finance-record-main,.finance-payment-row:not(.finance-row-head)>.finance-record-main{grid-column:1}.finance-obligation-row:not(.finance-row-head)>span:nth-child(6),.finance-payment-row:not(.finance-row-head)>span:nth-child(6){grid-column:2;grid-row:1}.finance-obligation-row:not(.finance-row-head)>span:nth-child(2),.finance-payment-row:not(.finance-row-head)>span:nth-child(2){grid-column:1 / -1}.finance-counterparty-grid{grid-template-columns:1fr;padding:10px}.finance-direction-switch{grid-template-columns:1fr}.finance-link-section>header{align-items:flex-start}.finance-wizard-steps{margin:0 -17px 18px;padding:13px 17px}.finance-wizard-steps>div{grid-template-columns:26px minmax(0,1fr) minmax(8px,.2fr);gap:6px}.finance-wizard-steps>div:last-child{grid-template-columns:26px minmax(0,1fr)}.finance-wizard-steps span{width:26px;height:26px}.finance-wizard-steps strong{font-size:10px}.finance-wizard-panel{min-height:0}.finance-wizard-title{grid-template-columns:38px minmax(0,1fr)}.finance-wizard-title>span{width:38px;height:38px}.finance-wizard-title strong{font-size:15px}.finance-category-grid,.finance-currency-grid,.finance-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-counterparty-type-grid,.finance-link-fields{grid-template-columns:1fr}.finance-project-field{grid-column:auto}.finance-review>div{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-review>div>span:nth-child(2){border-right:0}.finance-review>div>span:nth-child(-n+2){border-bottom:1px solid #dce8df}.finance-picker-backdrop{padding:0;align-items:flex-end}.finance-picker-dialog{width:100%;max-height:94vh;border-radius:16px 16px 0 0}.finance-picker-dialog>header{padding:17px}.finance-picker-search{margin-inline:12px}.finance-picker-list{padding-inline:12px}.finance-allocation-picker>header{align-items:flex-start;flex-direction:column}.finance-allocation-rows>div{grid-template-columns:minmax(0,1fr) 36px}.finance-allocation-rows>div>label{grid-column:1 / -1;grid-row:2}.finance-allocation-rows>div>button{grid-column:2;grid-row:1}.finance-detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:430px){.dashboard-heading-actions,.dashboard-kpi-grid{grid-template-columns:1fr}.dashboard-kpi-grid article{min-height:91px}.dashboard-operations-strip{grid-template-columns:1fr}.dashboard-operations-strip article,.dashboard-operations-strip article:nth-child(3),.dashboard-operations-strip article:nth-child(2n),.dashboard-operations-strip article:last-child{grid-column:auto;border-right:0;border-bottom:1px solid var(--line-soft)}.dashboard-operations-strip article:last-child{border-bottom:0}.dashboard-debt-pair{grid-template-columns:1fr}.dashboard-payments-card b{white-space:normal}.order-currency-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.order-commercial-preview{display:flex;flex-direction:column;align-items:flex-start}.order-commercial-preview strong{margin-top:7px;font-size:18px}.order-commercial-preview small{margin-top:4px}.order-commercial-value-card>div{grid-template-columns:1fr}.order-commercial-value-card>div>span{border-right:0;border-bottom:1px solid var(--line-soft)}.order-commercial-value-card>div>span:last-child{border-bottom:0}.order-settlement-card>div{grid-template-columns:1fr}.order-settlement-card>div>span{border-right:0;border-bottom:1px solid var(--line-soft)}.order-settlement-card>div>span:last-child{border-bottom:0}.linked-finance-actions,.linked-finance-grid,.receipt-main-column .linked-finance-grid{grid-template-columns:1fr}.linked-finance-grid>span,.receipt-main-column .linked-finance-grid>span{grid-column:auto;border-right:0;border-bottom:1px solid var(--line-soft)}.linked-finance-grid>span:last-child,.receipt-main-column .linked-finance-grid>span:last-child{border-bottom:0}.finance-kpis{grid-template-columns:1fr}.finance-kpis article{min-height:91px}.cashflow-split{grid-template-columns:1fr}.aging-list>div{grid-template-columns:82px minmax(42px,1fr) 94px}.finance-tabs button{flex-direction:column;gap:3px;font-size:9px}.finance-wizard-steps strong{display:none}.finance-wizard-steps>div,.finance-wizard-steps>div:last-child{grid-template-columns:28px minmax(14px,1fr)}.finance-wizard-steps>div:last-child i{display:none}.finance-category-grid{grid-template-columns:1fr}.finance-choice-grid button{min-height:59px}.finance-wizard-actions{flex-wrap:wrap}.finance-wizard-actions .finance-cancel-action{width:100%;margin:0;order:3}.finance-wizard-actions>button:not(.finance-cancel-action){flex:1}.finance-review>div{grid-template-columns:1fr}.finance-review>div>span{border-right:0;border-bottom:1px solid #dce8df}.finance-review>div>span:last-child{border-bottom:0}.finance-picker-option{grid-template-columns:37px minmax(0,1fr) 17px}.finance-picker-option>i{width:37px;height:37px}.finance-picker-option>b{display:none}.finance-picker-dialog>footer>span{display:none}.finance-picker-dialog>footer .button{width:100%}.finance-obligation-row:not(.finance-row-head)>span:nth-child(3),.finance-obligation-row:not(.finance-row-head)>span:nth-child(4),.finance-obligation-row:not(.finance-row-head)>span:nth-child(5),.finance-payment-row:not(.finance-row-head)>span:nth-child(3),.finance-payment-row:not(.finance-row-head)>span:nth-child(4),.finance-payment-row:not(.finance-row-head)>span:nth-child(5){grid-column:1 / -1}.finance-detail-grid{grid-template-columns:1fr}}@media print{.mobile-bottom-nav,.mobile-menu-backdrop,.traceability-heading,.production-section-tabs,.traceability-batch-switcher,.traceability-summary-grid,.traceability-main-column,.traceability-access-note,.traceability-order-facts{display:none!important}.traceability-main-layout{display:block!important;margin:0!important}.traceability-qr-card{position:static;width:85mm;margin:0;border:1px solid #222;box-shadow:none}}@page qr-label{size:70mm 76mm;margin:0}@media print{.receipt-qr-card,.traceability-qr-card{page:qr-label;position:static!important;box-sizing:border-box;width:70mm!important;min-width:70mm;height:76mm;min-height:76mm;margin:0!important;padding:4mm 5mm!important;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border:0!important;background:#fff!important;box-shadow:none!important;text-align:center;break-inside:avoid}.receipt-qr-card>.qr-label-brand,.receipt-qr-card>p,.receipt-qr-card>.qr-label-meta,.receipt-qr-card>footer,.traceability-qr-card>.qr-label-brand,.traceability-qr-card>p,.traceability-qr-card>.qr-label-meta,.traceability-qr-card>.button,.traceability-qr-card>footer{display:none!important}.receipt-qr-card>.qr-code-wrap,.traceability-qr-card>.qr-code-wrap{width:56mm;height:56mm;margin:0!important;display:grid;place-items:center}.receipt-qr-card>.qr-code-wrap svg,.traceability-qr-card>.qr-code-wrap svg{width:56mm!important;height:56mm!important;display:block}.receipt-qr-card>h3,.traceability-qr-card>h3{margin:3mm 0 0!important;color:#000!important;font-family:Arial,sans-serif;font-size:16pt!important;font-weight:700;line-height:1;letter-spacing:.02em;white-space:nowrap}}.receipt-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.order-edit-impact,.receipt-correction-impact{padding:12px 14px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;color:#285f4d;border:1px solid #bad5c8;background:#f0f7f3}.order-edit-impact svg,.receipt-correction-impact svg{margin-top:1px}.order-edit-impact strong,.receipt-correction-impact strong{color:var(--green-900);font-size:12px}.order-edit-impact p,.receipt-correction-impact p{margin:4px 0 0;color:#526961;font-size:10px;line-height:1.5}.order-edit-commercial{padding:14px;border:1px solid var(--line-soft);background:#fafbf9}.order-edit-commercial>header{margin-bottom:12px;display:flex;align-items:center;gap:9px;color:var(--green-700)}.order-edit-commercial>header>div{display:flex;flex-direction:column}.order-edit-commercial>header strong{color:var(--green-900);font-size:12px}.order-edit-commercial>header small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-correction-lots{border:1px solid var(--line-soft)}.receipt-correction-lots>header{min-height:58px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f9f6;border-bottom:1px solid var(--line-soft)}.receipt-correction-lots>header>div{display:flex;flex-direction:column}.receipt-correction-lots>header strong{color:var(--green-900);font-size:12px}.receipt-correction-lots>header small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-correction-lots>header>b{color:var(--green-800);font-size:13px;white-space:nowrap}.receipt-correction-lots>label{min-height:62px;padding:9px 13px;display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:12px;border-bottom:1px solid var(--line-soft)}.receipt-correction-lots>label:last-child{border-bottom:0}.receipt-correction-lots>label>span:first-child{min-width:0;display:flex;flex-direction:column}.receipt-correction-lots>label strong{color:var(--green-900);font-size:11px}.receipt-correction-lots>label small{margin-top:4px;color:var(--muted);font-size:9px}.receipt-correction-lots .allocation-input{min-width:0}.receipt-correction-lots .allocation-input i{font-style:normal}.receipt-correction-history{border:1px solid var(--line-soft);background:#fff;box-shadow:var(--shadow-sm)}.receipt-correction-history>header{min-height:64px;padding:12px 17px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;color:var(--green-700);border-bottom:1px solid var(--line-soft)}.receipt-correction-history>header>div{display:flex;flex-direction:column}.receipt-correction-history>header strong{color:var(--green-900);font-size:12px}.receipt-correction-history>header small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-correction-history>header>b{min-width:25px;height:25px;display:grid;place-items:center;color:var(--green-800);border-radius:50%;background:var(--green-50);font-size:10px}.receipt-correction-history article{min-height:67px;padding:10px 17px;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1.4fr) auto;align-items:center;gap:13px;border-bottom:1px solid var(--line-soft)}.receipt-correction-history article:last-child{border-bottom:0}.receipt-correction-history article>span,.receipt-correction-history time{display:flex;flex-direction:column}.receipt-correction-history article strong{color:var(--green-900);font-size:11px}.receipt-correction-history article small{margin-top:3px;color:var(--muted);font-size:9px}.receipt-correction-reason{min-width:0;display:flex;flex-direction:column}.receipt-correction-history article p{margin:0;color:#40534c;font-size:10px;line-height:1.45}.receipt-correction-reason>small{margin-top:4px;color:var(--muted);font-size:8px;line-height:1.4}.receipt-correction-history time{color:#52645e;font-size:9px;text-align:right;white-space:nowrap}@media(max-width:720px){.board-heading{flex-direction:column}.board-heading-actions{width:100%;display:grid;grid-template-columns:1fr}.board-heading-actions .button{width:100%}.receipt-heading-actions{width:100%;display:grid;grid-template-columns:1fr}.receipt-correction-history article{grid-template-columns:1fr;gap:5px}.receipt-correction-history time{text-align:left}.finance-payment-intent-switch{grid-template-columns:1fr}.finance-pay-obligation-action{grid-template-columns:40px minmax(0,1fr)}.finance-pay-obligation-action .button{grid-column:1 / -1;width:100%}.finance-locked-payment-context{grid-template-columns:42px minmax(0,1fr)}.finance-locked-payment-context>b{grid-column:2;justify-self:start}}@media(max-width:430px){.receipt-correction-lots>header{align-items:flex-start;flex-direction:column}.receipt-correction-lots>label{grid-template-columns:1fr}.receipt-correction-lots .allocation-input{width:100%}}.production-workspace-tabs{margin-top:16px;padding:5px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.production-workspace-tabs>button,.production-workspace-tabs>a{min-width:0;min-height:54px;padding:8px 11px;display:flex;align-items:center;justify-content:center;gap:9px;color:#637169;border:0;border-radius:8px;background:transparent;text-align:left;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.production-workspace-tabs>button:hover,.production-workspace-tabs>a:hover{color:var(--green-800);background:#f1f7f3}.production-workspace-tabs>button.active{color:#fff;background:linear-gradient(135deg,var(--green-800),var(--green-700));box-shadow:0 5px 14px #145b422e}.production-workspace-tabs>button>span,.production-workspace-tabs>a>span{min-width:0;display:flex;flex-direction:column;gap:2px}.production-workspace-tabs strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.production-workspace-tabs small{overflow:hidden;color:#8b9891;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.production-workspace-tabs .active small{color:#ffffffb8}.inline-batch-switcher{margin-top:14px;overflow:hidden;border:1px solid var(--line-soft);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.inline-batch-switcher>header{min-height:62px;padding:10px 14px 10px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft);background:linear-gradient(180deg,#fbfcfb,#f7f9f7)}.inline-batch-switcher>header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.inline-batch-switcher>header strong{color:var(--green-950);font-size:13px}.inline-batch-switcher>header .button{min-height:38px;padding-inline:12px;white-space:nowrap}.inline-batch-list{padding:10px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,1fr);gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.inline-batch-list>button{min-width:0;min-height:116px;padding:11px 12px;display:flex;flex-direction:column;color:inherit;border:1px solid #dce4de;border-radius:9px;background:#fff;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.inline-batch-list>button:hover{border-color:#9bbba7;background:#f9fcfa}.inline-batch-list>button.selected{border-color:#76a58b;background:#f0f8f3;box-shadow:inset 3px 0 var(--green-700),0 4px 12px #194f3812}.inline-batch-status{display:flex;align-items:center;gap:6px}.inline-batch-status>i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#b4beb8}.inline-batch-status>i.in_progress{background:#d69b38;box-shadow:0 0 0 3px #fbefd9}.inline-batch-status>i.blocked,.inline-batch-status>i.quality_hold{background:#c75e55;box-shadow:0 0 0 3px #fae8e5}.inline-batch-status>i.completed,.inline-batch-status>i.shipped{background:var(--green-700);box-shadow:0 0 0 3px #e3f1e8}.inline-batch-status>i.overview{background:#397f65;box-shadow:0 0 0 3px #dcece4}.inline-batch-list>button.inline-finance-overview{border-style:dashed;background:linear-gradient(135deg,#f5faf7,#fff)}.inline-batch-list>button.inline-finance-overview.selected{border-style:solid;background:linear-gradient(135deg,#eaf6ef,#f8fcf9)}.inline-batch-status small{overflow:hidden;color:var(--green-700);font-size:10.5px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.inline-batch-list>button>strong{margin-top:6px;overflow:hidden;color:var(--green-950);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.inline-batch-current{margin-top:4px;overflow:hidden;color:#6c7972;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.inline-batch-list footer{margin-top:auto;padding-top:9px;display:grid;grid-template-columns:minmax(45px,1fr) auto auto;align-items:center;gap:8px;border-top:1px solid var(--line-soft)}.inline-batch-list footer>span{height:5px;overflow:hidden;border-radius:4px;background:#e4ebe6}.inline-batch-list footer>span i{height:100%;display:block;border-radius:inherit;background:var(--green-700)}.inline-batch-list footer b{color:var(--green-800);font-size:11px}.inline-batch-list footer em{color:#69766f;font-size:11px;font-style:normal;font-weight:750;white-space:nowrap}.batch-context-bar{margin-top:14px;min-height:104px;padding:14px 16px;display:grid;grid-template-columns:minmax(250px,1.2fr) minmax(170px,.65fr) minmax(300px,1fr) auto;align-items:center;gap:18px;border:1px solid #bdd2c5;border-radius:12px;background:linear-gradient(120deg,#f3f9f5,#fff 52%);box-shadow:0 8px 24px #20553f12}.batch-context-main{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px}.batch-context-icon{width:42px;height:42px;display:grid;place-items:center;color:#fff;border-radius:11px;background:var(--green-700);box-shadow:0 5px 12px #155b412b}.batch-context-main>div{min-width:0}.batch-context-main small{color:var(--green-700);font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.batch-context-main h2{margin:3px 0 0;overflow:hidden;color:var(--green-950);font-size:16px;text-overflow:ellipsis;white-space:nowrap}.batch-context-main p{margin:4px 0 0;overflow:hidden;color:#6d7b73;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.batch-context-progress{min-width:0;padding-left:16px;border-left:1px solid var(--line-soft)}.batch-context-progress>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.batch-context-progress strong{color:var(--green-800);font-size:17px}.batch-context-progress small{color:var(--muted);font-size:11px}.batch-context-progress>div{height:6px;margin-top:8px;display:flex;gap:3px}.batch-context-progress i{min-width:4px;flex:1;border-radius:4px;background:#e5ebe7}.batch-context-progress i.completed{background:#3d9670}.batch-context-progress i.in_progress{background:#d9a54d;box-shadow:0 0 0 2px #f9ecd6}.batch-context-progress i.blocked{background:#ca665d}.batch-context-metrics{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.batch-context-metrics>span{min-width:0;padding:2px 12px;display:flex;flex-direction:column;gap:5px;border-left:1px solid var(--line-soft)}.batch-context-metrics small{color:var(--muted);font-size:11px}.batch-context-metrics strong{overflow:hidden;color:#34493e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.batch-context-actions{display:flex;align-items:center;gap:6px}.batch-context-actions .button{min-height:40px;padding-inline:12px;white-space:nowrap}.batch-context-actions .icon-button:disabled{opacity:.35;cursor:not-allowed}.finance-overall-context{grid-template-columns:minmax(280px,1.25fr) minmax(190px,.65fr) minmax(330px,1fr);border-color:#a9c8b6;background:linear-gradient(120deg,#edf7f1,#fff 58%)}.finance-overall-context .batch-context-icon{background:linear-gradient(135deg,#164a39,#2f8062)}.production-view-stack{margin-top:14px;display:flex;flex-direction:column;gap:14px}.production-overview-card{overflow:hidden;border:1px solid var(--line-soft);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.production-overview-card>header{min-height:70px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft)}.production-overview-card>header>div{min-width:0;display:flex;align-items:center;gap:10px;color:var(--green-700)}.production-overview-card>header span{min-width:0;display:flex;flex-direction:column}.production-overview-card>header strong{color:var(--green-950);font-size:13px}.production-overview-card>header small{margin-top:3px;color:var(--muted);font-size:11px}.production-overview-card>header b{padding:6px 9px;color:var(--green-800);border-radius:7px;background:var(--green-50);font-size:11px;white-space:nowrap}.production-overview-card .batch-order-distribution{border-top:0}.production-distribution-card{margin-top:14px}.production-main-costs{margin-top:14px;overflow:hidden;border:1px solid #ccdcd2;border-radius:11px;background:#f5f8f6;box-shadow:var(--shadow-sm)}.production-main-costs>header{min-height:78px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff;background:linear-gradient(115deg,#164a39,#1e654d)}.production-main-costs>header>div{min-width:0;display:flex;align-items:center;gap:11px}.production-main-costs>header>div>span{min-width:0}.production-main-costs>header .section-kicker{color:#a9d0be}.production-main-costs>header h2{margin:2px 0 0;color:#fff;font-size:17px}.production-main-costs>header p{margin:4px 0 0;color:#c1dacf;font-size:11.5px}.production-main-costs>header>a{min-height:38px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:#fff;border:1px solid rgb(255 255 255 / 24%);border-radius:8px;background:#ffffff14;font-size:11.5px;font-weight:750}.production-main-cost-stack{padding:14px}.production-main-cost-stack>.order-commercial-value-card{margin-top:0}.production-main-cost-stack>.production-finance-summary,.production-main-cost-stack>.production-daily-cost-chart,.production-main-cost-stack>.production-cost-ledger,.production-main-cost-stack>.batch-consumables-panel{margin-top:12px}.production-daily-cost-chart{overflow:hidden;border:1px solid #d2dfd7;border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.production-daily-cost-chart>header{min-height:78px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft);background:linear-gradient(105deg,#f2f8f4,#fff 62%)}.production-daily-cost-chart>header>div:first-child{min-width:0;display:flex;align-items:center;gap:11px}.production-daily-cost-chart>header>div:first-child>span{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;color:#fff;border-radius:10px;background:linear-gradient(135deg,var(--green-800),#3d9470);box-shadow:0 5px 12px #195e432e}.production-daily-cost-chart>header>div:first-child>div{min-width:0;display:flex;flex-direction:column}.production-daily-cost-chart>header small{color:var(--green-700);font-size:10.5px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.production-daily-cost-chart>header strong{margin-top:2px;color:var(--green-950);font-size:14px}.production-daily-cost-chart>header p{margin:3px 0 0;color:#6e7d75;font-size:11px}.production-cost-chart-context{padding:7px 10px;flex:0 0 auto;color:var(--green-800);border:1px solid #c9dcd0;border-radius:8px;background:#eef6f1;font-size:10.5px;white-space:nowrap}.production-cost-chart-summary{display:grid;grid-template-columns:1fr .7fr 1.15fr 1.15fr 1.2fr;border-bottom:1px solid var(--line-soft);background:#fff}.production-cost-chart-summary>span{min-width:0;min-height:66px;padding:11px 14px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid var(--line-soft)}.production-cost-chart-summary>span:last-child{border-right:0}.production-cost-chart-summary small{color:#7d8b83;font-size:10px}.production-cost-chart-summary strong{overflow:hidden;color:#344a3f;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.production-cost-chart-summary .return strong{color:#2f8062}.production-cost-chart-summary .net{background:#f1f7f3}.production-cost-chart-summary .net strong{color:var(--green-900)}.production-cost-early-note{margin:12px 14px 0;padding:10px 12px;display:flex;align-items:center;gap:9px;color:#a16923;border:1px solid #ead4ad;border-radius:9px;background:linear-gradient(90deg,#fff8e9,#fffdf8)}.production-cost-early-note>div{min-width:0}.production-cost-early-note strong{color:#81551d;font-size:11px}.production-cost-early-note p{margin:3px 0 0;color:#8f6a37;font-size:10px;line-height:1.45}.production-cost-chart-focus{min-height:64px;padding:10px 14px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line-soft);background:#fbfcfb}.production-cost-chart-focus>div{min-width:180px;margin-right:auto;display:flex;flex-direction:column;gap:3px}.production-cost-chart-focus>div strong{color:var(--green-950);font-size:11.5px;text-transform:capitalize}.production-cost-chart-focus>div small{color:#7b8981;font-size:9.5px}.production-cost-chart-focus>span{min-width:0;display:grid;grid-template-columns:8px auto;align-items:center;gap:3px 6px;color:#687970;font-size:9.5px;white-space:nowrap}.production-cost-chart-focus>span em{width:8px;height:8px;border-radius:3px;background:#4b9a78}.production-cost-chart-focus>span em.consumable{background:#7ab294}.production-cost-chart-focus>span em.resource{background:#d9a04b}.production-cost-chart-focus>span em.labor{background:#6689ad}.production-cost-chart-focus>span.return em{background:#c5ded1;box-shadow:inset 0 0 0 1px #62a180}.production-cost-chart-focus>span b{grid-column:2;color:#344a3f;font-size:10px}.production-cost-chart-focus>.total{margin-left:auto;color:var(--green-900);font-size:12px;white-space:nowrap}.production-cost-chart-viewport{min-height:238px;display:grid;grid-template-columns:52px minmax(0,1fr);background:repeating-linear-gradient(to bottom,transparent 0,transparent 54px,#edf1ee 55px)}.production-cost-chart-scale{height:220px;padding:12px 8px 55px 0;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;color:#829088;border-right:1px solid #e7ece8;font-size:8.5px}.production-cost-chart-scroll{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.production-cost-chart-bars{height:220px;padding:12px 9px 0;position:relative;display:grid;align-items:stretch;justify-content:start;gap:7px}.production-cost-chart-bars:after{content:"";position:absolute;z-index:0;top:157px;right:0;left:0;border-top:1px solid #9eb8aa}.production-cost-chart-bars>button{min-width:0;height:208px;padding:0;position:relative;z-index:1;display:grid;grid-template-rows:145px 28px 35px;justify-items:center;color:inherit;border:0;border-radius:7px;background:transparent;outline:none;cursor:pointer}.production-cost-chart-bars>button:hover,.production-cost-chart-bars>button.active,.production-cost-chart-bars>button:focus-visible{background:linear-gradient(180deg,#2f80620d,#2f806203);box-shadow:inset 0 0 0 1px #4b917126}.production-cost-positive-stack{width:min(28px,70%);min-height:0;align-self:end;overflow:hidden;display:flex;flex-direction:column-reverse;border-radius:6px 6px 2px 2px;box-shadow:0 3px 8px #2560461f;transition:height .32s cubic-bezier(.22,.8,.25,1),width .16s ease}.production-cost-chart-bars>button:hover .production-cost-positive-stack,.production-cost-chart-bars>button.active .production-cost-positive-stack,.production-cost-chart-bars>button:focus-visible .production-cost-positive-stack{width:min(34px,82%)}.production-cost-positive-stack i{min-height:2px;display:block}.production-cost-positive-stack i.raw{background:#3d8e6c}.production-cost-positive-stack i.consumable{background:#7ab294}.production-cost-positive-stack i.resource{background:#d9a04b}.production-cost-positive-stack i.labor{background:#6689ad}.production-cost-return-bar{width:min(16px,46%);max-height:22px;align-self:start;border-radius:0 0 5px 5px;background:repeating-linear-gradient(135deg,#cbe3d6 0 4px,#69a688 4px 6px);transition:height .25s ease}.production-cost-chart-bars>button.empty-day .production-cost-positive-stack{width:5px;height:5px!important;min-height:5px;border-radius:50%;background:#d6dfd9;box-shadow:none}.production-cost-chart-bars>button.empty-day:hover .production-cost-positive-stack,.production-cost-chart-bars>button.empty-day.active .production-cost-positive-stack,.production-cost-chart-bars>button.empty-day:focus-visible .production-cost-positive-stack{width:7px;background:#8eb3a0}.production-cost-chart-bars>button>small{grid-row:3;padding-top:8px;color:#74827a;font-size:9px;white-space:nowrap}.production-cost-chart-bars>button.active>small{color:var(--green-800);font-weight:850}.production-cost-chart-bars>button>em{position:absolute;right:0;bottom:0;left:0;color:#9a6b2f;font-size:7.5px;font-style:normal;font-weight:800;text-transform:uppercase}.production-daily-cost-chart.early-stage .production-cost-chart-bars{justify-content:center}.production-daily-cost-chart.early-stage .production-cost-positive-stack{width:46px}.production-daily-cost-chart.early-stage .production-cost-chart-bars>button:hover .production-cost-positive-stack,.production-daily-cost-chart.early-stage .production-cost-chart-bars>button.active .production-cost-positive-stack,.production-daily-cost-chart.early-stage .production-cost-chart-bars>button:focus-visible .production-cost-positive-stack{width:54px}.production-daily-cost-chart.early-stage .production-cost-chart-bars>button.empty-day .production-cost-positive-stack{width:7px}.production-cost-ledger{overflow:hidden;border:1px solid #d5e0d9;border-radius:10px;background:#fff}.production-cost-ledger>header{min-height:76px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft);background:linear-gradient(180deg,#fbfcfb,#f7faf8)}.production-cost-ledger>header>div{min-width:0;display:flex;align-items:center;gap:10px}.production-cost-ledger>header>div>span{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;color:#fff;border-radius:9px;background:var(--green-700);box-shadow:0 4px 10px #1b5f4429}.production-cost-ledger>header>div>div{min-width:0;display:flex;flex-direction:column}.production-cost-ledger>header small{color:var(--green-700);font-size:10.5px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.production-cost-ledger>header strong{margin-top:2px;color:var(--green-950);font-size:13px}.production-cost-ledger>header p{margin:3px 0 0;color:var(--muted);font-size:11px}.production-cost-ledger>header>b{padding:6px 9px;flex:0 0 auto;color:var(--green-800);border-radius:7px;background:var(--green-50);font-size:11px}.production-cost-ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line-soft);background:#fff}.production-cost-ledger-summary>span{min-width:0;min-height:70px;padding:12px 15px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid var(--line-soft)}.production-cost-ledger-summary>span:last-child{border-right:0}.production-cost-ledger-summary small{color:#7b8981;font-size:10.5px}.production-cost-ledger-summary strong{overflow:hidden;color:#34493e;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-summary .return strong{color:#2f8062}.production-cost-ledger-summary .net{background:#f0f7f3}.production-cost-ledger-summary .net strong{color:var(--green-900)}.production-cost-ledger-days{display:flex;flex-direction:column}.production-cost-ledger-day{border-bottom:1px solid #dce5df}.production-cost-ledger-day:last-child{border-bottom:0}.production-cost-ledger-day>header{min-height:59px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f9f7;border-bottom:1px solid var(--line-soft)}.production-cost-ledger-day>header>div{min-width:0;display:flex;align-items:center;gap:9px;color:var(--green-700)}.production-cost-ledger-day>header span{min-width:0;display:flex;flex-direction:column;gap:3px}.production-cost-ledger-day>header strong{color:var(--green-950);font-size:11px;text-transform:capitalize}.production-cost-ledger-day>header small{overflow:hidden;color:#7b8981;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-day>header>b{flex:0 0 auto;color:var(--green-900);font-size:11px;white-space:nowrap}.production-cost-ledger-row{min-height:72px;padding:9px 13px;display:grid;grid-template-columns:45px 34px minmax(220px,1fr) minmax(150px,.65fr) minmax(125px,auto) 26px;align-items:center;gap:10px;border-bottom:1px solid var(--line-soft);transition:background .16s ease}.production-cost-ledger-row:last-child{border-bottom:0}.production-cost-ledger-row:hover{background:#fbfdfb}.production-cost-ledger-row>time{display:flex;flex-direction:column;align-items:center;gap:2px}.production-cost-ledger-row>time strong{color:var(--green-950);font-size:11px}.production-cost-ledger-row>time small{color:#8a9690;font-size:9.5px}.production-cost-kind-icon{width:32px;height:32px;display:grid;place-items:center;color:var(--green-700);border-radius:9px;background:#edf6f1}.production-cost-ledger-row.resource .production-cost-kind-icon{color:#ac6d23;background:#fcf1df}.production-cost-ledger-row.labor .production-cost-kind-icon{color:#416f96;background:#eaf2f8}.production-cost-ledger-row.warehouse_return .production-cost-kind-icon{color:#2f8062;background:#e4f3eb}.production-cost-ledger-copy{min-width:0;display:flex;flex-direction:column}.production-cost-ledger-copy>span{min-width:0;display:flex;align-items:center;gap:7px}.production-cost-ledger-copy em{padding:3px 5px;color:var(--green-800);border-radius:4px;background:#edf5f0;font-size:9px;font-style:normal;font-weight:850;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap}.production-cost-ledger-copy>span small{overflow:hidden;color:#839087;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-copy>strong{margin-top:4px;overflow:hidden;color:#30463b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-copy p{margin:2px 0 0;overflow:hidden;color:#7b8881;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-quantity{overflow:hidden;color:#52655b;font-size:10.5px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.production-cost-ledger-amount{color:#374b41;font-size:12px;text-align:right;white-space:nowrap}.production-cost-ledger-row.warehouse_return .production-cost-ledger-amount{color:#2f8062}.production-cost-ledger-link,.production-cost-ledger-link-placeholder{width:26px;height:26px;display:grid;place-items:center}.production-cost-ledger-link{color:var(--green-700);border-radius:7px;background:#edf5f0}.production-cost-ledger-link:hover{color:#fff;background:var(--green-700)}.production-cost-ledger-empty{min-height:150px;display:flex;align-items:center;justify-content:center;gap:11px;color:#809087}.production-cost-ledger-empty>span{display:flex;flex-direction:column;gap:3px}.production-cost-ledger-empty strong{color:#40544a;font-size:11px}.production-cost-ledger-empty small{color:var(--muted);font-size:10.5px}.compact-traceability-panel{margin-top:0}.compact-traceability-panel>header>a{display:inline-flex;align-items:center;gap:5px;color:var(--green-700);font-size:11px;font-weight:750;white-space:nowrap}.compact-route-overview{margin-top:14px}.compact-route-overview .route-logic-legend{display:none}.compact-route-overview .route-rail{margin-top:13px}.focused-board-grid{grid-template-columns:minmax(0,1.05fr) minmax(400px,.95fr)}.focused-process-panel .stage-row{min-height:68px}.focused-process-panel .stage-row.selected{box-shadow:inset 4px 0 var(--green-700)}.focused-stage-detail{scroll-margin-top:16px;border-radius:10px}.stage-detail-tabs{padding:5px 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);background:#f6f8f6}.stage-detail-tabs button{min-width:0;min-height:36px;padding:5px 7px;display:flex;align-items:center;justify-content:center;gap:5px;color:#6d7a73;border:0;border-radius:7px;background:transparent;font-size:11.5px;font-weight:750}.stage-detail-tabs button:hover{color:var(--green-800);background:#eaf3ed}.stage-detail-tabs button.active{color:var(--green-900);background:#fff;box-shadow:0 2px 8px #1e48341a}.stage-detail-tabs b{min-width:18px;height:18px;display:grid;place-items:center;border-radius:9px;background:#e8efea;font-size:9px}.stage-detail-tabs .active b{color:#fff;background:var(--green-700)}.stage-detail-body{max-height:min(620px,calc(100vh - 325px));min-height:290px;overflow-y:auto;overscroll-behavior:contain}.stage-detail-body>.stage-description{margin-top:0}.stage-resources-view .stage-consumable-journal,.stage-resources-view .stage-cost-journal{border-bottom:1px solid var(--line-soft)}.stage-resources-view .stage-cost-journal:last-child{border-bottom:0}.stage-tab-empty{min-height:180px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:11px}.compact-stage-actions{padding:10px;display:grid;grid-template-columns:1fr;gap:7px;border-top:1px solid var(--line-soft);background:#fff}.compact-stage-actions .button{min-height:39px}.compact-stage-actions .completed-stamp{margin:0}@media(max-width:1360px){.batch-context-bar{grid-template-columns:minmax(260px,1.2fr) minmax(180px,.7fr) auto}.batch-context-metrics{grid-column:1 / 3;grid-row:2}.batch-context-actions{grid-column:3;grid-row:1 / 3}.focused-board-grid{grid-template-columns:minmax(0,1fr) 410px}}@media(max-width:900px){.production-workspace-tabs{grid-template-columns:repeat(4,minmax(150px,1fr));overflow-x:auto}.production-workspace-tabs>button,.production-workspace-tabs>a{justify-content:flex-start}.batch-context-bar{grid-template-columns:1fr auto}.batch-context-progress{grid-column:1;grid-row:2;padding:10px 0 0;border-top:1px solid var(--line-soft);border-left:0}.batch-context-metrics{grid-column:1;grid-row:3}.batch-context-actions{grid-column:2;grid-row:1 / 4;align-self:stretch;flex-direction:column;justify-content:center}.batch-context-actions .button{width:100%}.focused-board-grid{grid-template-columns:1fr}.stage-detail-panel.focused-stage-detail{position:static}.stage-detail-body{max-height:none}.production-cost-chart-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.production-cost-chart-summary>span:nth-child(3){border-right:0}.production-cost-chart-summary>span:nth-child(-n+3){border-bottom:1px solid var(--line-soft)}.production-cost-chart-summary>span:nth-child(4){grid-column:1 / 2}.production-cost-chart-summary>span:nth-child(5){grid-column:2 / 4}.production-cost-chart-focus{overflow-x:auto}.production-cost-chart-focus>div{min-width:210px}.production-cost-chart-focus>span{flex:0 0 auto}.production-cost-ledger-row{grid-template-columns:42px 32px minmax(190px,1fr) minmax(125px,auto) 26px}.production-cost-ledger-quantity{grid-column:3 / 4;margin-top:-12px;padding-top:4px;text-align:left}.production-cost-ledger-amount{grid-column:4;grid-row:1 / 3}.production-cost-ledger-link,.production-cost-ledger-link-placeholder{grid-column:5;grid-row:1 / 3}}@media(max-width:640px){.production-workspace-tabs{margin-inline:-4px;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));overflow:visible;border-radius:9px}.production-workspace-tabs>button,.production-workspace-tabs>a{min-height:49px;padding-inline:6px;justify-content:center;gap:5px}.production-workspace-tabs strong{font-size:10.5px}.production-workspace-tabs small{display:none}.inline-batch-switcher>header{align-items:flex-start}.inline-batch-switcher>header .button{min-width:40px;padding-inline:10px}.inline-batch-list{grid-auto-columns:minmax(225px,84vw)}.order-facts{margin-top:12px}.batch-context-bar{padding:12px;grid-template-columns:1fr;gap:12px}.batch-context-main h2{font-size:14px}.batch-context-progress,.batch-context-metrics,.batch-context-actions{grid-column:1;grid-row:auto}.batch-context-metrics>span{padding-inline:8px}.batch-context-metrics>span:first-child{padding-left:0;border-left:0}.batch-context-actions{display:grid;grid-template-columns:minmax(0,1fr);flex-direction:initial}.production-main-costs>header{align-items:flex-start;flex-direction:column}.production-main-costs>header>a{width:100%;justify-content:center}.production-main-cost-stack{padding:10px}.production-daily-cost-chart>header{align-items:flex-start;flex-direction:column}.production-cost-chart-context{width:100%;text-align:center;white-space:normal}.production-cost-chart-summary{grid-template-columns:1fr 1fr}.production-cost-chart-summary>span:nth-child(3){border-right:1px solid var(--line-soft)}.production-cost-chart-summary>span:nth-child(-n+4){border-bottom:1px solid var(--line-soft)}.production-cost-chart-summary>span:nth-child(2n){border-right:0}.production-cost-chart-summary>span:nth-child(4){grid-column:auto}.production-cost-chart-summary>span:nth-child(5){grid-column:1 / -1;border-right:0}.production-cost-chart-focus{padding-inline:10px;gap:11px}.production-cost-chart-focus>div{min-width:185px}.production-cost-chart-viewport{grid-template-columns:45px minmax(0,1fr)}.production-cost-chart-scale{padding-right:6px}.production-cost-ledger>header{align-items:flex-start;flex-direction:column}.production-cost-ledger-summary{grid-template-columns:1fr 1fr}.production-cost-ledger-summary>span:nth-child(2){border-right:0}.production-cost-ledger-summary>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.production-cost-ledger-day>header{align-items:flex-start;flex-direction:column}.production-cost-ledger-row{padding:10px;grid-template-columns:38px 32px minmax(0,1fr) 24px;gap:8px}.production-cost-ledger-copy{grid-column:3}.production-cost-ledger-quantity{grid-column:3;grid-row:2;margin-top:0;padding-top:0}.production-cost-ledger-amount{grid-column:3;grid-row:3;text-align:left}.production-cost-ledger-link,.production-cost-ledger-link-placeholder{grid-column:4;grid-row:1 / 4}.production-cost-ledger-row>time,.production-cost-kind-icon{align-self:start}.production-overview-card>header{align-items:flex-start;flex-direction:column}.compact-traceability-panel .traceability-flow{grid-template-columns:1fr}.compact-traceability-panel .traceability-arrow{transform:rotate(90deg)}.stage-detail-tabs{grid-template-columns:repeat(4,minmax(74px,1fr));overflow-x:auto}.stage-detail-tabs b{display:none}}@media(max-width:340px){.production-workspace-tabs>button,.production-workspace-tabs>a{padding-inline:3px;gap:3px}.production-workspace-tabs>button>svg,.production-workspace-tabs>a>svg{width:14px;height:14px}.production-workspace-tabs strong{font-size:9px}}.warehouse-reservation-scroll{max-width:100%;overflow-x:auto}.warehouse-reservation-history table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.warehouse-reservation-history th,.warehouse-reservation-history td{padding:12px 16px;border-bottom:1px solid var(--line-soft);white-space:nowrap}.warehouse-reservation-history th{color:var(--muted);font-weight:600;background:#fafbf9}.warehouse-reservation-history a{color:var(--green-900);text-decoration:underline;text-underline-offset:3px}.warehouse-reservation-history .reservation-state{padding:4px 8px;border-radius:6px;background:#f1f3f0}.warehouse-reservation-history .reservation-state.active{background:#e5f4e9;color:#216139}.warehouse-reservation-history .reservation-state.consumed{background:#eef2fc;color:#385da1}
