/* Customer Database declarations are scoped to its dashboard and shared detail modal. */
#customerDatabaseDashboard.customer-db-style-1, #customerDatabaseDashboard .customer-db-style-1, #globalModal .customer-db-style-1 { margin-top:20px;background:white;padding:30px;border-radius:16px;box-shadow:0 2px 10px rgba(0,0,0,.08); }
#customerDatabaseDashboard.customer-db-style-2, #customerDatabaseDashboard .customer-db-style-2, #globalModal .customer-db-style-2 { text-align:center;margin-bottom:20px; }
#customerDatabaseDashboard.customer-db-style-3, #customerDatabaseDashboard .customer-db-style-3, #globalModal .customer-db-style-3 { grid-template-columns:
        repeat(
          auto-fit,
          minmax(
            180px,
            1fr
          )
        );gap:15px;margin-bottom:20px; }
#customerDatabaseDashboard.customer-db-style-4, #customerDatabaseDashboard .customer-db-style-4, #globalModal .customer-db-style-4 { width:100%;padding:8px;margin-top:5px; }
#customerDatabaseDashboard.customer-db-style-5, #customerDatabaseDashboard .customer-db-style-5, #globalModal .customer-db-style-5 { width:100%;padding:8px;margin-top:5px;box-sizing:border-box; }
#customerDatabaseDashboard.customer-db-style-7, #customerDatabaseDashboard .customer-db-style-7, #globalModal .customer-db-style-7 { grid-template-columns:1fr 1fr;gap:15px; }
#customerDatabaseDashboard.customer-db-style-8, #customerDatabaseDashboard .customer-db-style-8, #globalModal .customer-db-style-8 { margin:20px 0; }
#customerDatabaseDashboard.customer-db-style-9, #customerDatabaseDashboard .customer-db-style-9, #globalModal .customer-db-style-9 { padding:30px;text-align:center;color:#6b7280; }
#customerDatabaseDashboard.customer-db-style-10, #customerDatabaseDashboard .customer-db-style-10, #globalModal .customer-db-style-10 { padding:20px;color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;text-align:center; }
#customerDatabaseDashboard.customer-db-style-11, #customerDatabaseDashboard .customer-db-style-11, #globalModal .customer-db-style-11 { cursor:pointer;user-select:none; }
#customerDatabaseDashboard.customer-db-style-12, #customerDatabaseDashboard .customer-db-style-12, #globalModal .customer-db-style-12 { padding:6px 10px;border:none;border-radius:6px;cursor:pointer;background:#2563eb;color:white;font-weight:600; }
#customerDatabaseDashboard.customer-db-style-13, #customerDatabaseDashboard .customer-db-style-13, #globalModal .customer-db-style-13 { margin-top:15px;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px; }
#customerDatabaseDashboard.customer-db-style-14, #customerDatabaseDashboard .customer-db-style-14, #globalModal .customer-db-style-14 { padding:25px;text-align:center;color:#6b7280; }


/* Detail uses the shared table renderer with a compact, wrapping layout. */
#globalModal .customer-db-detail-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;}
#customerDatabaseAwbTable .customer-db-detail-table{width:100%;min-width:0;font-size:12px;}
#customerDatabaseAwbTable .customer-db-detail-table th,#customerDatabaseAwbTable .customer-db-detail-table td{padding:8px 5px;white-space:normal;overflow-wrap:anywhere;}
#customerDatabaseAwbTable .shared-sort-header{white-space:normal;gap:3px;}

