/* Final Smart Droguerie blue/orange palette: overrides legacy turquoise UI. */
body{background:#f5f7fb!important;color:#102b50}
.panel,.document-panel,.document-table-wrap,.table-wrap,.erp-table-wrap{border-color:#cbdced!important}
.document-lines th,.erp-table th,.table-wrap th,.document-internal-table th,.document-lines-delivery th{background:#073b7a!important;color:#fff!important;border-color:#315f9d!important}
.document-lines td,.erp-table td,.table-wrap td,.document-internal-table td{border-color:#dbe6f3!important}
.document-lines input,.document-lines select,.document-lines textarea,.form-panel input,.form-panel select,.form-panel textarea{border-color:#b8cce4!important;background:#fff!important}
.document-lines input:focus,.document-lines select:focus,.document-lines textarea:focus,input:focus,select:focus,textarea:focus{border-color:#ff7200!important;box-shadow:0 0 0 3px rgba(255,114,0,.16)!important}
.document-lines-head,.sales-v3-docbox-order,.delivery-pro-client-card,.delivery-pro-finance,.bcf-document-info,.bcf-card{border-color:#cbdced!important;background:#fff!important}
.document-summary,.document-summary-recap,.document-summary-comments,.document-delivery-grand-total,.document-summary-actions{border-color:#cbdced!important;background:#fff!important}
.document-delivery-grand-total,.document-summary>strong{background:#073b7a!important;color:#fff!important}
.eyebrow,.document-lines-head .eyebrow{color:#ff7200!important}
.btn.primary,.btn.primary:hover{background:linear-gradient(135deg,#073b7a,#0b5fb3 62%,#ff7200)!important}
.btn.secondary,.btn.ghost{border-color:#b8cce4!important;background:#fff!important;color:#073b7a!important}
.badge.warning,.tone-orange{color:#ff7200!important}

/* PATCH 015 — respect the global dark theme instead of forcing the light canvas. */
html[data-theme="dark"] body.app-body{
  background-color:#04151c!important;
  background-image:
    radial-gradient(circle at 50% -10%,rgba(28,104,126,.20),transparent 38%),
    linear-gradient(180deg,#071d26 0%,#051820 52%,#031219 100%)!important;
  color:var(--ink)!important;
}
html[data-theme="dark"] body.app-body #mainContent{
  background:transparent!important;
}
