@media screen{:root{--purple:#714beb;--purple-dark:#5c35d0;--line:#e6e3ef;--muted:#706b80;--shadow:0 3px 16px #30224805}body{color:#252238;background:#f7f6fc}.app-shell{font-size:14px;line-height:1.45}.app-shell *,.app-shell :before,.app-shell :after{box-sizing:border-box}.app-shell .app-sidebar{background:#fff;border-right:1px solid #eae6f2;width:208px;padding:22px 12px 16px}.app-shell .app-main{margin-left:208px}.app-shell .brand{gap:9px;padding:0 6px 20px}.app-shell .brand strong{font-size:18px}.app-shell .brand small{color:#847c95;font-size:11px}.app-shell .brand-icon{border-radius:11px;width:36px;height:36px}.app-shell .interface-scale{border-radius:10px;margin:0 0 14px;padding:7px 9px}.app-shell .interface-scale>span{margin-bottom:5px;font-size:12px}.app-shell .interface-scale-controls button{min-width:34px;height:34px;min-height:34px;padding:5px}.app-shell .interface-scale-controls .interface-scale-value{font-size:16px}.app-shell .app-sidebar nav{gap:3px}.app-shell .app-sidebar nav a{color:#655d79;border-radius:9px;gap:10px;min-height:37px;padding:8px 11px;font-size:13px}.app-shell .app-sidebar nav a.active{color:#6940de;background:#f0eaff}.app-shell .app-sidebar nav a svg{flex-shrink:0;width:18px;height:18px}.app-shell .sidebar-bottom{padding:16px 5px 0}.app-shell .sidebar-bottom>p{font-size:11px;line-height:1.5}.app-shell .sidebar-bottom>select{min-height:36px;font-size:12px}.app-shell .workspace-icon,.app-shell .sidebar-person strong{font-size:13px}.app-shell .sidebar-person small{font-size:11px}.app-shell .sidebar-person{gap:8px}.app-shell .app-topbar:has(.modal-backdrop){z-index:95}.app-shell .app-topbar{z-index:40;background:#ffffffeb;border-bottom:1px solid #ebe7f3;gap:12px;height:60px;min-height:60px;padding:0 24px;position:relative}.app-shell .header-search-panel{flex:1;align-items:center;gap:8px;min-width:0;max-width:630px;display:flex}.app-shell .header-search-panel>.global-search{flex:1;width:100%;min-width:0;max-width:none}.app-shell .global-search{border-color:#e8e3f2;border-radius:10px;height:39px;min-height:39px;padding:0 11px}.app-shell .global-search input{min-height:36px;font-size:14px}.app-shell .global-search kbd{font-size:11px}.app-shell .mobile-brand,.app-shell .header-search-toggle,.app-shell .header-search-dismiss,.app-shell .mobile-bottom-nav{display:none}.app-shell .workspace-badge{font-size:11px}.app-shell .content-wrap{max-width:1780px;margin:0 auto;padding:0 24px 24px}.app-shell .context-row{gap:8px;min-height:46px;margin:0 0 12px;font-size:13px}.app-shell .context-row select{max-width:min(55vw,440px);min-height:36px;padding:4px 24px 4px 3px;font-size:13px}.app-shell .readiness-note{color:#8b829b;gap:5px;font-size:11px}.app-shell .page-heading{align-items:center;gap:12px;margin:0 0 18px}.app-shell .page-heading h1{letter-spacing:-.65px;gap:9px;font-size:25px;line-height:1.25}.app-shell .page-heading p{color:#82778f;max-width:none;margin-top:5px;font-size:13px;line-height:1.5}.app-shell .title-count{color:#8b8196;white-space:nowrap;font-size:14px;font-weight:500}.app-shell .panel{border:1px solid #e9e5f0;border-radius:14px;padding:18px;box-shadow:0 3px 15px #38255703}.app-shell .panel>header{align-items:center;gap:10px;margin-bottom:14px}.app-shell h2,.app-shell .panel h2{letter-spacing:-.2px;font-size:17px;line-height:1.35}.app-shell h3{font-size:15px;line-height:1.45}.app-shell .button{white-space:normal;border-radius:10px;gap:7px;min-height:39px;padding:9px 13px;font-size:13px;line-height:1.35}.app-shell .button.small{min-height:33px;padding:7px 10px;font-size:12px}.app-shell .button.primary{background:#714beb;box-shadow:0 4px 10px #714beb15}.app-shell .button.secondary{color:#5f43a0;background:#fff;border-color:#ded7ed}.app-shell .button:disabled{box-shadow:none;opacity:.6}.app-shell .text-button{gap:5px;min-height:33px;padding:6px 2px;font-size:13px}.app-shell .icon-button{border-radius:9px;width:34px;min-width:34px;height:34px;min-height:34px;padding:7px}.app-shell .icon-button>svg{width:18px;height:18px}.app-shell .back-link{gap:6px;min-height:30px;margin-bottom:5px;font-size:12px}.app-shell .field{gap:6px;min-width:0;margin-bottom:15px;font-size:13px}.app-shell .field>span{color:#696075;font-weight:550}.app-shell .field input,.app-shell .field select,.app-shell .field textarea{background:#fff;border-color:#e0dbea;border-radius:9px;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;font-size:14px}.app-shell .field textarea{resize:vertical;min-height:72px;line-height:1.5}.app-shell .field small,.app-shell .small,.app-shell .small-label,.app-shell .panel-caption,.app-shell .below-note{color:#8a8099;font-size:12px;line-height:1.5}.app-shell .form-grid{gap:0 16px}.app-shell .badge,.app-shell .type-badge{border-radius:6px;padding:4px 7px;font-size:11px;line-height:1.35}.app-shell .type-badge.KIT{color:#7045ca;background:#f0eaff}.app-shell .safe-note,.app-shell .count-help,.app-shell .fbs-footnote{border-radius:10px;padding:11px 13px;font-size:12px;line-height:1.55}.app-shell .safe-note .icon-box{width:25px;height:25px}.app-shell .error-box{border-radius:10px;font-size:14px;line-height:1.55}.app-shell .checkbox-label,.app-shell .stock-filter{gap:8px;font-size:13px;line-height:1.5}.app-shell input[type=checkbox]{accent-color:#714beb;flex-shrink:0;width:17px;height:17px}.app-shell .empty-state{padding:28px 15px}.app-shell .empty-state h3{font-size:17px}.app-shell .empty-state p{max-width:450px;margin:7px auto 12px;font-size:13px;line-height:1.55}.app-shell .product-photo{border-radius:8px;width:42px;min-width:42px;height:44px}.app-shell .product-photo.large{width:64px;height:64px}.app-shell .product-name{gap:10px;min-width:0}.app-shell .product-name>span{min-width:0}.app-shell .product-name strong{max-width:440px;font-size:14px;line-height:1.4}.app-shell .product-name small{color:#92859d;overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.4}.app-shell .product-name small.kit-caption{color:#9580b5;margin-top:2px;font-size:11px}.app-shell .data-table{font-size:13px}.app-shell .data-table th{color:#93859e;background:#fcfbfe;padding:11px 12px;font-size:12px;font-weight:500}.app-shell .data-table td,.app-shell .data-table.compact td{border-bottom-color:#f0edf5;padding:11px 12px;font-size:13px}.app-shell .data-table td>strong{font-size:14px}.app-shell .data-table td>small{color:#92859d;margin-top:3px;font-size:11px;line-height:1.4}.app-shell .product-table td,.app-shell .product-table th{padding-left:15px;padding-right:15px}.app-shell .product-table .available-col{background:#f8fcfa}.app-shell .product-table .available-col strong{color:#248363!important;font-size:15px!important}.app-shell .product-toolbar{flex-wrap:wrap;gap:9px;padding:14px 16px 5px}.app-shell .search-field{border-color:#e1dbeb;border-radius:9px;height:40px;min-height:40px;padding:0 11px}.app-shell .search-field input{min-height:36px;padding:7px 0;font-size:14px}.app-shell .product-toolbar select{min-width:130px;min-height:40px;font-size:13px}.app-shell .product-filter-options{align-items:center;gap:12px;display:flex}.app-shell .compact-filter-button{display:none}.app-shell .tabs{scrollbar-width:thin;border-bottom:1px solid #eee8f4;flex-wrap:nowrap;gap:8px;margin:0;padding:6px 15px 12px;overflow-x:auto}.app-shell .tabs button{color:#7c708b;white-space:nowrap;background:#f5f3f9;border:0;border-radius:9px;min-height:36px;padding:8px 13px;font-size:13px}.app-shell .tabs button.selected{color:#fff;background:#714beb}.app-shell .table-footer{gap:12px;padding:11px 15px;font-size:12px}.app-shell .table-footer>div{gap:6px}.app-shell .below-note{align-items:flex-start;margin-top:12px}.app-shell .metric-grid{gap:12px;margin-bottom:16px}.app-shell .metric-card{border:1px solid #ebe5f3;border-radius:12px;padding:14px 16px;box-shadow:0 3px 12px #37294a02}.app-shell .metric-card>div{gap:8px;font-size:12px}.app-shell .metric-card>strong{letter-spacing:-.7px;overflow-wrap:anywhere;margin-top:9px;font-size:25px;line-height:1.25}.app-shell .metric-card>small{color:#95889e;margin-top:5px;font-size:11px;line-height:1.4}.app-shell .metric-card .icon-box{border-radius:9px;width:29px;height:29px}.app-shell .metric-card .mini-bars{display:none}.app-shell .dashboard-grid,.app-shell .dashboard-lower{gap:14px;margin-bottom:14px}.app-shell .chart-legend{gap:12px;margin-bottom:10px;font-size:12px}.app-shell .chart-legend small{font-size:11px}.app-shell .bar-chart{height:172px}.app-shell .donut{width:115px;height:115px}.app-shell .donut-row{gap:18px;margin:10px 0 13px}.app-shell .donut-legend{min-width:100px;font-size:12px}.app-shell .donut-legend>div{gap:8px;margin:8px 0}.app-shell .attention-item{gap:10px;padding:9px 0}.app-shell .attention-item strong{font-size:13px}.app-shell .attention-item small{margin-top:3px;font-size:11px;line-height:1.4}.app-shell .attention-panel .safe-note{margin-top:8px;padding:9px}.app-shell .stock-list>div{gap:10px;padding:10px 0}.app-shell .stock-list strong{font-size:13px;line-height:1.4}.app-shell .stock-list small{margin-top:2px;font-size:11px}.app-shell .stock-list b{font-size:12px}.app-shell .quick-actions{gap:12px}.app-shell .quick-actions>button{border-radius:12px;padding:13px}.app-shell .quick-actions strong{font-size:13px}.app-shell .quick-actions small{margin-top:3px;font-size:11px}.app-shell .receipt-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.app-shell .receipt-form{padding:18px}.app-shell .receipt-fields .field{margin-bottom:16px}.app-shell .receipt-scan-area{margin:0 0 14px}.app-shell .receipt-scan-actions{gap:8px;margin-bottom:10px}.app-shell .receipt-invoice-scan{min-height:38px;margin-bottom:9px;font-size:12px}.app-shell .invoice-empty-hint{margin:0 0 10px;font-size:11px;line-height:1.45}.app-shell .scanner-input{border-radius:9px;gap:8px;height:42px;min-height:42px;padding:0 10px}.app-shell .scanner-input input{min-height:38px;padding:8px 0;font-size:14px}.app-shell .receipt-items-heading{margin:17px 0 8px}.app-shell .receipt-table .product-name strong{font-size:13px}.app-shell .receipt-table .product-name small{font-size:11px}.app-shell .receipt-table td{padding:10px 8px}.app-shell .receipt-table .price-input{min-height:36px;font-size:13px}.app-shell .quantity-stepper{width:120px;height:36px}.app-shell .quantity-stepper button{width:33px;min-height:34px}.app-shell .quantity-stepper input{width:52px;min-height:34px;padding:5px;font-size:14px}.app-shell .receipt-discount-input input,.app-shell .receipt-discount-input select{min-height:36px;font-size:13px}.app-shell .receipt-summary{padding:18px;top:18px}.app-shell .receipt-summary h2{font-size:18px}.app-shell .receipt-summary>p{font-size:12px}.app-shell .receipt-total{margin:6px 0 14px;font-size:25px}.app-shell .receipt-summary hr{margin:16px 0}.app-shell .summary-warehouse{margin:12px 0;font-size:12px}.app-shell .summary-hint{font-size:11px}.app-shell .receipt-buttons{gap:8px;margin:16px 0 10px}.app-shell .receipt-buttons .button{font-size:13px}.app-shell .add-line{margin:12px 0 17px}.app-shell .line-order{gap:5px;margin-bottom:7px}.app-shell .line-order .icon-button{width:30px;min-width:30px;height:30px;min-height:30px}.app-shell .line-number{font-size:12px}.app-shell .production-panel{max-width:1100px;padding:20px}.app-shell .production-flow{gap:18px;margin-bottom:18px}.app-shell .production-flow>div{font-size:14px}.app-shell .material-line{gap:10px;padding:10px 0}.app-shell .material-line input,.app-shell .material-line select{min-height:40px;font-size:14px}.app-shell .material-line>span{font-size:13px}.app-shell .material-line small{font-size:12px}.app-shell .section-title{margin:8px 0 12px}.app-shell .directory-grid,.app-shell .shop-grid{gap:14px}.app-shell .warehouse-card .icon-box{width:35px;height:35px;margin-bottom:12px}.app-shell .warehouse-card h2{margin-bottom:9px;font-size:18px}.app-shell .warehouse-card p{margin-top:10px;font-size:12px}.app-shell .warehouse-address{overflow-wrap:anywhere;line-height:1.5}.app-shell .shop-card-top{gap:10px}.app-shell .shop-actions{flex-wrap:wrap;gap:8px}.app-shell .shop-key{font-size:12px}.app-shell .source-details,.app-shell .source-warning{font-size:12px;line-height:1.5}.app-shell .catalog-stats{gap:10px;font-size:13px}.app-shell .roll-panel{margin-bottom:14px;padding:18px}.app-shell .roll-panel h2{margin:18px 0 12px;font-size:17px}.app-shell .roll-tabs{gap:9px;margin:10px 0 17px}.app-shell .roll-grid{gap:10px}.app-shell .roll-card{border-radius:11px;padding:13px}.app-shell .roll-card strong{font-size:13px}.app-shell .roll-card b{font-size:20px}.app-shell .roll-card small{font-size:12px}.app-shell .roll-outputs{gap:10px 14px}.app-shell .roll-doc-button{padding:12px}.app-shell .roll-doc-button strong{font-size:14px}.app-shell .roll-doc-button small{font-size:12px}.app-shell .stock-operation-layout{gap:16px}.app-shell .stock-operation-row{gap:12px;padding:13px 4px}.app-shell .stock-operation-caption strong{font-size:14px}.app-shell .stock-operation-caption>span{font-size:13px}.app-shell .stock-operation-caption small{font-size:11px}.app-shell .stock-line{gap:10px;padding:13px}.app-shell .stock-line-fields{gap:12px}.app-shell .stock-stepper input,.app-shell .stock-line-fields input{font-size:14px}.app-shell .stock-operation-summary{padding:18px}.app-shell .stock-operation-total{font-size:24px}.app-shell .stock-manual-note,.app-shell .stock-summary-help{font-size:12px;line-height:1.55}.app-shell .purchase-settings,.app-shell .purchase-history,.app-shell .purchase-notes,.app-shell .purchase-result{margin-bottom:14px;padding:18px}.app-shell .purchase-form{gap:12px 16px}.app-shell .purchase-form .field{margin-bottom:0}.app-shell .purchase-row{gap:14px;padding:12px 0}.app-shell .purchase-product strong{font-size:14px}.app-shell .purchase-product small{font-size:12px}.app-shell .purchase-metrics strong{font-size:14px}.app-shell .purchase-metrics small{font-size:12px}.app-shell .purchase-order input{min-height:40px;font-size:15px}.app-shell .purchase-total{padding:14px 18px}.app-shell .purchase-total strong{font-size:18px}.app-shell .purchase-muted{font-size:12px}.app-shell .purchase-warning{padding:13px;font-size:13px}.app-shell .count-start,.app-shell .count-panel,.app-shell .count-bottom{padding:18px}.app-shell .count-summary{gap:10px;padding:13px}.app-shell .count-summary strong{font-size:18px}.app-shell .count-toolbar{gap:10px;padding:12px 0}.app-shell .count-toolbar input,.app-shell .count-toolbar select{min-height:40px;font-size:14px}.app-shell .count-scanner{gap:9px}.app-shell .count-input,.app-shell .count-price{min-height:38px;font-size:14px}.app-shell .count-buttons{flex-wrap:wrap;gap:9px}.app-shell .count-warning{padding:12px;font-size:13px;line-height:1.5}.app-shell .fbs-heading h1{font-size:25px}.app-shell .fbs-heading h1>span{margin-left:9px;font-size:13px}.app-shell .fbs-mode{border-radius:12px;gap:10px;margin-bottom:12px;padding:12px 14px}.app-shell .fbs-mode strong{font-size:13px}.app-shell .fbs-mode small{font-size:12px;line-height:1.5}.app-shell .fbs-explain{padding:14px;font-size:13px;line-height:1.65}.app-shell .fbs-sources{background:#fff;border:1px solid #e7e1f1;border-radius:11px;margin-bottom:12px}.app-shell .fbs-sources>summary{cursor:pointer;color:#7f708f;align-items:center;gap:12px;padding:9px 13px;font-size:12px;list-style:none;display:flex}.app-shell .fbs-sources>summary::-webkit-details-marker{display:none}.app-shell .fbs-sources>summary>svg{margin-left:auto}.app-shell .fbs-source-tags{flex-wrap:wrap;gap:5px;display:flex}.app-shell .fbs-sources[open]>summary{border-bottom:1px solid #e9e2f1}.app-shell .fbs-sources:has(.fbs-connection small:not(:first-child)){border-color:#e4deef}.app-shell .fbs-connections{gap:9px;margin:0;padding:10px}.app-shell .fbs-connection{border-radius:9px;padding:10px;font-size:12px}.app-shell .fbs-connection small{font-size:11px;line-height:1.5}.app-shell .fbs-panel{padding:0}.app-shell .fbs-tabs{gap:6px;padding:11px 14px}.app-shell .fbs-tabs button{white-space:nowrap;border-radius:9px;min-height:36px;padding:8px 10px;font-size:12px}.app-shell .fbs-toolbar{gap:10px;padding:10px 15px}.app-shell .fbs-search,.app-shell .fbs-toolbar select{border-radius:9px;height:40px;min-height:40px}.app-shell .fbs-search input,.app-shell .fbs-toolbar select{font-size:14px}.app-shell .fbs-order{padding:13px 16px}.app-shell .fbs-order-head{gap:10px;margin-bottom:10px}.app-shell .fbs-order-id{gap:7px;font-size:12px}.app-shell .fbs-market{border-radius:5px;padding:4px 7px;font-size:11px}.app-shell .fbs-state{font-size:11px}.app-shell .fbs-order-body{gap:18px}.app-shell .fbs-line{gap:10px}.app-shell .fbs-line strong{font-size:14px;line-height:1.4}.app-shell .fbs-line small{margin-top:4px;font-size:12px;line-height:1.4}.app-shell .fbs-qty{font-size:14px}.app-shell .fbs-deadline small,.app-shell .fbs-availability{font-size:12px}.app-shell .fbs-deadline b{font-size:13px}.app-shell .fbs-details{margin-top:10px;padding:13px;font-size:13px;line-height:1.5}.app-shell .fbs-detail-meta{font-size:12px}.app-shell .fbs-pagination{gap:12px;padding:12px;font-size:12px}.app-shell .fbs-accounting-part,.app-shell .fbs-accounting-events{font-size:13px}.app-shell .modal-backdrop{padding:22px}.app-shell .modal{max-height:calc(92dvh / var(--interface-zoom,1));border-radius:15px;padding:20px}.app-shell .modal>header{gap:12px;margin-bottom:17px}.app-shell .modal>header h2{font-size:21px;line-height:1.35}.app-shell .modal-actions{flex-wrap:wrap;gap:9px;margin-top:17px;padding-top:15px}.app-shell .editor-section{border-radius:10px;margin-bottom:14px;padding:14px}.app-shell .editor-section p{font-size:13px;line-height:1.5}.app-shell .component-line{gap:9px}.app-shell .component-line input,.app-shell .component-line select{min-height:40px;font-size:14px}.app-shell .app-footer{gap:12px;margin-top:18px;font-size:11px;line-height:1.5}.app-shell .toast{max-width:min(520px,calc(100vw / var(--interface-zoom,1) - 32px));width:max-content;padding:12px 16px;font-size:14px;line-height:1.5}.app-shell .global-search-result strong{font-size:14px}.app-shell .global-result-sku,.app-shell .global-search-result small{font-size:12px}.app-shell .global-search-popup{border-radius:11px}.app-shell .global-search-message{font-size:14px}}@media screen and (min-width:901px) and (max-width:1180px){.app-shell .app-sidebar{width:186px}.app-shell .app-main{margin-left:186px}.app-shell .content-wrap,.app-shell .app-topbar{padding-left:18px;padding-right:18px}.app-shell .dashboard-grid{grid-template-columns:1.3fr 1fr}.app-shell .attention-panel{grid-column:1/-1}.app-shell .receipt-layout{grid-template-columns:minmax(0,1fr) 235px;gap:12px}}@media screen and (max-width:900px){.app-shell .app-main{margin-left:0}.app-shell .app-sidebar{width:min(340px,calc(88vw / var(--interface-zoom,1)));height:calc(100dvh / var(--interface-zoom,1));z-index:65;padding:20px 14px 22px;transform:translate(-100%)}.app-shell .app-sidebar.open{transform:translate(0)}.app-shell .sidebar-overlay{z-index:60}.app-shell .mobile-menu,.app-shell .mobile-close{display:flex}.app-shell .mobile-close{top:13px;right:8px}.app-shell .brand{padding-right:42px}.app-shell .app-sidebar nav a{min-height:44px;font-size:15px}.app-shell .app-sidebar nav a svg{width:20px;height:20px}.app-shell .interface-scale-controls button{width:44px;height:44px;min-height:44px}.app-shell .sidebar-bottom>select{min-height:44px;font-size:14px}.app-shell .sidebar-person strong{font-size:14px}.app-shell .sidebar-person .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}}@media screen and (max-width:650px),screen and (max-width:950px) and (hover:none) and (pointer:coarse){html{-webkit-text-size-adjust:100%;scroll-padding-top:70px;scroll-padding-bottom:170px}.app-shell{font-size:16px;line-height:1.45}.app-shell .app-main{margin-left:0}.app-shell .app-topbar{height:auto;min-height:54px;padding:calc(4px + env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) 4px max(8px,env(safe-area-inset-left,0px));flex-wrap:wrap;gap:5px;display:flex;position:relative}.app-shell .mobile-brand{color:#252238;flex:1;align-items:center;gap:8px;min-width:0;text-decoration:none;display:flex}.app-shell .mobile-brand>svg{color:#714beb;flex-shrink:0}.app-shell .mobile-brand strong{letter-spacing:-.4px;white-space:nowrap;font-size:18px}.app-shell .header-search-toggle{width:44px;min-width:44px;height:44px;min-height:44px;display:flex}.app-shell .mobile-menu{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px}.app-shell .mobile-menu>svg{width:23px;height:23px}.app-shell .header-search-panel{max-width:none;display:contents}.app-shell .header-search-panel>.global-search,.app-shell .header-search-dismiss{display:none}.app-shell .search-open .header-search-panel>.global-search{flex:1 0 calc(100% - 48px);order:10;width:calc(100% - 48px);max-width:calc(100% - 48px);height:46px;min-height:46px;display:flex}.app-shell .search-open .header-search-dismiss{order:11;width:44px;min-width:44px;height:44px;min-height:44px;display:flex}.app-shell .global-search input{min-height:44px;font-size:16px}.app-shell .global-search-popup{width:100%;max-width:100%}.app-shell .global-search-result{gap:9px;min-height:72px;padding:12px 10px}.app-shell .global-search-result strong{font-size:16px;line-height:1.4}.app-shell .global-result-sku,.app-shell .global-search-result small{font-size:13px;line-height:1.4}.app-shell .topbar-right{display:none}.app-shell .content-wrap{padding:0 max(12px,env(safe-area-inset-right,0px)) calc(90px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));max-width:100%}.app-shell .context-row{flex-wrap:wrap;gap:5px;min-height:37px;margin:0 0 13px}.app-shell .context-row select{color:#655773;max-width:calc(100% - 28px);min-height:36px;padding:4px 22px 4px 2px;font-size:14px}.app-shell .readiness-note{flex-basis:auto;gap:4px;min-height:18px;margin:0;font-size:12px}.app-shell .context-row>.readiness-note{margin-left:0}.app-shell .page-heading{flex-flow:wrap;justify-content:space-between;align-items:center;gap:9px;margin:0 0 13px}.app-shell .page-heading>div{flex:1;min-width:0}.app-shell .page-heading h1{letter-spacing:-.6px;overflow-wrap:anywhere;font-size:24px;line-height:1.2}.app-shell .page-heading p{max-width:none;margin-top:6px;font-size:14px;line-height:1.45}.app-shell[data-section=products] .page-heading p,.app-shell[data-section=dashboard] .page-heading p{display:none}.app-shell .page-heading>.button{gap:5px;min-height:44px;padding:9px 12px;font-size:14px}.app-shell .page-heading>.button svg{width:19px;height:19px}.app-shell .title-count{color:#807288;font-size:14px;font-weight:500}.app-shell .button,.app-shell .button.small{border-radius:10px;gap:7px;min-height:44px;padding:10px 12px;font-size:16px;line-height:1.35}.app-shell .button>svg,.app-shell .text-button>svg{flex-shrink:0;width:20px;height:20px}.app-shell .icon-button,.app-shell .text-button{width:auto;min-width:44px;height:auto;min-height:44px;padding:9px;font-size:15px;line-height:1.4}.app-shell .icon-button>svg{width:20px;height:20px}.app-shell .panel{border-color:#e6dfed;border-radius:13px;padding:14px}.app-shell .panel>header{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:12px}.app-shell .panel>header .text-button{min-width:0;margin-left:auto;padding:6px 2px}.app-shell .panel h2,.app-shell h2{font-size:18px;line-height:1.35}.app-shell h3{font-size:17px}.app-shell .field{gap:5px;max-width:100%;margin-bottom:12px;font-size:14px;line-height:1.45}.app-shell .field>span{color:#73647e;font-size:14px;line-height:1.45}.app-shell .field input,.app-shell .field select,.app-shell .field textarea{border-color:#d9cfe4;border-radius:9px;max-width:100%;min-height:44px;padding:10px;font-size:16px}.app-shell .field small,.app-shell .small,.app-shell .below-note,.app-shell .small-label,.app-shell .panel-caption{font-size:13px;line-height:1.5}.app-shell .field textarea{min-height:66px}.app-shell .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}:is(.app-shell .field:has(>textarea),.app-shell .field:has(.password-field)){grid-column:1/-1}.app-shell .checkbox-label,.app-shell .stock-filter{gap:8px;font-size:14px;line-height:1.5}.app-shell input[type=checkbox]{width:20px;height:20px}.app-shell .badge,.app-shell .type-badge{white-space:normal;padding:4px 7px;font-size:12px}.app-shell .safe-note,.app-shell .count-help,.app-shell .below-note{gap:7px;padding:10px 12px;font-size:13px;line-height:1.55}.app-shell .error-box{padding:12px;font-size:15px;line-height:1.55}.app-shell .empty-state{padding:24px 12px}.app-shell .empty-state h3{font-size:18px}.app-shell .empty-state p{font-size:14px}.app-shell .back-link{min-height:36px;margin-bottom:4px;padding:5px 0;font-size:14px}.app-shell .count-panel .table-scroll{overflow:visible}.app-shell .table-scroll:has(>.product-table){overflow:visible}.app-shell .table-scroll:has(>.receipt-table){overflow:visible}.app-shell .table-scroll:has(>.mobile-card-table){overflow:visible}.app-shell .product-table,.app-shell .receipt-table,.app-shell .mobile-card-table,.app-shell .count-table{white-space:normal;width:100%;min-width:0;display:block}.app-shell .product-table tbody,.app-shell .receipt-table tbody,.app-shell .mobile-card-table tbody,.app-shell .count-table tbody{gap:8px;padding:8px;display:grid}.app-shell .product-table tr,.app-shell .receipt-table tr,.app-shell .mobile-card-table tr,.app-shell .count-table tr{background:#fff;border:1px solid #e9e1ee;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;min-width:0;padding:12px;display:grid;position:relative}.app-shell .product-table td,.app-shell .receipt-table td,.app-shell .mobile-card-table td,.app-shell .count-table td,.app-shell .data-table.compact td{text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;max-width:100%;padding:0;font-size:16px;line-height:1.45;display:block}.app-shell .product-table td[data-label]:before,.app-shell .receipt-table td[data-label]:before,.app-shell .mobile-card-table td[data-label]:before,.app-shell .count-table td[data-label]:before{color:#887893;letter-spacing:0;margin:0 0 3px;font-size:13px;line-height:1.4}.app-shell .data-table td>strong,.app-shell .data-table.compact td>strong{font-size:16px;line-height:1.4}.app-shell .data-table td>small{margin-top:3px;font-size:13px;line-height:1.4}.app-shell .product-name{align-items:flex-start;gap:9px;min-width:0}.app-shell .product-name>span{min-width:0}.app-shell .product-name strong,.app-shell .receipt-table .product-name strong{overflow-wrap:anywhere;max-width:none;font-size:17px;line-height:1.35}.app-shell .product-name small{overflow-wrap:anywhere;margin-top:3px;font-size:13px;line-height:1.4}.app-shell .product-name small.kit-caption{color:#927da5;font-size:12px}.app-shell .product-photo{border-radius:8px;width:44px;min-width:44px;height:48px}.app-shell .product-photo.large{width:60px;height:60px}.app-shell .products-panel{border:1px solid #e6dfed;padding:0;overflow:visible}.app-shell .product-toolbar{grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:7px;padding:11px 11px 6px;display:grid;position:relative}.app-shell .product-toolbar>.search-field{flex:none;grid-area:1/1;width:100%;min-width:0;height:44px;min-height:44px}.app-shell .product-toolbar>.photo-search-button{order:initial;grid-area:1/2;width:44px;min-height:44px;padding:9px;font-size:16px}.app-shell .photo-search-button>span{display:none}.app-shell .product-toolbar>.compact-filter-button{color:#6e44c2;background:#f7f3ff;border:1px solid #dfd4ee;border-radius:9px;grid-area:1/3;width:44px;height:44px;padding:10px;display:flex}.app-shell .compact-filter-button[data-active=true]{background:#eee6ff;border-color:#a98bdc}.app-shell .product-filter-options{grid-column:1/-1;gap:12px;padding:8px 0 2px;display:none}.app-shell .product-filter-options.open{flex-wrap:wrap;align-items:center;display:flex}.app-shell .product-filter-options select{flex:1;width:0;min-width:0;max-width:100%;min-height:44px;font-size:16px}.app-shell .stock-filter{flex:none;min-height:44px}.app-shell .search-field input{min-width:0;min-height:42px;padding:9px 0;font-size:16px}.app-shell .search-field{flex:none;width:100%;height:44px;min-height:44px;padding:0 10px}.app-shell .tabs{white-space:nowrap;scrollbar-width:none;grid-template-columns:none;gap:5px;max-width:100%;padding:4px 10px 10px;display:flex;overflow:auto hidden}.app-shell .tabs::-webkit-scrollbar{display:none}.app-shell .tabs button{border-radius:9px;flex:none;min-height:40px;padding:9px 12px;font-size:14px;line-height:1.3}.app-shell .product-table tbody{gap:0;padding:0 10px 9px}.app-shell .product-table tr{border:0;border-top:1px solid #ede7f2;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px;padding:12px 2px}.app-shell .product-table td:first-child{grid-column:1/-1;padding:0 35px 2px 0}.app-shell .product-table .product-kind-cell{grid-area:2/1;align-self:center;min-width:0;padding-left:53px}.app-shell .product-table tbody tr{background:#fff}.app-shell .product-table tbody td,.app-shell .product-table tbody tr:hover td.available-col{background:0 0!important}.app-shell .product-table .product-kind-cell .type-badge{white-space:nowrap;font-size:11px}.app-shell .product-table td.cost-column{text-align:right;color:#41304e;border:0;flex-wrap:wrap;grid-area:2/2/auto/4;justify-content:flex-end;align-items:center;gap:3px 8px;padding:0;font-size:15px;font-weight:600;display:flex}.app-shell .product-table td.cost-column:before{display:none}.app-shell .product-table td.cost-column small{color:#92819e;flex-basis:100%;margin:0;font-size:12px;font-weight:400}.app-shell .product-table .product-stock-cell,.app-shell .product-table .product-reserve-cell,.app-shell .product-table .available-col{border-radius:0;flex-wrap:wrap;grid-area:3;align-items:baseline;gap:5px;padding:3px 0 0;font-size:15px;display:flex;background:0 0!important}.app-shell .product-table .product-stock-cell:before,.app-shell .product-table .product-reserve-cell:before,.app-shell .product-table .available-col:before{white-space:nowrap;margin:0;font-size:12px}.app-shell .product-table .product-stock-cell:before{content:"Склад"}.app-shell .product-table .product-stock-cell>small,.app-shell .product-table .available-col>small{margin:0;font-size:11px}.app-shell .product-table .available-col strong{font-size:16px!important}.app-shell .product-table .product-open-cell{width:36px;min-width:0;max-width:none;padding:0;position:absolute;top:9px;right:-5px}.app-shell .product-open-cell .icon-button{width:36px;min-width:36px;padding:5px}.app-shell .table-footer{flex-wrap:wrap;gap:9px;padding:10px 12px;font-size:13px}.app-shell .table-footer .icon-button{width:40px;min-width:40px}.app-shell .table-footer>div{gap:6px}.app-shell .table-footer .button{min-width:0;min-height:42px;font-size:14px}.app-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.app-shell .metric-card{border-radius:11px;min-width:0;padding:12px}.app-shell .metric-card>div{align-items:center;gap:7px;font-size:13px}.app-shell .metric-card .icon-box{border-radius:8px;width:26px;min-width:26px;height:26px}.app-shell .metric-card>strong{letter-spacing:-.65px;white-space:normal;overflow-wrap:anywhere;margin:7px 0 4px;font-size:clamp(19px,5.4vw,24px);line-height:1.25}.app-shell .metric-card>small{margin:0;font-size:12px;line-height:1.4}.app-shell .dashboard-grid,.app-shell .dashboard-lower{grid-template-columns:minmax(0,1fr);gap:11px;margin-bottom:11px}.app-shell .attention-panel{grid-area:1/1/auto/-1;padding:10px 12px}.app-shell .attention-panel>header{display:none}.app-shell .attention-item{border:0;gap:8px;min-height:44px;padding:7px 0}.app-shell .attention-item strong{font-size:15px}.app-shell .attention-item small{margin-top:2px;font-size:12px}.app-shell .attention-item .icon-box{border-radius:8px;width:29px;height:29px}.app-shell .attention-item .text-button{min-width:0;margin-left:auto}.app-shell .attention-panel .safe-note{margin-top:5px;padding:8px 9px;font-size:12px}.app-shell .chart-legend{flex-wrap:wrap;gap:12px;margin-bottom:9px;font-size:13px}.app-shell .chart-legend small{font-size:12px}.app-shell .mobile-movement-list{gap:0;margin:0;display:grid}.app-shell .mobile-movement-list>div{border-top:1px solid #f0e8f5;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:14px;display:flex}.app-shell .mobile-movement-list>div>strong{min-width:38px;font-size:13px}.app-shell .mobile-movement-list>div span{font-size:14px}.app-shell .mobile-movement-list b{font-size:16px}.app-shell .bar-chart{display:none}.app-shell .composition-panel{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:4px 13px;padding:12px 14px;display:grid}.app-shell .composition-panel>header{grid-area:1/2;margin:0}.app-shell .composition-panel>header h2{font-size:16px}.app-shell .composition-panel>header>svg{display:none}.app-shell .composition-panel .donut-row{display:contents}.app-shell .composition-panel .donut{grid-area:1/1/4;width:64px;height:64px}.app-shell .composition-panel .donut strong{font-size:18px}.app-shell .composition-panel .donut small{display:none}.app-shell .composition-panel .donut-legend{flex-wrap:wrap;grid-area:2/2;align-items:center;gap:3px 10px;min-width:0;max-width:none;display:flex}.app-shell .composition-panel .donut-legend>div{gap:4px;margin:0;font-size:12px;display:flex}.app-shell .composition-panel>.muted{grid-area:3/2;margin:0;font-size:11px;line-height:1.4}.app-shell .dashboard-lower .panel{padding:13px}.app-shell .recent-documents tbody{gap:0;padding:0}.app-shell .recent-documents tr{border:0;border-bottom:1px solid #eee7f3;border-radius:0;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px 0}.app-shell .recent-documents td:first-child{grid-area:1/1/3}.app-shell .recent-documents td:nth-child(3){grid-area:1/2;justify-self:end}.app-shell .recent-documents td:nth-child(2){grid-area:3/1;font-size:12px}.app-shell .recent-documents td:nth-child(4){text-align:right;grid-area:2/2;font-size:12px}.app-shell .recent-documents td[data-label]:before{display:none}.app-shell .recent-documents td:first-child strong{font-size:15px}.app-shell .recent-documents td:first-child small{margin-top:3px;font-size:12px}.app-shell .stock-list{display:block}.app-shell .stock-list>div{gap:9px;padding:10px 0}.app-shell .stock-list strong{max-width:none;font-size:16px}.app-shell .stock-list small{overflow-wrap:anywhere;font-size:13px;line-height:1.45}.app-shell .stock-list b{font-size:14px}.app-shell .quick-actions{grid-template-columns:1fr;gap:9px}.app-shell .quick-actions>button{gap:10px;min-height:65px;padding:12px}.app-shell .quick-actions strong{font-size:16px}.app-shell .quick-actions small{font-size:13px}.app-shell .receipt-screen{padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))}.app-shell .receipt-layout{grid-template-columns:minmax(0,1fr);gap:12px}.app-shell .receipt-form{padding:13px}.app-shell .receipt-fields{gap:0;display:flex}.app-shell .receipt-fields .field{margin-bottom:10px}.app-shell .receipt-fields .input-action{gap:7px}.app-shell .supplier-add{border-radius:9px;width:44px;min-width:44px;height:44px;min-height:44px}.app-shell .receipt-disclosure{gap:9px;min-height:44px;padding:9px 0;font-size:15px}.app-shell .receipt-disclosure>svg{width:20px;height:20px}.app-shell .receipt-meta.expanded .receipt-meta-content{padding-top:5px}.app-shell .receipt-scan-area{grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:7px;margin:2px 0 14px;padding-top:12px;display:grid}.app-shell .receipt-scan-heading{display:none}.app-shell .receipt-scan-actions{display:contents}.app-shell .receipt-scan-area>.scanner-input{grid-area:1/1;width:100%;height:44px;min-height:44px;padding:0 9px}.app-shell .receipt-scan-area>.scanner-input>svg{display:none}.app-shell .scanner-input input{min-height:42px;padding:9px 0;font-size:16px}.app-shell .receipt-scan-actions .scan-barcode-button{border-radius:9px;grid-area:1/2;gap:0;width:44px;min-height:44px;padding:10px;font-size:16px}.app-shell .receipt-scan-actions .scan-barcode-button>span{display:none}.app-shell .receipt-scan-area .receipt-invoice-scan{grid-area:1/3;gap:0;width:44px;min-height:44px;margin:0;padding:10px;font-size:16px}.app-shell .receipt-invoice-scan>span,.app-shell .receipt-scan-actions>.receipt-find-button{display:none}.app-shell .invoice-empty-hint{color:#9a8aa6;grid-area:2/1/auto/-1;margin:1px 0;font-size:12px;line-height:1.4}.app-shell .receipt-scan-area .scan-results,.app-shell .receipt-scan-warning{grid-column:1/-1}.app-shell .scan-results>button:not(.scan-close){gap:9px;min-height:65px;padding:10px}.app-shell .scan-results strong{font-size:16px;line-height:1.4}.app-shell .scan-results small{font-size:13px;line-height:1.4}.app-shell .scan-results>button.scan-close{min-height:44px;padding:10px;font-size:15px}.app-shell .receipt-items-heading{margin:15px 0 7px}.app-shell .receipt-items-heading h2{font-size:18px}.app-shell .receipt-table tbody{gap:10px;padding:0}.app-shell .receipt-table tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px;container-type:inline-size}.app-shell .receipt-table td.receipt-unit-cell{display:none}.app-shell .receipt-table .receipt-product-cell{border-bottom:1px solid #f0e8f6;grid-column:1/-1;padding:0 0 6px}.app-shell .receipt-table .product-name strong{font-size:17px}.app-shell .receipt-table .product-name small{font-size:13px}.app-shell .line-order{gap:4px;min-height:32px;margin:0 0 6px}.app-shell .line-order .line-number{padding:4px 7px;font-size:12px}.app-shell .line-order .icon-button{width:36px;min-width:36px;height:36px;min-height:36px;padding:6px}.app-shell .receipt-table .receipt-quantity-cell,.app-shell .receipt-table .receipt-price-cell,.app-shell .receipt-table .receipt-discount-cell,.app-shell .receipt-table .receipt-line-total{border:0;grid-column:auto;min-width:0;padding:0;display:block}.app-shell .receipt-table .receipt-quantity-cell:before,.app-shell .receipt-table .receipt-price-cell:before,.app-shell .receipt-table .receipt-line-total:before,.app-shell .receipt-table .receipt-discount-cell:before{margin-bottom:5px;font-size:13px;line-height:1.4}.app-shell .receipt-table .receipt-price-cell:before{content:"Цена до скидки, ₽"}.app-shell .quantity-stepper{border:1px solid #dbc9ef;border-radius:9px;grid-template-columns:44px minmax(0,1fr) 44px;width:100%;min-width:0;height:44px;min-height:44px;display:grid}.app-shell .quantity-stepper button{background:#f7f2ff;width:44px;min-width:44px;height:42px;min-height:42px;padding:0}.app-shell .quantity-stepper input{width:100%;min-width:0;height:42px;min-height:42px;padding:6px 0!important;font-size:18px!important}.app-shell .receipt-table .price-input{text-align:left;width:100%;min-width:0;max-width:none;height:44px;min-height:44px;padding:10px;font-size:16px}.app-shell .receipt-discount-input{border-radius:9px;width:100%;min-width:0;height:44px;display:flex}.app-shell .receipt-discount-input input{flex:1;width:0;min-width:0;min-height:42px;padding:8px;font-size:16px}.app-shell .receipt-discount-input select{width:48px;min-width:48px;min-height:42px;padding:8px 3px;font-size:16px}.app-shell .receipt-table td.receipt-remove-cell{grid-column:1/-1;justify-self:end;border:0!important;padding:0!important}.app-shell .receipt-remove-cell .icon-button{color:#ab6174;min-height:36px;padding:5px;font-size:13px}.app-shell .receipt-remove-cell span{display:none}.app-shell .receipt-table .receipt-amount-hint,.app-shell .receipt-table .receipt-net-price{font-size:12px;line-height:1.4}.app-shell .receipt-table .receipt-payable{font-size:14px;line-height:1.4}.app-shell .add-line{min-height:44px;margin:13px 0 15px}.app-shell .receipt-summary{padding:13px;position:static}.app-shell .receipt-summary h2{font-size:18px}.app-shell .receipt-total{margin:6px 0 12px;font-size:22px;line-height:1.35}.app-shell .receipt-summary hr{margin:12px 0}.app-shell .receipt-summary .summary-warehouse{font-size:14px}.app-shell .receipt-summary .summary-hint{margin-top:12px;font-size:12px;line-height:1.5}.app-shell .receipt-actions{width:calc(100vw / var(--interface-zoom,1));z-index:45;padding:10px max(12px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#fffffff5;border-top:1px solid #e5dbef;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:auto;box-shadow:0 -7px 22px #38254e09}.app-shell .receipt-mobile-total{justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;line-height:1.4;display:flex}.app-shell .receipt-mobile-total strong{font-size:15px;line-height:1.4}.app-shell .receipt-mobile-total small{text-align:right;max-width:55%;font-size:12px;line-height:1.4}.app-shell .receipt-buttons{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:8px;margin:0;display:grid}.app-shell .receipt-buttons>.primary{grid-area:1/2;min-height:46px;padding:10px 8px;font-size:15px}.app-shell .receipt-buttons>.secondary{grid-area:1/1;min-height:46px;padding:9px 8px;font-size:13px}.app-shell .receipt-buttons>.button:only-child{grid-column:1/-1}.app-shell .receipt-screen[data-keyboard-open=true] .receipt-actions{width:auto;box-shadow:none;background:0 0;border:0;padding:12px 0 0;position:static}.app-shell .receipt-screen[data-keyboard-open=true]{padding-bottom:0}.app-shell:has(.receipt-actions) .mobile-bottom-nav{display:none}.app-shell:has(.receipt-actions)>.toast{bottom:calc(125px + env(safe-area-inset-bottom,0px))}.app-shell[data-section=counterparties] .page-heading,.app-shell[data-section=settings] .page-heading,.app-shell[data-section=inventory] .page-heading,.app-shell[data-section=purchasing] .page-heading,.app-shell[data-section=shops] .page-heading{flex-wrap:wrap;align-items:flex-start;gap:10px}.app-shell[data-section=counterparties] .page-heading>div:first-child,.app-shell[data-section=settings] .page-heading>div:first-child,.app-shell[data-section=inventory] .page-heading>div:first-child,.app-shell[data-section=purchasing] .page-heading>div:first-child,.app-shell[data-section=shops] .page-heading>div:first-child{flex:1 0 100%;min-width:0}.app-shell[data-section=counterparties] .page-heading>.button,.app-shell[data-section=settings] .page-heading>.button,.app-shell[data-section=inventory] .page-heading>.button,.app-shell[data-section=purchasing] .page-heading>.button,.app-shell[data-section=shops] .page-heading>.button{margin-left:auto}.app-shell .page-heading:has(>.stock-action-row){flex-wrap:wrap;align-items:flex-start}.app-shell .page-heading>.stock-action-row{flex:1 0 100%;gap:8px;min-width:0;display:flex}.app-shell .page-heading>.stock-action-row>.button{flex:1;min-width:0;font-size:14px}.app-shell .production-panel{padding:14px}.app-shell .production-flow{gap:10px;margin:0 0 15px}.app-shell .production-flow>div{gap:7px;font-size:14px}.app-shell .production-flow .icon-box{width:34px;height:34px}.app-shell .production-flow>svg{width:18px;min-width:18px}.app-shell .material-line{grid-template-columns:36px minmax(0,1fr) 85px 36px;gap:8px;padding:12px 0}.app-shell .material-line>.product-photo{width:36px;min-width:36px;height:40px}.app-shell .material-line input{width:100%;min-height:44px;padding:9px;font-size:16px}.app-shell .material-line select{width:100%;max-width:100%;min-height:44px;padding:9px;font-size:16px}.app-shell .material-line>.selected-product-caption{white-space:normal;overflow-wrap:anywhere;grid-column:2/4;font-size:13px;line-height:1.45}.app-shell .material-line>.selected-product-caption small{white-space:normal;margin:2px 0;font-size:12px;display:block}.app-shell .material-line>.icon-button{grid-area:1/4;width:36px;min-width:36px;padding:6px}.app-shell .selected-product-caption{overflow-wrap:anywhere;font-size:13px;line-height:1.45}.app-shell .directory-grid,.app-shell .shop-grid{grid-template-columns:1fr;gap:10px}.app-shell .warehouse-card{padding:14px}.app-shell .warehouse-card .icon-box{width:31px;height:31px;margin-bottom:10px}.app-shell .warehouse-card h2{margin:0 0 8px;font-size:18px}.app-shell .warehouse-card p{margin-top:9px;font-size:14px;line-height:1.5}.app-shell .warehouse-card .button{min-height:42px;font-size:14px}.app-shell .directory-table tbody,.app-shell .count-list-table tbody{gap:0;padding:0}.app-shell .directory-table tbody tr,.app-shell .count-list-table tbody tr{border:0;border-top:1px solid #ede7f2;border-radius:0;padding:12px 0}.app-shell .directory-table tbody tr:first-child,.app-shell .count-list-table tbody tr:first-child{border-top:0}.app-shell .directory-table.counterparties td[data-label=Почта]{grid-column:1/-1}.app-shell .directory-table.documents td:nth-child(2),.app-shell .directory-table.documents td:nth-child(3),.app-shell .directory-table.counterparties td,.app-shell .directory-table.settings td[data-label=Роль]{grid-column:auto}.app-shell .directory-table td:first-child,.app-shell .directory-table .card-row-action{grid-column:1/-1}.app-shell .person-cell strong{font-size:16px;line-height:1.4}.app-shell .person-cell .avatar{width:33px;height:33px;font-size:16px}.app-shell .directory-table td[data-label]:before{margin-right:6px;font-size:13px;display:inline}.app-shell .shop-card{padding:14px}.app-shell .shop-card h2{font-size:17px}.app-shell .shop-card .shop-actions{gap:7px;margin-top:13px}.app-shell .shop-actions .button{min-height:42px;font-size:14px}.app-shell .shop-key{font-size:13px}.app-shell .shop-job{padding:10px;font-size:13px;line-height:1.5}.app-shell .catalog-progress{padding:14px}.app-shell .catalog-stats{flex-wrap:wrap;gap:9px;font-size:14px}.app-shell .source-table .product-name strong{font-size:16px}.app-shell .source-details{font-size:14px;line-height:1.5}.app-shell .import-edit-list{gap:10px}.app-shell .import-edit-row{gap:9px;padding:12px}.app-shell .roll-panel{padding:14px}.app-shell .roll-tabs{flex-wrap:wrap;gap:8px;display:flex}.app-shell .roll-tabs>.button{flex:1;min-height:44px;font-size:14px}.app-shell .roll-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.app-shell .roll-card{gap:8px;padding:12px}.app-shell .roll-card strong{font-size:13px}.app-shell .roll-card b{font-size:20px}.app-shell .roll-card small{font-size:12px}.app-shell .roll-outputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .roll-outputs .field{margin-bottom:0}.app-shell .roll-outputs .field>span{overflow-wrap:anywhere;font-size:13px}.app-shell .roll-doc-button{gap:10px;padding:12px}.app-shell .roll-doc-button strong{font-size:15px}.app-shell .roll-doc-button small{font-size:13px;line-height:1.4}.app-shell .stock-action-row{flex-wrap:wrap;gap:7px}.app-shell .stock-action-row .button{font-size:14px}.app-shell .stock-operation-layout{grid-template-columns:minmax(0,1fr);gap:12px}.app-shell .stock-line{gap:10px;padding:12px}.app-shell .stock-line-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .stock-line-fields .field{margin:0}.app-shell .stock-line-fields input{min-height:44px;font-size:16px}.app-shell .stock-stepper{min-height:44px}.app-shell .stock-stepper button{min-width:38px;min-height:42px}.app-shell .stock-stepper input{min-width:0;font-size:17px}.app-shell .stock-operation-row{flex-wrap:wrap;gap:9px;padding:12px 0}.app-shell .stock-operation-caption strong{font-size:16px}.app-shell .stock-operation-caption>span{font-size:14px}.app-shell .stock-operation-caption small{font-size:12px}.app-shell .stock-route{font-size:15px;line-height:1.5}.app-shell .stock-operation-total{font-size:23px}.app-shell .stock-operation-summary{padding:14px}.app-shell .stock-manual-note,.app-shell .stock-summary-help{font-size:13px;line-height:1.5}.app-shell .count-start,.app-shell .count-panel,.app-shell .count-bottom{padding:14px}.app-shell .count-summary{flex-direction:row;align-items:center;gap:6px 12px;padding:10px 0}.app-shell .count-summary strong{font-size:17px}.app-shell .count-summary span,.app-shell .count-summary small{font-size:13px}.app-shell .count-toolbar{flex-wrap:wrap;gap:8px;padding:11px 0}.app-shell .count-toolbar input,.app-shell .count-toolbar select{min-height:44px;font-size:16px}.app-shell .count-scanner{grid-template-columns:minmax(0,1fr) 44px 44px;gap:7px;padding:12px 0;display:grid}.app-shell .count-scanner .scanner-input{grid-area:1/1;width:100%;min-width:0;height:44px;min-height:44px;padding:0 10px}.app-shell .count-scanner .scanner-input>svg{display:none}.app-shell .count-scanner input{min-height:42px;font-size:16px}.app-shell .count-scanner>.button{grid-row:1;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;font-size:14px}.app-shell .count-scanner>.count-barcode-button{grid-column:2}.app-shell .count-scanner>.count-photo-button{grid-column:3}.app-shell .count-scanner>.button>span{display:none}.app-shell .count-scanner .count-picker{grid-column:1/-1}.app-shell .count-table tbody{gap:9px;padding:0}.app-shell .count-table tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px}.app-shell .count-table td:first-child{grid-column:1/-1}.app-shell .count-input,.app-shell .count-price{width:100%;min-height:44px;padding:9px;font-size:16px}.app-shell .count-cost-cell{grid-column:1/-1}.app-shell .count-photo-reference,.app-shell .count-stale-text{font-size:12px;line-height:1.4}.app-shell .count-buttons{flex-wrap:wrap;gap:8px;display:flex}.app-shell .count-buttons .button{flex:155px;font-size:15px}.app-shell .count-buttons .text-button{font-size:14px}.app-shell .count-cost-approve{font-size:14px;line-height:1.5}.app-shell .count-picker{max-height:340px}.app-shell .purchase-settings,.app-shell .purchase-history,.app-shell .purchase-notes,.app-shell .purchase-result{margin-bottom:12px;padding:14px}.app-shell .purchase-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app-shell .purchase-form .field>span{min-height:0;font-size:13px;line-height:1.4}.app-shell .purchase-form input,.app-shell .purchase-form select{min-height:44px;font-size:16px}.app-shell .purchase-muted,.app-shell .purchase-notes p{font-size:13px;line-height:1.55}.app-shell .purchase-intro{gap:10px;margin-bottom:14px}.app-shell .purchase-intro h2{font-size:18px}.app-shell .purchase-intro p{font-size:14px;line-height:1.4}.app-shell .purchase-icon{border-radius:12px;width:42px;height:42px}.app-shell .purchase-formula{margin:13px 0;padding:12px;font-size:14px}.app-shell .purchase-warning{gap:5px;padding:12px;font-size:14px;line-height:1.5}.app-shell .purchase-actions{gap:8px}.app-shell .purchase-actions .button{flex:auto;min-height:44px;font-size:14px}.app-shell .purchase-row{grid-template-columns:minmax(0,1fr) 82px 28px;gap:9px;padding:12px 0}.app-shell .purchase-product strong{font-size:16px;line-height:1.4}.app-shell .purchase-product small{font-size:13px;line-height:1.4}.app-shell .purchase-product .product-photo{width:38px;min-width:38px;height:42px}.app-shell .purchase-order input{min-height:44px;padding:8px;font-size:18px}.app-shell .purchase-metrics strong{font-size:15px}.app-shell .purchase-metrics small{font-size:12px}.app-shell .purchase-row>.icon-button{width:28px;min-width:28px;padding:4px}.app-shell .purchase-line-details{padding:12px}.app-shell .purchase-line-details .purchase-form{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .purchase-line-details p{font-size:13px;line-height:1.5}.app-shell .purchase-total{bottom:calc(74px + env(safe-area-inset-bottom,0px));border-radius:12px;gap:12px;padding:12px 14px;position:sticky}.app-shell .purchase-total strong{font-size:17px}.app-shell .purchase-total small{font-size:12px;line-height:1.4}.app-shell .purchase-toolbar{gap:9px}.app-shell .purchase-toolbar>label{font-size:14px}.app-shell .purchase-search input{min-height:44px;font-size:16px}.app-shell .purchase-history-row{padding:12px 0}.app-shell .purchase-history-row strong{font-size:15px}.app-shell .purchase-history-row small{font-size:13px}.app-shell .fbs-heading{flex-wrap:nowrap;align-items:flex-start;gap:8px}.app-shell .fbs-heading h1{font-size:24px}.app-shell .fbs-heading h1>span{margin:4px 0 0;font-size:13px;display:block}.app-shell .fbs-heading p{font-size:13px;line-height:1.4}.app-shell .fbs-heading>.button{gap:0;width:44px;min-width:44px;height:44px;padding:11px;font-size:0;line-height:0}.app-shell .fbs-heading>.button svg{width:21px;height:21px}.app-shell .fbs-mode{border-radius:11px;gap:8px;margin-bottom:10px;padding:10px 12px}.app-shell .fbs-mode strong{font-size:14px;line-height:1.4}.app-shell .fbs-mode small{margin-top:3px;font-size:12px;line-height:1.4}.app-shell .fbs-mode>svg{width:20px;min-width:20px}.app-shell .fbs-mode>.icon-button{width:32px;min-width:32px;padding:5px}.app-shell .fbs-sources{border-radius:10px;margin-bottom:10px}.app-shell .fbs-sources>summary{gap:8px;min-height:42px;padding:9px;font-size:12px}.app-shell .fbs-sources .fbs-market{padding:4px 6px;font-size:11px}.app-shell .fbs-connections{grid-template-columns:minmax(0,1fr);gap:7px;padding:8px}.app-shell .fbs-connection{padding:10px;font-size:14px}.app-shell .fbs-connection small{font-size:12px}.app-shell .fbs-explain{padding:12px;font-size:14px;line-height:1.6}.app-shell .fbs-panel{padding:0}.app-shell .fbs-tabs{scrollbar-width:none;gap:5px;padding:9px;display:flex;overflow:auto}.app-shell .fbs-tabs button{white-space:nowrap;flex:none;gap:5px;min-height:40px;padding:8px 9px;font-size:12px}.app-shell .fbs-tabs button>b{font-size:12px}.app-shell .fbs-tabs button>svg{display:none}.app-shell .fbs-toolbar{border-bottom:1px solid #eee8f3;flex-flow:wrap;gap:7px;padding:9px;display:flex}.app-shell .fbs-search{flex:180px;min-width:0;max-width:100%;height:44px;min-height:44px}.app-shell .fbs-search input{min-width:0;font-size:16px}.app-shell .fbs-toolbar>select{flex:0 115px;width:115px;min-width:0;max-width:100%;height:44px;min-height:44px;padding:8px;font-size:14px}.app-shell .fbs-order{padding:12px 11px}.app-shell .fbs-order-head{flex-wrap:wrap;gap:7px;margin-bottom:9px}.app-shell .fbs-order-id{gap:7px;min-width:0;max-width:100%;font-size:12px}.app-shell .fbs-order-id strong{overflow-wrap:anywhere;font-size:12px}.app-shell .fbs-order-id input{width:18px;height:18px}.app-shell .fbs-market{padding:4px 6px;font-size:11px}.app-shell .fbs-state{white-space:normal;padding:4px 6px;font-size:11px}.app-shell .fbs-order-body{display:block}.app-shell .fbs-line{grid-template-columns:42px minmax(0,1fr) auto;gap:8px}.app-shell .fbs-line .product-photo{width:42px;min-width:42px;height:46px}.app-shell .fbs-line strong{font-size:16px;line-height:1.35}.app-shell .fbs-line small{overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.4}.app-shell .fbs-qty{white-space:nowrap;font-size:15px}.app-shell .fbs-order-side{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 36px;align-items:center;gap:8px;margin-top:9px;display:grid}.app-shell .fbs-order-side .fbs-deadline{grid-area:1/1}.app-shell .fbs-order-side .fbs-availability{grid-area:1/2}.app-shell .fbs-order-side .fbs-expand{grid-area:1/3}.app-shell .fbs-deadline{align-items:flex-start;gap:5px;min-width:0;font-size:12px}.app-shell .fbs-deadline small{font-size:11px;line-height:1.3}.app-shell .fbs-deadline b{font-size:12px;line-height:1.4}.app-shell .fbs-availability{gap:4px;font-size:12px;line-height:1.4}.app-shell .fbs-availability svg{width:14px;min-width:14px}.app-shell .fbs-expand{justify-self:end;gap:0;width:36px;min-width:36px;height:36px;min-height:36px;padding:7px;font-size:14px}.app-shell .fbs-expand>span{display:none}.app-shell .fbs-details{max-width:100%;padding:10px;font-size:14px;line-height:1.5}.app-shell .fbs-detail-meta{gap:6px;font-size:12px}.app-shell .fbs-components{overflow-wrap:anywhere;font-size:13px}.app-shell .fbs-detail-warning{font-size:13px;line-height:1.5}.app-shell .fbs-pagination{gap:10px;padding:11px;font-size:13px}.app-shell .fbs-pagination .button{min-height:42px;font-size:14px}.app-shell .fbs-footnote{padding:8px 0;font-size:12px;line-height:1.5}.app-shell .fbs-accounting-queue{padding:12px;font-size:14px}.app-shell .fbs-accounting-control{font-size:14px}.app-shell .fbs-accounting-events{font-size:13px}.app-shell .fbs-accounting-part{gap:8px;font-size:14px}.app-shell .modal-backdrop{padding:12px}.app-shell .modal{max-height:calc(92dvh / var(--interface-zoom,1));border-radius:14px;width:620px;max-width:100%;padding:16px 14px}.app-shell .modal>header{gap:10px;margin-bottom:15px}.app-shell .modal>header h2{font-size:20px;line-height:1.35}.app-shell .modal>header>.icon-button{width:44px;min-width:44px}.app-shell .modal-actions{flex-wrap:wrap;gap:8px;margin-top:15px;padding-top:13px}.app-shell .modal-actions .button{flex:auto;min-height:44px;font-size:15px}.app-shell .component-line{grid-template-columns:minmax(0,1fr) 70px 36px;gap:7px}.app-shell .component-line input{width:70px;min-height:44px;padding:9px;font-size:16px}.app-shell .component-line select{max-width:100%;min-height:44px;padding:9px;font-size:16px}.app-shell .component-line>.icon-button{width:36px;min-width:36px;padding:6px}.app-shell .editor-section{padding:12px}.app-shell .editor-section h3{font-size:16px}.app-shell .editor-section p{font-size:14px;line-height:1.5}.app-shell .product-editor-top{gap:10px;margin-bottom:15px}.app-shell .product-editor-top small{font-size:12px;line-height:1.5}.app-shell .app-footer{gap:5px;margin:18px 0 5px;font-size:11px;line-height:1.5}.app-shell .app-footer>span:last-child{font-size:10px}.app-shell .mobile-bottom-nav{z-index:38;width:calc(100vw / var(--interface-zoom,1));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:#fffe;border-top:1px solid #e7dfee;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-height:64px;display:grid;position:fixed;bottom:0;left:0;right:auto}.app-shell .mobile-bottom-nav>a,.app-shell .mobile-bottom-nav>button{color:#9b8ca7;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:46px;padding:4px;font-size:12px;line-height:1.3;text-decoration:none;display:flex}.app-shell .mobile-bottom-nav .active{color:#714beb;background:#f8f4ff;font-weight:600}.app-shell .mobile-bottom-nav svg{width:21px;height:21px}.app-shell:has(.modal-backdrop) .mobile-bottom-nav{visibility:hidden}.app-shell .toast{bottom:calc(80px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100vw / var(--interface-zoom,1) - 24px);z-index:110;padding:12px 14px;font-size:14px;left:50%;right:auto;transform:translate(-50%)}.app-shell .background-refresh{bottom:calc(73px + env(safe-area-inset-bottom,0px));font-size:11px;right:10px}}@media screen and (max-width:360px){.app-shell .content-wrap{padding-left:10px;padding-right:10px}.app-shell .mobile-brand strong{font-size:17px}.app-shell .page-heading h1{font-size:22px}.app-shell .page-heading>.button{padding:9px 10px;font-size:13px}.app-shell .metric-card{padding:10px}.app-shell .metric-card>strong{font-size:19px}.app-shell .product-table .product-kind-cell{padding-left:0}.app-shell .receipt-table tr{gap:9px}.app-shell .receipt-table .receipt-quantity-cell{grid-column:1/-1}.app-shell .receipt-table .quantity-stepper{max-width:210px}.app-shell .form-grid{grid-template-columns:minmax(0,1fr)}.app-shell .fbs-toolbar>select{flex:1;width:100%}.app-shell .fbs-tabs button{padding:8px;font-size:12px}.app-shell .purchase-row{grid-template-columns:minmax(0,1fr) 68px 25px;gap:7px}.app-shell .purchase-line-details .purchase-form{grid-template-columns:minmax(0,1fr)}}@media print{.mobile-bottom-nav,.mobile-brand,.header-search-toggle,.header-search-dismiss,.fbs-sources{display:none!important}}
.roll-panel{margin-bottom:20px;padding:24px}.roll-panel h2{margin:24px 0 14px}.roll-tabs{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.roll-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.roll-card{cursor:pointer;background:#fff;border:2px solid #e6e2f4;border-radius:16px;align-items:flex-start;gap:12px;min-width:0;padding:16px;display:flex}.roll-card.selected{background:#f7f4ff;border-color:#7250dd}.roll-card>input{flex-shrink:0;width:22px;height:22px}.roll-card>span{overflow-wrap:anywhere;gap:7px;min-width:0;display:grid}.roll-card b{color:#6239d1;font-size:24px}.roll-card small{color:#747488}.roll-loss{gap:6px;margin-top:8px;display:grid}.roll-loss input{width:100%;min-width:0}.roll-outputs{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.roll-outputs .field{overflow-wrap:anywhere;min-width:0}.roll-docs{gap:8px;display:grid}.roll-doc-button{text-align:left;color:inherit;cursor:pointer;background:#fff;border:1px solid #e9e5f2;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:14px;display:flex}.roll-doc-button small{color:#747488;margin-top:5px;display:block}.roll-result{background:#f7f4ff;border-radius:14px;margin:16px 0;padding:16px}.roll-result p{overflow-wrap:anywhere}@media (max-width:600px){.roll-panel{padding:16px}.roll-grid,.roll-outputs{grid-template-columns:1fr}.roll-tabs .button{white-space:normal;flex:1;justify-content:center}.roll-doc-button{flex-wrap:wrap;align-items:flex-start}.roll-panel .modal-actions .button{width:100%}}
.fbs-heading h1{align-items:baseline;gap:14px;display:flex}.fbs-heading h1 span{color:#818096;font-size:14px;font-weight:500}.fbs-mode{color:#6450af;background:#f1efff;border:1px solid #e4dfff;border-radius:14px;align-items:center;gap:12px;margin-bottom:12px;padding:12px 16px;display:flex}.fbs-mode>span{flex:1;gap:3px;display:grid}.fbs-mode strong{font-size:13px}.fbs-mode small{color:#766c95;font-size:12px}.fbs-explain{background:#fff;border:1px solid #e5e1ef;border-radius:12px;margin-bottom:12px;padding:15px;font-size:13px;line-height:1.65}.fbs-connections{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 18px;display:grid}.fbs-connection{background:#fff;border:1px solid #eae7f1;border-radius:12px;align-items:flex-start;gap:9px;min-width:0;padding:11px;display:flex}.fbs-connection>span:last-child{gap:4px;min-width:0;display:grid}.fbs-connection b{font-size:12px}.fbs-connection small{color:#858195;overflow-wrap:anywhere;font-size:11px;line-height:1.4}.fbs-market{color:#615976;background:#eee;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;min-width:30px;padding:6px 7px;font-size:10px;font-weight:800;line-height:1;display:inline-flex}.fbs-market.WB{color:#a52ab6;background:#f5e5ff}.fbs-market.OZON{color:#1665d9;background:#e4edff}.fbs-market.YANDEX{color:#876300;background:#fff2c8}.fbs-panel{padding:0;overflow:hidden}.fbs-tabs{border-bottom:1px solid #eeebf5;gap:6px;padding:14px 16px 12px;display:flex;overflow:auto}.fbs-tabs button{color:#868098;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-size:13px;display:flex}.fbs-tabs button.active{color:#6842b6;background:#eee8ff;font-weight:650}.fbs-tabs button b{color:#8f87a3;background:#f1eef6;border-radius:5px;padding:2px 6px;font-size:11px}.fbs-tabs button.active b{color:#6842b6;background:#ded1fa}.fbs-toolbar{border-bottom:1px solid #efecf4;gap:12px;padding:14px 18px;display:flex}.fbs-search{color:#9690a9;background:#f8f7fb;border:1px solid #eeebf4;border-radius:10px;flex:1;align-items:center;gap:9px;min-width:0;padding:0 10px;display:flex}.fbs-search input{box-shadow:none;background:0 0;border:0;width:100%;min-width:0;padding:10px 0;font-size:12px}.fbs-toolbar select{min-width:0;max-width:240px;font-size:12px}.fbs-order{border-bottom:1px solid #eeebf4;padding:14px 18px;transition:background .15s}.fbs-order:last-child{border:0}.fbs-order.selected{background:#faf7ff}.fbs-order-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.fbs-order-id{align-items:center;gap:9px;min-width:0;display:flex}.fbs-order-id input{accent-color:#8061d0;flex-shrink:0;width:15px;height:15px}.fbs-order-id strong{overflow-wrap:anywhere;font-size:12px}.fbs-state{color:#8c839d;white-space:nowrap;background:#f3f0f7;border-radius:6px;padding:4px 8px;font-size:10px}.fbs-state.ready{color:#2e9675;background:#eaf8f1}.fbs-state.issue{color:#b78535;background:#fff5df}.fbs-order-body{align-items:center;gap:22px;display:flex}.fbs-order-lines{flex:1;gap:9px;min-width:0;display:grid}.fbs-line{align-items:center;gap:11px;min-width:0;display:flex}.fbs-line .product-photo{border-radius:9px;flex-shrink:0;width:48px;height:48px}.fbs-line>div:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.fbs-line strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:600;line-height:1.45;display:-webkit-box;overflow:hidden}.fbs-line small{color:#91899f;overflow-wrap:anywhere;font-size:10px}.fbs-qty{white-space:nowrap;flex-shrink:0;font-size:12px}.fbs-order-side{flex-shrink:0;gap:9px;width:180px;display:grid}.fbs-deadline{color:#9b8cab;align-items:center;gap:7px;display:flex}.fbs-deadline>span{gap:3px;display:grid}.fbs-deadline small{color:#92869c;font-size:10px}.fbs-deadline b{color:#5c536d;font-size:11px}.fbs-availability{align-items:center;gap:6px;font-size:10px;display:flex}.fbs-availability.ok{color:#3a9877}.fbs-availability.issue{color:#bb8840}.fbs-expand.button{justify-content:space-between;min-height:33px;padding:7px 10px;font-size:11px}.fbs-details{border-top:1px dashed #e4dfed;margin-top:14px;padding-top:12px;font-size:12px}.fbs-detail-meta{color:#9a91a5;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px;font-size:10px;display:flex}.fbs-components{background:#f8f6fc;border-radius:8px;margin:10px 0;padding:10px}.fbs-components>strong{font-size:11px}.fbs-components>div{color:#81758f;overflow-wrap:anywhere;justify-content:space-between;gap:12px;padding:6px 0;font-size:10px;display:flex}.fbs-components>div>span{min-width:0}.fbs-detail-warning{color:#a77a35;font-size:11px;line-height:1.5}.fbs-details>small{color:#9d91ac;font-size:10px}.fbs-progress{color:#8b79aa;align-items:center;gap:10px;padding:10px 0;font-size:12px;display:flex}.fbs-progress>span{flex:1}.fbs-progress .button{padding:6px 9px;font-size:11px}.fbs-selection{background:#f5f0ff;align-items:center;gap:12px;padding:10px 18px;font-size:12px;display:flex}.fbs-selection .button{padding:7px 10px;font-size:11px}.fbs-pagination{color:#8b809a;justify-content:center;align-items:center;gap:12px;padding:16px;font-size:12px;display:flex}.fbs-pagination .button{padding:7px 11px;font-size:11px}.fbs-footnote{color:#a297ac;align-items:center;gap:8px;margin:14px 0;font-size:11px;display:flex}.fbs-print-details{display:none}@media (max-width:900px){.fbs-heading h1{display:block}.fbs-heading h1 span{margin-top:5px;font-size:12px;display:block}.fbs-connections{grid-template-columns:1fr}.fbs-connection{padding:8px 10px}.fbs-connection>span:last-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fbs-order{padding:12px}.fbs-tabs{gap:0;padding:10px 8px}.fbs-tabs button{gap:5px;padding:8px;font-size:11px}.fbs-toolbar{gap:8px;padding:12px}.fbs-toolbar select{width:130px}.fbs-order-body{display:block}.fbs-order-side{grid-template-columns:1fr 1fr;align-items:center;gap:8px;width:100%;margin-top:11px}.fbs-deadline{grid-column:1}.fbs-availability{grid-area:2/1}.fbs-expand{grid-area:1/2/span 2;justify-self:end}.fbs-heading .button{padding:10px;font-size:12px}.fbs-state{font-size:9px}.fbs-line strong{font-size:12px}.fbs-mode{padding:10px}.fbs-mode strong{font-size:12px}.fbs-mode small{font-size:10px}.fbs-search input{font-size:11px}.fbs-connection small{font-size:10px}}@media (max-width:420px){.fbs-toolbar{flex-direction:column}.fbs-toolbar select{width:100%;max-width:none}.fbs-order-id{gap:6px}.fbs-order-id strong{font-size:11px}.fbs-line .product-photo{width:42px;height:42px}.fbs-tabs button{padding:8px 6px;font-size:10px}.fbs-tabs button b{font-size:10px}.fbs-tabs{justify-content:space-between}.fbs-order-id .fbs-market{min-width:26px;font-size:9px}.fbs-footnote{align-items:flex-start;line-height:1.5}.fbs-components>div{gap:4px;display:grid}}@media print{body{background:#fff!important}.app-sidebar,.app-topbar,.context-row,.app-footer,.fbs-heading,.fbs-mode,.fbs-explain,.fbs-connections,.fbs-tabs,.fbs-toolbar,.fbs-selection,.fbs-pagination,.fbs-footnote,.fbs-expand,.fbs-availability,.fbs-progress,.error-box,.toast,.fbs-not-print,.fbs-details{display:none!important}.app-main{margin:0!important;padding:0!important}.content-wrap{max-width:none!important;padding:0!important}.fbs-order{break-inside:avoid}.fbs-order-id input{display:none}.fbs-print-details{margin-top:8px;font-size:10px;display:block}.fbs-order-side{width:160px}.fbs-panel{box-shadow:none!important;border:0!important}}
.fbs-accounting-control{background:#f6f3ff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 0;padding:12px;display:flex}.fbs-accounting-control>small{color:#7c6188;flex:1;min-width:150px}.fbs-accounting-details h3{margin:22px 0 12px;font-size:16px}.fbs-accounting-part{border-bottom:1px solid #eeeaf5;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.fbs-accounting-part>span{min-width:0}.fbs-accounting-part strong,.fbs-accounting-part small{overflow-wrap:anywhere;display:block}.fbs-accounting-part small{color:#7e8596;margin-top:5px}.fbs-accounting-part>b{white-space:nowrap}.fbs-accounting-events{gap:14px;max-height:320px;padding:0;list-style:none;display:grid;overflow:auto}.fbs-accounting-events li{border-left:3px solid #c8b5ff;gap:5px;padding-left:14px;display:grid}.fbs-accounting-events small{color:#8c8a9f}.fbs-accounting-events span{color:#6c7185;font-size:13px}.fbs-accounting-actions{flex-wrap:wrap;gap:12px;margin:22px 0;display:flex}.fbs-accounting-confirm{background:#f6f3ff;border:1px solid #ded5f5;border-radius:12px;margin-top:18px;padding:18px}.fbs-accounting-confirm>p{line-height:1.6}.fbs-accounting-queue{margin:16px 0;padding:18px}.fbs-accounting-queue>summary{cursor:pointer;font-weight:600}.fbs-accounting-queue>div{border-top:1px solid #eee;margin-top:10px;padding:15px 0}.fbs-accounting-document{max-width:950px;padding:24px}@media (max-width:760px){.fbs-accounting-control,.fbs-accounting-events span{font-size:15px}.fbs-accounting-actions>.button{width:100%}.fbs-accounting-confirm{padding:12px}.fbs-accounting-document{padding:16px}}@media print{.fbs-accounting-control,.fbs-accounting-queue{display:none!important}}
.purchase-settings,.purchase-history,.purchase-notes,.purchase-result{margin-bottom:18px;padding:22px}.purchase-intro{align-items:center;gap:14px;margin-bottom:20px;display:flex}.purchase-intro h2,.purchase-history h2{margin:0 0 6px}.purchase-intro p{color:#727080;margin:0}.purchase-icon{color:#7650c7;background:#eee8ff;border-radius:16px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid}.purchase-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.purchase-form input,.purchase-form select,.purchase-settings>.field input{width:100%;min-height:44px}.purchase-muted{color:#727080;font-size:14px;line-height:1.6}.purchase-formula{color:#6741aa;background:#f4f0ff;border-radius:12px;margin:18px 0;padding:14px 16px;line-height:1.6}.purchase-actions{flex-wrap:wrap;gap:10px;display:flex}.purchase-warning{color:#6e541c;background:#fff8e5;border:1px solid #e6c97c;border-radius:14px;flex-direction:column;gap:6px;margin-bottom:18px;padding:18px;font-size:15px;line-height:1.5;display:flex}.purchase-notes summary{cursor:pointer;font-weight:600}.purchase-notes p{color:#615a71;line-height:1.6}.purchase-issue{overflow-wrap:anywhere;border-bottom:1px solid #eee8f4;padding:8px;font-size:14px}.purchase-toolbar{flex-wrap:wrap;align-items:center;gap:18px;padding-bottom:15px;display:flex}.purchase-search{flex:1;align-items:center;gap:10px;min-width:210px;display:flex}.purchase-search input{background:0 0;border:0;width:100%;min-height:42px}.purchase-toolbar>label{align-items:center;gap:8px;display:flex}.purchase-result{padding:18px}.purchase-row{border-top:1px solid #ede9f3;grid-template-columns:minmax(240px,1fr) 235px 110px 36px;align-items:center;gap:16px;padding:15px 0;display:grid}.purchase-product{align-items:center;gap:10px;min-width:0;display:flex}.purchase-index{color:#91869d;min-width:20px;font-size:13px}.purchase-product>div:last-child{min-width:0}.purchase-product strong{overflow-wrap:anywhere;font-size:15px;line-height:1.45;display:block}.purchase-product small,.purchase-product em{overflow-wrap:anywhere;color:#81778c;margin-top:3px;font-size:12px;display:block}.purchase-product em{color:#8c671b;font-style:normal}.purchase-metrics{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.purchase-metrics small,.purchase-order small{color:#8b8295;margin-bottom:5px;font-size:12px;display:block}.purchase-metrics strong{font-size:15px}.purchase-order input{color:#6741aa;background:#f4f0ff;border:1px solid #d9caef;border-radius:9px;width:100%;min-height:42px;padding:8px 10px;font-weight:600}.purchase-line-details{background:#f8f6fb;border-radius:12px;grid-column:1/-1;padding:16px;line-height:1.6}.purchase-line-details p{font-size:14px}.purchase-line-details .purchase-form{max-width:600px}.purchase-line-details>small{color:#81778c}.purchase-total{z-index:2;background:#fff;border:1px solid #e7e0f1;border-radius:14px;justify-content:space-between;gap:16px;padding:20px;display:flex;position:sticky;bottom:12px;box-shadow:0 6px 25px #49356e12}.purchase-total strong,.purchase-total small{display:block}.purchase-total strong{font-size:20px}.purchase-total small{color:#877b94;margin-top:5px;font-size:12px}.purchase-history-row{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:0;border-top:1px solid #eee8f4;justify-content:space-between;gap:15px;padding:15px 0;display:flex}.purchase-history-row small{color:#867b91;margin-top:5px;display:block}.purchase-history-row strong{overflow-wrap:anywhere}.purchasing input:disabled,.purchasing select:disabled{opacity:.75}@media (max-width:1100px){.purchase-row{grid-template-columns:minmax(180px,1fr) 110px 32px}.purchase-metrics{grid-area:2/1}.purchase-order{grid-area:1/2/3}.purchase-row>.icon-button{grid-area:1/3/3}.purchase-line-details{grid-row:auto}}@media (max-width:600px){.purchase-settings,.purchase-history,.purchase-notes,.purchase-result{padding:15px}.purchase-form{gap:12px}.purchase-form .field>span{min-height:36px;font-size:13px;line-height:1.4}.purchase-row{grid-template-columns:minmax(0,1fr) 84px 26px;gap:10px}.purchase-product{gap:7px}.purchase-product .product-photo{width:38px;min-width:38px;height:42px}.purchase-product strong{font-size:14px}.purchase-metrics{gap:7px}.purchase-metrics small{font-size:11px}.purchase-metrics strong{font-size:13px}.purchase-index{min-width:12px;font-size:11px}.purchase-order small{font-size:11px}.purchase-total{padding:15px;bottom:6px}.purchase-total strong{font-size:17px}.purchase-actions .button{flex:1;justify-content:center}.purchase-toolbar{gap:12px}.purchase-search{flex-basis:100%}.purchase-line-details .purchase-form{grid-template-columns:1fr}.purchase-intro h2{font-size:18px}}
