:root{--mg-bg:#f8fafc;--mg-surface:#fff;--mg-text:#111827;--mg-muted:#667085;--mg-border:#e5e7eb;--mg-primary:#2563eb;--mg-radius:14px}
html,body{background:var(--mg-bg)!important;color:var(--mg-text)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:400!important}
h1,h2,h3,h4,h5,h6,.page-title,.panel-title{font-weight:600!important;letter-spacing:-.02em!important;color:var(--mg-text)!important}
strong,b,.fw-bold{font-weight:600!important}
.panel,.card,.box,.modal-content,.table-responsive,.well{background:var(--mg-surface)!important;border:1px solid var(--mg-border)!important;border-radius:var(--mg-radius)!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}
.btn{border-radius:10px!important;font-weight:500!important;box-shadow:none!important;min-height:40px!important}
.btn-primary{background:var(--mg-primary)!important;border-color:var(--mg-primary)!important}
.form-control,.select2-container .select2-choice{border:1px solid #d0d5dd!important;border-radius:10px!important;box-shadow:none!important;min-height:42px!important;font-weight:400!important}
.table>thead>tr>th{background:#f9fafb!important;color:#475467!important;font-weight:500!important;border-bottom:1px solid var(--mg-border)!important}
.table>tbody>tr>td{border-top:1px solid #eef2f6!important;font-weight:400!important;vertical-align:middle!important}
.navbar,.headerbar{background:#fff!important;border-bottom:1px solid var(--mg-border)!important;box-shadow:none!important}
@media(max-width:767px){h1{font-size:24px!important}.container-fluid{padding-left:14px!important;padding-right:14px!important}.panel,.card{border-radius:12px!important}.btn{white-space:nowrap!important}.table-responsive{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}}
