[v-cloak] {
  display: none !important;
}

#app {
  visibility: hidden;
}

#app.ready {
  visibility: visible;
}

body.center-page {
  background: #f5f7fa;
  color: #172033;
}

body.center-page #app {
  background: #f5f7fa;
}

.center-page *,
.center-page *::before,
.center-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.center-shell {
  width: 100%;
  max-width: 760px;
  min-height: calc(100vh - var(--h5-app-navbar));
  margin: 0 auto;
  padding: calc(var(--h5-app-topbar) + 16px) 14px 24px;
}

.center-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 18px;
}

.center-hero-copy {
  min-width: 0;
}

.center-hero-copy p {
  margin: 0 0 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.center-hero-copy h1 {
  margin: 0;
  overflow: hidden;
  color: #172033;
  font-size: 24px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-hero-copy span {
  display: block;
  max-width: 270px;
  margin-top: 4px;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-icon-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font-size: 20px;
}

.center-icon-button.loading i {
  animation: center-spin 800ms linear infinite;
}

@keyframes center-spin {
  to {
    transform: rotate(360deg);
  }
}

.center-loading {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.center-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20a978;
  animation: center-pulse 900ms ease-in-out infinite alternate;
}

.center-loading span:nth-child(2) {
  animation-delay: 150ms;
}

.center-loading span:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes center-pulse {
  from {
    opacity: 0.28;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.center-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.center-stat {
  min-width: 0;
  min-height: 148px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
}

.center-stat-primary {
  border-color: #bce8d7;
  background: #effaf6;
}

.center-stat-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  border-radius: 6px;
  font-size: 18px;
}

.center-stat-blue {
  background: #e8eefc;
  color: #2f5bd3;
}

.center-stat-green {
  background: #e7f8f1;
  color: #20a978;
}

.center-stat p {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.center-stat strong {
  display: block;
  margin: 3px 0 1px;
  overflow: hidden;
  color: #172033;
  font-size: 27px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-stat > span {
  color: #667085;
  font-size: 11px;
}

.center-progress {
  height: 5px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 3px;
  background: #d8eee6;
}

.center-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: #20a978;
  transition: width 240ms ease;
}

.center-section {
  margin-top: 22px;
  padding: 18px 0 0;
  border-top: 1px solid #e4e7ec;
}

.center-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.center-section-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 18px;
}

.center-plan,
.center-record-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 4px;
  background: #e8eefc;
  color: #2f5bd3;
  font-size: 12px;
  font-weight: 700;
}

.center-profile {
  margin: 0;
  border-top: 1px solid #e4e7ec;
}

.center-profile div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e4e7ec;
}

.center-profile dt {
  color: #667085;
  font-size: 13px;
}

.center-profile dd {
  margin: 0;
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-signout {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.center-actions {
  display: grid;
  gap: 10px;
}

.center-action {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  grid-template-areas:
    "icon title arrow"
    "icon meta arrow";
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
  padding: 13px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  color: #172033 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.center-action-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 20px;
}

.center-action-blue {
  background: #e8eefc;
  color: #2f5bd3;
}

.center-action-green {
  background: #e7f8f1;
  color: #20a978;
}

.center-action-indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.center-action-slate {
  background: #f1f5f9;
  color: #334155;
}

.center-action strong,
.center-action em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-action strong {
  grid-area: title;
  align-self: end;
  font-size: 15px;
  line-height: 1.25;
}

.center-action em {
  grid-area: meta;
  align-self: start;
  margin-top: 0;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.center-action > i {
  grid-area: arrow;
  justify-self: end;
  align-self: center;
  color: #98a2b3;
  font-size: 18px;
}

.center-segments {
  height: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background: #eef1f5;
}

.center-segments button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.center-segments button.active {
  background: #fff;
  color: #172033;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

.center-records {
  display: grid;
  gap: 8px;
}

.center-record {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid #e4e7ec;
  border-radius: 7px;
  background: #fff;
}

.center-record-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e8eefc;
  color: #2f5bd3;
  font-size: 19px;
}

.center-record[data-type="barcode"] .center-record-icon {
  background: #e7f8f1;
  color: #20a978;
}

.center-record-copy {
  min-width: 0;
}

.center-record-copy strong,
.center-record-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center-record-copy strong {
  color: #172033;
  font-size: 13px;
}

.center-record-copy span {
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
}

.center-record-download,
.center-record-placeholder {
  width: 40px;
  height: 40px;
}

.center-record-placeholder {
  display: block;
}

.center-record-download {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #2f5bd3;
  font-size: 20px;
  text-decoration: none;
}

.center-empty,
.center-error {
  padding: 40px 18px;
  color: #667085;
  text-align: center;
}

.center-empty i,
.center-error > i {
  font-size: 34px;
}

.center-empty p {
  margin: 10px 0 0;
  font-size: 13px;
}

.center-error h2 {
  margin: 12px 0 6px;
  color: #172033;
  font-size: 19px;
}

.center-error p {
  margin: 0 auto 18px;
  font-size: 13px;
  line-height: 1.5;
}

.center-error button {
  min-width: 150px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: #2f5bd3;
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.center-faq .el-collapse {
  border-top: 1px solid #e4e7ec;
  border-bottom: 0;
}

.center-faq .el-collapse-item__header {
  height: 46px;
  background: transparent;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}

.center-faq .el-collapse-item__wrap {
  background: transparent;
}

.center-faq .el-collapse-item__content {
  padding-bottom: 14px;
}

.center-faq-copy {
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .center-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .center-loading span,
  .center-icon-button.loading i {
    animation: none;
  }
}
