/* The window of the import from other plugins. It stands on the body, outside the styles of the plugin pages. */
html.stbci-lock {
  overflow: hidden;
}
.stbci {
  --ci-accent: #377dff;
  --ci-accent-soft: #eaf2ff;
  --ci-ink: #0f172a;
  --ci-text: #334155;
  --ci-muted: #64748b;
  --ci-line: #e2e8f0;
  --ci-line-soft: #f1f5f9;
  --ci-surface: #f8fafc;
  --ci-navy: linear-gradient(160deg, #26384c 0%, #1d2b3c 100%);
  --ci-brand: linear-gradient(135deg, #4ae8ea 0%, #377dff 100%);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  color: var(--ci-text);
  font-size: 14px;
  line-height: 1.45;
  animation: stbci-fade 0.16s ease-out;
}
.stbci *,
.stbci *::before,
.stbci *::after {
  box-sizing: border-box;
}
.stbci-box {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.55);
}
.stbci-wide {
  max-width: 680px;
}
.stbci-head {
  display: flex;
  flex: none;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--ci-navy);
  color: #fff;
}
.stbci-mark {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ci-brand);
  color: #fff;
  font-size: 16px;
}
.stbci-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
.stbci-head h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.stbci-head p {
  margin: 3px 0 0;
  color: #c8d5e3;
  font-size: 13px;
}
.stbci-x {
  flex: none;
  width: 30px;
  height: 30px;
  margin: -4px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8d5e3;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.stbci-x:hover,
.stbci-x:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: 0;
}
.stbci-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 20px;
}
.stbci-lead {
  margin: 0;
  font-size: 14.5px;
}
.stbci-error {
  margin: 0;
  color: #b91c1c;
}
.stbci-loading {
  padding: 48px 20px;
  color: var(--ci-accent);
  font-size: 26px;
  text-align: center;
}
.stbci-foot {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--ci-line);
  background: var(--ci-surface);
}
.stbci-gap {
  flex: 1 1 auto;
}
.stbci-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #cdd8e4;
  border-radius: 9px;
  background: #fff;
  color: var(--ci-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.stbci-btn:hover {
  border-color: #a9b8c8;
  background: var(--ci-line-soft);
  color: var(--ci-ink);
}
.stbci-btn:focus,
.stbci-link:focus,
.stbci-get-pro:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(55, 125, 255, 0.3);
}
.stbci-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.stbci-primary,
.stbci-primary:hover {
  border-color: transparent;
  background: var(--ci-accent);
  color: #fff;
}
.stbci-primary:hover {
  background: #2c6ae6;
  color: #fff;
}
.stbci-link {
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ci-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.stbci-link:hover {
  color: var(--ci-ink);
  text-decoration: underline;
}

/* The list of tables */
.stbci-all {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--ci-ink);
  font-weight: 600;
  cursor: pointer;
}
.stbci-tables {
  margin: 0;
  padding: 0;
  border: 1px solid var(--ci-line);
  border-radius: 12px;
  list-style: none;
}
.stbci-tables li {
  margin: 0;
  border-bottom: 1px solid var(--ci-line-soft);
}
.stbci-tables li:last-child {
  border-bottom: 0;
}
.stbci-tables label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  cursor: pointer;
}
.stbci-tables label:hover {
  background: var(--ci-surface);
}
.stbci-tables .is-off label {
  background: var(--ci-surface);
  cursor: default;
}
.stbci input[type='checkbox'] {
  flex: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
}
.stbci-table {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stbci-table strong {
  color: var(--ci-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stbci-table small {
  color: var(--ci-muted);
  font-size: 12.5px;
}
.stbci-table .stbci-why {
  color: #92400e;
}
.stbci-table .stbci-was {
  color: #0f766e;
}
.stbci-design {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: 14px;
}
.stbci-design label {
  color: var(--ci-ink);
  font-weight: 600;
}
.stbci-design select {
  min-width: 180px;
  max-width: 100%;
}
.stbci-design small {
  width: 100%;
  font-size: 12.5px;
}
.stbci-design a {
  color: var(--ci-accent);
}

/* What happens with the options */
.stbci-pro {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #c9dcff;
  border-radius: 12px;
  background: var(--ci-accent-soft);
}
.stbci-pro-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.stbci-pro-head > div {
  flex: 1 1 260px;
  min-width: 0;
}
.stbci-pro h3 {
  margin: 0 0 3px;
  padding: 0;
  color: var(--ci-ink);
  font-size: 14.5px;
  font-weight: 700;
}
.stbci-pro p {
  margin: 0;
  font-size: 13px;
}
.stbci-get-pro,
.stbci-get-pro:hover,
.stbci-get-pro:focus {
  display: inline-flex;
  flex: none;
  gap: 6px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2b6ee8 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.stbci-pro ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.stbci-pro li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 5px 0;
}
.stbci-chip {
  flex: none;
  margin-top: 1px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #1d4ed8;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.stbci-group {
  margin-top: 14px;
}
.stbci-group:first-child {
  margin-top: 0;
}
.stbci-group h3 {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 6px;
  padding: 0;
  color: var(--ci-ink);
  font-size: 13.5px;
  font-weight: 700;
}
.stbci-group-moved h3 i {
  color: #0f766e;
}
.stbci-group-replaced h3 i {
  color: var(--ci-accent);
}
.stbci-group-skipped h3 i {
  color: var(--ci-muted);
}
.stbci-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stbci-group li {
  margin: 0;
  padding: 4px 0 4px 21px;
}
.stbci-group strong,
.stbci-pro li strong {
  color: var(--ci-text);
  font-weight: 600;
}
.stbci-group em,
.stbci-pro em {
  color: var(--ci-muted);
  font-size: 12.5px;
  font-style: normal;
}
.stbci-group small,
.stbci-pro small {
  display: block;
  color: var(--ci-muted);
  font-size: 12.5px;
}

/* The progress and the result */
.stbci-progress,
.stbci-done {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stbci-progress li {
  margin: 0 0 12px;
}
.stbci-progress-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  justify-content: space-between;
  margin-bottom: 5px;
}
.stbci-progress-line strong {
  color: var(--ci-ink);
  font-weight: 600;
}
.stbci-status {
  color: var(--ci-muted);
  font-size: 12.5px;
}
.stbci-progress .is-failed .stbci-status {
  color: #b91c1c;
}
.stbci-bar {
  overflow: hidden;
  height: 6px;
  border-radius: 6px;
  background: var(--ci-line-soft);
}
.stbci-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ci-accent);
  transition: width 0.2s;
}
.stbci-done li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--ci-line-soft);
}
.stbci-done li:last-child {
  border-bottom: 0;
}
.stbci-done .is-failed strong {
  color: var(--ci-ink);
}
.stbci-done .is-failed small {
  display: block;
  color: #b91c1c;
}
.stbci-done-line {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.stbci-done-line strong {
  min-width: 0;
  color: var(--ci-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stbci-code {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}
.stbci-code code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ci-line-soft);
  color: var(--ci-ink);
  font-size: 12.5px;
}
.stbci-used {
  display: block;
  margin-top: 4px;
  color: var(--ci-muted);
  font-size: 12.5px;
}
.stbci-used a {
  color: var(--ci-accent);
}

/* The card on the Settings page */
.stb-gs .stbci-card-sources {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.stb-gs .stbci-card-sources li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0;
  padding: 3px 0;
}
.stb-gs .stbci-card-sources span {
  color: #64748b;
}
.stb-gs .stbci-open {
  white-space: normal;
}
@keyframes stbci-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .stbci {
    align-items: stretch;
    padding: 0;
  }
  .stbci-box {
    max-width: none;
    max-height: none;
    border-radius: 0;
  }
  .stbci-foot .stbci-btn {
    flex: 1 1 auto;
  }
  .stbci-foot .stbci-gap {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stbci {
    animation: none;
  }
  .stbci-bar i {
    transition: none;
  }
}
