:root {
  --cq-navy-950: #071226;
  --cq-navy-900: #0b1c38;
  --cq-blue-600: #086be8;
  --cq-blue-700: #0759c1;
  --cq-blue-100: #dcecff;
  --cq-cyan-500: #22a6f2;
  --cq-surface: #ffffff;
  --cq-canvas: #f4f7fb;
  --cq-line: #dfe7f1;
  --cq-ink: #13213a;
  --cq-muted: #66758c;
  --cq-success: #16845b;
  --cq-success-bg: #e3f6ee;
  --cq-danger: #b93443;
  --cq-danger-bg: #fcecef;
  --cq-shadow-sm: 0 4px 16px rgba(14, 35, 66, .06);
  --cq-shadow-md: 0 18px 48px rgba(14, 35, 66, .11);
}

html, body { min-height: 100%; }

body {
  color: var(--cq-ink);
  background: var(--cq-canvas);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  padding-top: 96px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cq-blue-600); }
a:hover, a:focus { color: var(--cq-blue-700); }

.navbar-default {
  min-height: 76px;
  border: 0;
  border-top: 4px solid var(--cq-blue-600);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 28px rgba(12, 30, 58, .10);
}

.navbar-default .navbar-brand {
  height: 72px;
  padding: 6px 24px 6px 16px;
  display: flex;
  align-items: center;
}

.navbar-default .navbar-brand img,
#login_header_logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.navbar-default .navbar-nav > li > a {
  color: #44526a;
  padding-top: 25px;
  padding-bottom: 24px;
  font-weight: 650;
  transition: color .16s ease, background .16s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: var(--cq-blue-700);
  background: #f0f6ff;
}

.navbar-default .navbar-nav > li > a.btn {
  margin-top: 17px;
  margin-bottom: 17px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-default .navbar-toggle {
  margin-top: 18px;
  border-color: var(--cq-line);
}

.dropdown-menu {
  border: 1px solid var(--cq-line);
  border-radius: 10px;
  box-shadow: var(--cq-shadow-md);
  padding: 7px;
}

.dropdown-menu > li > a {
  border-radius: 7px;
  padding: 9px 12px;
}

.container[role="main"] {
  min-width: 0 !important;
  width: min(1280px, calc(100% - 40px)) !important;
  padding: 8px 0 72px !important;
}

.cq-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 170px;
  margin-bottom: 22px;
  padding: 34px 38px;
  color: #fff;
  background: linear-gradient(118deg, var(--cq-navy-950) 0%, #102d5c 72%, #0d4f9e 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  box-shadow: var(--cq-shadow-md);
  overflow: hidden;
  position: relative;
}

.cq-page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  border: 44px solid rgba(34, 166, 242, .13);
  border-radius: 50%;
  pointer-events: none;
}

.cq-page-copy { position: relative; z-index: 1; }
.cq-page-copy h1 { margin: 8px 0 8px; font-size: 34px; line-height: 1.15; font-weight: 750; letter-spacing: -.5px; }
.cq-page-copy p { margin: 0; max-width: 720px; color: #c9d8ee; font-size: 16px; line-height: 1.55; }
.cq-page-copy p strong { color: #fff; }

.cq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8dc8ff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cq-primary-action {
  position: relative;
  z-index: 1;
  min-width: 150px;
  padding: 12px 20px;
  border-color: #43a6ff;
  color: #fff;
  background: var(--cq-blue-600);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.cq-primary-action:hover,
.cq-primary-action:focus { border-color: #fff; color: #fff; background: var(--cq-blue-700); }

.cq-stats { margin-bottom: 22px; }

.cq-stat-card {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  background: var(--cq-surface);
  border: 1px solid var(--cq-line);
  border-radius: 13px;
  box-shadow: var(--cq-shadow-sm);
}

.cq-stat-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cq-blue-700);
  background: var(--cq-blue-100);
  border-radius: 11px;
  font-size: 19px;
}

.cq-stat-icon-secondary { color: #08738b; background: #dff5f8; }
.cq-stat-card strong { display: block; color: var(--cq-navy-900); font-size: 27px; line-height: 1; }
.cq-stat-card span:not(.cq-stat-icon):not(.glyphicon) { display: block; margin-top: 6px; color: var(--cq-muted); font-size: 13px; }

.panel, .well, .table-responsive {
  border: 1px solid var(--cq-line);
  border-radius: 13px;
  background: var(--cq-surface);
  box-shadow: var(--cq-shadow-sm);
}

.panel-heading {
  padding: 17px 20px;
  border-color: var(--cq-line);
  border-radius: 13px 13px 0 0;
  background: #fbfcfe !important;
}

.panel-body { padding: 20px; }
.panel-footer { padding: 15px 20px; border-color: var(--cq-line); border-radius: 0 0 13px 13px; background: #fbfcfe; }

.cq-toolbar-panel { margin-bottom: 22px; }
.cq-toolbar-panel .panel-heading .row { display: flex; align-items: flex-end; }
.cq-domain-filter label { display: block; margin-bottom: 6px; color: var(--cq-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cq-domain-summary h4 { margin: 0 0 5px; color: var(--cq-navy-900); font-size: 17px; font-weight: 750; }
.cq-domain-summary p { margin: 0; color: var(--cq-muted); }
.cq-domain-summary + hr { margin: 18px 0; border-color: #edf1f6; }

.cq-tabs a, .cq-tabs span.active {
  display: inline-block;
  margin: 2px 3px;
  padding: 7px 12px;
  border-radius: 7px;
  text-decoration: none;
}

.cq-tabs a { color: #526078; background: #f1f4f8; }
.cq-tabs a:hover { color: var(--cq-blue-700); background: #e4efff; }
.cq-tabs span.active { color: #fff; background: var(--cq-blue-600); }

.form-control, select {
  min-height: 42px;
  border: 1px solid #d5dfeb;
  border-radius: 8px;
  box-shadow: none;
}

.form-control:focus, select:focus {
  border-color: var(--cq-blue-600);
  box-shadow: 0 0 0 3px rgba(8, 107, 232, .13);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { border-color: var(--cq-blue-600); background: var(--cq-blue-600); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--cq-blue-700); background: var(--cq-blue-700); box-shadow: 0 7px 18px rgba(8, 107, 232, .22); }
.btn-default { border-color: #d8e1ec; color: #3d4c63; background: #fff; }
.btn-danger { border-color: #ecc3c9; color: var(--cq-danger); background: var(--cq-danger-bg); }
.btn-danger:hover, .btn-danger:focus { border-color: var(--cq-danger); color: #fff; background: var(--cq-danger); }

.cq-mailbox-panel { overflow: hidden; }
.cq-mailbox-panel .pagination { margin: 13px 16px; }

#mailbox_table { margin: 0; min-width: 1060px; table-layout: auto; }
#mailbox_table > thead > tr:first-child > th {
  padding: 16px 20px;
  color: var(--cq-navy-900);
  background: #fff;
  border-bottom: 1px solid var(--cq-line);
  text-align: left !important;
}

.cq-mailbox-heading,
.cq-mailbox-heading > div,
.cq-mailbox-footer,
.cq-footer-actions,
.cq-row-actions,
.cq-account-meta {
  display: flex;
  align-items: center;
}

.cq-mailbox-heading { justify-content: space-between; gap: 20px; }
.cq-mailbox-heading > div { gap: 12px; }
.cq-mailbox-heading-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cq-blue-700);
  background: var(--cq-blue-100);
  border-radius: 10px;
  font-size: 16px;
}
.cq-mailbox-heading strong { display: block; font-size: 17px; font-weight: 750; }
.cq-mailbox-heading small { display: block; margin-top: 3px; color: var(--cq-muted); font-size: 12px; font-weight: 400; }
.cq-mailbox-count { padding: 6px 10px; color: var(--cq-blue-700); background: #eef6ff; border-radius: 999px; font-size: 12px; font-weight: 750; }

#mailbox_table > thead > tr:not(:first-child) > th {
  padding: 12px 16px;
  color: #6a7890;
  background: #f7f9fc;
  border-bottom: 1px solid var(--cq-line);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

#mailbox_table > tbody > tr > td {
  padding: 17px 16px;
  border-color: #edf1f6;
  vertical-align: middle;
}

#mailbox_table > tbody > tr:hover { background: #f8fbff; }
#mailbox_table > tbody > tr:last-child > td { border-bottom: 0; }

.cq-account-cell { min-width: 255px; }
.cq-account-address { display: block; color: var(--cq-navy-900); font-size: 14px; font-weight: 750; }
.cq-account-meta { flex-wrap: wrap; gap: 5px 14px; margin-top: 7px; color: var(--cq-muted); font-size: 11px; }
.cq-account-type, .cq-account-owner { display: inline-flex; align-items: center; gap: 5px; }
.cq-account-meta .glyphicon { color: #91a7c2; }

.cq-delivery-cell { min-width: 112px; }
.cq-delivery-badge { display: inline-block; padding: 5px 8px; color: #315b88; background: #edf5ff; border-radius: 6px; font-size: 11px; font-weight: 700; }
.cq-delivery-forward { color: #765c16; background: #fff5d6; }
.cq-delivery-list { margin-top: 6px; color: var(--cq-muted); font-size: 11px; line-height: 1.45; }

.cq-quota-cell { min-width: 105px; }
.cq-quota-value { color: var(--cq-navy-900); font-size: 14px; font-weight: 750; }
.cq-quota-value small { color: var(--cq-muted); font-size: 10px; font-weight: 700; }
.cq-modified-cell { min-width: 155px; color: #526078; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.cq-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none !important;
}

.cq-status > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cq-status-active { color: var(--cq-success); background: var(--cq-success-bg); }
.cq-status-inactive { color: var(--cq-danger); background: var(--cq-danger-bg); }
.cq-status:hover, .cq-status:focus { color: #fff; background: var(--cq-navy-900); }
.cq-actions-heading { text-align: right; }
.cq-actions-cell { min-width: 310px; }
.cq-row-actions { justify-content: flex-end; gap: 8px; white-space: nowrap; }
.cq-row-actions .btn { padding: 7px 10px; font-size: 12px; }
.cq-row-actions .btn-primary { color: #fff; }
.cq-inline-form { display: inline-flex; margin: 0; }
.cq-mailbox-footer { justify-content: space-between; gap: 16px; min-height: 38px; }
.cq-mailbox-pagination { flex: 1 1 auto; }
.cq-mailbox-pagination:empty { display: none; }
.cq-footer-actions { justify-content: flex-end; gap: 8px; margin-left: auto; }

.cq-domain-panel { overflow: hidden; }
.cq-domain-heading,
.cq-domain-heading > div,
.cq-domain-usage,
.cq-domain-footer-actions {
  display: flex;
  align-items: center;
}
.cq-domain-heading { justify-content: space-between; gap: 20px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--cq-line); }
.cq-domain-heading > div { gap: 12px; }
.cq-domain-heading-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--cq-blue-700);
  background: var(--cq-blue-100);
  border-radius: 10px;
  font-size: 17px;
}
.cq-domain-heading strong { display: block; color: var(--cq-navy-900); font-size: 17px; font-weight: 750; }
.cq-domain-heading small { display: block; margin-top: 3px; color: var(--cq-muted); font-size: 12px; font-weight: 400; }
.cq-domain-count { padding: 6px 10px; color: var(--cq-blue-700); background: #eef6ff; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.cq-domain-table-wrap { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.cq-domain-table { min-width: 1130px; margin: 0; }
.cq-domain-table > thead > tr > th {
  padding: 12px 15px;
  color: #6a7890;
  background: #f7f9fc;
  border-bottom: 1px solid var(--cq-line);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cq-domain-table > tbody > tr > td { padding: 18px 15px; border-color: #edf1f6; vertical-align: middle; }
.cq-domain-table > tbody > tr:hover { background: #f8fbff; }
.cq-domain-identity { min-width: 190px; }
.cq-domain-identity > a { display: block; color: var(--cq-navy-900); font-size: 14px; font-weight: 750; }
.cq-domain-identity > span { display: block; margin-top: 6px; color: var(--cq-muted); font-size: 11px; }
.cq-domain-usage { gap: 8px; min-width: 170px; }
.cq-domain-usage > span { min-width: 76px; padding: 8px 10px; background: #f3f7fc; border-radius: 8px; }
.cq-domain-usage small { display: block; color: var(--cq-muted); font-size: 10px; font-weight: 650; }
.cq-domain-usage strong { display: block; margin-top: 2px; color: var(--cq-navy-900); font-size: 13px; font-weight: 750; white-space: nowrap; }
.cq-domain-capacity { min-width: 205px; }
.cq-domain-capacity > div:not(.cq-domain-progress) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.cq-domain-capacity > div > span { color: var(--cq-muted); font-size: 10px; }
.cq-domain-capacity > div > strong { color: var(--cq-navy-900); font-size: 12px; font-weight: 750; white-space: nowrap; }
.cq-domain-capacity > div > strong small { color: var(--cq-muted); font-size: 9px; }
.cq-domain-progress { height: 6px; margin-top: 8px; overflow: hidden; background: #e6edf6; border-radius: 999px; }
.cq-domain-progress > span { display: block; min-width: 4px; max-width: 100%; height: 100%; background: linear-gradient(90deg, var(--cq-blue-600), var(--cq-cyan-500)); border-radius: inherit; }
.cq-route-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #315b88; background: #edf5ff; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.cq-route-backup { color: #765c16; background: #fff5d6; }
.cq-domain-status-cell { min-width: 100px; }
.cq-domain-status-cell > small { display: block; margin-top: 7px; color: var(--cq-muted); font-size: 10px; white-space: nowrap; }
.cq-domain-modified { min-width: 150px; color: #526078; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cq-domain-actions-cell { min-width: 190px; }
.cq-domain-footer-actions { justify-content: flex-end; gap: 8px; }

.alert { border-radius: 10px; box-shadow: var(--cq-shadow-sm); }
.footer { height: 54px; color: #7c899b; background: transparent; border-top: 1px solid var(--cq-line); }
.footer a { color: #66758c; }
.footer #update-check { display: none; }

.page-login {
  padding-top: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(8, 107, 232, .08), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(34, 166, 242, .07), transparent 26rem),
    var(--cq-canvas);
}

.page-login .navbar {
  position: static;
  min-height: 166px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.page-login .navbar .container { display: flex; justify-content: center; }
.page-login .navbar-header { display: flex; justify-content: center; width: 100%; }
.page-login .navbar-brand { float: none; height: 160px; padding: 10px 20px; }
.page-login .navbar-brand img,
.page-login #login_header_logo { width: 360px; height: 140px; object-position: center; }
.page-login #login {
  width: min(440px, calc(100vw - 30px));
  margin-top: 4px;
  padding-bottom: 44px;
}
.page-login #login .well {
  padding: 32px;
  border: 1px solid var(--cq-line);
  border-top: 4px solid var(--cq-blue-600);
  border-radius: 14px;
  background: var(--cq-surface);
  box-shadow: var(--cq-shadow-md);
}
.page-login #login .well label {
  margin-bottom: 7px;
  color: var(--cq-ink);
  font-size: 12px;
  font-weight: 700;
}
.page-login #login .form-group { margin-bottom: 20px; }
.page-login #login .form-control,
.page-login #login select { background: #fff; }
.page-login #login .btn-primary {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  color: #fff;
  box-shadow: 0 9px 22px rgba(8, 107, 232, .22);
}
.page-login #login select { width: 100%; padding: 8px 10px; }
.page-login #login .well a { color: var(--cq-blue-700); font-weight: 650; }
.page-login #login .cq-webmail-link {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cq-blue-700);
  border-color: #cfe2fb;
  background: #eef6ff;
}
.page-login #login .cq-webmail-link:hover,
.page-login #login .cq-webmail-link:focus { color: #fff; border-color: var(--cq-blue-700); background: var(--cq-blue-700); }
.page-login .footer { color: var(--cq-muted); border-color: var(--cq-line); }
.page-login .footer a { color: var(--cq-blue-700); }

.cq-import-hero { min-height: 150px; }
.cq-hero-secondary { position: relative; z-index: 1; min-width: 180px; padding: 11px 18px; color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .10); }
.cq-hero-secondary:hover, .cq-hero-secondary:focus { color: var(--cq-navy-900); border-color: #fff; background: #fff; }
.cq-import-grid { margin-bottom: 22px; }
.cq-import-panel, .cq-guide-panel { min-height: 430px; overflow: hidden; }
.cq-panel-title { display: flex; align-items: center; gap: 13px; }
.cq-panel-title h2, .cq-guide-panel h2, .cq-history-heading h2 { margin: 0; color: var(--cq-navy-900); font-size: 19px; font-weight: 750; }
.cq-panel-title p, .cq-history-heading p { margin: 4px 0 0; color: var(--cq-muted); font-size: 13px; }
.cq-panel-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--cq-blue-700); background: var(--cq-blue-100); border-radius: 10px; font-size: 17px; }
.cq-import-form .form-group { margin-bottom: 22px; }
.cq-import-form .form-group > label:first-child { margin-bottom: 8px; color: var(--cq-navy-900); font-size: 13px; font-weight: 750; }
.cq-import-form .help-block { margin: 7px 0 0; color: var(--cq-muted); font-size: 12px; }
.cq-file-drop { min-height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 24px; border: 2px dashed #b9cee7; border-radius: 12px; color: var(--cq-muted); background: #f8fbff; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.cq-file-drop:hover, .cq-file-drop:focus-within { border-color: var(--cq-blue-600); background: #eef6ff; }
.cq-file-drop > .glyphicon { color: var(--cq-blue-600); font-size: 30px; }
.cq-file-drop strong { color: var(--cq-navy-900); font-size: 15px; }
.cq-file-drop span:last-of-type { max-width: 420px; font-size: 12px; font-weight: 400; line-height: 1.5; }
.cq-file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cq-selected-file { margin: 8px 0 0; color: var(--cq-blue-700); font-size: 12px; font-weight: 650; }
.cq-import-submit { min-width: 205px; min-height: 46px; color: #fff; }
.cq-guide-panel .panel-body { padding: 28px; }
.cq-guide-badge { display: inline-block; margin-bottom: 14px; padding: 5px 9px; color: #08738b; background: #dff5f8; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cq-guide-list { list-style: none; margin: 24px 0; padding: 0; }
.cq-guide-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; color: #4e5d73; line-height: 1.5; }
.cq-guide-list li > span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: var(--cq-blue-600); border-radius: 8px; font-size: 12px; font-weight: 750; }
.cq-safety-note { display: flex; align-items: flex-start; gap: 11px; padding: 15px; color: #3f5976; background: #eef6ff; border: 1px solid #d4e7ff; border-radius: 10px; }
.cq-safety-note > .glyphicon { margin-top: 2px; color: var(--cq-blue-700); }
.cq-safety-note p { margin: 0; font-size: 12px; line-height: 1.55; }
.cq-history-panel { overflow: hidden; }
.cq-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cq-live-indicator { display: inline-flex; align-items: center; gap: 7px; color: var(--cq-blue-700); font-size: 12px; font-weight: 750; }
.cq-live-indicator i { width: 8px; height: 8px; border-radius: 50%; background: var(--cq-blue-600); box-shadow: 0 0 0 5px rgba(8, 107, 232, .12); }
.cq-import-table-wrap { margin: -20px; border: 0; border-radius: 0; box-shadow: none; }
.cq-import-table { min-width: 1050px; margin: 0; }
.cq-import-table > thead > tr > th { padding: 12px 14px; color: #6a7890; background: #f7f9fc; border-bottom: 1px solid var(--cq-line); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cq-import-table > tbody > tr > td { padding: 15px 14px; border-color: #edf1f6; vertical-align: middle; }
.cq-import-table td > strong { display: block; color: var(--cq-navy-900); }
.cq-import-table td > span, .cq-import-table td small { color: var(--cq-muted); font-size: 11px; }
.cq-mailbox-chip { display: inline-block; padding: 5px 8px; color: var(--cq-navy-900) !important; background: #f0f3f7; border-radius: 6px; font-weight: 650; }
.cq-import-status { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 11px !important; font-weight: 750; }
.cq-import-status-queued { color: #7b5a0d !important; background: #fff4cf; }
.cq-import-status-running { color: var(--cq-blue-700) !important; background: var(--cq-blue-100); }
.cq-import-status-completed { color: var(--cq-success) !important; background: var(--cq-success-bg); }
.cq-import-status-failed { color: var(--cq-danger) !important; background: var(--cq-danger-bg); }
.cq-progress-cell { min-width: 220px; }
.cq-progress { width: 100%; height: 7px; margin-bottom: 6px; overflow: hidden; background: #e8edf4; border-radius: 999px; }
.cq-progress > span { display: block; height: 100%; background: var(--cq-blue-600); border-radius: inherit; }
.cq-empty-state { padding: 38px 20px; color: var(--cq-muted); text-align: center; }
.cq-empty-state > .glyphicon { margin-bottom: 12px; color: #9bb4d1; font-size: 32px; }
.cq-empty-state h3 { margin: 0 0 7px; color: var(--cq-navy-900); font-size: 17px; }
.cq-empty-state p { margin: 0; }

@media (max-width: 991px) {
  .navbar-default .navbar-brand { padding-right: 10px; }
  .navbar-default .navbar-brand img, #login_header_logo { width: 165px; }
  .page-login .navbar-brand img,
  .page-login #login_header_logo { width: 330px; }
  .navbar-default .navbar-nav > li > a { font-size: 12px; }
  .cq-toolbar-panel .panel-heading .row { display: block; }
  .cq-search { margin-top: 14px; text-align: left !important; }
}

@media (max-width: 767px) {
  body { padding-top: 82px; }
  .container[role="main"] { width: min(100% - 24px, 1280px) !important; }
  .navbar-default { min-height: 68px; }
  .navbar-default .navbar-brand { height: 64px; padding-left: 14px; }
  .navbar-default .navbar-brand img, #login_header_logo { width: 170px; height: 52px; }
  .navbar-default .navbar-collapse { background: #fff; border-color: var(--cq-line); box-shadow: var(--cq-shadow-md); }
  .navbar-default .navbar-nav > li > a { padding: 11px 18px; }
  .navbar-default .navbar-nav > li > a.btn { margin: 5px 14px; }
  .cq-page-hero { align-items: flex-start; flex-direction: column; min-height: 0; padding: 26px 24px; }
  .cq-page-copy h1 { font-size: 28px; }
  .cq-primary-action { width: 100%; }
  .cq-stat-card { margin-bottom: 12px; }
  .cq-stats { margin-bottom: 10px; }
  .cq-mailbox-panel { overflow-x: auto; }
  .cq-mailbox-heading { align-items: flex-start; }
  .cq-mailbox-heading small { max-width: 210px; }
  .cq-mailbox-footer { align-items: stretch; flex-direction: column; }
  .cq-footer-actions { width: 100%; margin-left: 0; }
  .cq-footer-actions .btn { flex: 1 1 50%; }
  .cq-domain-heading { align-items: flex-start; }
  .cq-domain-heading small { max-width: 210px; }
  .cq-domain-footer-actions { width: 100%; }
  .cq-domain-footer-actions .btn { flex: 1 1 50%; }
  .cq-hero-secondary, .cq-import-submit { width: 100%; }
  .cq-import-panel, .cq-guide-panel { min-height: 0; }
  .cq-import-table-wrap { overflow-x: auto; }
  .cq-history-heading { align-items: flex-start; flex-direction: column; }
  .page-login { padding-top: 0; }
  .page-login .navbar { min-height: 132px; }
  .page-login .navbar-brand { height: 126px; padding: 8px 12px; }
  .page-login .navbar-brand img,
  .page-login #login_header_logo { width: 280px; height: 110px; }
  .page-login #login { margin-top: 0; }
  .page-login #login .well { padding: 26px 22px; }
}
