:root{--ink:#253431;--muted:#667770;--line:#e3e9e5;--green:#177b62;--green-dark:#11614d;--green-soft:#eaf5ee;--page:#f6f8f6;--wash:#f3f6f3;--surface:#fff;--panel:#fff;--surface-raised:#fff;--success:#19754f;--amber:#996413;--danger:#b44735;--blue:#487a98;--violet:#756697;--radius:14px;--shadow-sm:0 2px 6px #263d3103;--shadow-card:0 10px 30px #263d3109;--text-body:16px;--text-secondary:14px;--text-caption:14px}html,body{background:var(--page);color:var(--ink)}body{-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.5}button,a,summary{-webkit-tap-highlight-color:transparent}button,a,input,select,textarea,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}body:has(dialog[open],.modal-backdrop){overflow:hidden}.erp-shell{min-height:100dvh;display:block}.skip-navigation{z-index:1000;background:var(--green);color:#fff;border-radius:10px;padding:12px 20px;position:fixed;top:-80px;left:20px}.skip-navigation:focus{top:10px}.app-sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:50;flex-direction:column;width:238px;display:flex;position:fixed;inset:0 auto 0 0}.app-brand{min-height:90px;color:var(--ink);align-items:center;gap:11px;padding:21px 19px;text-decoration:none;display:flex}.app-brand img{object-fit:cover;border-radius:12px;width:38px;height:38px}.app-brand strong,.app-brand small{display:block}.app-brand strong{letter-spacing:-.025em;font-size:16px}.app-brand small{color:var(--muted);margin-top:3px;font-size:11px}.app-navigation{scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:0 12px 16px;overflow-y:auto}.app-nav-group+.app-nav-group{margin-top:17px}.app-nav-group h2{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin:0 10px 5px;font-size:11px;font-weight:550}.app-nav-group:first-child h2{display:none}.app-nav-link{color:#55675f;border-radius:8px;align-items:center;gap:10px;min-height:36px;padding:7px 10px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.app-nav-link svg{color:#7e8d85;flex:none;width:18px;height:18px}.app-nav-link:hover{background:var(--wash);color:var(--ink)}.app-nav-link.active{background:var(--green-soft);color:var(--green-dark);font-weight:650}.app-nav-link.active svg{color:var(--green)}.app-account{border-top:1px solid var(--line);grid-template-columns:32px minmax(0,1fr) 30px;align-items:center;gap:9px;margin-top:auto;padding:16px;display:grid}.app-avatar{color:#66734c;background:#eef1e3;border-radius:50%;place-items:center;width:32px;height:32px;font-size:12px;font-weight:650;display:grid}.app-account strong,.app-account small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.app-account strong{font-size:13px;font-weight:600}.app-account small{color:var(--muted);font-size:11px}.app-account a{color:var(--muted);padding:5px}.app-account svg{width:19px;height:19px}.app-main{min-width:0;margin-left:238px}.app-topbar{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:12px;min-height:60px;padding:0 30px;display:flex}.app-breadcrumbs{min-width:0;color:var(--muted);align-items:center;gap:10px;font-size:13px;display:flex}.app-breadcrumbs strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.app-topbar-brand{color:var(--muted);margin-left:auto;font-size:12px}.app-menu-trigger{display:none}.app-content{min-width:0;max-width:1510px;margin:auto;padding:26px 30px 40px}.app-content:focus{outline:none}.app-mobile-nav{display:none}.app-menu-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;color:var(--ink);background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0}.app-menu-dialog::backdrop,.detail-drawer::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#15251c66}.app-menu-panel{background:var(--surface);width:min(440px,92%);height:100%;padding-bottom:env(safe-area-inset-bottom);flex-direction:column;display:flex}.app-menu-panel>header{justify-content:space-between;align-items:center;padding:22px 20px 17px;display:flex}.app-menu-panel header h2{margin:0;font-size:21px}.app-menu-panel header small{color:var(--muted);font-size:14px}.app-menu-panel header button,.detail-drawer-surface>header button{border:1px solid var(--line);background:var(--wash);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:50%;flex:none;font-size:25px}.app-menu-panel .app-nav-link{min-height:44px;font-size:16px}.app-menu-panel .app-nav-group h2{font-size:13px}.app-menu-logout{border-top:1px solid var(--line);color:var(--muted);gap:10px;margin-top:auto;padding:17px 22px;text-decoration:none;display:flex}.app-menu-logout svg{width:20px;height:20px}.erp-shell .page-heading,.erp-shell .analytics-page-header,.erp-shell .integration-page-header{background:0 0;border:0;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px;padding:0;display:flex}.erp-shell :is(.page-heading,.analytics-page-header,.integration-page-header) h1{letter-spacing:-.035em;color:var(--ink);margin:0;font-size:clamp(24px,2vw,28px);font-weight:650;line-height:1.2}.erp-shell :is(.page-heading,.analytics-page-header,.integration-page-header) p{color:var(--muted);margin:6px 0 0;line-height:1.4;font-size:14px!important}.erp-shell :is(.orders-analytics-page,.promotions-page,.production-analytics-page,.price-calculator-page,.ozon-pricing-page,.integration-page){background:0 0;width:100%;min-height:0;margin:0;padding:0;display:block}.erp-shell :is(.orders-analytics-page,.promotions-page,.production-analytics-page,.price-calculator-page,.ozon-pricing-page,.integration-page)>:not(.modal-backdrop,.detail-drawer){max-width:none;margin-inline:0}.erp-shell .page-body{max-width:none;padding:0}.erp-shell .page-heading>.primary .primary-action-label{display:inline}.erp-shell .page-heading>.primary{flex:none;width:auto;max-width:100%;height:auto}.page-heading-actions{flex-wrap:wrap;gap:8px;display:flex}.erp-shell :is(.primary,.ghost,.button-secondary,.danger),.list-pagination button{min-height:40px;box-shadow:none;cursor:pointer;border-radius:9px;padding:9px 14px;font-weight:600;line-height:1.35;font-size:14px!important}.erp-shell .primary{color:#fff;border:1px solid var(--green);background:var(--green)}.erp-shell .primary:hover{background:var(--green-dark)}.erp-shell :is(.ghost,.button-secondary),.list-pagination button{border:1px solid var(--line);color:var(--ink);background:var(--surface);text-decoration:none}.erp-shell :is(.ghost,.button-secondary):hover{background:var(--wash);border-color:#a3b6a9}.erp-shell :is(input:not([type=checkbox],[type=radio],[type=file],[type=range]),select,textarea){min-height:40px;color:var(--ink);background-color:var(--surface);border-color:var(--line);border-radius:8px;max-width:100%;line-height:1.4;font-size:14px!important}.erp-shell select{border:1px solid var(--line);padding:8px 28px 8px 10px}.erp-shell :is(input[type=checkbox],input[type=radio]){width:17px;height:17px;min-height:0;accent-color:var(--green);flex:none}.erp-shell .search{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items:center;min-width:0;min-height:42px;padding:0 12px;display:flex}.erp-shell .search input{background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0}.erp-shell .search:focus-within{outline:2px solid var(--green);outline-offset:2px}.search>svg{width:18px;height:18px;color:var(--muted);flex:none}.erp-shell :is(.segmented,.segments){background:#edf1ed;border-radius:9px;gap:2px;width:max-content;max-width:100%;padding:3px;display:flex;overflow-x:auto}.erp-shell :is(.segmented,.segments) button{min-height:34px;color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:6px 12px;font-weight:500;line-height:1.35;font-size:14px!important}.erp-shell :is(.segmented,.segments) button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #1c322016}.erp-shell :is(small,dt,.field-hint,.section-hint,.ozon-row-hint){font-size:14px;line-height:1.45}.erp-shell :is(.stats,.orders-kpis,.promotion-kpis,.production-kpis,.advertising-kpis,.ozon-kpis){grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px;display:grid}.erp-shell :is(.stats,.orders-kpis,.promotion-kpis,.production-kpis,.advertising-kpis,.ozon-kpis) article{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:none;padding:17px 18px}.erp-shell :is(.stats,.orders-kpis,.promotion-kpis,.production-kpis,.advertising-kpis,.ozon-kpis) strong{letter-spacing:-.03em;font-weight:650;line-height:1.25;font-size:25px!important}.erp-shell :is(.stats,.orders-kpis,.promotion-kpis,.production-kpis,.advertising-kpis,.ozon-kpis) :is(small,em){color:var(--muted);font-style:normal;font-size:14px!important}.erp-shell .stat-icon{display:none}.erp-shell :is(.settings-panel,.data-panel,.promotion-section,.advertising-campaigns,.marketing-drafts,.production-targets,.ozon-api-banner,.ozon-table-wrap,.ozon-source-card,.ozon-settings,.ozon-credentials,.integration-card,.inventory-panel,.capacity-widget,.price-calculator-selector-card,.price-calculator-panel,.price-calculator-breakdown){border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;background:var(--surface)}.erp-shell :is(.settings-panel,.inventory-panel,.integration-card,.promotion-section,.production-targets,.ozon-source-card) h2{font-size:18px;font-weight:600}.erp-shell :is(.orders-toolbar,.panel-tools,.production-toolbar,.promotion-toolbar,.ozon-toolbar){flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.erp-shell :is(.panel-tools,.orders-toolbar) .search{flex:230px}.erp-shell .order-status{white-space:normal;border-radius:7px;width:max-content;max-width:100%;padding:4px 9px;font-size:13px;font-weight:550;line-height:1.4}.erp-shell :is(.order-status.delivered,.readiness.ready){background:var(--green-soft);color:var(--green-dark)}.erp-shell .order-status.transit{color:#456990;background:#eef3fa}.erp-shell .order-status.cancelled{color:#995441;background:#f9eeeb}.erp-shell .readiness{font-size:13px}.inline-notice{background:var(--green-soft);border:1px solid #c2dccc;border-radius:10px;margin-bottom:16px;padding:12px 15px;font-size:14px}.loading-surface,.empty-state{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);text-align:center;color:var(--muted);padding:50px 24px}.empty-state>svg{width:34px;height:34px;color:var(--green);margin:0 auto 16px}.empty-state h3{color:var(--ink);margin:0;font-size:18px}.empty-state p{margin:8px 0 20px}.erp-shell .persistent-error-banner{border-radius:10px;margin-bottom:16px;padding:15px;font-size:14px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.metric-grid>:is(article,a){border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;color:var(--ink);flex-direction:column;gap:5px;padding:20px;text-decoration:none;display:flex}.metric-grid a:hover{border-color:#97b8a5}.metric-grid small,.metric-grid span{color:var(--muted);font-size:14px}.metric-grid strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(23px,2.2vw,31px);font-weight:600;line-height:1.3}.surface-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;padding:22px}.surface-card>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.surface-card h2,.list-caption h2{letter-spacing:-.02em;margin:0;font-size:17px;font-weight:600;line-height:1.3}.surface-card header span{color:var(--muted);font-size:14px}.surface-card header a,.overview-text-link{color:var(--green);white-space:nowrap;font-size:14px;font-weight:550;text-decoration:none}.analytics-overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px;display:grid}.sales-bar-chart{grid-template-columns:repeat(var(--bars),minmax(0,1fr));background:repeating-linear-gradient(0deg,#0000 0 44px,#eef2ef 44px 45px);align-items:stretch;gap:4px;height:192px;padding-top:8px;display:grid}.sales-bar-column{grid-template-rows:1fr 22px;gap:5px;min-width:0;display:grid}.sales-bar-column>div{align-items:flex-end;height:100%;display:flex;position:relative}.sales-bar-column i{background:#95c8ac;border-radius:3px 3px 0 0;width:100%;min-height:0;display:block}.sales-bar-column i.delivered{background:#287d61;position:absolute;bottom:0}.sales-bar-column small{white-space:nowrap;color:var(--muted);font-size:11px!important}.sales-bar-column:focus-visible{outline:2px solid var(--green);outline-offset:2px}.sales-bar-column:hover i{filter:brightness(.93)}.chart-legend{align-items:center;gap:6px;display:flex;font-size:12px!important}.chart-legend i{background:#95c8ac;border-radius:2px;width:8px;height:8px}.chart-legend .delivered{background:#287d61;margin-left:10px}.status-track{margin:18px 0}.status-track>span{color:var(--muted);justify-content:space-between;margin-bottom:8px;font-size:14px;display:flex}.status-track b{color:var(--ink);font-weight:600}.status-track>div{background:var(--wash);border-radius:4px;height:6px;overflow:hidden}.status-track i{background:#41956f;border-radius:4px;height:100%;display:block}.status-track i.pending{background:#8da9c5}.status-track i.cancelled{background:#d2a799}.overview-text-link{margin-top:12px;display:inline-block}.ranked-product{border-bottom:1px solid var(--line);color:inherit;grid-template-columns:18px 40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 0;text-decoration:none;display:grid}.ranked-product:last-child{border:0;padding-bottom:0}.ranking-number{color:var(--muted);font-size:13px}.ranked-product strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:550;display:-webkit-box;overflow:hidden}.ranked-product small{color:var(--muted);display:block}.ranked-product b{font-size:14px;font-weight:600}.analytics-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.analytics-tools a{border:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:12px;align-items:center;gap:12px;padding:18px;font-size:14px;text-decoration:none;display:flex}.analytics-tools svg{width:20px;height:20px;color:var(--green);flex:none}.analytics-tools b{color:var(--muted);margin-left:auto;font-weight:400}.sales-filter-bar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.date-range-disclosure{position:relative}.date-range-disclosure summary{cursor:pointer;color:var(--muted);padding:9px 12px;font-size:14px}.date-range-disclosure>div{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-card);z-index:20;border-radius:12px;gap:12px;padding:16px;display:flex;position:absolute;top:100%;right:0}.date-range-disclosure label{gap:5px;font-size:14px;display:grid}.import-report{align-items:center;display:inline-flex;position:relative;overflow:hidden}.import-report input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.import-report:focus-within{outline:2px solid var(--green);outline-offset:3px}.orders-trend{margin-bottom:16px}.geography-card{margin-bottom:28px}.geography-layout{grid-template-columns:minmax(0,1fr) 265px;gap:20px;display:grid}.orders-map-viewport{isolation:isolate;border:1px solid var(--line);background:var(--wash);border-radius:12px;height:auto;min-height:330px;position:relative;overflow:hidden}.orders-map-canvas{z-index:1;width:100%;height:330px;min-height:0}.order-map-bubble{color:#fff;background:#287e61;border:2px solid #fff;border-radius:50%;place-items:center;font-size:13px;font-weight:650;display:grid;box-shadow:0 2px 9px #173f4933}.order-map-bubble.selected{background:#c28634;box-shadow:0 0 0 4px #c2863433}.orders-map-canvas .leaflet-control-attribution{font-size:11px}.map-reset{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);z-index:5;cursor:pointer;border-radius:8px;padding:6px 12px;font-size:13px;position:absolute;top:10px;right:10px}.map-service-notice{background:var(--surface);border:1px solid var(--line);z-index:5;border-radius:8px;padding:10px;font-size:13px;position:absolute;bottom:28px;left:12px;right:12px}.geography-ranking{scrollbar-width:thin;max-height:330px;overflow-y:auto}.geography-row{border:0;border-bottom:1px solid var(--line);width:100%;min-height:52px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:15px;padding:11px 10px;font-size:14px;display:flex}.geography-row.active{background:var(--green-soft);border-bottom-color:#0000;border-radius:8px}.geography-row:hover:not(.static){background:var(--wash)}.geography-row>span{flex:1;min-width:0}.geography-row strong{overflow-wrap:anywhere;font-size:14px;font-weight:550;display:block}.geography-row small{color:var(--muted);display:block;font-size:12px!important}.geography-row i{background:#a7cbb4;border-radius:2px;height:3px;margin-top:8px;display:block}.geography-row b{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.geography-row.static{cursor:default;padding:14px 0}.geography-card>footer{color:var(--muted);padding-top:14px;font-size:13px}.map-popup-groups{gap:6px;min-width:170px;display:grid}.map-popup-groups button{border:1px solid var(--line);background:var(--wash);min-height:40px;color:var(--ink);text-align:left;cursor:pointer;border-radius:6px;padding:8px}.map-popup-groups small{font-size:12px!important}.leaflet-control-zoom a{color:#253431!important;background:#fff!important}.record-list-toolbar{gap:10px;margin-bottom:18px;display:flex}.record-list-toolbar .search{flex:1}.list-caption{align-items:center;gap:15px;margin-bottom:14px;display:flex}.list-caption h2 span{color:var(--muted);margin-left:6px;font-size:14px;font-weight:400}.erp-shell .active-filter-chip{background:var(--green-soft);color:var(--green-dark);cursor:pointer;border:1px solid #bad3c3;border-radius:7px;padding:6px 10px;font-size:13px}.order-feed{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.order-feed:empty{display:none}.order-feed-row{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;grid-template-columns:46px minmax(0,2fr) minmax(110px,1.2fr) 106px 100px;align-items:center;gap:14px;padding:17px 20px;display:grid}.order-feed-row:last-child{border-bottom:0}.order-feed-row:hover{background:var(--wash)}.record-thumbnail{background:var(--wash);color:#749580;border-radius:10px;flex:none;place-items:center;width:46px;height:46px;display:grid;overflow:hidden}.record-thumbnail img{object-fit:cover;width:100%;height:100%}.record-thumbnail svg{width:24px;height:24px}.order-feed-product,.record-copy{min-width:0}.order-feed-product>strong,.record-copy>strong{overflow-wrap:anywhere;font-size:15px;font-weight:550;line-height:1.4;display:block}.order-feed-product small,.record-copy>small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;display:block;font-size:13px!important}.order-feed-location{color:#50665a;align-items:flex-start;gap:5px;font-size:14px;display:flex}.order-feed-location svg{flex:none;width:14px;height:16px;margin-top:2px}.order-feed-location>span{overflow-wrap:anywhere;min-width:0}.order-feed-location small{color:var(--muted);margin-top:3px;display:block;font-size:13px!important}.order-feed-amount{text-align:right;white-space:nowrap;font-size:15px;font-weight:600}.order-feed-amount>span{color:#94a39a;margin-left:10px;font-weight:400}.list-pagination{color:var(--muted);justify-content:center;align-items:center;gap:22px;margin-top:20px;font-size:14px;display:flex}.erp-shell .catalog-grid,.erp-shell .cards-grid{background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1.25fr) minmax(320px,.8fr);gap:20px;min-height:0;display:grid;overflow:visible}.catalog-grid .list-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-self:start;overflow:hidden}.collection-caption{border-bottom:1px solid var(--line);background:var(--wash);justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;display:flex}.collection-caption label{color:var(--muted);align-items:center;gap:10px;font-size:14px;display:flex}.collection-caption select{max-width:195px}.collection-list{scrollbar-width:thin;max-height:75vh;overflow:auto}.collection-item{border-bottom:1px solid var(--line);background:var(--surface);align-items:stretch;padding-left:8px;display:flex}.collection-item:last-child{border:0}.collection-item.selected{box-shadow:inset 3px 0 var(--green);background:#f1f8f2}.record-selection{cursor:pointer;flex:none;place-items:center;width:34px;display:grid}.collection-record{width:100%;min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:16px 14px 16px 4px;display:flex}.collection-record .record-copy{flex:1}.collection-record:hover{background:#f3f7f355}.record-tags{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.record-tags>span{color:#607169;background:#f0f3f0;border-radius:5px;padding:2px 6px;font-size:12px;font-weight:450}.record-tags .warning{color:#916126;background:#fbf2e3}.record-chevron{color:#a1afa6;font-size:22px}.erp-shell .detail-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-self:start;max-height:calc(100dvh - 40px);position:sticky;top:20px;overflow-y:auto}.erp-shell .detail-title{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:20px}.erp-shell .detail-title h2{font-size:19px;font-weight:600;line-height:1.35}.erp-shell .detail-title :is(small,code){letter-spacing:0;font-size:12px!important}.erp-shell .detail-section{padding:18px 20px}.erp-shell .detail-section h3{color:var(--muted);letter-spacing:.025em;font-size:13px;font-weight:550}.erp-shell .detail-section dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);font-size:14px;display:grid}.erp-shell :is(.detail-section dd,.detail-section dt,.mini-tech-card strong,.composition-node-row strong){font-size:14px!important}.erp-shell .detail-actions{flex-wrap:wrap}.erp-shell .detail-actions>button{flex:auto}.erp-shell .cube{width:40px;height:40px}.erp-shell .orders-workbench{grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr);gap:20px;display:grid}.erp-shell .orders-list-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0}.production-order-list{gap:12px;padding:16px;display:grid}.production-order-card{text-align:left;border:1px solid var(--line);min-width:0;color:var(--ink);background:var(--surface);cursor:pointer;border-radius:11px;gap:10px;padding:18px;display:grid}.production-order-card.selected{background:#f5faf5;border-color:#92b8a1}.production-order-top,.production-order-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.production-order-top small{color:var(--muted)}.production-order-card>strong{font-size:17px;font-weight:600}.production-order-products{color:var(--muted);font-size:14px}.production-order-progress>span{color:var(--muted);justify-content:space-between;font-size:13px;display:flex}.production-order-progress b{color:var(--ink);font-weight:550}.production-order-progress progress{appearance:none;background:var(--wash);border:0;border-radius:4px;width:100%;height:5px;overflow:hidden}.production-order-progress progress::-webkit-progress-bar{background:var(--wash)}.production-order-progress progress::-webkit-progress-value{background:#76a98a;border-radius:4px}.production-order-progress progress::-moz-progress-bar{background:#76a98a}.production-order-footer{color:var(--muted);font-size:13px}.erp-shell .order-detail-panel{border-radius:var(--radius);background:var(--surface);align-self:start;min-width:0;overflow:hidden}.erp-shell :is(.order-detail-head h2,.order-detail-section h3){font-size:18px;font-weight:600}.erp-shell :is(.order-detail-section p,.order-detail-section strong,.order-detail-section dl,.order-detail-section dd){font-size:14px}.detail-drawer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;color:var(--ink);background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0}.detail-drawer-surface{background:var(--surface);flex-direction:column;width:min(540px,100%);height:100%;margin-left:auto;display:flex;box-shadow:-12px 0 60px #17332022}.detail-drawer-surface>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:24px;display:flex}.detail-drawer-surface h2{overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600}.detail-drawer-body{padding:24px 24px max(28px,env(safe-area-inset-bottom));overflow-y:auto}.detail-image-preview{object-fit:contain;border-radius:10px;width:100%;height:auto;max-height:75dvh}.detail-drawer-body:has(.record-detail){padding:0 0 max(24px,env(safe-area-inset-bottom))}.detail-eyebrow{color:var(--muted);font-size:14px}.order-detail-products{margin:20px 0 30px}.order-detail-products article{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:18px 0;display:flex}.order-detail-products strong,.order-detail-products small{display:block}.order-detail-products strong{font-size:16px;font-weight:550}.order-detail-products small{color:var(--muted);margin-top:5px}.order-detail-products b{flex:none;font-size:16px;font-weight:600}.fact-list{margin:0}.fact-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:15px;padding:12px 0;display:grid}.fact-list dt{color:var(--muted);font-size:14px}.fact-list dd{text-align:right;overflow-wrap:anywhere;margin:0;font-size:15px}.eyebrow{color:var(--muted);margin-bottom:6px;font-size:12px;display:block}.dashboard-updated{color:var(--muted);font-size:13px}.decision-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.decision-kpis>:is(a,button){text-align:left;min-width:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;gap:4px;padding:20px;text-decoration:none;display:grid;position:relative}.decision-kpis .kpi-icon{color:#a4b8a8;width:22px;height:22px;position:absolute;top:18px;right:16px}.decision-kpis .kpi-icon svg{width:22px;height:22px}.decision-kpis small{color:var(--muted);padding-right:20px;font-size:13px!important}.decision-kpis strong{letter-spacing:-.035em;overflow-wrap:anywhere;font-size:clamp(22px,2.2vw,30px);font-weight:600}.decision-kpis em{color:var(--muted);font-size:13px;font-style:normal}.decision-kpis .attention{background:#fdfbf3;border-color:#ede1c6}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px;display:grid}.dashboard-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;padding:22px}.dashboard-card>header{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px;display:flex}.dashboard-card h2{letter-spacing:-.02em;margin:0;font-size:17px;font-weight:600}.dashboard-card header span{color:var(--muted);margin-top:4px;font-size:14px;display:block}.dashboard-card header :is(a,button){color:var(--green);cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;text-decoration:none}.mini-sales-chart{grid-template-columns:repeat(14,minmax(0,1fr));align-items:stretch;gap:7px;height:195px;display:grid}.mini-sales-chart>div{grid-template-rows:1fr 22px;gap:7px;min-width:0;display:grid}.mini-sales-chart>div>span{background:linear-gradient(#0000,#f5f8f3);align-items:flex-end;display:flex}.mini-sales-chart i{background:#7cb898;border-radius:4px 4px 0 0;width:100%;min-height:1px}.mini-sales-chart small{color:var(--muted);text-align:center;font-size:11px!important}.sales-chart-card footer{color:var(--muted);justify-content:space-between;gap:15px;padding-top:15px;font-size:13px;display:flex}.sales-chart-card footer strong{color:var(--ink);font-weight:550}.attention-list{gap:6px;display:grid}.attention-list>:is(a,button){color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;text-decoration:none;display:grid}.attention-list>:is(a,button)+:is(a,button){border-top:1px solid var(--line)}.attention-list svg{width:18px;height:18px;color:var(--muted)}.attention-list strong{font-size:14px;font-weight:550;display:block}.attention-list small{color:var(--muted);margin-top:2px;display:block;font-size:13px!important}.attention-list b{text-align:center;background:var(--wash);border-radius:7px;min-width:27px;padding:3px 6px;font-size:13px}.attention-list .critical b{color:var(--danger);background:#f9e8e2}.attention-list .warning b{color:var(--amber);background:#fbf0d9}.attention-list .ok b{background:var(--green-soft);color:var(--green-dark)}.production-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.production-summary strong,.production-summary span{display:block}.production-summary strong{font-size:23px;font-weight:600}.production-summary span{color:var(--muted);font-size:13px}.compact-printers{grid-template-columns:1fr 1fr;gap:8px;display:grid}.compact-printers button{border:1px solid var(--line);min-width:0;color:var(--ink);background:var(--surface);text-align:left;cursor:pointer;border-radius:9px;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px;display:grid}.compact-printers .equipment-state{width:7px;height:7px;position:static}.compact-printers strong{font-size:14px;font-weight:550;display:block}.compact-printers small{color:var(--muted);display:block;font-size:12px!important}.compact-printers b{color:var(--muted);font-size:12px;font-weight:500}.quick-actions-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.quick-actions-grid>:is(button,a){border:1px solid var(--line);min-width:0;min-height:76px;color:var(--ink);background:var(--surface);text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:12px;padding:14px;text-decoration:none;display:flex}.quick-actions-grid svg{width:20px;height:20px;color:var(--green);flex:none}.quick-actions-grid strong{font-size:14px;font-weight:550;display:block}.quick-actions-grid small{color:var(--muted);margin-top:4px;display:block;font-size:12px!important}.erp-shell :is(.ozon-table-wrap,.promotion-table-wrap,.production-recommendation-wrap,.gantt-scroll,.access-table-wrap,.table-scroll){overscroll-behavior-x:contain;min-width:0;max-width:100%;overflow-x:auto}.erp-shell :is(.ozon-table,.production-recommendation-table,.promotion-table) :is(th,td){padding:14px 12px;font-size:14px}.erp-shell :is(.ozon-table,.production-recommendation-table,.promotion-table) th{background:var(--wash);color:var(--muted);font-weight:500}.erp-shell :is(.ozon-table,.production-recommendation-table,.promotion-table) :is(strong,b){font-size:14px;font-weight:600}.erp-shell .ozon-table{min-width:950px}.erp-shell .production-recommendation-table{min-width:900px}.erp-shell .promotion-view-tabs{background:var(--page);top:0}.erp-shell .price-calculator-selector-card,.erp-shell .price-calculator-kpis{margin-bottom:16px}.erp-shell .price-calculator-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-shell .price-calculator-grid{grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr)}.erp-shell :is(.price-calculator-panel,.price-calculator-breakdown) h2{font-size:18px}.erp-shell .modal-backdrop{z-index:300}.erp-shell .modal{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;padding:24px}.erp-shell .modal h2{font-size:22px;line-height:1.3}.erp-shell .modal :is(label,p,button){font-size:14px}.erp-shell .modal-close{width:40px;height:40px;font-size:25px!important}.erp-shell .equipment-grid{grid-template-columns:repeat(auto-fit,minmax(265px,1fr))}.ozon-pricing{grid-template-columns:minmax(0,1fr)}.ozon-pricing,.ozon-pricing>*{min-width:0;max-width:100%}.erp-shell .ozon-api-banner{justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.erp-shell .ozon-api-banner>div{min-width:0}.erp-shell .ozon-api-banner strong{font-size:14px;font-weight:550}.erp-shell .ozon-api-banner p{margin:4px 0 0;font-size:13px!important}.erp-shell .ozon-api-banner>button{flex:none;width:auto}.erp-shell .ozon-tabs{border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:6px;max-width:100%;padding:0 0 8px;display:flex;overflow-x:auto}.erp-shell .ozon-tabs button{flex:none;min-height:40px;padding:8px 12px;font-size:14px;font-weight:500}.erp-shell .ozon-tabs button.active{color:var(--green-dark);background:var(--green-soft);box-shadow:none}.calculation-settings{background:var(--surface);border:1px solid var(--line);border-radius:11px}.calculation-settings>summary{cursor:pointer;padding:13px 18px;font-size:14px}.calculation-settings>summary span{color:var(--muted);margin-left:12px}.erp-shell .ozon-economy-controls{border:0;border-top:1px solid var(--line);box-shadow:none;flex-wrap:wrap;padding:16px;display:flex}.erp-shell .ozon-economy-controls>div{flex:220px;min-width:0}.erp-shell .ozon-economy-controls strong{font-size:14px;font-weight:500}.erp-shell .ozon-economy-controls>small{flex-basis:100%;font-size:13px!important}.legend-disclosure{color:var(--muted);font-size:13px}.legend-disclosure>summary{cursor:pointer;padding-block:6px}.equipment-record-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:20px;display:grid}.equipment-record{border:1px solid var(--line);background:var(--surface);border-radius:12px;position:relative;overflow:hidden}.equipment-record-select{z-index:2;cursor:pointer;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:8px;left:8px}.equipment-record-open{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;display:flex}.equipment-record-open:hover{background:var(--wash)}.equipment-record-visual{color:#83a08e;place-items:center;width:100%;height:110px;display:grid}.equipment-record-visual svg{stroke-width:1px;width:70px;height:70px}.equipment-record-visual img{object-fit:contain;mix-blend-mode:multiply;width:100%;height:100%}.equipment-record-title strong,.equipment-record-title small{display:block}.equipment-record-title strong{font-size:20px;font-weight:600}.equipment-record-title small{color:var(--muted);margin-top:4px}.equipment-record-job{border-top:1px solid var(--line);gap:4px;width:100%;margin-top:6px;padding-top:16px;display:grid}.equipment-record-job small{color:var(--muted);font-size:13px!important}.equipment-record-job strong{font-size:14px;font-weight:550}.equipment-heading .dictionary-actions{flex-wrap:wrap}@media (min-width:1800px){.app-content{padding-top:34px}}@media (max-width:1250px){.app-sidebar{width:218px}.app-main{margin-left:218px}.app-content{padding:24px}.app-brand{padding-inline:14px}.app-brand small{font-size:10px}.analytics-overview-grid,.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)}.metric-grid>:is(article,a),.decision-kpis>:is(a,button){padding:16px}.decision-kpis .kpi-icon{display:none}.decision-kpis small{padding-right:0}.geography-layout{grid-template-columns:minmax(0,1fr) 210px;gap:14px}.order-feed-row{grid-template-columns:42px minmax(0,2fr) minmax(100px,1fr) 95px;gap:12px;padding:16px}.order-feed-row>.order-status{grid-area:2/2}.order-feed-amount{grid-area:1/4}.order-feed-amount>span{display:none}.record-thumbnail{width:42px;height:42px}.erp-shell .catalog-grid,.erp-shell .cards-grid{grid-template-columns:minmax(0,1fr)}.erp-shell .detail-panel{display:none}.erp-shell .detail-panel.mobile-detail-open{z-index:120;border-radius:0;width:min(520px,100%);max-height:none;display:block;position:fixed;inset:60px 0 0 auto;box-shadow:-10px 0 60px #193b3230}.erp-shell .mobile-detail-close{z-index:2;border:0;border-bottom:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--green);text-align:left;cursor:pointer;padding:12px 20px;display:block;position:sticky;top:0;font-size:14px!important}.erp-shell .orders-workbench{grid-template-columns:minmax(0,1fr)}.erp-shell .order-detail-panel{margin-top:0}.compact-printers,.quick-actions-grid{grid-template-columns:1fr}.erp-shell .price-calculator-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:960px){.app-sidebar{display:none}.app-main{margin-left:0}.app-topbar{height:56px;min-height:56px;padding:0 18px}.app-menu-trigger{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--green);cursor:pointer;border-radius:8px;place-items:center;display:grid}.app-menu-trigger svg{width:19px;height:19px}.app-breadcrumbs{font-size:14px}.app-content{padding-bottom:calc(94px + env(safe-area-inset-bottom))}.app-mobile-nav{height:calc(68px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);z-index:150;justify-content:space-around;display:flex;position:fixed;inset:auto 0 0}.app-mobile-nav>:is(a,button){min-width:0;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:12px;text-decoration:none;display:flex}.app-mobile-nav svg{width:21px;height:21px}.app-mobile-nav .active{color:var(--green);background:var(--green-soft)}.erp-shell .detail-panel.mobile-detail-open{bottom:calc(68px + env(safe-area-inset-bottom))}.erp-shell .equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.app-content{padding:22px 16px calc(90px + env(safe-area-inset-bottom))}.app-topbar{padding:0 14px}.app-topbar-brand,.app-breadcrumbs>span{display:none}.erp-shell :is(.page-heading,.analytics-page-header,.integration-page-header){flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:20px}.erp-shell :is(.page-heading,.analytics-page-header,.integration-page-header) h1{font-size:25px}.page-heading-actions{width:100%}.page-heading-actions>*{text-align:center;flex:1;justify-content:center}.erp-shell :is(input:not([type=checkbox],[type=radio],[type=file],[type=range]),select,textarea){min-height:44px;font-size:16px!important}.erp-shell :is(.primary,.ghost,.button-secondary,.danger){min-height:44px;font-size:14px!important}.erp-shell .content :where(p,li,dd,td,label,button),.erp-shell .modal :where(p,li,dd,label,button){font-size:14px!important}.erp-shell :is(.segmented,.segments) button{min-height:38px;padding-inline:11px;font-size:13px!important}.erp-shell .content :where(small,dt,code){font-size:13px!important}.metric-grid,.decision-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.metric-grid>:is(article,a),.decision-kpis>:is(a,button){gap:5px;padding:16px 13px}.metric-grid strong,.decision-kpis strong{font-size:25px}.metric-grid :is(small,span),.decision-kpis :is(small,em){font-size:12px!important}.analytics-overview-grid,.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:14px}.surface-card,.dashboard-card{padding:18px 16px}.surface-card>header{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:16px}.surface-card header span,.dashboard-card header span{font-size:13px}.sales-bar-chart{gap:3px;height:170px}.sales-bar-column small{font-size:10px!important}.sales-filter-bar{flex-wrap:wrap;gap:8px}.sales-filter-bar .segmented{width:100%}.sales-filter-bar .segmented button{flex:1}.date-range-disclosure>div{box-shadow:none;flex-wrap:wrap;position:static}.date-range-disclosure label{flex:1;min-width:120px}.geography-layout{grid-template-columns:minmax(0,1fr);gap:12px}.orders-map-canvas{height:275px}.orders-map-viewport{min-height:275px}.geography-ranking{max-height:250px}.geography-row{min-height:48px}.geography-card>footer{font-size:12px}.geography-card header .segmented{margin:0}.record-list-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.record-list-toolbar .search{grid-column:1/-1}.order-feed{background:0 0;border:0;border-radius:0;gap:10px;display:grid}.order-feed-row{background:var(--surface);border-radius:12px;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:9px 11px;padding:16px 13px;border:1px solid var(--line)!important}.order-feed-product{grid-column:2/-1}.order-feed-product>strong{font-size:15px!important}.order-feed-row>.order-status{grid-area:3/2;font-size:12px}.order-feed-location{grid-area:2/2/auto/-1;font-size:13px}.order-feed-location small{margin-left:6px;display:inline;font-size:12px!important}.order-feed-amount{grid-area:3/3;align-self:center;font-size:16px}.erp-shell :is(.stats,.orders-kpis,.production-kpis,.ozon-kpis,.promotion-kpis,.advertising-kpis){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.erp-shell :is(.stats,.orders-kpis,.production-kpis,.ozon-kpis,.promotion-kpis,.advertising-kpis) article{min-height:0;padding:14px 12px}.erp-shell :is(.stats,.orders-kpis,.production-kpis,.ozon-kpis,.promotion-kpis,.advertising-kpis) strong{font-size:23px!important}.erp-shell :is(.stats,.orders-kpis,.production-kpis,.ozon-kpis,.promotion-kpis,.advertising-kpis) :is(small,em){font-size:12px!important}.collection-list{max-height:none;overflow:visible}.collection-caption{padding:10px 12px}.collection-caption select{max-width:175px;font-size:14px!important}.collection-record{gap:10px;padding:14px 10px 14px 2px}.record-selection{width:30px}.record-copy>strong{font-size:15px!important}.record-tags>span{font-size:11px}.erp-shell .panel-tools{flex-direction:row;justify-content:flex-start;padding:12px}.erp-shell .panel-tools .search{flex:100%;width:100%}.erp-shell .detail-panel.mobile-detail-open{inset:56px 0 calc(68px + env(safe-area-inset-bottom));width:100%}.erp-shell .detail-section{padding:18px 16px}.erp-shell .detail-title{grid-template-columns:36px minmax(0,1fr);padding:18px 16px}.erp-shell .detail-title>mark{grid-column:2;justify-self:start}.erp-shell .detail-title h2{font-size:19px}.erp-shell .orders-workbench{gap:16px}.production-order-list{padding:12px}.production-order-card{padding:15px}.erp-shell .orders-toolbar .search{flex-basis:100%}.erp-shell .orders-toolbar select{flex:130px;min-width:0}.compact-printers{grid-template-columns:1fr 1fr}.compact-printers button{grid-template-columns:7px minmax(0,1fr)}.compact-printers b{grid-column:2}.quick-actions-grid{grid-template-columns:1fr 1fr}.quick-actions-grid>:is(a,button){gap:8px;padding:12px}.mini-sales-chart{gap:5px;height:170px}.analytics-tools{grid-template-columns:minmax(0,1fr);gap:8px}.analytics-tools a{padding:16px}.ranked-product{grid-template-columns:14px 36px minmax(0,1fr) auto;gap:8px}.ranked-product .record-thumbnail{width:36px;height:36px}.ranked-product b{font-size:13px}.ranked-product small{font-size:12px!important}.erp-shell .production-targets{grid-template-columns:1fr 1fr;padding:16px}.erp-shell .production-targets>:is(button,p){grid-column:1/-1}.erp-shell .price-calculator-controls{grid-template-columns:minmax(0,1fr)}.erp-shell .price-calculator-price-summary,.erp-shell .price-calculator-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-shell .price-calculator-grid{grid-template-columns:minmax(0,1fr)}.erp-shell .price-calculator-options>label{grid-template-columns:20px minmax(0,1fr)}.erp-shell .price-calculator-options>label>b{grid-column:2}.erp-shell .equipment-grid{grid-template-columns:minmax(0,1fr)}.erp-shell .ozon-table{width:100%;min-width:0}.erp-shell .ozon-table-wrap{overflow:visible}.erp-shell .ozon-table td{padding:10px 6px}.erp-shell .ozon-table td:before{font-size:12px;font-weight:450}.erp-shell .ozon-table :is(tr,td){min-width:0}.erp-shell .ozon-api-banner{flex-wrap:wrap;padding:12px 14px}.erp-shell .ozon-api-banner>button{margin-left:auto}.erp-shell .ozon-batch-actions{flex-wrap:wrap}.erp-shell .ozon-batch-actions>button{flex:auto;min-width:0}.calculation-settings>summary span{margin:4px 0 0 15px;font-size:13px;display:block}.equipment-record-grid{grid-template-columns:minmax(0,1fr);padding:14px}.erp-shell .packaging-inventory-panel .table-head{display:none}.erp-shell .packaging-inventory-panel .table-body{padding:12px}.erp-shell .packaging-table.table-row{border:1px solid var(--line);border-radius:10px;gap:10px;width:100%;margin-bottom:10px;padding:14px 10px;display:grid;grid-template-columns:24px minmax(0,1fr)!important}.erp-shell .packaging-table .item-name{grid-column:2}.erp-shell .packaging-table .item-name strong{white-space:normal;font-size:15px}.erp-shell .packaging-table :is(.inventory-spec,.inventory-stock,.file-actions){grid-column:2}.erp-shell .packaging-table .file-actions{flex-wrap:wrap;justify-content:flex-start;display:flex}.erp-shell .packaging-table .file-actions button{min-height:44px}.erp-shell .modal-backdrop{align-items:flex-start;padding:8px}.erp-shell .modal{max-height:calc(100dvh - 16px);padding:22px 16px}.erp-shell .modal .form-grid{grid-template-columns:1fr}.erp-shell .modal .form-grid .span-2{grid-column:auto}.erp-shell .modal-actions{flex-wrap:wrap;gap:8px}.erp-shell .equipment-heading{flex-direction:column;align-items:stretch;gap:12px;padding:16px}.equipment-heading .dictionary-actions{width:100%}.equipment-heading .dictionary-actions>.primary{flex:1}.equipment-record-grid{padding:14px}.equipment-record-visual{height:64px}.equipment-record-visual svg{width:48px;height:48px}.detail-drawer-surface>header,.detail-drawer-body{padding:20px 16px}.detail-drawer-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}.detail-drawer-surface h2{font-size:19px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}html[data-theme=dark]{--ink:#e4ece5;--muted:#a1b2a7;--line:#34443c;--page:#18241e;--wash:#26392e;--surface:#203027;--panel:#203027;--surface-raised:#293d30;--green:#69bc95;--green-dark:#a7e0ba;--green-soft:#294a37}html[data-theme=dark] .erp-shell .primary{color:#fff;background:#2c7e54;border-color:#2c7e54}html[data-theme=dark] .app-nav-link{color:var(--muted)}html[data-theme=dark] .app-nav-link.active{color:var(--green-dark)}html[data-theme=dark] :is(.collection-item.selected,.production-order-card.selected){background:#294431}html[data-theme=dark] .erp-shell :is(.segmented,.segments){background:#17271d}html[data-theme=dark] .decision-kpis .attention{background:#403a27;border-color:#65593a}html[data-theme=dark] .record-tags>span{color:#c0cdbf;background:#314637}html[data-theme=dark] .sales-bar-chart{background:0 0}.erp-shell .tech-card-editor{width:min(1080px,100%)}.tech-editor-fields{border:0;min-width:0;margin:0;padding:0}.tech-editor-fields>h3{margin:20px 0 8px;font-size:16px}.tech-duration{border:1px solid var(--line);border-radius:12px;min-width:0;padding:12px 16px}.tech-duration legend{padding:0 6px;font-size:16px;font-weight:700}.tech-duration-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.tech-duration-total{color:var(--green);margin-top:14px;font-size:16px;font-weight:700;display:block}.tech-quick-item{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-top:12px;padding:16px}.tech-quick-item>button{margin-top:16px}.tech-material-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.tech-card-editor .tech-material-actions button{width:auto;min-height:40px;color:var(--green);padding:6px 10px;font-size:14px}.tech-run-summary{background:var(--surface);border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;padding:16px;display:grid}.tech-run-summary span{font-size:14px}.tech-run-summary b{margin-top:4px;font-size:18px;display:block}.tech-editor-error,.tech-flow-error{color:#a32020;background:#fff0f0;border:1px solid #e8baba;border-radius:10px;padding:14px;font-size:16px}.tech-flow-error{z-index:450;width:min(600px,100% - 32px);position:fixed;top:12px;left:50%;transform:translate(-50%)}.tech-flow-error button{float:right;background:0 0;border:0;font-size:22px}.tech-card-editor .material-editor-row{align-items:start}.tech-card-editor .material-editor-row>input,.tech-card-editor .material-editor-row>.numeric-input-error{min-width:0}@media (max-width:760px){.tech-card-editor .material-editor-head{display:none}.tech-card-editor .material-editor-row{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 0;display:grid}.tech-card-editor .filament-tech-picker{grid-column:1/-1}.tech-card-editor .materials-title{flex-wrap:wrap;align-items:flex-start;gap:12px}.tech-run-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.tech-card-editor .tech-material-field{margin:0;font-size:14px}.tech-card-editor .tech-material-field>span{margin-bottom:6px;display:block}.tech-card-editor .filament-tech-picker{padding-top:26px}@media (max-width:760px){.tech-card-editor .filament-tech-picker{padding-top:0}.tech-card-editor .material-editor-row>button{grid-area:auto/2;justify-self:end;width:44px;height:44px}}.tech-cost-panel{background:var(--surface);color:var(--ink);border:1px solid #9db7ab;border-radius:14px;margin:16px 0;padding:18px}.tech-cost-totals{grid-template-columns:1.3fr 1fr auto;align-items:center;gap:16px;display:grid}.tech-cost-totals>div>span{font-size:14px;line-height:1.4;display:block}.tech-cost-totals strong{color:var(--green);font-variant-numeric:tabular-nums;margin-top:6px;font-size:32px;line-height:1.25;display:block}.tech-cost-totals b{font-variant-numeric:tabular-nums;margin-top:6px;font-size:23px;line-height:1.3;display:block}.tech-cost-status{color:#245e41;background:#e7f2ec;border-radius:8px;padding:6px 10px;font-size:13px}.tech-cost-panel.incomplete{border-color:#d7b879}.tech-cost-panel.incomplete .tech-cost-status{color:#755113;background:#fff1cf}.tech-cost-breakdown{border-collapse:collapse;width:100%;margin-top:16px;font-size:14px}.tech-cost-breakdown th,.tech-cost-breakdown td{border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums;padding:8px 4px}.tech-cost-breakdown th:first-child{text-align:left;font-weight:500}.tech-cost-note,.tech-cost-issues{margin:12px 0 0;font-size:13px;line-height:1.5}.tech-cost-issues{color:#916114}.tech-packaging-context{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:14px;display:flex}.tech-card-save-bar{flex-wrap:wrap;align-items:center}.tech-card-save-bar .tech-cost-panel{border:0;flex:1;min-width:240px;margin:0 auto 0 0;padding:0}.tech-cost-panel.compact .tech-cost-totals{grid-template-columns:1fr auto;gap:8px}.tech-cost-panel.compact .tech-cost-totals>div:nth-child(2),.tech-cost-panel.compact .tech-cost-issues{display:none}.tech-cost-panel.compact strong{font-size:24px}@media (max-width:760px){.tech-cost-totals{grid-template-columns:1fr 1fr;gap:12px}.tech-cost-status{grid-column:1/-1;justify-self:start}.tech-cost-totals strong{font-size:28px}.tech-cost-totals b{font-size:20px}.tech-cost-panel{padding:14px}.tech-card-save-bar .tech-cost-panel{flex-basis:100%}.tech-cost-panel.compact .tech-cost-status{grid-column:auto}}.tech-editor-layout{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:24px;display:grid}.tech-editor-layout>*,.tech-cost-sidebar{min-width:0}.tech-cost-sidebar{position:sticky;top:0}.tech-cost-sidebar .tech-cost-panel{background:color-mix(in srgb, var(--green) 6%, var(--surface));border-color:color-mix(in srgb,var(--green) 22%,var(--line));margin:0;padding:16px}.tech-cost-sidebar .tech-cost-totals{grid-template-columns:1fr;gap:12px}.tech-cost-sidebar .tech-cost-totals strong{font-size:26px}.tech-cost-sidebar .tech-cost-totals b{font-size:18px}.tech-cost-sidebar .tech-cost-status{justify-self:start}.tech-cost-sidebar .tech-cost-breakdown{font-size:12px}.tech-cost-sidebar .tech-cost-breakdown th,.tech-cost-sidebar .tech-cost-breakdown td{padding:7px 2px}.tech-cost-sidebar .tech-cost-breakdown th:last-child,.tech-cost-sidebar .tech-cost-breakdown td:last-child{display:none}.tech-cost-sidebar .tech-cost-note,.tech-cost-sidebar .tech-cost-issues{font-size:12px}.tech-editor-fields>h3{margin-top:12px}[tabindex="0"]:is(.table-row,.stock-row,.dictionary-row,tr,article){cursor:pointer}[tabindex="0"]:is(.table-row,.stock-row,.dictionary-row,tr,article):hover{background:color-mix(in srgb,var(--green) 5%,var(--surface))}[tabindex="0"]:focus-visible{outline:2px solid var(--green);outline-offset:-2px}@media (min-width:761px){.tech-card-editor .material-editor-row{grid-template-columns:minmax(130px,2fr) repeat(4,minmax(65px,1fr)) 32px;gap:8px}}@media (max-width:900px){.tech-editor-layout{grid-template-columns:minmax(0,1fr);gap:16px}.tech-cost-sidebar{position:static}.tech-cost-sidebar .tech-cost-totals{grid-template-columns:1fr 1fr}}
