
.ndt-metric.ndt-metric-overdue { background: var(--dt-surface); color: var(--dt-text) !important; }
.ndt-metric.ndt-metric-overdue.has-overdue { background: #a62b47; color: #fff !important; }
.nx-cadastro-pendente.nx-cadastro-pendente {
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--dt-danger, #d73451) 45%, transparent);
    background: color-mix(in srgb, var(--dt-danger, #d73451) 9%, var(--dt-surface, #fff));
    color: var(--dt-text, #271629);
    box-shadow: none;
}
.nx-cadastro-pendente.nx-cadastro-pendente strong { color: inherit; margin-bottom: 3px; font-size: 13px; }
.nx-cadastro-pendente.nx-cadastro-pendente li { color: inherit; background: transparent; padding: 0; gap: 3px 8px; }
.nx-cadastro-pendente.nx-cadastro-pendente li span { font-size: 12px; flex-basis: 170px; }
.nx-cadastro-pendente.nx-cadastro-pendente a {
    width: auto; min-height: 36px; padding: 4px 8px; display: inline-flex; align-items: center;
    color: var(--dt-text, #271629); background: transparent; border: 1px solid currentColor;
}
.nx-cadastro-pendente.nx-cadastro-pendente a:hover { background: var(--dt-tint, #f9e9ed); }
.ndt-mobile-network, .wat-mobile-connect, .nexus-mobile-plans { display: none; }
.nexus-audit-disclosure > summary { cursor: pointer; padding-block: 10px; font-weight: 650; }
.ca-tiers .ca-tier { margin-top: 5px; }
.ca-tier-editor { border-bottom: 1px solid var(--dt-line, #dcd6e2); }
.ca-tier-editor summary { overflow-wrap: anywhere; }

@media (max-width: 700px) {
    .ndt-page .ndt-topbar { gap: 3px; }
    .ndt-page .ndt-topbar .ndt-toolbar { gap: 0; }
    .ndt-page .ndt-topbar .ndt-toolbar > .ndt-icon,
    .ndt-page .ndt-topbar .nx-global-menu-toggle { width: 40px; height: 44px; min-height: 44px; }
    .ndt-page .ndt-topbar .ndt-location { gap: 5px; }
    .ndt-page .ndt-location h1 { font-size: 16px; }
    .ndt-page .ndt-location > div > span { font-size: 10px; }
    .ndt-mobile-network {
        display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 9px 10px; margin: 0 0 8px;
        border: 1px solid var(--dt-line); border-radius: 8px; background: var(--dt-surface);
        font-size: 12px; align-items: center;
    }
    .ndt-mobile-network a { display: inline-flex; gap: 4px; min-height: 32px; align-items: center; }
    .ndt-mobile-network a b { font-variant-numeric: tabular-nums; }
    .ndt-dashboard-page .ndt-metrics { gap: 5px; margin-bottom: 8px; }
    .ndt-dashboard-page .ndt-metric { padding: 7px 8px; min-height: 58px; gap: 5px; border-radius: 8px; flex-direction: row; align-items: center; }
    .ndt-dashboard-page .ndt-metric > div { width: auto; }
    .ndt-dashboard-page .ndt-metric-icon { width: 22px; height: 22px; font-size: 12px; }
    .ndt-dashboard-page .ndt-metric strong { font-size: clamp(13px, 4vw, 18px); margin-top: 2px; }
    .ndt-dashboard-page .ndt-metric small { margin-top: 1px; }
    .ndt-dashboard-page .ndt-unified-board { display: flex; flex-direction: column; gap: 8px; }
    .ndt-dashboard-page .ndt-unified-board > * { width: 100%; }
    .ndt-dashboard-page .ndt-profile-column { order: 2; }
    .ndt-dashboard-page .ndt-work-column { order: 1; }

    .cs.cs { display: flex; flex-direction: column; gap: 8px; }
    .cs.cs > .cs-stats { order: 2; border-bottom: 0; padding-bottom: 0; }
    .cs.cs .cs-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .cs.cs #customer-search-form { grid-row: 2; }
    .cs.cs .cs-header-actions { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
    .cs.cs .cs-header-actions .primary { grid-column: auto; }
    .cs.cs .cs-header-actions .cs-btn { gap: 3px; padding: 0 4px; font-size: 11px; }
    .cs.cs .cs-header-actions .cs-btn i { display: none; }
    .cs.cs .cs-row :is(.cs-customer-name strong, .cs-name strong, .cs-person strong) {
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden; white-space: normal; overflow-wrap: anywhere;
    }
    .profile-stats.profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
    .profile-stats .profile-stat { min-height: 51px; padding: 5px 6px; gap: 5px; }
    .profile-stats .profile-stat-icon { width: 23px; height: 23px; flex-basis: 23px; font-size: 12px; }
    .profile-stats .profile-stat strong { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
    .profile-stats .profile-stat small { font-size: 10px; }
    .nx-cadastro-pendente.nx-cadastro-pendente li span { flex-basis: auto; }

    .rbh.rbh .rbh-top { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 5px 8px; }
    .rbh.rbh .rbh-icon { width: 30px; height: 30px; margin: 0; }
    .rbh.rbh .rbh-title h2 {
        white-space: normal; overflow-wrap: anywhere; line-height: 1.2;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    }
    .rbh.rbh .rbh-title p { display: flex; flex-wrap: wrap; gap: 3px 6px; margin: 3px 0 0; }
    .rbh.rbh .rbh-status { white-space: nowrap; }
    .rbh.rbh .rbh-actions { grid-column: 2; justify-self: start; gap: 4px; }
    .rbh.rbh .rbh-btn { min-height: 36px; height: auto; font-size: 12px; padding: 3px 8px; }
    .rbh.rbh .rbh-more { width: 40px; }

    .wat-mobile-connect.wat-mobile-connect { display: flex; margin: 6px 0; }
    .wat-mobile-connect .wac-btn { min-height: 40px; }
    .wat-workspace .wat-context { gap: 4px 10px; }
    .wat-workspace .wat-settings-nav .wac-tab { min-height: 42px; padding: 4px; }
    .wat-workspace .wat-heading { margin-bottom: 8px; }
    .wat-workspace .wat-heading-copy p { display: none; }
    .wat-workspace .wac-connection-overview .wac-conn-status small { display: none; }

    .nexus-ticket-page.nxm-page { display: flex; flex-direction: column; gap: 8px; }
    .nexus-ticket-page > .ticket-metrics { order: 2; }
    .nexus-ticket-page > .nxm-panel { order: 1; }
    .nexus-ticket-page .nxm-filters > .nxm-field:first-child { grid-column: 1 / -1 !important; }
    .report-shell .report-hero { padding: 10px; gap: 7px; }
    .report-shell .report-hero-heading { margin: 0; }
    .report-shell .report-subtitle { margin-block: 3px; }
    .report-shell .report-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .report-shell .report-filter-actions { grid-column: 1 / -1; }
    .report-shell .report-field input { min-width: 0; width: 100%; }

    .nexus-provider-list .pv-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-block: 3px; }
    .nexus-provider-list .pv-chip { flex: 0 0 auto; min-height: 38px; }
    .nexus-home .nexus-mobile-plans { display: inline-flex; min-height: 40px; align-items: center; padding-inline: 6px; }
}
