#bostic-app-content.theme-original-rank-page,
#bostic-app-content.theme-original-rank-page * {
  min-width: 0;
}

#bostic-app-content.theme-original-rank-page {
  max-width: 100%;
}

#bostic-app-content.theme-original-rank-page [hidden] {
  display: none !important;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.5rem;
}

body[data-pc-theme="light"] #bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav {
  background: #fff;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--bs-secondary-color);
  display: flex;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0.75rem;
  text-decoration: none;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a:hover,
#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a:focus-visible {
  background: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a.is-active {
  background: color-mix(in srgb, var(--bs-primary) 10%, var(--bs-body-bg));
  border-color: color-mix(in srgb, var(--bs-primary) 34%, var(--bs-border-color));
  color: var(--bs-emphasis-color);
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav i {
  color: var(--bs-primary);
  flex: 0 0 auto;
  font-size: 1.45rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav span,
#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav strong,
#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav small {
  display: block;
}

#bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav small {
  color: var(--bs-secondary-color);
  margin-top: 0.15rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-kpi {
  border-top: 3px solid color-mix(in srgb, var(--bs-primary) 72%, var(--bs-border-color));
}

#bostic-app-content.theme-original-rank-page .rank-theme-delta {
  color: var(--bs-secondary-color);
  display: block;
}

#bostic-app-content.theme-original-rank-page .rank-theme-delta.is-up { color: var(--bs-success); }
#bostic-app-content.theme-original-rank-page .rank-theme-delta.is-down { color: var(--bs-danger); }

#bostic-app-content.theme-original-rank-page .rank-theme-mark {
  align-items: center;
  background: var(--bostic-surface-primary-soft);
  border-radius: 50%;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-side-stack,
#bostic-app-content.theme-original-rank-page .rank-theme-history-list,
#bostic-app-content.theme-original-rank-page .rank-theme-definition-list {
  display: grid;
  gap: 1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-list {
  margin: 0;
  padding: 0;
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-list div,
#bostic-app-content.theme-original-rank-page .rank-theme-history-item {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-list div {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-list dt {
  color: var(--bs-secondary-color);
  font-weight: 700;
}

#bostic-app-content.theme-original-rank-page .rank-theme-definition-list dd {
  color: var(--bs-emphasis-color);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

#bostic-app-content.theme-original-rank-page .rank-theme-table {
  min-width: 72rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-table td,
#bostic-app-content.theme-original-rank-page .rank-theme-table th {
  vertical-align: middle;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-cell,
#bostic-app-content.theme-original-rank-page .rank-theme-url-cell {
  max-width: 24rem;
  overflow-wrap: anywhere;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-main {
  align-items: flex-start;
  display: flex;
  gap: 0.7rem;
  min-width: 0;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-copy {
  display: block;
  min-width: 0;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-group-marker {
  background: var(--rank-group-color, var(--bs-primary));
  border: 2px solid color-mix(in srgb, var(--rank-group-color, var(--bs-primary)) 72%, var(--bs-body-bg));
  border-radius: 4px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rank-group-color, var(--bs-primary)) 14%, transparent);
  cursor: help;
  display: inline-flex;
  flex: 0 0 0.85rem;
  height: 0.85rem;
  margin-top: 0.3rem;
  width: 0.85rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-group-marker.is-unassigned {
  background: transparent;
  border-color: var(--bs-secondary-color);
  box-shadow: none;
  opacity: 0.72;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-group-marker:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 3px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-cell a {
  color: var(--bs-emphasis-color);
  font-weight: 700;
  text-decoration: none;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-cell a:hover {
  color: var(--bs-primary);
}

#bostic-app-content.theme-original-rank-page .rank-theme-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  min-width: 9rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-keyword-actions {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  flex-wrap: nowrap;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.2rem;
  white-space: nowrap;
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--bs-secondary-color);
  display: inline-flex;
  flex: 0 0 2rem;
  font-size: 1rem;
  height: 2rem;
  justify-content: center;
  padding: 0;
  position: relative;
  text-decoration: none;
  width: 2rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action:hover,
#bostic-app-content.theme-original-rank-page .rank-theme-row-action:focus-visible {
  background: var(--bs-tertiary-bg);
  color: var(--bs-emphasis-color);
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action.is-primary {
  color: var(--bs-primary);
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action.is-warning {
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action.is-danger {
  color: var(--bs-danger);
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action.is-danger:hover,
#bostic-app-content.theme-original-rank-page .rank-theme-row-action.is-danger:focus-visible {
  background: color-mix(in srgb, var(--bs-danger) 12%, var(--bs-body-bg));
  color: var(--bs-danger);
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action::after {
  background: var(--bs-emphasis-color);
  border-radius: 4px;
  bottom: calc(100% + 0.45rem);
  color: var(--bs-body-bg);
  content: attr(data-tooltip);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  padding: 0.35rem 0.5rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: start;
  transform: translateY(0.2rem);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
  white-space: normal;
  width: max-content;
  max-width: min(15rem, 70vw);
  z-index: 6;
}

#bostic-app-content.theme-original-rank-page .rank-theme-row-action:hover::after,
#bostic-app-content.theme-original-rank-page .rank-theme-row-action:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

#bostic-app-content.theme-original-rank-page .rank-theme-chart {
  min-height: 18rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-item {
  padding: 0.85rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-source-meta {
  display: grid;
  gap: 0.55rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-source-meta > span {
  align-items: center;
  color: var(--bs-secondary-color);
  display: flex;
  gap: 0.55rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-source-meta i {
  color: var(--bs-success);
  font-size: 1.1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-rankings-header,
#bostic-app-content.theme-original-rank-page .rank-theme-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

#bostic-app-content.theme-original-rank-page .rank-theme-pagination-controls,
#bostic-app-content.theme-original-rank-page .rank-theme-page-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-page-button {
  align-items: center;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.35rem 0.65rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-page-button.is-active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

#bostic-app-content.theme-original-rank-page .rank-theme-page-ellipsis {
  color: var(--bs-secondary-color);
  min-width: 1.25rem;
  text-align: center;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-card {
  border-color: color-mix(in srgb, var(--bs-primary) 18%, var(--bs-border-color));
  box-shadow: 0 0.75rem 2rem rgba(30, 41, 59, 0.06);
  overflow: visible;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-card > .card-header {
  border-bottom-color: color-mix(in srgb, var(--bs-primary) 16%, var(--bs-border-color));
  padding-block: 1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-title {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-icon {
  align-items: center;
  background: color-mix(in srgb, var(--bs-primary) 12%, var(--bs-body-bg));
  border: 1px solid color-mix(in srgb, var(--bs-primary) 24%, var(--bs-border-color));
  border-radius: 6px;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-icon i {
  font-size: 1.35rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(5rem, auto));
  overflow: hidden;
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control button {
  background: transparent;
  border: 0;
  color: var(--bs-secondary-color);
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control button + button {
  border-inline-start: 1px solid var(--bs-border-color);
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control button:hover,
#bostic-app-content.theme-original-rank-page .rank-theme-range-control button:focus-visible {
  color: var(--bs-primary);
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control button:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: -3px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-range-control button.is-active {
  background: var(--bs-primary);
  color: #fff;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(12rem, 2fr) minmax(12rem, 2fr) minmax(9rem, 1fr) auto;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters .form-label {
  margin: 0;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters > .btn {
  min-height: 2.75rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-input-icon {
  display: block;
  position: relative;
}

#bostic-app-content.theme-original-rank-page .rank-theme-input-icon i {
  color: var(--bs-secondary-color);
  font-size: 1.1rem;
  inset-inline-start: 0.85rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

#bostic-app-content.theme-original-rank-page .rank-theme-input-icon .form-control {
  padding-inline-start: 2.65rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-data-note {
  align-items: flex-start;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid var(--bs-primary);
  border-radius: 6px;
  color: var(--bs-secondary-color);
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-data-note i {
  color: var(--bs-primary);
  flex: 0 0 auto;
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-empty-state {
  padding: 3.5rem 1rem;
  text-align: center;
}

#bostic-app-content.theme-original-rank-page .rank-theme-empty-state > i {
  color: var(--bs-primary);
  display: block;
  font-size: 2.75rem;
  margin-bottom: 0.85rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table-wrap {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  margin-top: 1rem;
  overflow: auto;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table-wrap:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table {
  min-width: 66rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table th,
#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table td {
  vertical-align: middle;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table th {
  background: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  padding-block: 0.7rem;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 2;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table td {
  border-bottom-color: color-mix(in srgb, var(--bs-border-color) 72%, transparent);
  padding-block: 0.85rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table tbody tr {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

#bostic-app-content.theme-original-rank-page .rank-theme-ranking-table tbody tr:hover {
  background: color-mix(in srgb, var(--bs-primary) 5%, var(--bs-body-bg));
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--bs-primary) 70%, transparent);
}

#bostic-app-content.theme-original-rank-page .rank-theme-query-cell {
  max-width: 22rem;
  overflow-wrap: anywhere;
  padding-inline-start: 1.35rem;
  position: relative;
}

#bostic-app-content.theme-original-rank-page .rank-theme-query-cell strong {
  color: var(--bs-emphasis-color);
  display: block;
  line-height: 1.35;
}

#bostic-app-content.theme-original-rank-page .rank-theme-query-mark {
  background: var(--bs-primary);
  border-radius: 999px;
  height: 1.6rem;
  inset-inline-start: 0.35rem;
  opacity: 0.72;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.22rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell {
  max-width: 19rem;
  width: 19rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell > a,
#bostic-app-content.theme-original-rank-page .rank-theme-page-unavailable {
  align-items: center;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-family: var(--bs-font-monospace);
  font-size: 0.82rem;
  gap: 0.4rem;
  max-width: 100%;
  text-decoration: none;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell > a span,
#bostic-app-content.theme-original-rank-page .rank-theme-page-unavailable {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell > a i {
  color: var(--bs-primary);
  flex: 0 0 auto;
  font-size: 1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell > a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-path-cell > a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--bs-primary);
  outline-offset: 3px;
}

#bostic-app-content.theme-original-rank-page .rank-theme-average-position {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 3.75rem;
  padding: 0.4rem 0.55rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-average-position.is-top {
  background: color-mix(in srgb, var(--bs-success) 12%, var(--bs-body-bg));
  border-color: color-mix(in srgb, var(--bs-success) 42%, var(--bs-border-color));
  color: var(--bs-success);
}

#bostic-app-content.theme-original-rank-page .rank-theme-average-position.is-opportunity {
  background: color-mix(in srgb, var(--bs-warning) 13%, var(--bs-body-bg));
  border-color: color-mix(in srgb, var(--bs-warning) 48%, var(--bs-border-color));
  color: var(--bs-warning-text-emphasis);
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-cell {
  display: grid;
  gap: 0.35rem;
  min-width: 5.25rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-cell strong,
#bostic-app-content.theme-original-rank-page .rank-theme-ctr {
  color: var(--bs-emphasis-color);
  font-variant-numeric: tabular-nums;
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-track {
  background: color-mix(in srgb, var(--bs-secondary-color) 12%, transparent);
  border-radius: 999px;
  display: block;
  height: 0.28rem;
  overflow: hidden;
  width: 100%;
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-track > span {
  background: var(--bs-primary);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--rank-fill, 0%);
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-track > .is-clicks {
  background: var(--bs-success);
}

#bostic-app-content.theme-original-rank-page .rank-theme-metric-track > .is-impressions {
  background: var(--bs-primary);
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-main {
  display: grid;
  gap: 0.45rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-meta {
  align-items: center;
  color: var(--bs-secondary-color);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-meta span {
  overflow-wrap: anywhere;
}

#bostic-app-content.theme-original-rank-page .rank-theme-status-orbit {
  align-items: center;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-inline: auto;
  max-width: 9rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-status-orbit span {
  background: var(--bs-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--bs-primary) 40%, transparent);
  display: block;
  height: 2.25rem;
  width: 2.25rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-status-orbit.is-active span {
  animation: rank-theme-pulse 1.6s ease-in-out infinite;
}

#bostic-app-content.theme-original-rank-page .rank-theme-position {
  font-weight: 800;
  white-space: nowrap;
}

#bostic-app-content.theme-original-rank-page .rank-theme-change.is-up {
  color: var(--bs-success);
  font-weight: 700;
}

#bostic-app-content.theme-original-rank-page .rank-theme-change.is-down {
  color: var(--bs-danger);
  font-weight: 700;
}

#bostic-app-content.theme-original-rank-page .rank-theme-change.is-neutral {
  color: var(--bs-secondary-color);
  font-weight: 700;
}

#rank-check-setup {
  scroll-margin-top: 6rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-card {
  border-color: color-mix(in srgb, var(--bs-primary) 38%, var(--bs-border-color));
  box-shadow: 0 0.9rem 2.4rem rgba(30, 41, 59, 0.08);
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-header {
  align-items: center;
  background: color-mix(in srgb, var(--bs-primary) 7%, var(--bs-body-bg));
  border-bottom-color: color-mix(in srgb, var(--bs-primary) 24%, var(--bs-border-color));
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-icon {
  align-items: center;
  background: var(--bs-primary);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.5rem;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-body {
  padding: 1.5rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-run-submit {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  justify-content: center;
  min-height: 3.25rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-provider-note {
  border-left: 3px solid currentColor;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-card {
  overflow: visible;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-filter {
  width: min(100%, 13rem);
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-table {
  min-width: 58rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-table th {
  background: var(--bs-tertiary-bg);
  color: var(--bs-secondary-color);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-table td,
#bostic-app-content.theme-original-rank-page .rank-theme-history-table th {
  padding: 1rem;
  vertical-align: middle;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-date {
  display: inline-block;
  max-width: 11rem;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-pagination {
  align-items: center;
  background: var(--bs-body-bg);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

#bostic-app-content.theme-original-rank-page .rank-theme-history-page {
  color: var(--bs-emphasis-color);
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 5.75rem;
  text-align: center;
}

@keyframes rank-theme-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--bs-primary) 40%, transparent);
  }
  70% {
    box-shadow: 0 0 0 1rem color-mix(in srgb, var(--bs-primary) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--bs-primary) 0%, transparent);
  }
}

@media (max-width: 991.98px) {
  #bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-definition-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  #bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-workspace-nav a {
    min-height: 44px;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-definition-list div {
    display: block;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-definition-list dd {
    margin-top: 0.25rem;
    text-align: left;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-row-action {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-run-header,
  #bostic-app-content.theme-original-rank-page .rank-theme-run-heading {
    align-items: flex-start;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-run-header {
    flex-direction: column;
    padding: 1rem;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-run-body {
    padding: 1rem;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-run-submit,
  #bostic-app-content.theme-original-rank-page .rank-theme-history-filter .form-select,
  #bostic-app-content.theme-original-rank-page .rank-theme-history-pagination .btn {
    min-height: 44px;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-history-filter {
    width: 100%;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-history-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-history-pagination > div {
    justify-content: space-between;
    width: 100%;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-rankings-header {
    align-items: stretch;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-range-control,
  #bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-range-control {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-range-control button,
  #bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters .form-control,
  #bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters .form-select,
  #bostic-app-content.theme-original-rank-page .rank-theme-ranking-filters > .btn,
  #bostic-app-content.theme-original-rank-page .rank-theme-pagination .btn,
  #bostic-app-content.theme-original-rank-page [data-rank-use-all-keywords] {
    min-height: 44px;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-pagination-controls {
    justify-content: space-between;
    width: 100%;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-page-buttons {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bostic-app-content.theme-original-rank-page .rank-theme-row-action::after {
    transition: none;
  }

  #bostic-app-content.theme-original-rank-page .rank-theme-status-orbit.is-active span {
    animation: none;
  }
}
