/* A restrained shared surface system for every ERP section. */
:root{--erp-ink:#182b47;--erp-muted:#73839a;--erp-line:#e1e7f0;--erp-soft:#f6f8fc;--erp-blue:#2455df}
body{color:var(--erp-ink);background:#f5f7fa}.ui-icon{width:16px;height:16px;flex:0 0 16px;vertical-align:middle;pointer-events:none}.with-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}.page-head h1.with-icon{display:flex;justify-content:flex-start;gap:12px}.page-head h1>.ui-icon{width:25px;height:25px;flex-basis:25px;color:#56749b}.panel-head h2.with-icon,.order-editor-section strong.with-icon{justify-content:flex-start;gap:9px}.panel-head h2>.ui-icon,.order-editor-section strong>.ui-icon{color:#6880a3}.btn{min-height:36px;line-height:1.35;font-weight:500;transition:background .12s,border-color .12s}.btn.secondary{border-color:#dce4f0;color:#314b70}.btn.secondary:hover{background:#f2f6ff;border-color:#aebfe0}.btn:not(.secondary):not(.danger){background:var(--erp-blue)}.btn.danger{background:#fff5f5;border-color:#f2d5d9;color:#ad3446}.btn.danger:hover{background:#ffebed}.btn:disabled{opacity:.55;cursor:not-allowed}.link-button.with-icon{font-size:12px}.queue-actions .delete-link{color:#9a5763}.queue-actions .delete-link:hover{color:#b52e44}.queue-actions .link-button.with-icon{align-self:center}.panel{border-color:var(--erp-line)}.panel-head{background:#fff;border-color:var(--erp-line)}.panel th{background:#f8faff;color:#73849d;font-size:10px;font-weight:600}.panel td{border-color:#edf1f7}.panel tbody tr:hover{background:#f8faff}.panel tbody tr:has(input[type=checkbox]:checked){background:#f0f5ff}.product-filters,.employee-filters,.assembly-filters,.stock-filters,#audit-filters{background:#fff}.filters input[type=search],.audit-main-filters input[type=search]{background:#fafcff}.product-batch,.stock-batch{border-color:var(--erp-line);background:#f5f8ff}.badge{padding:5px 8px;font-weight:500}.queue-tabs button,.stock-tabs button{font-weight:500}.queue-tabs button.active,.stock-tabs button.active{color:var(--erp-blue);border-color:var(--erp-blue)}input,select,textarea{color:#253e60;border-color:#dbe3ef;background:#fff;line-height:1.4}input:focus,select:focus,textarea:focus{border-color:#779cef;outline:2px solid #edf3ff;outline-offset:1px}input[type=checkbox],input[type=radio]{accent-color:var(--erp-blue)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #779cef;outline-offset:3px}.dialog-head{border-color:var(--erp-line);background:white}.dialog-footer{border-color:var(--erp-line);background:#fafbfe}.dialog-body h3.section-label{color:#607493;font-weight:600}.detail-grid{padding:14px;border:1px solid #e5ebf4;border-radius:7px;background:#fafcff}.detail-grid>div>span{color:var(--erp-muted)}.close{background:#f1f4f9;color:#70829b;border-radius:50%}.close:hover{background:#e5ecf7;color:#254f91}.roles-help{background:#fafcff}.order-editor-section>summary{background:#f5f8fc}.order-editor-section[open]>summary{background:#edf3fb}.order-editor-section>summary:after{content:'';width:7px;height:7px;border-right:1.5px solid #6b83a7;border-bottom:1.5px solid #6b83a7;transform:rotate(45deg);margin-right:3px;flex-shrink:0}.order-editor-section[open]>summary:after{content:'';transform:rotate(225deg)}.order-editor-section>summary>strong{font-weight:600}.order-editor-section>summary>strong>.ui-icon{width:18px;height:18px;flex-basis:18px}.nav button{border-radius:7px}.nav button.active{background:#2455df}.nav button:hover:not(.active){background:#ffffff09}.audit-paging button{border-radius:6px}.serial-search-results{border-left-color:#8ba8eb}.stock-extras>summary{font-weight:500}.empty{color:#6f8099}.order-editor .order-editor-bottom .check{color:#394f70}
@media(max-width:720px){.page-head h1{font-size:22px}.page-head h1>.ui-icon{width:22px;height:22px;flex-basis:22px}.page-head>.actions .btn{padding:9px 11px}.filters .ui-icon{width:14px;height:14px;flex-basis:14px}.panel td .btn{white-space:nowrap}.queue-actions .btn{justify-content:center}.order-editor-section strong.with-icon{gap:7px}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
