.explorer-app {
  --explorer-ink: #172b4d;
  --explorer-muted: #596b83;
  --explorer-border: #dce4ef;
  --explorer-accent: #345ee5;
  grid-template-areas: "lte-app-header" "lte-app-main" "lte-app-footer";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  color: var(--explorer-ink);
  background: #f3f6fb;
  font-size: .9rem;
}

.explorer-app .container-fluid {
  max-width: 1800px;
  padding-inline: 1.75rem;
}

.explorer-app .app-header {
  min-height: 4.5rem;
  background: #13243e;
  border: 0;
  box-shadow: 0 2px 8px rgb(19 36 62 / 12%);
}

.explorer-app .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.explorer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .55rem;
  background: #456dea;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .04em;
}

.explorer-app .app-header nav a,
.explorer-app .app-header nav .sign-out-button {
  padding: .5rem .3rem;
  color: #c9d6e9;
  text-decoration: none;
  font-size: .85rem;
}

.explorer-app .app-header nav a:hover,
.explorer-app .app-header nav .sign-out-button:hover,
.explorer-app .app-header nav a[aria-current] {
  color: #fff;
  box-shadow: 0 2px #8caaff;
}

.explorer-app .app-content-header {
  padding-block: 2rem 1rem;
}

.explorer-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.explorer-eyebrow {
  color: var(--explorer-accent);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .16em;
  margin-bottom: .5rem;
}

.explorer-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: .5rem;
}

.explorer-session-label {
  flex-shrink: 0;
  color: #32644d;
  border: 1px solid #c8dfd3;
  background: #edf7f1;
  border-radius: 2rem;
  padding: .45rem .8rem;
  font-size: .75rem;
}

.explorer-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  border: 1px solid var(--explorer-border);
  border-radius: .75rem;
  background: #fff;
  margin-bottom: 1.75rem;
  box-shadow: 0 3px 12px rgb(24 43 68 / 3%);
}

.explorer-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  padding: 1rem 1.5rem;
}

.explorer-summary > div + div {
  border-left: 1px solid #e8edf5;
}

.explorer-summary-value {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.explorer-summary span:not(.explorer-summary-value),
.explorer-summary small {
  color: var(--explorer-muted);
  font-size: .75rem;
}

.explorer-summary-hint {
  color: var(--explorer-accent);
  font-weight: 600;
}

.explorer-summary-hint small {
  font-weight: 400;
}

.explorer-app .app-main {
  min-width: 0;
}

.explorer-app .card {
  border: 1px solid var(--explorer-border);
  border-radius: .75rem;
  box-shadow: 0 3px 10px rgb(24 43 68 / 3%);
  overflow: hidden;
}

.explorer-app .card-outline {
  border-top: 3px solid var(--explorer-accent);
}

.explorer-app .card-info {
  border-top-color: #3196a2;
}

.explorer-app .card-success {
  border-top-color: #56876f;
}

.explorer-app .card-header {
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.explorer-app .card-body {
  padding: 1.2rem;
}

.explorer-app .card-footer {
  background: #fafbfd;
  padding: .9rem 1.2rem;
  border-top: 1px solid #e8edf5;
}

.explorer-card-description {
  color: var(--explorer-muted);
  font-size: .75rem;
  line-height: 1.5;
  margin: .4rem 0 0;
}

.explorer-app .form-label {
  color: #34445c;
  font-size: .75rem;
  font-weight: 650;
  margin-bottom: .4rem;
}

.explorer-app .form-control,
.explorer-app .form-select {
  border-color: #d4ddeb;
  border-radius: .4rem;
  font-size: .8rem;
  min-height: 2.4rem;
}

.explorer-app .form-control:focus,
.explorer-app .form-select:focus {
  border-color: #7d99f1;
  box-shadow: 0 0 0 3px rgb(52 94 229 / 12%);
}

.explorer-app .btn {
  border-radius: .4rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .55rem .85rem;
}

.explorer-app .btn-sm {
  padding: .2rem .5rem;
  font-size: .72rem;
}

.explorer-app .btn-primary {
  background: var(--explorer-accent);
  border-color: var(--explorer-accent);
}

.explorer-app .btn-info {
  background: #eaf5f6;
  border-color: #b7dadd;
  color: #1b626b;
}

.explorer-app .btn-success {
  background: #237b57;
  border-color: #237b57;
}

.explorer-app a {
  text-underline-offset: .2em;
}

.explorer-app .badge {
  font-size: .7rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: .3rem .5rem;
}

.explorer-app .text-secondary {
  color: var(--explorer-muted) !important;
}

.explorer-app .card-title {
  float: none;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.explorer-section-title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.explorer-section-title > span {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-right: .4rem;
  border-radius: 50%;
  color: var(--explorer-accent);
  background: #e4ebff;
  font-size: .75rem;
}

.explorer-collapsible > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .65rem .75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--explorer-border);
  border-radius: .5rem;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.explorer-collapsible > summary::-webkit-details-marker {
  display: none;
}

.explorer-collapsible > summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  margin-right: .25rem;
  border-right: 2px solid var(--explorer-muted);
  border-bottom: 2px solid var(--explorer-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.explorer-collapsible[open] > summary::after {
  transform: rotate(225deg);
}

.explorer-collapsible > summary:hover {
  background: #edf2ff;
}

.explorer-collapsible > summary:focus-visible {
  outline: 3px solid #7d99f1;
  outline-offset: 2px;
}

.explorer-collapsible > summary .explorer-section-title {
  margin: 0;
}

.explorer-scope-group {
  margin-bottom: 1rem;
}

.explorer-scope-group > summary {
  padding: .6rem .75rem;
  margin-bottom: .5rem;
  background: #fafbfd;
}

.explorer-scope-group:not([open]) > summary {
  margin-bottom: 0;
}

.explorer-picker {
  height: 18rem;
  overflow: auto;
}

.explorer-picker label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .75rem .6rem;
  border-bottom: 1px solid #eef2f8;
  font-size: .8rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.explorer-picker label:has(input:checked) {
  background: #edf2ff;
}

.explorer-picker small {
  font-size: .68rem;
  margin-top: .25rem;
}

.explorer-picker label:hover {
  background: #f0f5ff;
}

.explorer-picker input {
  flex: 0 0 auto;
  margin-top: .3rem;
  accent-color: var(--explorer-accent);
}

.explorer-scope-list {
  max-height: 12rem;
  overflow: auto;
}

.explorer-scope-list .list-group-item {
  border-color: #e7edf5;
  font-size: .78rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  padding: .65rem .75rem;
}

.explorer-scope-list .btn-outline-danger {
  border: 0;
  color: #9c4c58;
  background: #fcf1f3;
}

.explorer-scope-list small {
  font-size: .68rem;
}

.explorer-results {
  max-height: 36rem;
}

.explorer-results thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.explorer-results th,
.explorer-results td {
  min-width: 10rem;
  max-width: 24rem;
  overflow-wrap: anywhere;
  font-size: .8rem;
  padding: .85rem;
}

.explorer-results thead th {
  background: #edf2f9;
  color: #34445c;
}

.explorer-results small {
  color: var(--explorer-muted);
  font-size: .68rem;
  margin-top: .35rem;
}

.explorer-empty {
  border: 1px dashed #cdd8e8;
  border-radius: .5rem;
  background: #fafbfd;
}

.explorer-feedback {
  min-height: 1.65rem;
  margin-bottom: .5rem;
  font-size: .78rem;
  color: var(--explorer-muted);
}

.explorer-feedback.is-error {
  color: #a52b43;
  padding: .8rem 1rem;
  border: 1px solid #efc7cf;
  border-radius: .5rem;
  background: #fff4f6;
}

.explorer-feedback.is-loading::before {
  content: "";
  display: inline-block;
  width: .8rem;
  height: .8rem;
  margin-right: .5rem;
  border: 2px solid #d5def5;
  border-top-color: var(--explorer-accent);
  border-radius: 50%;
  vertical-align: -.1rem;
  animation: explorer-spin .75s linear infinite;
}

#explorer-workspace[aria-busy="true"] {
  opacity: .6;
  cursor: progress;
}

.explorer-app .app-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-top: 1px solid var(--explorer-border);
  color: var(--explorer-muted);
  font-size: .75rem;
  padding: 1rem 1.75rem;
}

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

@media (min-width: 1200px) and (max-width: 1500px) {
  .explorer-app [aria-labelledby="data-heading"] .row > [class*="col-md"] {
    width: 50%;
  }

  .explorer-app [aria-labelledby="data-heading"] .row > [class*="col-md"]:first-child {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .explorer-app .container-fluid {
    padding-inline: 1rem;
  }

  .explorer-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .explorer-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .explorer-summary > div {
    padding: .9rem;
  }

  .explorer-summary > div:nth-child(3) {
    border-left: 0;
  }

  .explorer-summary > div:nth-child(n+3) {
    border-top: 1px solid #e8edf5;
  }
}

@media (max-width: 575px) {
  .explorer-app .navbar > .container-fluid {
    gap: .65rem;
    padding-block: .8rem;
  }

  .explorer-app .navbar nav {
    flex-wrap: wrap;
    font-size: .85rem;
  }

  .explorer-app .app-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explorer-feedback.is-loading::before {
    animation: none;
  }
}

.explorer-result-tabs {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--explorer-border);
  margin-bottom: 1rem;
}

.explorer-result-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: .8rem 1.1rem;
  color: var(--explorer-muted);
  font-weight: 600;
  white-space: nowrap;
}

.explorer-result-tabs button[aria-selected="true"] {
  border-bottom-color: var(--explorer-accent);
  color: var(--explorer-accent);
  background: #eaf0ff;
}

.explorer-result-tabs button:focus-visible {
  outline: 2px solid var(--explorer-accent);
  outline-offset: -3px;
}

.explorer-map,
.explorer-chart {
  height: 560px;
  min-width: 0;
  border: 1px solid var(--explorer-border);
  border-radius: .5rem;
  background: #fafbfd;
}

.result-status {
  min-height: 1.6rem;
  color: var(--explorer-muted);
  font-size: .8rem;
  margin-bottom: .5rem;
}

.result-status.is-error {
  color: #a52b43;
  padding: .65rem;
  background: #fff1f4;
  border-radius: .4rem;
}

.result-selected {
  list-style: none;
  padding: 0;
  max-height: 15rem;
  overflow: auto;
}

.result-selected li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  font-size: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--explorer-border);
}

.result-selected span {
  overflow-wrap: anywhere;
}

.explorer-app [hidden] {
  display: none !important;
}

@media (max-width: 575px) {
  .explorer-map,
  .explorer-chart {
    height: 400px;
  }
}
