/* Small, consistent controls; definition navigation stays above its content. */
#zacrm-page-actions{display:none!important}
#zdef-navigation{order:-3;margin-top:0!important;align-items:center;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
#tab-definitions{display:flex;flex-direction:column;gap:16px}#tab-definitions.hidden{display:none!important}
#zx-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 12px;border:1px solid #e2e5ee;border-radius:11px;background:#fff;margin-bottom:16px;order:-2;box-shadow:0 2px 8px #1e293b04}
#tab-definitions #zx-toolbar{margin:0}
.zx-caption{font-size:9px;font-weight:750;letter-spacing:.12em;color:#8790a1;margin-right:5px}
#zx-toolbar select,#zx-toolbar input{font-size:11px!important;min-height:28px!important;height:28px!important;padding:4px 8px!important;border:1px solid #e2e5ee;border-radius:6px;background:#f8fafc;max-width:190px}
#zx-toolbar input{margin-right:auto;width:160px}
#zx-toolbar button,.zx-heading button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dddde9;background:#fff;color:#50449c;border-radius:7px;font-size:10px!important;font-weight:550;min-height:29px!important;padding:5px 9px!important;line-height:16px!important;white-space:nowrap}
#zx-toolbar button i,.zx-heading button i{font-size:16px;line-height:1}#zx-toolbar button:disabled{opacity:.4;cursor:not-allowed}
#zx-toolbar button:hover:not(:disabled),.zx-heading button.active{background:#f0eef9}
body main button:not(.order-card):not(.eksper-menu-toggle),body .zf-shell button,body .zco-company-form button{font-size:11px!important;line-height:16px!important;min-height:29px!important;padding-top:5px!important;padding-bottom:5px!important;border-radius:7px!important}
body main button i,body .zf-shell button i{font-size:16px!important}
body main .zr-button,body .zf-shell .zr-button{font-size:11px!important;padding:5px 9px!important;min-height:29px!important}
#zt-launch{font-size:11px!important;padding:6px 10px!important;min-height:30px!important}#zt-launch i{font-size:17px!important}
#zpl-toolbar button{font-size:10px!important;min-height:29px!important;padding:5px 9px!important}
#zpl-toggle::first-letter,#zpl-add::first-letter{font-size:15px}
.zx-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.zx-heading h2{font-size:19px;font-weight:700}.zx-heading h3{margin:0!important}#zx-definition-buttons{display:flex;gap:6px}
#zx-import-modal{z-index:115;overflow:auto}.zx-import-panel{background:white;border-radius:14px;max-width:1000px;width:100%;padding:22px;max-height:calc(100dvh - 32px);overflow:auto;font-size:12px}.zx-import-panel>p{color:#64748b;line-height:1.6;margin:8px 0 16px}.zx-import-panel>input{margin-bottom:12px}#zx-import-status{margin:12px 0;color:#475569;white-space:pre-wrap}.zx-preview-scroll{max-height:300px;overflow:auto;margin:10px 0 16px}.zx-preview-scroll table{width:100%;border-collapse:collapse}.zx-preview-scroll th,.zx-preview-scroll td{padding:7px 9px;border:1px solid #e2e8f0;font-size:11px;text-align:left;white-space:nowrap}.zx-preview-scroll th{background:#f1f5f9}#zx-password{display:block;border:1px solid #cbd5e1;border-radius:7px;padding:7px;margin-top:5px}
/* Consolidated Excel actions replace duplicate page-local export/import buttons. */
.tab-content button[onclick="exportOrdersToExcel()"],.tab-content button[onclick="exportWarehouseToExcel()"],.tab-content button[onclick="exportUsersToExcel()"],.tab-content button[onclick="exportPricingToExcel()"],.tab-content button[onclick="exportAccountingFilteredExcel()"],.tab-content button[onclick="zrExportReports()"],#stock-import-btn,.tab-content label:has(#price-excel-input),.tab-content label:has(#excel-file-input),.zp-order-actions>button:not([data-order-action="add"]){display:none!important}
#zx-definition-content .zf-actions label:has(input[onchange="zfCatalogImport(this)"]){display:none!important}
@media(max-width:767px){#zx-toolbar{gap:7px;padding:9px}#zx-toolbar input{width:100%;max-width:none;order:2}#zx-toolbar select{flex:1;max-width:none}#zx-toolbar button{min-height:34px!important;font-size:10px!important;padding:6px 8px!important}body main button:not(.order-card):not(.eksper-menu-toggle){min-height:34px!important}.zx-import-panel{padding:16px}#zx-definition-buttons{width:100%}}
