/* KASIOPES · unified workspace · v107.003 */
:root{--workspace-navy:#101e32;--workspace-navy-2:#182940;--workspace-accent:#2563eb;--workspace-accent-soft:#eef4ff;--workspace-ink:#17263d;--workspace-muted:#758196;--workspace-border:#e2e7ef;--workspace-bg:#f3f5f9;--workspace-sidebar:236px;--workspace-header:100px;--bg:var(--workspace-bg);--surface:#fff;--surface-2:#f7f9fc;--text:var(--workspace-ink);--muted:var(--workspace-muted);--border:var(--workspace-border);--radius:10px;--btn:var(--workspace-accent);--ok:var(--workspace-accent);--shadow:0 3px 14px rgba(20,36,61,.035);--shadow-sm:none;--ksp-section:var(--workspace-accent)!important;--ksp-radius:7px;--ksp-ctrl-h:42px;--ksp-ctrl-h-sm:36px}
html{scroll-padding-top:126px;scroll-behavior:smooth}body.workspace{margin:0;background:var(--workspace-bg)!important;color:var(--workspace-ink);font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:14px;line-height:1.5;padding-left:var(--workspace-sidebar);padding-top:var(--workspace-header);min-height:100vh}body.workspace *{box-sizing:border-box}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.hidden{display:none!important}button:focus-visible,a:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a7c4ff!important;outline-offset:3px;box-shadow:none!important}a{color:var(--workspace-accent)}button{touch-action:manipulation}.workspace a{text-decoration:none}
.workspace-sidebar{width:var(--workspace-sidebar);position:fixed;inset:0 auto 0 0;z-index:130;background:var(--workspace-navy);color:#fff;display:flex;flex-direction:column;padding:26px 16px 16px;overflow-y:auto}.workspace-brand{display:flex;align-items:center;gap:11px;padding:0 7px 30px;color:#fff!important;text-decoration:none}.workspace-logo{width:43px;height:43px;padding:4px;border-radius:8px;background:#fff;flex:none;display:flex}.workspace-logo img{width:100%;height:100%;object-fit:contain}.workspace-brand strong{font-size:15px;letter-spacing:.7px;white-space:nowrap;font-weight:800}.workspace-brand em{font-style:normal;color:#89b5ff;font-size:12px}.workspace-brand small{display:block;color:#899bb4;font-size:10px;letter-spacing:.2px;margin-top:3px}.workspace-nav-label{color:#61758e;font-size:9px;letter-spacing:1.8px;font-weight:700;padding:8px 15px 12px}#workspaceNav{display:grid;gap:6px}.workspace-nav-item{display:flex;gap:12px;align-items:center;min-height:46px;padding:11px 13px;border:0;border-radius:7px;color:#b1bfd1;background:transparent;text-align:left;font:inherit;font-size:12px;font-weight:600;cursor:pointer;width:100%;text-decoration:none;transition:background .15s,color .15s}.workspace-nav-item svg{flex:none;opacity:.75}.workspace-nav-item span:not(.nav-key){flex:1}.workspace-nav-item:hover{background:#1b2b43;color:#fff}.workspace-nav-item.active{background:#244d89;color:#fff}.workspace-nav-item.active svg{opacity:1}.nav-key{font-size:9px;font-weight:600;color:#8daadd;padding:1px 5px;background:#1b427c;border-radius:3px}.sidebar-support{margin-top:auto;padding:46px 13px 28px;display:grid;gap:4px}.sidebar-rule{width:22px;height:2px;background:#3f78c8;margin-bottom:11px}.sidebar-support b{font-size:10px;color:#a7b7cb;font-weight:500}.sidebar-support>span:last-child{font-size:9px;color:#61768f}.workspace-user{border-top:1px solid #26354b;padding:19px 3px 5px;display:flex;gap:9px;align-items:center}.user-avatar{width:32px;height:32px;flex:none;display:flex;align-items:center;justify-content:center;background:#283c58;border:1px solid #405674;color:#b2cdf6;border-radius:7px;font-size:12px;font-weight:700}.user-copy{min-width:0;flex:1}.user-copy b{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#d7e0ed;font-size:10px;font-weight:500}.user-copy small{display:block;color:#7288a3;font-size:9px;margin-top:2px}.workspace-release{display:flex;justify-content:space-between;color:#526882;font-size:8px;letter-spacing:.5px;padding:17px 5px 0}.workspace-sidebar .icon-button{color:#8196b1;min-width:26px;width:26px;height:32px;padding:3px}.workspace-sidebar .icon-button:hover{background:#263b57;color:#fff}.workspace-header{position:fixed;top:0;right:0;left:var(--workspace-sidebar);min-height:var(--workspace-header);z-index:100;background:#fff!important;border-bottom:1px solid var(--workspace-border);box-shadow:none;backdrop-filter:none;display:flex;align-items:center;justify-content:space-between;padding:21px 30px;gap:20px}.workspace-heading{display:flex;gap:13px;align-items:center;min-width:0}.workspace-breadcrumb{font-size:8px;line-height:1.4;letter-spacing:1.1px;font-weight:700;color:#8492a6;white-space:nowrap;margin-bottom:6px}.workspace-breadcrumb span{letter-spacing:.1px;color:#a1aaba;font-weight:500;margin-left:5px}.workspace-header h1{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:0;font-weight:650;color:#17263e}.workspace-header-actions,.workspace-page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.workspace-menu-toggle{display:none!important}.icon-button{border:0;background:transparent;color:#55657b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:5px;width:38px;height:38px;padding:8px}.workspace-nav-backdrop{display:none}.workspace #workspaceActionPool{display:none!important}
.workspace .wrap{display:block;max-width:1600px;width:100%;padding:28px 30px 48px;margin:0 auto;min-width:0}.workspace.page-calculator .wrap{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:22px;align-items:start}.workspace.page-calculator .wrap>section{min-width:0}.workspace .panel,.workspace .k-card,.workspace .card{background:#fff;border:1px solid var(--workspace-border);border-radius:10px;box-shadow:var(--shadow);overflow:visible}.workspace .panel .hd{background:#fff;border-top:0!important;border-bottom:1px solid var(--workspace-border);padding:20px 22px;align-items:flex-start;flex-direction:column;gap:17px}.workspace .panel .hd h2{font-size:13px;line-height:1.4;letter-spacing:0;color:#46546b;font-weight:650}.workspace .panel .bd{padding:24px 22px;overflow:visible;min-width:0}.workspace .summary{position:sticky;top:126px}.workspace .summary .hd{gap:11px;padding:20px}.workspace .summary .bd{padding:20px}.workspace .summaryOfferNo{margin-top:0;width:100%;flex:none;max-width:none}.workspace .offerNoInput{border:0!important;box-shadow:none;background:#f3f6fb!important;height:34px!important;border-radius:5px;font-size:12px;color:#40536e;padding:0 10px;font-weight:600}.workspace .sumRow{display:grid;gap:8px;font-size:10px;padding:0 0 14px;line-height:1.6}.workspace .sumRow #sumTech{text-align:left!important;color:#53647b}.workspace .sumGrid{gap:10px;grid-template-columns:1fr 1fr}.workspace .sumCard{border:1px solid #e7ecf3;border-radius:7px;background:#fff;padding:12px 11px}.workspace .sumCard small{font-size:9px;font-weight:500;color:#78869b!important;display:block;line-height:1.6}.workspace .sumCard b{font-size:21px;font-weight:600;color:#24364e!important;line-height:1.7}.workspace .sumCard:has(#sumEur),.workspace .sumCard:has(#sumBgn){grid-column:1/-1}.workspace .sumCard:has(#sumEur){background:#f0f5ff;border-color:#dae5fa}.workspace .sumCard #sumEur{font-size:32px;color:#245dc5!important;font-weight:650;letter-spacing:-1px;line-height:1.45}.workspace .sumCard:has(#sumBgn){background:#f8fafc;border:0;padding-top:4px;padding-bottom:5px;display:flex;align-items:baseline;justify-content:space-between}.workspace .sumCard #sumBgn{font-size:17px;color:#758196!important}.workspace .sumCard #sumEurDist,.workspace .sumCard #sumBgnDist{font-size:17px}.workspace .summary .hint{font-size:9px;color:#98a2b2}.workspace .summary .divider{margin:16px 0}.workspace .summary #dbState{font-size:10px;background:#f2f8f5;border-color:#d4e9dd;color:#458260;border-radius:6px}
.workspace .stepper{display:flex;gap:5px;width:100%;flex-wrap:nowrap;counter-reset:workspace-step}.workspace .chip{counter-increment:workspace-step;border-radius:5px;border:1px solid transparent!important;background:#f6f8fb!important;color:#8692a4;font-size:10px;line-height:1.3;padding:9px 7px;display:flex;align-items:center;gap:6px;min-width:0;flex:1;white-space:nowrap;justify-content:center;transition:background .15s}.workspace .chip:before{display:none}.workspace .chip.active{color:#245dc5;background:#edf3ff!important;border-color:#d7e4ff!important;font-weight:700}.workspace .chip.done{color:#4d6b69;background:#f0f7f5!important}.workspace .step-intro{margin:0 0 24px}.eyebrow{font-size:9px;line-height:1.5;font-weight:700;letter-spacing:1.5px;color:#8592a6;text-transform:uppercase;display:block;margin-bottom:8px}.workspace .step-intro h3,.workspace-intro h2{font-size:23px;font-weight:600;line-height:1.35;letter-spacing:-.6px;color:#1c2c43;margin:0 0 8px}.workspace .step-intro p,.workspace-intro p{font-size:11px;line-height:1.6;color:#8b96a7;margin:0}.workspace .grid2{gap:19px 18px}.workspace label{font-size:10px;font-weight:650;letter-spacing:.15px;color:#61718a;margin:0 0 7px;text-transform:none}.workspace input,.workspace select,.workspace textarea{background:#fff;color:#243650;border:1px solid #dce3ee;box-shadow:0 1px 2px rgba(20,36,61,.02);border-radius:6px;font-size:12px;font-weight:400;height:42px;padding:0 12px;line-height:1.4;max-width:100%}.workspace input::placeholder,.workspace textarea::placeholder{color:#b0b9c7}.workspace textarea{height:auto;min-height:90px;padding:10px 12px}.workspace input[type=checkbox],.workspace input[type=radio]{width:16px!important;height:16px!important;padding:0;accent-color:var(--workspace-accent);box-shadow:none;flex:none}.workspace input[type=range]{padding:0;border:0;box-shadow:none;accent-color:var(--workspace-accent)}.workspace input:disabled,.workspace select:disabled{background:#f7f9fc;color:#a0aabc}.workspace .row,.workspace .k-row{gap:10px}.workspace .divider,.workspace .hr{height:1px;border:0;background:#edf0f5;margin:23px 0}.workspace #step-client>.row:first-of-type{margin-bottom:20px}.workspace .chk{font-size:10px;padding:8px;border:1px solid #e1e7ef;border-radius:6px;white-space:normal}.workspace .btn{font-size:11px;font-weight:600;padding:0 15px;height:40px;border-radius:6px;box-shadow:none!important;background:var(--workspace-accent);border:1px solid transparent;transition:background .15s,border-color .15s;gap:8px;line-height:1.25;text-decoration:none;color:#fff}.workspace .btn:hover{transform:none;filter:none;background:#1f56cf}.workspace .btn.primary,.workspace .btn.ok{background:var(--workspace-accent);color:#fff;border-color:var(--workspace-accent)}.workspace .btn.secondary,.workspace .btn-outline,.workspace .btn.import,.workspace .btn.export,.workspace .btn.print{background:#fff;color:#52647b;border:1px solid #dfe5ee}.workspace .btn.secondary:hover,.workspace .btn-outline:hover{background:#f6f9fd;border-color:#bacbe4}.workspace .btn.danger,.workspace .btn-danger{background:#fff3f2;color:#b74d47;border-color:#f1d7d5}.workspace .btn:disabled{opacity:.4;cursor:not-allowed}.workspace .btn.sm,.workspace .btn.small,.workspace .btn-sm{height:35px;font-size:10px;padding:0 11px}.workspace .linkBtn{height:26px;border-radius:4px;border:1px solid #dfe7f1;background:#fff;font-size:10px;color:#5276a7;padding:3px 8px}.workspace .dropdownMenu{border:1px solid #e1e7f0;border-radius:8px;box-shadow:0 12px 40px #172c4b18;min-width:205px;padding:5px;z-index:250}.workspace .menuItem{font-size:11px;font-weight:500;min-height:37px;border-radius:4px;color:#4f627c;background:#fff}.workspace .menuItem:hover{background:#f1f5fc}.workspace .hint,.workspace .small,.workspace .muted,.workspace .secSub{color:#8793a5;font-size:11px;line-height:1.55}.workspace .warn,.workspace .notice{padding:13px 15px;border-radius:6px;font-size:11px;line-height:1.6;box-shadow:none}.workspace .warn{border:1px solid #f0dcac;border-left:3px solid #dea947;background:#fffbf1;color:#8d6c2e}.workspace .notice{background:#f5f8fd;border:1px solid #e0e8f4;color:#59708d}.workspace .okbox{font-size:11px;padding:12px;border-radius:6px}.workspace table{border-collapse:separate;border-spacing:0;border:1px solid #e2e8f1;border-radius:6px;font-size:11px;font-family:inherit!important;overflow:hidden;background:#fff}.workspace th,.workspace .tbl th{font-size:9px!important;line-height:1.5!important;font-weight:650;background:#f6f8fb;color:#758298;padding:12px 10px!important;border:0;border-bottom:1px solid #e1e7f0;vertical-align:middle;letter-spacing:.1px}.workspace td,.workspace .tbl td{font-size:11px;line-height:1.5;padding:11px 10px;border:0;border-bottom:1px solid #edf1f6;color:#465971;font-family:inherit!important}.workspace tr:last-child>td{border-bottom:0}.workspace tfoot td{background:#f7f9fc;font-weight:600}.workspace table input,.workspace table select{height:36px;font-size:11px;padding:0 8px}.workspace .tbl th{position:sticky;z-index:1;top:0}.workspace #sizesTable th.col-x{font-size:0!important}.workspace #sizesTable th.col-x:after{content:' ';font-size:10px}.workspace #sizesTable{min-width:540px}.workspace .table-scroll{overflow:auto;max-width:100%}.workspace .bottomActions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.workspace .bottomActionsLeft,.workspace .bottomActionsRight{gap:7px;flex-wrap:wrap}.workspace .bottomActionsRight{margin-left:0}.workspace .docsMenu{border-radius:8px;box-shadow:0 10px 36px #18304b26;z-index:500}.workspace .docsItem{font-size:11px;padding:10px 13px;color:#50617a}.workspace .productGrid{padding:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.workspace .productTile{border:1px solid #e2e8f1;border-radius:8px;padding:14px;background:#fff;gap:9px;overflow:hidden;min-width:0}.workspace .productTile img{object-fit:contain;height:100px;background:#f8fafc;border-radius:5px;padding:7px}.workspace .productTile .pName,.workspace .productTitle{font-size:11px;line-height:1.5;font-weight:600;color:#3d5069}.workspace .productTile.selected{box-shadow:0 0 0 2px #bed3fa;border-color:#6c9ce8;background:#f9fbff}.workspace .productTile:hover{transform:none;box-shadow:0 3px 15px #24395812;border-color:#b0c8e8}.workspace .pTag,.workspace .productTile .pSoon{font-size:8px;border-radius:3px;padding:3px 6px;max-width:100%}.workspace .productTile.disabled{opacity:.5}.workspace .step-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:22px}.selected-system{font-size:10px;color:#8896a9}.selected-system b{color:#47678e;margin:0 7px}.workspace #calcPanel .hd,.workspace #cutPanel .hd{flex-direction:row;align-items:center}.workspace .box-stepper button,.workspace .box-arrows button,.workspace .box-selector button{min-width:30px;width:30px;height:30px;border-radius:4px}.workspace .dirSwitch button{font-size:10px!important;border-radius:5px!important;min-width:34px;min-height:34px}.workspace #workTable,.workspace #calcTable,.workspace #cutTable{min-width:680px}.workspace #step-work>table,.workspace #step-sizes>table{display:table}.workspace .sumCard:empty{display:none}
/* Optimizer: deliberate single-column reading order, all cards use the same system. */
.workspace.page-optimizer .wrap{max-width:1500px;display:flex;flex-direction:column;gap:18px}.workspace.page-optimizer .wrap>section,.workspace.page-optimizer .wrap>details{width:100%;min-width:0;margin:0!important;padding:22px}.workspace .secHeader{align-items:flex-start;gap:16px}.workspace .secTitle{font-size:16px;font-weight:600;letter-spacing:-.25px;color:#2d405a}.workspace .secSub{margin-top:5px;max-width:700px}.workspace .subBlock{padding:18px;border-radius:7px;background:#f8fafd;border-color:#e6ecf4}.workspace .seg label{font-size:11px;font-weight:500;border-radius:5px;padding:7px 12px;background:#fff;border-color:#e0e7f1}.workspace .seg input{margin-right:3px}.workspace details.k-details{padding:0!important}.workspace details.k-details>summary{padding:19px 22px}.workspace details.k-details>.detailsBody{padding:21px 22px}.workspace details.k-details[open]>summary{border-bottom:1px solid #e6ecf3}.workspace .chev{font-size:10px;color:#98a6b8}.workspace #warehouseCard{scroll-margin-top:120px}.workspace #secReports{scroll-margin-top:120px}.workspace .workspace-intro{margin-bottom:23px}.workspace.page-optimizer .notice{background:#f6f9fd!important;border-color:#e2eaf5!important}.workspace #warehouseCard .secTitle{color:#2d405a}.workspace .invTabs{gap:8px;border-color:#e6ecf4}.workspace .invTab{border-radius:5px;font-size:11px;padding:8px 14px;color:#7890ad;border-color:#e0e7f1}.workspace .invTab.active{background:#edf4ff;border-color:#d2e2ff;color:#2c66bb}.workspace .tableWrap{border-color:#e0e7f0;border-radius:6px}.workspace #tblWhNames{font-size:11px}.workspace .status-badge,.workspace .statusBadge{font-size:9px;font-weight:650;border-radius:4px;padding:4px 7px;line-height:1.4}.workspace .st-available{background:#edf7f0;color:#548467}.workspace .st-reserved{background:#fff6e7;color:#ad8339}.workspace .st-consumed{background:#f0f2f6;color:#8591a3}
/* Orders and dialogs */
.workspace .modal{background:rgba(13,27,48,.38);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.workspace .modalBackdrop{background:transparent}.workspace .modalCard{border-radius:10px;border:1px solid #dce4ef;box-shadow:0 28px 90px #0b203b2e;max-height:calc(100dvh - 40px);overflow:auto;background:#fff;color:#263b55;margin:0;width:min(1000px,100%)}.workspace .modalHead{padding:20px 23px;background:#fff;border-bottom:1px solid #e4eaf2}.workspace .modalTitle{font-size:19px;font-weight:600;letter-spacing:-.3px;color:#23384f}.workspace .modalSub{font-size:10px;color:#8a98ab;margin-top:5px}.workspace .modalFoot{padding:13px 22px;background:#fafbfd;border-top:1px solid #e5ebf3}.workspace #ordersModal .modalCard{width:min(1080px,100%);margin:0;max-height:calc(100dvh - 40px);padding:0}.workspace #ordersModal .ordersTools{padding:15px 22px;gap:11px;background:#f8fafd}.workspace #ordersModal .ordersTools input{flex:1;min-width:180px}.workspace #ordersModal .ordersTools select{width:210px;min-width:160px}.workspace #ordersList{padding:18px 22px;gap:11px;background:#f5f7fb}.workspace .orderCard{padding:18px 20px;border-radius:7px;border-color:#e1e8f2;box-shadow:none}.workspace .orderCard:hover{border-color:#c2d4ec}.workspace .orderNo{font-size:14px;color:#38516f;font-weight:650}.workspace .orderClient{font-size:11px;color:#74859b;font-weight:500;margin-top:5px}.workspace .orderMeta,.workspace .orderSmall{font-size:10px;color:#95a0b1}.workspace .orderActions{gap:7px}.workspace .orderTodo{background:#f8fafd;border:1px solid #e6edf5;border-radius:5px;font-size:10px}.workspace .orderFooter{border-top:1px solid #eff3f7;padding-top:12px;margin-top:12px;gap:10px}.workspace .orderToggleBtn{background:#fff;color:#8292a8;border:1px solid #e2e8f0;height:27px!important;font-size:9px!important}.workspace #ordersInfo{font-size:9px;line-height:1.7;color:#8a99ac}.workspace .k-modal{background:rgba(13,27,48,.4);backdrop-filter:blur(3px);z-index:100050}.workspace .k-modal__backdrop{background:transparent}.workspace .k-modal__panel{border-radius:10px;border:1px solid #dce4ef;box-shadow:0 28px 90px #0b203b2e;padding:26px}.workspace .k-modal__title{font-size:18px;font-weight:600;color:#263b55}.workspace .k-modal__msg{font-size:12px;color:#76869c;line-height:1.8;margin:14px 0 24px}.workspace .k-modal__actions{gap:8px}.workspace #exportPriceModal{background:rgba(13,27,48,.4);backdrop-filter:blur(3px)}.workspace #exportPriceModal .modalCard{padding:25px;border-radius:10px}.workspace #exportPriceModal .priceGrid{margin:18px 0;gap:12px}.workspace #exportPriceModal .priceGrid .btn{min-height:86px;height:auto;display:flex;flex-direction:column;background:#f3f7ff;color:#3564ad;border:1px solid #dbe6fa}.workspace #exportPriceModal .priceGrid .btn:hover{background:#e8f0ff}.workspace #exportPriceModal .priceValue{font-size:22px}.workspace #exportPriceModal .priceLabel{font-size:11px}.workspace #authOverlay{background:#f2f5f9f5;backdrop-filter:blur(8px);z-index:100100}.workspace #authOverlay .loginCard{border:1px solid #dde5ef;border-radius:12px;box-shadow:0 20px 70px #1c365b15;padding:32px;max-width:410px}.workspace #authOverlay h1{font-size:21px;font-weight:600;margin:0 0 4px}.workspace #authOverlay .row{gap:15px;margin-bottom:26px!important}.workspace #authOverlay .hint{font-size:10px;color:#8d9baf}.workspace #authOverlay label{margin-top:17px}.workspace #authOverlay .btn{margin-top:24px;height:44px}.workspace #authOverlay .err{font-size:11px;line-height:1.6;min-height:20px;margin:14px 0 9px;color:#bd5e56}.workspace.auth-locked .workspace-sidebar{pointer-events:none}.workspace #roleBadge{display:none!important}
/* Settings */
.workspace.page-settings .wrap{max-width:1400px;margin:0 auto}.workspace.page-settings .card{padding:27px}.workspace.page-settings .title{align-items:flex-start;gap:18px}.workspace.page-settings h1{font-size:22px;letter-spacing:-.5px;font-weight:600}.workspace.page-settings .actions{gap:9px}.workspace.page-settings #tblSystems{margin-top:22px}.workspace.page-settings td input[type=text]{font-size:11px;min-width:140px}.workspace.page-settings .footer{padding:18px 0 0;border-top:1px solid #edf1f6;margin-top:20px}.workspace.page-settings .footer .muted{font-size:10px}.workspace.page-settings .ok{font-size:10px;color:#42866a}
/* Cutting station: preserve the oversized operating controls. */
.workspace.page-cutting .wrap{padding:27px 30px 48px;max-width:none}.workspace.page-cutting .k-card{padding:22px;margin-top:18px!important}.workspace.page-cutting #jobsView>.k-row>div:first-child>div:first-child{font-size:16px!important;color:#344b69}.workspace.page-cutting #jobsView>.k-row .small{font-size:10px;max-width:700px}.workspace.page-cutting .jobCard,.workspace.page-cutting .profileCard{border-radius:8px;border-width:3px;padding:20px 23px}.workspace.page-cutting .jobCard.st-open{border-color:#dfe7f2}.workspace.page-cutting .jobCard:hover,.workspace.page-cutting .profileCard:hover{box-shadow:0 5px 20px #253a5210}.workspace.page-cutting .jobCard .jobTitle{font-size:28px;color:#2b4464}.workspace.page-cutting .jobCard .small{font-size:19px;color:#8294aa}.workspace.page-cutting .profileCard .line1{font-size:28px;color:#2a4667}.workspace.page-cutting .profileCard .line2{font-size:22px;color:#8395ab}.workspace.page-cutting .cutCard{border-radius:8px;padding:23px;border-width:3px}.workspace.page-cutting .cutSize{color:#25446c}.workspace.page-cutting .cutOrder{color:#6d809c}.workspace.page-cutting .cutMeta{font-size:17px;color:#93a0b2}.workspace.page-cutting .rodTop{padding-bottom:20px;border-bottom:1px solid #e6ecf3;margin-bottom:20px}.workspace.page-cutting #rodView .navBtn{height:80px!important;min-width:88px;font-size:36px!important}.workspace.page-cutting #btnBackProfiles{height:80px!important;font-size:24px!important}.workspace.page-cutting #rodView .tbl th,.workspace.page-cutting #rodView .tbl td{font-size:32px!important;padding:14px 16px!important}.workspace.page-cutting .bar{height:40px;border-color:#7287a4;border-radius:5px}.workspace.page-cutting .bar .seg{font-size:15px;border-color:#a4b4ca}.workspace.page-cutting #modalHost .modalOverlay{background:rgba(13,27,48,.58);backdrop-filter:blur(4px)}.workspace.page-cutting #modalHost .modalCard{background:#fff;color:#2c4260;border-color:#dce5f1;max-height:95dvh}.workspace.page-cutting #modalHost .modalTitle{font-size:26px}.workspace.page-cutting #modalHost .modalText{font-size:22px;color:#6b7d96}.workspace.page-cutting #modalHost .modalSub{font-size:18px;color:#8d9bae}.workspace.page-cutting #modalHost .keyInput{background:#f3f7fd;border-color:#cbdaf0;color:#2e558a}.workspace.page-cutting #modalHost .keyBtn,.workspace.page-cutting #modalHost .locBtn{background:#f6f9fd;border-color:#d9e3f0;color:#2d4e78;border-radius:8px}.workspace.page-cutting #modalHost .keyBtn:active,.workspace.page-cutting #modalHost .locBtn:active{background:#e2eeff}
/* Report entry links use only implemented destinations. */
.report-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.report-card{display:block;padding:28px;background:#fff;border:1px solid #e2e8f2;border-radius:9px;color:#405875!important;box-shadow:var(--shadow)}.report-card:hover{border-color:#a7c5ec}.report-number{font-size:11px;color:#90a8c9}.report-card h3{font-size:18px;letter-spacing:-.3px;font-weight:600;margin:25px 0 10px}.report-card p{font-size:12px;color:#8b99ac;line-height:1.7;min-height:42px}.report-card b{display:block;margin-top:24px;font-size:11px;color:#3f78c5;font-weight:600}
/* Sign in */
body.page-login{margin:0;background:#fff;color:#1b2e49;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:#122339;color:#fff;padding:42px 55px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:450px;height:600px;right:-240px;top:170px;border:1px solid #ffffff08;transform:rotate(-26deg);box-shadow:0 0 0 40px #ffffff02,0 0 0 80px #ffffff02,0 0 0 120px #ffffff02;pointer-events:none}.login-brand{display:flex;align-items:center;gap:15px;color:#fff;text-decoration:none;position:relative;z-index:1}.login-brand img{width:50px;height:50px;object-fit:contain;background:#fff;padding:5px;border-radius:9px}.login-brand>span{font-size:19px;letter-spacing:1px;font-weight:700}.login-brand b{color:#85b3f8;font-size:14px;font-weight:500}.login-story-body{margin:auto 0;position:relative;z-index:1;padding:80px 0}.login-story .eyebrow{font-size:9px;color:#6f99d2;letter-spacing:1.8px}.login-story h1{font-weight:450;font-size:42px;letter-spacing:-1.4px;line-height:1.25;margin:23px 0}.login-story-body>p{font-size:13px;color:#8fa3be;line-height:1.9;max-width:310px}.login-flow{display:flex;gap:28px;margin-top:45px}.login-flow>span{color:#41638c;font-size:9px;display:grid;gap:8px}.login-flow b{font-size:10px;font-weight:500;color:#9aadc6;letter-spacing:.15px}.login-story-footer{color:#4c6687;font-size:9px;letter-spacing:.3px}.login-form-area{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:65px 45px;position:relative;min-width:0}.page-login .loginCard{width:100%;max-width:350px;background:#fff;box-shadow:none;border:0;padding:0}.page-login .eyebrow{color:#a0aabb;font-size:9px;letter-spacing:1.4px;margin-bottom:12px}.page-login h2{font-size:27px;font-weight:600;letter-spacing:-.75px;margin:0;color:#213550}.login-description{color:#9aa5b4;font-size:12px;line-height:1.7;margin:12px 0 35px}.page-login label{font-size:11px;color:#6d7e95;font-weight:600;margin:20px 0 8px}.page-login input{height:47px;border:1px solid #dfe6f0;border-radius:6px;font-size:12px;color:#2d4567;padding:0 13px}.page-login input::placeholder{color:#bcc4d0}.page-login .btn{height:46px;border-radius:6px;background:#2864dd;border:1px solid #2864dd;font-size:11px;font-weight:600;box-shadow:none;padding:0 17px}.page-login .login-submit{width:100%;margin-top:29px;justify-content:space-between;display:flex}.page-login .login-submit:disabled{opacity:.5}.page-login .err{font-size:11px;line-height:1.6;color:#b55858;min-height:22px;margin-top:15px}.login-help{border-top:1px solid #edf0f5;padding-top:23px;margin-top:15px;font-size:10px;line-height:1.9;color:#9aa7b8}.login-help a{color:#5e7ea9;text-decoration:none}.login-version{position:absolute;bottom:24px;left:45px;right:45px;display:flex;justify-content:space-between;color:#b5becc;font-size:8px;letter-spacing:.6px}.page-login .notice{font-size:11px;padding:16px;margin:20px 0;background:#f4f8ff;border:1px solid #dce8fa;border-radius:6px}.page-login .notice p{margin-top:0}.page-login .notice .btn{height:34px;margin-right:7px;font-size:10px}.page-login .notice .secondary{background:#fff;color:#607899;border-color:#dae4f2}
@media(min-width:1800px){.workspace.page-calculator .wrap{grid-template-columns:minmax(0,1fr) 324px}.workspace .stepper .chip{font-size:11px;padding:10px}.workspace .panel .bd{padding:28px}.workspace .productTile img{height:140px}.workspace .workspace-header{padding-left:40px;padding-right:40px}}
@media(max-width:1250px){:root{--workspace-sidebar:210px}.workspace-sidebar{padding-left:12px;padding-right:12px}.workspace-brand{gap:9px;padding-left:3px}.workspace-brand strong{font-size:13px}.workspace-brand small{font-size:9px}.workspace-logo{width:38px;height:38px}.workspace-nav-item{font-size:11px;padding-left:10px;gap:9px}.workspace .wrap{padding:23px 22px 40px}.workspace .workspace-header{padding-left:22px;padding-right:22px}.workspace.page-calculator .wrap{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.workspace .panel .bd{padding:22px 18px}.workspace .panel .hd{padding:18px}.workspace .chip{font-size:9px;padding:8px 5px;gap:4px}.workspace .chip:before{display:none}.workspace .summary .bd{padding:16px}.workspace .summary .hd{padding:16px}.workspace .grid2{gap:16px 14px}.workspace .productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .workspace-breadcrumb span{display:none}.workspace .workspace-header h1{font-size:21px}.workspace .workspace-page-actions .btn{font-size:10px;padding:0 11px;height:37px}.report-links{gap:15px}.report-card{padding:23px}}
@media(max-width:1050px){.workspace.page-calculator .wrap{grid-template-columns:minmax(0,1fr)}.workspace .summary{position:static!important}.workspace .summary .sumGrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.workspace .summary .sumCard{grid-column:auto!important}.workspace .summary .sumCard:has(#sumEur){grid-column:span 2!important}.workspace .summary .sumCard:has(#sumBgn){display:none}.workspace .summary .sumCard #sumEur{font-size:25px}.workspace .summary .sumCard:has(#sumEurDist),.workspace .summary .sumCard:has(#sumBgnDist){grid-column:span 1!important}.workspace .summary .sumRow{padding-bottom:12px}.workspace .summary .hd{flex-direction:row;justify-content:space-between;align-items:center}.workspace .summaryOfferNo{width:auto;max-width:220px}.workspace .summary .divider,.workspace .summary .hint{display:none}.workspace .summary .sumCard small{font-size:8px}.workspace .productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.login-story{padding:35px}.login-story h1{font-size:35px}.login-flow{gap:20px}.workspace .report-links{grid-template-columns:1fr}.workspace .report-card p{min-height:0}.workspace .report-card h3{margin-top:15px}.workspace .report-card b{margin-top:15px}}
@media(max-width:800px){:root{--workspace-sidebar:0px;--workspace-header:82px}body.workspace{padding-left:0}.workspace-sidebar{width:235px;transform:translateX(-100%);transition:transform .2s ease;z-index:220}.workspace-nav-open .workspace-sidebar{transform:translateX(0)}.workspace-nav-open .workspace-nav-backdrop{display:block;position:fixed;inset:0;z-index:210;background:#0e1d3380;border:0}.workspace .workspace-menu-toggle{display:inline-flex!important}.workspace .workspace-header{left:0;padding:17px 18px;gap:12px;min-height:82px}.workspace .workspace-breadcrumb{font-size:7px;margin-bottom:4px}.workspace .workspace-header h1{font-size:19px}.workspace .workspace-header-actions{gap:5px}.workspace .workspace-page-actions{gap:5px}.workspace .workspace-page-actions .btn{height:34px;font-size:9px;padding:0 9px}.workspace #btnSaveOrderFirebase{max-width:106px;white-space:normal}.workspace .wrap{padding:21px 18px 40px}.workspace .summary .sumGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace .summary .sumCard:has(#sumEur){grid-column:span 2!important}.workspace .summary .sumCard:has(#sumEurDist),.workspace .summary .sumCard:has(#sumBgnDist){grid-column:span 2!important}.workspace .productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace.page-cutting .wrap{padding:21px 18px 40px}.workspace.page-optimizer .wrap>section{padding:20px}.workspace .step-intro h3,.workspace-intro h2{font-size:21px}.login-layout{grid-template-columns:.8fr 1fr}.login-story{padding:28px}.login-story h1{font-size:30px}.login-story-body>p{font-size:11px}.login-flow{gap:14px}.login-flow b{font-size:9px}.login-form-area{padding:45px 28px}.login-brand>span{font-size:15px}.login-brand img{width:40px;height:40px}.login-version{left:28px;right:28px}}
@media(max-width:600px){:root{--workspace-header:120px}.workspace .workspace-header{flex-wrap:wrap;align-content:center;gap:11px;padding:13px 16px}.workspace .workspace-heading{width:100%;gap:9px}.workspace .workspace-header h1{font-size:18px}.workspace .workspace-breadcrumb{font-size:7px}.workspace .workspace-header-actions{width:100%;padding-left:47px}.workspace .workspace-page-actions{width:100%}.workspace .workspace-page-actions .btn{font-size:9px;height:32px;padding:0 10px}.workspace #btnSaveOrderFirebase{max-width:none;white-space:nowrap;margin-left:auto}.workspace .workspace-header:not(:has(.workspace-page-actions)){min-height:83px}.workspace.page-cutting,.workspace.page-settings,.workspace.page-reports{padding-top:83px}.workspace .wrap,.workspace.page-cutting .wrap{padding:17px 12px 30px}.workspace.page-calculator .wrap{gap:16px}.workspace .panel .hd{padding:16px;gap:14px}.workspace .panel .bd{padding:22px 16px}.workspace .panel .hd h2{font-size:11px}.workspace .stepper{gap:4px}.workspace .chip{font-size:8px;padding:8px 4px;min-height:34px;white-space:normal;text-align:center}.workspace .step-intro{margin-bottom:22px}.workspace .step-intro h3{font-size:21px}.workspace .step-intro p{font-size:10px}.workspace .grid2{grid-template-columns:1fr;gap:17px}.workspace label{font-size:10px}.workspace .productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace .productTile{padding:11px}.workspace .productTile img{height:90px}.workspace .productTile .pName{font-size:10px}.workspace .summary .sumGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .summary .sumCard:has(#sumEur){grid-column:span 2!important}.workspace .summary .sumCard:has(#sumEurDist),.workspace .summary .sumCard:has(#sumBgnDist){grid-column:span 1!important}.workspace .summary .sumCard small{font-size:9px}.workspace .summary .hd{gap:9px}.workspace .summary .offerNoInput{max-width:160px}.workspace .summary .sumCard #sumEur{font-size:30px}.workspace #step-client>.row>div{min-width:0!important}.workspace .btn{font-size:10px;padding:0 13px}.workspace .bottomActions{gap:11px}.workspace .bottomActionsLeft,.workspace .bottomActionsRight{gap:6px}.workspace .bottomActions .btn{padding:0 10px;font-size:9px;height:35px}.workspace .modal{padding:10px}.workspace .modalCard{max-height:calc(100dvh - 20px)}.workspace .modalHead{padding:16px;gap:12px}.workspace .modalTitle{font-size:17px}.workspace .modalActions{gap:6px}.workspace .modalActions .btn{font-size:9px;height:33px;padding:0 9px}.workspace #ordersModal .modalCard{max-height:calc(100dvh - 20px)}.workspace #ordersModal .modalHead{flex-wrap:wrap}.workspace #ordersModal .ordersTools{padding:12px;gap:9px}.workspace #ordersModal .ordersTools input{min-width:0;width:100%;flex-basis:100%}.workspace #ordersModal .ordersTools select{flex:1;width:auto;min-width:0}.workspace #ordersList{padding:12px}.workspace .orderCard{padding:14px}.workspace .orderTop{flex-wrap:wrap}.workspace .orderTopRight{flex-direction:row;align-items:center;gap:7px}.workspace .orderActions .btn{height:32px;font-size:8px;padding:0 9px}.workspace .modalFoot{padding:12px}.workspace .k-modal__panel{padding:22px}.workspace .workspace-intro{padding:4px 4px 0}.workspace.page-optimizer .wrap{gap:13px}.workspace.page-optimizer .wrap>section{padding:17px}.workspace .secTitle{font-size:14px}.workspace .secSub{font-size:10px}.workspace .k-row>div{min-width:0!important;max-width:100%}.workspace .subBlock{padding:12px}.workspace details.k-details>summary{padding:17px}.workspace details.k-details>.detailsBody{padding:15px}.workspace .secHeader .actionBar{width:100%;justify-content:flex-start}.workspace .notice{font-size:10px;padding:11px}.workspace.page-settings .card{padding:19px 15px}.workspace.page-settings h1{font-size:21px}.workspace.page-settings .actions{width:100%;justify-content:flex-end}.workspace.page-settings .footer{flex-direction:column;gap:10px}.workspace.page-cutting .k-card{padding:16px}.workspace.page-cutting .jobCard,.workspace.page-cutting .profileCard{padding:17px}.workspace.page-cutting .jobCard .jobTitle{font-size:23px}.workspace.page-cutting .jobCard .small{font-size:16px}.workspace.page-cutting .profileCard .line1{font-size:24px}.workspace.page-cutting .profileCard .line2{font-size:18px}.workspace.page-cutting .cutSize,.workspace.page-cutting .cutOrder,.workspace.page-cutting .cutTapi,.workspace.page-cutting .cutNote{font-size:31px}.workspace.page-cutting .cutCard{padding:17px}.workspace.page-cutting .rodTopRight{width:100%;justify-content:stretch}.workspace.page-cutting #btnBackProfiles{height:54px!important;font-size:18px!important;width:100%}.workspace.page-cutting #rodView .navBtn{height:68px!important;min-width:78px}.workspace.page-cutting .rodTopLeft{max-width:100%;overflow-wrap:anywhere}.workspace.page-cutting #modalHost .modalTitle{font-size:22px}.workspace.page-cutting #modalHost .modalText{font-size:19px}.workspace.page-cutting #modalHost .locGrid{grid-template-columns:repeat(2,1fr)}.workspace.page-cutting #modalHost .keyBtn{height:68px;font-size:30px}.workspace.page-cutting #modalHost .locBtn{height:65px;font-size:25px}.workspace.page-cutting #modalHost .keyInput{height:72px;font-size:42px}.login-layout{display:block}.login-story{padding:25px 27px 30px;min-height:230px}.login-story-body{padding:36px 0 0}.login-story h1{font-size:29px;margin:12px 0}.login-story-body>p,.login-story-footer,.login-flow{display:none}.login-story .eyebrow{font-size:7px}.login-brand img{width:37px;height:37px}.login-brand>span{font-size:14px}.login-form-area{padding:40px 28px 65px}.page-login h2{font-size:25px}.login-description{font-size:11px;margin-bottom:25px}.login-version{bottom:16px}.page-login .login-help{padding-top:17px}.workspace #authOverlay .loginCard{padding:27px}.workspace #authOverlay h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{body.workspace{padding:0!important;background:#fff!important}.workspace-sidebar,.workspace-header,.workspace-nav-backdrop,.workspace-page-actions,.workspace-intro{display:none!important}.workspace .wrap{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.workspace .summary{position:static!important}.workspace .panel,.workspace .k-card{box-shadow:none!important;border-color:#ccc!important;break-inside:avoid}.workspace button,.workspace .stepper,.workspace .bottomActions{display:none!important}.workspace table{font-size:9px}.workspace .panel .hd,.workspace .panel .bd{padding:10px}.workspace .modal{position:static!important;display:block!important;padding:0!important;background:#fff!important;backdrop-filter:none!important}.workspace .modalCard{max-height:none!important;width:100%!important;box-shadow:none!important;overflow:visible!important}}

/* Dedicated views share one stateful optimizer workspace. */
body.workspace-view-warehouse .wrap > :not(#warehouseCard),body.workspace-view-reports .wrap > :not(#secReports){display:none!important}
body.workspace-view-warehouse #workspacePageActions,body.workspace-view-reports #workspacePageActions{display:none!important}
body.workspace-view-warehouse #warehouseCard,body.workspace-view-reports #secReports{margin:0;width:100%}

/* Warehouse: nomenclature on the left, one stock surface in the center. */
.workspace .warehouse-body>.secHeader{margin-bottom:18px}.workspace .warehouse-workbench{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px;align-items:start}.workspace .warehouse-nomenclature{background:#f7f9fc;border:1px solid #e2e9f3;border-radius:7px;position:sticky;top:122px;min-width:0;overflow:hidden}.workspace .warehouse-tree-heading{padding:18px 17px 14px;border-bottom:1px solid #e5ebf4}.workspace .warehouse-tree-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:5px}.workspace .warehouse-tree-heading h3{font-size:14px;font-weight:600;color:#3b5372;margin:0}.workspace #warehouseNomenclature{padding:9px 8px 12px;max-height:calc(100dvh - 275px);overflow:auto;min-height:160px}.workspace .nomenclature-all,.workspace .nomenclature-group>summary,.workspace .nomenclature-leaf{font-family:inherit;font-size:10px;color:#7286a3;border:0;border-radius:4px;box-shadow:none;background:transparent;display:block;width:100%;text-align:left;cursor:pointer;padding:9px 10px;line-height:1.45}.workspace .nomenclature-all{font-weight:600;color:#4c6c94;margin-bottom:5px}.workspace .nomenclature-group>summary{display:flex;align-items:center;gap:7px;font-weight:600;color:#5a7499;list-style:none;padding:9px 7px}.workspace .nomenclature-group>summary::-webkit-details-marker{display:none}.workspace .nomenclature-group>summary:after{content:'›';font-size:14px;color:#a3b3ca;margin-left:auto;transform:rotate(0deg)}.workspace .nomenclature-group[open]>summary:after{transform:rotate(90deg)}.workspace .nomenclature-folder{display:flex;width:16px;height:16px;color:#a2b4cc;flex:none}.workspace .nomenclature-folder svg{width:16px;height:16px}.workspace .nomenclature-leaves{margin:2px 0 7px 15px;border-left:1px solid #dde6f3;padding-left:6px}.workspace .nomenclature-leaf{padding:8px 9px;font-size:9px;color:#7d8fa9;margin:1px 0}.workspace .nomenclature-leaf>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace .nomenclature-leaf>small{display:block;font-size:8px;color:#a6b2c4;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace .nomenclature-all:hover,.workspace .nomenclature-group>summary:hover,.workspace .nomenclature-leaf:hover{background:#eaf0f9;color:#446b9e}.workspace .nomenclature-all.selected,.workspace .nomenclature-group>summary.selected,.workspace .nomenclature-leaf.selected{background:#e5efff;color:#2b63b3}.workspace .warehouse-tree-empty{font-size:10px;color:#9aa8bc;line-height:1.7;padding:9px 10px;margin:0}.workspace .warehouse-stock-column{min-width:0}.workspace .warehouse-stock-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:17px}.workspace .warehouse-stock-heading h3{font-size:17px;font-weight:600;letter-spacing:-.3px;color:#2e486a;margin:0}.workspace .warehouse-stock-heading>span{font-size:9px;color:#9ca9bc}.workspace .warehouse-filters{background:#f8fafd;border:1px solid #e7edf5;border-radius:6px;padding:15px 16px;margin-bottom:18px}.workspace .warehouse-filters .k-row{gap:14px 12px}.workspace .warehouse-filters .k-row>div{flex:1 1 160px}.workspace .warehouse-filters .k-row>div:has(#whShowConsumed){flex:1 1 180px;padding-left:0!important;padding-top:20px}.workspace .warehouse-filters .k-row>div:has(#whOnlyNeeded){flex-basis:160px}.workspace .warehouse-filters input,.workspace .warehouse-filters select{width:100%;max-width:none!important;height:37px;font-size:10px}.workspace .warehouse-filters .small{font-size:9px}.workspace .warehouse-stock-table{min-width:0}.workspace .warehouse-stock-table>div:first-child{border-radius:6px}.workspace .warehouse-stock-table #tblWh{min-width:850px}.workspace .warehouse-stock-table #whHint{font-size:9px;padding-top:4px;color:#9aa8bc}.workspace .warehouse-secondary-actions{display:grid;gap:10px;margin-top:24px}.workspace .warehouse-utility{border:1px solid #e3eaf3;border-radius:6px;background:#fff;min-width:0}.workspace .warehouse-utility>summary{font-size:11px;font-weight:600;color:#6c819f;cursor:pointer;padding:13px 15px;list-style:none;display:flex;align-items:center;justify-content:space-between}.workspace .warehouse-utility>summary::-webkit-details-marker{display:none}.workspace .warehouse-utility>summary:after{content:'+';font-size:17px;font-weight:400;color:#94a8c4}.workspace .warehouse-utility[open]>summary:after{content:'−'}.workspace .warehouse-utility[open]>summary{border-bottom:1px solid #edf1f7}.workspace .warehouse-utility-body{padding:17px;min-width:0}.workspace .warehouse-utility-body .k-row{gap:12px}.workspace .warehouse-utility-body .small{font-size:9px}.workspace .warehouse-utility #whNamesFilter{height:36px;font-size:10px}.workspace .warehouse-utility #tblWhNames{border-radius:4px}.workspace .warehouse-utility #whNamesHint{font-size:9px;color:#9ba9bc}
@media(max-width:1250px){.workspace .warehouse-workbench{grid-template-columns:190px minmax(0,1fr);gap:17px}.workspace .warehouse-stock-heading>span{display:none}.workspace .warehouse-filters{padding:13px}.workspace .warehouse-filters .k-row>div{flex-basis:135px}.workspace .warehouse-filters .k-row>div:has(#whShowConsumed){flex-basis:165px}.workspace .warehouse-tree-heading{padding:15px 13px 12px}.workspace .nomenclature-group>summary{font-size:9px}}
@media(max-width:900px){.workspace .warehouse-workbench{grid-template-columns:175px minmax(0,1fr);gap:15px}.workspace .warehouse-filters .k-row>div{flex-basis:140px}.workspace .warehouse-nomenclature{top:105px}.workspace #warehouseNomenclature{max-height:calc(100dvh - 230px)}}
@media(max-width:650px){.workspace .warehouse-workbench{grid-template-columns:minmax(0,1fr);gap:17px}.workspace .warehouse-nomenclature{position:static}.workspace .warehouse-tree-heading{display:flex;align-items:center;gap:10px;padding:12px 14px}.workspace .warehouse-tree-heading .eyebrow{margin:0;font-size:7px}.workspace .warehouse-tree-heading h3{font-size:12px}.workspace #warehouseNomenclature{max-height:220px;min-height:0}.workspace .warehouse-tree-empty{font-size:9px}.workspace .nomenclature-leaf{font-size:10px}.workspace .nomenclature-leaf>small{font-size:8px}.workspace .warehouse-filters .k-row>div{flex-basis:calc(50% - 6px)}.workspace .warehouse-filters .k-row>div:first-child{flex-basis:100%}.workspace .warehouse-filters .k-row>div:has(#whShowConsumed){padding-top:0;flex-basis:100%}.workspace .warehouse-filters .k-row>div:has(#whOnlyNeeded){flex-basis:100%}.workspace .warehouse-stock-heading{margin-bottom:14px}.workspace .warehouse-stock-heading h3{font-size:16px}.workspace .warehouse-utility-body{padding:14px}.workspace .warehouse-body>.secHeader .actionBar{justify-content:flex-end}.workspace .warehouse-body>.secHeader{margin-bottom:15px}}
@media print{.workspace .warehouse-nomenclature,.workspace .warehouse-filters,.workspace .warehouse-secondary-actions{display:none!important}.workspace .warehouse-workbench{display:block}.workspace .warehouse-stock-table #tblWh{min-width:0}}

.workspace #tblWh th:first-child,.workspace #tblWh td:first-child{min-width:170px;max-width:200px;white-space:normal;overflow-wrap:anywhere}
.workspace #tblWh th:nth-last-child(1),.workspace #tblWh td:nth-last-child(1){position:sticky;right:0;background:#fff;min-width:70px;z-index:2}
.workspace #tblWh th:nth-last-child(2),.workspace #tblWh td:nth-last-child(2){position:sticky;right:70px;background:#fff;min-width:70px;z-index:2;box-shadow:-4px 0 8px #102b4306}
.workspace.page-settings .title h2{font-size:24px;margin:6px 0 0;letter-spacing:-.6px}

.workspace #tblWh{overflow:visible!important}
.workspace #tblWh th:nth-last-child(1),.workspace #tblWh td:nth-last-child(1){width:80px;min-width:80px}
.workspace #tblWh th:nth-last-child(2),.workspace #tblWh td:nth-last-child(2){right:80px;width:80px;min-width:80px}

/* Material is shown once under the item name; core quantities fit the central column. */
.workspace #tblWh{table-layout:fixed;width:100%;min-width:745px}
.workspace #tblWh th:first-child,.workspace #tblWh td:first-child{width:150px;min-width:150px;max-width:150px}
.workspace #tblWh th:nth-child(2),.workspace #tblWh td:nth-child(2){width:135px;white-space:normal;overflow-wrap:anywhere}
.workspace #tblWh th:nth-child(3),.workspace #tblWh td:nth-child(3){display:none}
.workspace #tblWh th:nth-child(4),.workspace #tblWh td:nth-child(4){width:65px}
.workspace #tblWh th:nth-child(5),.workspace #tblWh td:nth-child(5){width:80px}
.workspace #tblWh th:nth-child(6),.workspace #tblWh td:nth-child(6){width:65px}
.workspace #tblWh th:nth-child(7),.workspace #tblWh td:nth-child(7){width:90px}
.workspace #tblWh .input{width:100%;min-width:0;max-width:100%!important;padding-left:6px;padding-right:6px}
.workspace #tblWh select.input{padding-right:17px;font-size:10px}
.workspace .warehouse-material-note{display:block;color:#738198;font-size:9px;margin-top:4px}

/* Visible order specifications in Orders and Optimization. */
.workspace .orderDetails{border-radius:5px;background:#f8fafd;border-color:#e6edf5;padding:10px 12px}.workspace .orderDetailRow{font-size:11px;gap:4px 8px;margin:0}.workspace .orderDetailKey{color:#657891;font-weight:600}.workspace .orderDetailVal{color:#263b55}.workspace #fbOrdersWrap .order-tech-cell{min-width:160px;max-width:280px;white-space:normal;overflow-wrap:anywhere}
