/* Phase 56: production polish for dashboard contrast, customer-safe domain language, and mobile tables */
html.admin-ui-active .dashboard-card,
html.admin-ui-active .dashboard-card *,
html.admin-ui-active .surface,
html.admin-ui-active .surface * { text-shadow:none!important; }
html.admin-ui-active .dashboard-card { background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important; color:#0f172a!important; border-color:#dbe4ef!important; }
html.admin-ui-active .dashboard-card__value,
html.admin-ui-active .dashboard-card__label { color:#0f172a!important; }
html.admin-ui-active .dashboard-card__label { min-height:2.3em; display:block; }
html.admin-ui-active .dashboard-card__trend { max-width:100%; white-space:normal!important; word-break:break-word; }
html.admin-ui-active .table-shell .dropdown-menu,
html.admin-ui-active .table-responsive .dropdown-menu { position:fixed!important; inset:auto auto auto auto; max-width:min(280px,calc(100vw - 24px)); }
html.admin-ui-active .dataTables_wrapper .row { row-gap:.75rem; }
html.admin-ui-active .dataTables_length label,
html.admin-ui-active .dataTables_filter label,
html.admin-ui-active .dataTables_info { color:#0f172a!important; }
html.admin-ui-active .dataTables_filter input { background:#fff!important; color:#0f172a!important; border:1px solid #cbd5e1!important; border-radius:10px!important; padding:.45rem .7rem!important; }
.customer-shell .service-row,
.customer-shell .surface,
.customer-shell .workspace-hero { overflow-wrap:anywhere; }
.customer-shell .table-shell,
.customer-shell .table-responsive { overflow-x:auto!important; -webkit-overflow-scrolling:touch; }
@media(max-width:992px){
  .shell-nav .navbar-collapse{max-height:calc(100vh - 82px); overflow:auto; padding:1rem 0;}
  .shell-nav__menu,.shell-nav__actions{align-items:stretch!important; gap:.35rem;}
  .shell-link{width:100%; justify-content:space-between;}
  .shell-nav__dropdown{max-width:calc(100vw - 24px);}
}
@media(max-width:640px){
  html.admin-ui-active .workspace-hero__title{font-size:clamp(1.8rem,12vw,2.7rem)!important; line-height:1.02!important;}
  html.admin-ui-active .dashboard-card{min-height:138px!important; border-radius:18px!important;}
  html.admin-ui-active .table-shell, html.admin-ui-active .table-responsive{border-radius:14px!important;}
}
