/* Photographs and operational views, matched to the SIRIK dark workspace. */
.product-photo{position:relative;display:block;flex:none;width:72px;height:72px;padding:0;border:1px solid #aeb8c4;border-radius:8px;background:#e1e3e6;overflow:hidden;cursor:zoom-in;line-height:1}
.product-photo img{display:block;width:100%;height:100%;object-fit:cover}.product-photo>span{position:absolute;right:3px;bottom:3px;font:18px/1 sans-serif;color:#112438;background:#ffffffc9;border-radius:4px;padding:1px 3px}.product-photo:focus-visible{outline:3px solid #ff9c42;outline-offset:3px}
.reference-product{display:flex;align-items:center;gap:18px;padding-right:0}.reference-product .product-photo{width:110px;height:110px}.reference-product-text{min-width:0}.reference-product-text>b{display:block;font-size:37px;line-height:1.13;letter-spacing:-.6px;font-weight:800;color:#f4f7fd}.reference-product-text>span{display:block;margin-top:6px;font-size:14px;color:#b5c8e0;line-height:1.25;overflow-wrap:anywhere}.reference-product-text .sku{overflow-wrap:anywhere}
.catalog-photo-head,.office-product,.photo-editor-head,.stock-product{display:flex;gap:15px;align-items:center;min-width:0}.catalog-photo-head strong,.office-product>div,.stock-product>div{min-width:0;overflow-wrap:anywhere}.catalog-card>.btn{margin-top:12px;align-self:flex-start}.catalog-card{display:flex;flex-direction:column;align-items:stretch}.catalog-photo-head{min-height:72px}.office-product .product-photo{width:58px;height:58px}.photo-editor-head{margin-bottom:22px}.photo-editor-head .product-photo{width:100px;height:100px}.photo-editor-help{margin:15px 0;line-height:1.6}.photo-zoom{text-align:center}.photo-zoom img{display:block;width:auto;max-width:100%;max-height:62vh;object-fit:contain;margin:0 auto 16px;border-radius:9px;background:#e0e2e5}.photo-zoom p{font-size:22px;font-weight:750}.photo-zoom small{display:block;margin-top:8px;line-height:1.5;color:#b8cbe0}
.work-header{flex-wrap:wrap}.work-nav{flex-wrap:wrap;gap:5px}.work-header .work-nav button{white-space:nowrap;padding-left:12px;padding-right:12px}.work-account{margin-left:auto}.plan-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:24px 0}.plan-filters .field{margin:0;min-width:175px}.plan-filters .btn{min-height:43px}.plan-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.plan-kpis>div{padding:22px;border:1px solid #2e4763;border-radius:12px;background:#12243a}.plan-kpis span{display:block;color:#a7bdd7;font-size:13px}.plan-kpis strong{display:block;margin-top:10px;font-size:39px;line-height:1.1;font-weight:800;color:#f3f7ff}.plan-kpis strong small{font-size:15px;font-weight:500;color:#adc1d9}.plan-green{color:#38df89!important}.plan-orange{color:#ffb15b!important}.plan-red{color:#ff9aab!important}.plan-alerts{display:flex;flex-wrap:wrap;gap:14px 30px;color:#bbcee4;margin:20px 0}.plan-alerts b{color:#fff}.plan-explanation{line-height:1.6;margin-bottom:23px}.plan-job{border:1px solid #304964;border-radius:12px;background:#102137;margin:14px 0;overflow:hidden}.plan-overdue{border-left:4px solid #f47f8e}.plan-job-main{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;align-items:center;gap:22px;background:none;border:0;width:100%;text-align:left;color:#eff5ff;padding:22px;cursor:pointer}.plan-job-main>div:first-child>strong{display:block;font-size:22px;line-height:1.35;margin:6px 0 12px;overflow-wrap:anywhere}.plan-job-main small{color:#9eb7d3;font-size:12px}.plan-job-progress>strong{display:block;font-size:27px}.plan-job-progress>.progress{width:100%;margin-top:9px}.plan-open{font-size:14px;color:#ffb16a}.plan-issue{padding:12px 22px;background:#392c241f;border-top:1px solid #31435b;color:#ffc086;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.plan-view>.note{margin-top:24px}.stock-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-note{line-height:1.6;margin-bottom:25px}.stock-heading,.stock-main{display:grid;grid-template-columns:minmax(0,1fr) 130px 150px 150px;gap:20px;align-items:center}.stock-heading{padding:0 20px 12px;color:#a0b6d1;font-size:12px;text-transform:uppercase;letter-spacing:.7px}.stock-row{border:1px solid #314a66;background:#112339;border-radius:11px;margin-bottom:13px;padding:19px 20px}.stock-check{border-color:#8b6d41}.stock-product strong{font-size:19px;line-height:1.4}.stock-product small{display:block;font-size:12px;line-height:1.4;margin-top:5px}.stock-main>b{font-size:23px;font-variant-numeric:tabular-nums}.stock-main>b:last-child{color:#ffb66b}.stock-row>details{margin-top:14px;border-top:1px solid #293e58;padding-top:12px;color:#aec3df;font-size:13px}.stock-row summary{cursor:pointer}.stock-sources{margin-top:10px}.stock-sources>div{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:center;margin:10px 0;overflow-wrap:anywhere}.stock-sources button{border:0;background:none;padding:4px 0;text-align:left;color:#ffb56e;font-size:13px;cursor:pointer}.stock-sources small{grid-column:2/-1;color:#ffbd81}.stock-shortage{margin-top:12px;font-size:13px;color:#ffd06c}.warehouse-material-link{margin:10px 0 25px}.planning-warehouse-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 30px;border-bottom:1px solid #2b425b}.duplicate-warning{background:#3f2c1c;border:1px solid #a77436;border-radius:9px;padding:17px;margin:0 0 22px;color:#ffe1b7}.duplicate-warning>strong{display:block;font-size:18px}.duplicate-warning>p{font-size:13px;line-height:1.5;margin:8px 0}.duplicate-warning>button{display:block;width:100%;text-align:left;background:#241f1b;border:1px solid #7d613f;color:#ffe3bd;border-radius:6px;padding:10px;margin:7px 0;font-size:13px;line-height:1.4;cursor:pointer}.duplicate-confirm{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:14px;line-height:1.5;cursor:pointer}.duplicate-confirm input{width:20px!important;height:20px!important;flex:none;margin-top:1px;accent-color:#ff942f}
@media(min-width:1101px) and (max-width:1600px){.reference-product{gap:13px}.reference-product .product-photo{width:84px;height:84px}.reference-product-text>b{font-size:29px}.reference-product-text .sku{font-size:15px}.reference-product-text>span{font-size:12px}.work-header .work-nav button{font-size:12px;padding:10px}.work-header .work-brand .brand-word{font-size:25px}}
@media(min-width:1101px) and (max-height:850px){.reference-product .product-photo{width:78px;height:78px}.reference-product-text>b{font-size:27px}.reference-product-text .sku{font-size:14px;margin-top:5px}.reference-product-text>span{font-size:11px;margin-top:3px}}
@media(max-width:1100px){.reference-product .product-photo{width:94px;height:94px}.reference-product-text>b{font-size:29px}.stock-heading,.stock-main{grid-template-columns:minmax(0,1fr) 90px 110px 110px;gap:12px}.stock-main>b{font-size:20px}.stock-product .product-photo{width:58px;height:58px}.plan-kpis{gap:10px}.plan-kpis>div{padding:17px}.plan-kpis strong{font-size:31px}}
@media(max-width:700px){.reference-product{gap:12px;align-items:flex-start}.reference-product .product-photo{width:76px;height:76px}.reference-product-text>b{font-size:25px}.reference-product-text .sku{font-size:13px}.reference-product-text>span{font-size:12px}.work-header .work-nav{order:3;width:100%;overflow:visible}.work-header .work-account{margin-left:auto}.work-header .work-role{display:none}.work-header .work-nav button{font-size:12px}.plan-kpis{grid-template-columns:1fr 1fr}.plan-kpis strong{font-size:30px}.plan-job-main{grid-template-columns:1fr auto;padding:17px;gap:14px}.plan-job-main>div:first-child>strong{font-size:19px}.plan-job-progress{width:100px}.plan-job-progress>strong{font-size:21px}.plan-open{display:none}.plan-issue{padding:12px 17px}.stock-kpis{grid-template-columns:1fr 1fr}.stock-kpis>div:last-child{grid-column:1/-1}.stock-heading{display:none}.stock-main{grid-template-columns:1fr 1fr 1fr;gap:15px}.stock-product{grid-column:1/-1}.stock-main>b{font-size:19px}.stock-main>b:first-of-type:before{content:'Длина';display:block;font-size:11px;font-weight:500;color:#a6bcd4;margin-bottom:4px}.stock-main>b:nth-of-type(2):before{content:'Деталей';display:block;font-size:11px;font-weight:500;color:#a6bcd4;margin-bottom:4px}.stock-main>b:last-child:before{content:'Всего';display:block;font-size:11px;font-weight:500;color:#a6bcd4;margin-bottom:4px}.stock-row{padding:16px}.stock-sources>div{grid-template-columns:1fr;gap:2px}.stock-sources small{grid-column:auto}.plan-filters .field{flex:1;min-width:145px}.planning-warehouse-head{padding:17px;flex-wrap:wrap}.office-product{align-items:flex-start;gap:10px}.office-product .product-photo{width:48px;height:48px}.catalog-photo-head strong{font-size:16px}.photo-editor-head{align-items:flex-start}.photo-editor-head .product-photo{width:76px;height:76px}}
@media print{body,.work-mode{background:white!important;color:#111!important}.work-header,.planning-warehouse-head,.plan-filters,.no-print,#modal-root,#toast-root,.stock-row summary,.product-photo>span{display:none!important}.work-office{max-width:none!important;margin:0!important;padding:0!important}.materials-view h1{font-size:24px!important;color:#111!important}.materials-view p,.materials-view strong,.materials-view b,.materials-view span,.materials-view small,.materials-view .sku,.plan-kpis strong{color:#111!important}.work-hero{margin-bottom:15px!important}.work-eyebrow{color:#444!important}.stock-row,.plan-kpis>div,.note{background:white!important;color:#111!important;border-color:#999!important;break-inside:avoid}.stock-row{padding:10px!important}.stock-main,.stock-heading{grid-template-columns:minmax(0,1fr) 65px 85px 85px;font-size:12px!important;gap:10px}.stock-main>b,.stock-product strong{font-size:15px!important}.stock-product .product-photo{width:46px;height:46px}.stock-kpis{grid-template-columns:1fr 1fr 1fr}.plan-kpis strong{font-size:24px!important}.stock-note{font-size:11px}.stock-row details{display:none}}
/* Metal catalog: searchable exact shop articles. */
.catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:24px 0}
.catalog-card code{overflow-wrap:anywhere;white-space:normal}
.catalog-card .row{margin-top:auto;padding-top:12px}
.catalog-more{margin:24px 0}
@media(max-width:700px){.catalog-filters{grid-template-columns:1fr}.catalog-filters .field{margin:0}}

@media(max-width:720px){
 .work-header .work-nav{height:auto;min-height:45px;overflow:visible;flex-wrap:wrap}
 .work-header .work-nav button{height:auto;min-height:44px}
}
