.panel-shell main,.panel-shell section,.panel-shell form{min-width:0}.panel-shell :is(button,a,input,select,textarea):focus-visible{outline-offset:3px;outline:3px solid #30a580}.panel-shell :is(.module-table-wrap,.detail-table-wrap){overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.panel-shell :is(.document-detail-modal,.product-edit-modal,.customer-create-v2,.share-fallback-card){overscroll-behavior:contain;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}@media (max-width:900px){.panel-shell :is(.detail-shell,.panel-main,.customer-purchase-create){box-sizing:border-box;width:100%;min-width:0}.panel-shell :is(.customer-overview-grid,.detail-grid,.account-action-grid,.product-history-grid,.operation-grid,.warehouse-action-grid){grid-template-columns:minmax(0,1fr)}.panel-shell :is(.customer-hero-v2,.detail-top,.purchase-create-head,.warehouse-hero-v3){flex-wrap:wrap;gap:14px}.panel-shell :is(.customer-identity,.warehouse-hero-identity){overflow-wrap:anywhere;min-width:0}.panel-shell :is(.customer-actions-v2,.account-detail-toolbar,.employee-action-bar,.purchase-detail-actions,.warehouse-hero-actions,.document-head,.document-list-head,.customer-section-toolbar,.supplier-action-toolbar){flex-wrap:wrap;gap:10px}}@media (max-width:700px){.panel-shell :is(.detail-shell,.panel-main,.customer-purchase-create){padding:14px 12px 28px}.panel-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){box-sizing:border-box;max-width:100%;min-height:46px;font-size:16px}.panel-shell :is(input[type=checkbox],input[type=radio]){accent-color:#177553;flex-shrink:0;width:20px;height:20px}.panel-shell :is(button,.module-primary,.customer-action-outline,.document-print-button,.officialize-document-button){min-height:44px;line-height:1.35}.panel-shell button:disabled{opacity:.55;cursor:wait}.panel-shell :is(.customer-form-grid,.customer-edit-grid,.detail-form-grid,.product-edit-grid,.employee-movement-form,.customer-payment-form,.document-fields,.document-detail-meta,.despatch-carrier-fields,.purchase-create-meta,.supplier-purchase-line,.quick-product-form,.production-grid){grid-template-columns:minmax(0,1fr);gap:12px}.panel-shell :is(.customer-form-grid,.customer-edit-grid,.detail-form-grid,.product-edit-grid,.customer-payment-form,.document-fields,.document-detail-meta,.purchase-create-meta)>.wide{grid-column:auto}.panel-shell :is(.customer-tabs,.account-groups,.production-tabs,.warehouse-detail-tabs,.warehouse-detail-menu,.report-group-tabs,.report-subtabs,.customer-form-tabs,.document-mode){overscroll-behavior-x:contain;scrollbar-width:thin;flex-wrap:nowrap;gap:8px;max-width:100%;padding-bottom:6px;display:flex;overflow-x:auto}.panel-shell :is(.customer-tabs,.production-tabs,.warehouse-detail-tabs,.warehouse-detail-menu,.report-group-tabs,.report-subtabs,.customer-form-tabs,.document-mode)>button{white-space:nowrap;flex:none;padding:10px 14px}.panel-shell :is(.customer-actions-v2,.purchase-detail-actions,.employee-action-bar,.account-detail-toolbar){flex-wrap:wrap;display:flex}.panel-shell :is(.customer-actions-v2,.purchase-detail-actions,.employee-action-bar)>:is(button,a){text-align:center;flex:140px;justify-content:center}.panel-shell :is(.customer-toolbar,.document-head,.document-list-head,.customer-section-toolbar,.ledger-toolbar,.warehouse-stock-filter,.purchase-lines-head,.production-form .section-title){flex-wrap:wrap;gap:10px;display:flex}.panel-shell :is(.customer-toolbar input,.customer-toolbar select,.ledger-toolbar label){width:100%;min-width:0}.panel-shell :is(.customer-kpis,.detail-stats,.product-stats,.warehouse-kpis-v3,.report-kpis){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.panel-shell :is(.customer-kpis,.detail-stats,.product-stats,.warehouse-kpis-v3,.report-kpis) :is(article,strong){overflow-wrap:anywhere;min-width:0}.panel-shell :is(.customer-info-card,.detail-card,.operation-card,.document-builder,.purchase-create-card,.production-form){min-width:0;padding:16px}.panel-shell :is(.customer-modal-backdrop,.document-detail-overlay,.product-edit-overlay,.share-fallback-backdrop){padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.panel-shell :is(.customer-create-v2,.document-detail-modal,.product-edit-modal,.share-fallback-card){border-radius:16px;width:100%;max-width:100%;max-height:calc(100dvh - 24px)}.panel-shell :is(.customer-create-actions,.product-edit-modal footer,.document-detail-modal footer,.purchase-create-footer){padding-bottom:max(14px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:10px;display:flex}.panel-shell :is(.customer-create-actions,.product-edit-modal footer,.document-detail-modal footer,.purchase-create-footer)>button{flex:130px;justify-content:center}.panel-shell :is(.document-line,.ingredient-row){grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.panel-shell :is(.document-draft-lines,.supplier-purchase-lines,.purchase-lines-table){min-width:0;max-width:100%}.panel-shell .purchase-line-row.head{display:none}.panel-shell .purchase-line-row:not(.head){border:1px solid #dce6e0;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0;padding:14px;display:grid}.panel-shell .purchase-line-row:not(.head)>select{grid-column:1/-1;width:100%}.panel-shell .purchase-line-row label{gap:6px;min-width:0;display:grid}.panel-shell .purchase-line-row label>span{color:#60756a;font-size:12px;font-weight:700;display:block}.panel-shell .purchase-line-row strong{overflow-wrap:anywhere;align-self:center;font-size:17px}.panel-shell .purchase-line-row .line-remove-button{justify-self:end;width:46px}.panel-shell .module-table-wrap:has(.document-row-clickable) :is(table,tbody){width:100%;min-width:0;display:block}.panel-shell .module-table-wrap:has(.document-row-clickable) thead{display:none}.panel-shell .document-row-clickable{background:#fff;border:1px solid #dce6e0;border-radius:12px;margin:10px 0;padding:12px;display:block}.panel-shell .document-row-clickable td[data-label]{white-space:normal;overflow-wrap:anywhere;text-align:right;border:0;justify-content:space-between;align-items:start;gap:12px;padding:8px 0;display:flex}.panel-shell .document-row-clickable td[data-label]:before{content:attr(data-label);color:#697b72;text-align:left;flex:0 0 70px;font-size:12px}.panel-shell .edm-row-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;display:flex}.panel-shell .edm-row-actions .edm-badge{white-space:normal;overflow-wrap:anywhere}.panel-shell :is(.payment-list>article,.account-movement-list>article,.employee-movement-list>article){flex-wrap:wrap;gap:10px}.panel-shell :is(.customer-document-row,.ledger-row,.supplier-movement-expanded-meta){overflow-wrap:anywhere;min-width:0}.panel-shell .bulk-invoice-bar{flex-wrap:wrap;gap:12px;display:flex}.panel-shell .bulk-invoice-bar :is(input,select,button){min-width:0;max-width:100%}.panel-shell :is(.document-detail-modal,.purchase-detail-card) .module-table-wrap input{width:110px;min-width:90px}.panel-shell .print-paper-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:380px){.panel-shell :is(.customer-kpis,.detail-stats,.product-stats,.warehouse-kpis-v3),.panel-shell .purchase-line-row:not(.head){grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.panel-shell *{scroll-behavior:auto!important}}@media (max-width:700px){.panel-shell .customer-data-table.ledger.enhanced{min-width:0;overflow:visible}.panel-shell .customer-table-head.ledger.enhanced{display:none}.panel-shell .ledger-row.enhanced{border:1px solid #dce6e0;border-radius:12px;grid-template-columns:minmax(0,1fr);gap:8px;margin:10px 0;padding:14px;display:grid}.panel-shell .ledger-row.enhanced>[data-label]{white-space:normal;text-align:right;overflow-wrap:anywhere;justify-content:space-between;gap:12px;display:flex}.panel-shell .ledger-row.enhanced>[data-label]:before{content:attr(data-label);text-align:left;color:#697b72;flex:0 0 62px;font-size:12px;font-weight:500}}
:is(.panel-shell,.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell,.management-shell) :is(main,section,article,form){min-width:0}:is(.panel-shell,.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell,.management-shell) :is(button,input,select,textarea){font-family:inherit}:is(.panel-shell,.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell,.management-shell) :is(button,a,input,select,textarea):focus-visible{outline-offset:3px;outline:3px solid #43a38a}.panel-shell :is(.account-detail-toolbar,.employee-action-bar,.purchase-detail-actions,.supplier-history-row-actions,.supplier-history-summary-actions,.supplier-movement-expanded-actions,.customer-quick-row-actions,.payment-row-actions,.warehouse-hero-actions,.route-review-top-actions,.module-header-actions,.document-line-actions,.excel-import-actions,.excel-mapping-actions){flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel-shell :is(.account-detail-toolbar,.employee-action-bar,.purchase-detail-actions,.supplier-history-row-actions,.supplier-history-summary-actions,.supplier-movement-expanded-actions,.customer-quick-row-actions,.payment-row-actions,.warehouse-hero-actions,.route-review-top-actions,.module-header-actions,.document-line-actions,.excel-import-actions,.excel-mapping-actions)>:is(button,a){white-space:normal;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:9px 13px;font-size:13px;line-height:1.3;text-decoration:none;display:inline-flex}.panel-shell .account-movement-list>article{grid-template-columns:36px minmax(0,1fr) minmax(100px,auto) auto;align-items:center;gap:14px;padding:16px 4px;display:grid}.panel-shell .account-movement-list>article>div:not(.cash-movement-actions){overflow-wrap:anywhere;min-width:0}.panel-shell .account-movement-list>article>.cash-movement-actions{flex-flow:row;grid-area:1/4;justify-content:flex-end;align-items:center;gap:8px;display:flex}.panel-shell .cash-movement-actions button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:9px 13px;font-size:13px;line-height:1.3;display:inline-flex}.panel-shell .account-movement-list b{font-size:14px;line-height:1.45}.panel-shell .account-movement-list small{margin-top:4px;font-size:12px;line-height:1.5}.panel-shell .account-movement-list article>strong{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px}.panel-shell .employee-movement-list>div{gap:14px;padding:16px 4px}.panel-shell .employee-movement-list b{font-size:14px;line-height:1.45}.panel-shell .employee-movement-list small{font-size:12px;line-height:1.5}.panel-shell .employee-movement-list button{min-height:40px;font-size:13px;line-height:1.3}.panel-shell :is(.detail-card-title,.customer-section-toolbar,.supplier-history-summary-head){flex-wrap:wrap;align-items:center;gap:12px}.panel-shell :is(.detail-form-grid,.employee-movement-form,.customer-payment-form,.employee-edit-form,.employee-create-form) label{min-width:0}.panel-shell :is(.detail-form-grid,.employee-movement-form,.customer-payment-form,.employee-edit-form,.employee-create-form) label>span{font-size:13px;line-height:1.45}.panel-shell :is(.detail-form-grid,.employee-movement-form,.customer-payment-form,.employee-edit-form,.employee-create-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;font-size:14px}.panel-shell #cash-movement-editor{scroll-margin-top:24px}.panel-shell #cash-movement-editor form>button{border-radius:9px;min-height:44px;margin-top:14px;margin-right:8px;padding:10px 16px;font-size:13px}.panel-shell .route-manual-order-head{flex-wrap:wrap;align-items:end;gap:14px;display:flex}.panel-shell .route-manual-order-head>div{flex:220px;min-width:0}.panel-shell .route-manual-order-head>label{flex:0 300px;gap:6px;min-width:200px;display:grid}.panel-shell .route-manual-order-head>label>span{color:#60756c;font-size:12px}.panel-shell .route-manual-order-head select{background:#fff;border:1px solid #d4e1da;border-radius:9px;width:100%;min-height:44px;padding:10px 12px;font-size:13px}.panel-shell .route-manual-order-head>button{min-height:44px}.panel-shell :is(.report-filter,.route-review-filters,.route-history-filters,.route-list-toolbar,.warehouse-filter-bar,.ledger-toolbar){flex-wrap:wrap;align-items:end;gap:12px}.panel-shell :is(.report-filter,.route-review-filters,.route-history-filters,.route-list-toolbar,.warehouse-filter-bar,.ledger-toolbar)>label{min-width:0}.beauty-shell :is(.beauty-row-actions,.beauty-header-actions,.beauty-toolbar),.clinic-shell :is(.clinic-head-actions,.clinic-mini-actions),.fitness-shell .fitness-row-actions,.restaurant-shell :is(.qr-row-actions,.restaurant-order-actions,.qr-logo-actions),.teacher-shell .teacher-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.beauty-shell .beauty-row-actions button,.clinic-shell .clinic-mini-actions button,.fitness-shell .fitness-row-actions button,.restaurant-shell :is(.qr-row-actions,.restaurant-order-actions) button{justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 12px;font-size:13px;line-height:1.35;display:inline-flex}:is(.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell) form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px}:is(.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell) :is(.clinic-form,.fitness-form,.beauty-modal-card,.market-create-form,.market-staff-form,.kres-form) :is(footer,.form-actions){flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (max-width:1100px){.panel-shell .account-movement-list>article{grid-template-columns:36px minmax(0,1fr) auto}.panel-shell .account-movement-list>article>.cash-movement-actions{grid-area:2/2/auto/-1;justify-content:flex-end}}@media (max-width:700px){.panel-shell .account-movement-list>article{grid-template-columns:34px minmax(0,1fr);gap:10px 12px;padding:16px 0}.panel-shell .account-movement-list>article>strong{text-align:left;grid-area:2/2;font-size:16px}.panel-shell .account-movement-list>article>.cash-movement-actions{flex-wrap:wrap;grid-area:3/2;justify-content:flex-start}.panel-shell .cash-movement-actions button,.panel-shell .employee-movement-list button{min-height:44px;padding:10px 14px}.panel-shell .employee-movement-list>div{align-items:flex-start}.panel-shell .employee-movement-list>div>div:first-child{flex:100%}.panel-shell .route-manual-order-head>label{flex:100%;min-width:0}.panel-shell .route-manual-order-head>button{justify-content:center;width:100%}.panel-shell .route-manual-order-head select{font-size:16px}.panel-shell :is(.report-filter,.route-review-filters,.route-history-filters,.warehouse-filter-bar,.ledger-toolbar)>label{flex:140px}:is(.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.market-module-shell,.market-staff-shell,.kres-shell,.teacher-shell,.parent-shell,.management-shell) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){max-width:100%;min-height:44px;font-size:16px}.beauty-shell .beauty-row-actions button,.clinic-shell .clinic-mini-actions button,.fitness-shell .fitness-row-actions button,.restaurant-shell :is(.qr-row-actions,.restaurant-order-actions) button{min-height:44px}.clinic-shell .clinic-head-actions,.beauty-shell .beauty-header-actions{justify-content:flex-start;width:100%}.clinic-shell .clinic-appointment-card .clinic-mini-actions,.fitness-shell .fitness-row-actions,.restaurant-shell .restaurant-order-actions{justify-content:flex-start}.panel-shell :is(.account-detail-toolbar,.purchase-detail-actions,.employee-action-bar)>:is(button,a){flex:145px;min-height:44px}.panel-shell .account-detail-toolbar .danger{margin-left:0}}@media (prefers-reduced-motion:reduce){:is(.panel-shell,.beauty-shell,.clinic-shell,.fitness-shell,.restaurant-shell,.market-shell,.kres-shell) *{scroll-behavior:auto!important}}.panel-shell .detail-card-title h2{font-size:18px;line-height:1.35}.panel-shell :is(.detail-card-title,.customer-section-toolbar)>span{color:#687c72;font-size:12px}.panel-shell :is(.module-table-wrap,.detail-table-wrap) :is(th,td){font-size:13px;line-height:1.5}.panel-shell .report-kpis :is(small,span),.panel-shell .detail-stats small{font-size:12px;line-height:1.45}.panel-shell .detail-stats strong{font-variant-numeric:tabular-nums;font-size:20px}.panel-shell .detail-stats article{min-width:0;padding:18px}.management-shell .management-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:700px){.panel-shell .detail-stats article{padding:14px}.panel-shell .detail-stats strong{font-size:18px}.panel-shell :is(.module-table-wrap,.detail-table-wrap) :is(th,td){font-size:13px}.management-shell .management-header{flex-wrap:wrap}}
