:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202331;
  background: #f7f8fb;
  font-synthesis: none;
  --ink: #202331;
  --muted: #74798a;
  --line: #e5e7ee;
  --purple: #6856d8;
  --light: #f1edff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #191c29;
  color: #d9dce6;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: white;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
  margin: 0 12px 32px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2px;
  display: block;
  color: #989dab;
  margin-top: 2px;
}
.mark {
  width: 36px;
  height: 36px;
  background: #7565eb;
  border-radius: 10px;
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  position: relative;
}
.mark span {
  font-size: 15px;
  position: absolute;
  right: 4px;
  top: 0;
}
.workspace {
  border: 1px solid #333646;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 30px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  background: #69c5aa;
  border-radius: 50%;
  display: inline-block;
}
.tiny {
  margin-left: auto;
  color: #8b90a0;
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  color: #b3b8c8;
  border-radius: 7px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
nav a:hover {
  background: #25293a;
  text-decoration: none;
}
nav a.active {
  background: #33304d;
  color: #eeeaff;
}
nav a.active .nav-icon {
  color: #b4a8ff;
}
.nav-icon {
  font-size: 17px;
  width: 20px;
  text-align: center;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #737b92;
  padding: 22px 13px 7px;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #333645;
  padding: 22px 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.sidebar-foot small {
  display: block;
  color: #858da2;
  font-size: 10px;
  margin-top: 2px;
}
.avatar {
  background: #353b50;
  color: #c7cbe0;
  padding: 8px;
  border-radius: 50%;
  font-size: 10px;
}
.shell {
  margin-left: 238px;
}
.topbar {
  height: 74px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  color: #6d7282;
  font-size: 12px;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.connection {
  font-size: 11px;
}
.connection:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #67b995;
  border-radius: 50%;
  margin-right: 6px;
}
main {
  max-width: 1550px;
  margin: auto;
  padding: 34px 38px 55px;
  min-height: calc(100vh - 140px);
}
h1 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 0 0 8px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  font-weight: 630;
  margin: 0 0 8px;
}
h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
p {
  margin: 0 0 18px;
  color: var(--muted);
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}
.page-head p {
  font-size: 13px;
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #898a9a;
  display: block;
  margin-bottom: 8px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe1e8;
  background: #fff;
  color: #45495a;
  padding: 9px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.button:hover {
  background: #f3f2fa;
  text-decoration: none;
}
.button.primary {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}
.button.primary:hover {
  background: #5946ca;
}
.button.small {
  padding: 6px 10px;
  font-size: 11px;
}
.button.danger {
  color: #b74c55;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.icon {
  border: 0;
  background: transparent;
  font-size: 21px;
  color: #757c8c;
  padding: 4px;
}
.mobile {
  display: none;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px 21px;
}
.metric label {
  display: flex;
  justify-content: space-between;
  color: #74788a;
  font-size: 12px;
}
.metric strong {
  display: block;
  font-size: 30px;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 12px 0 8px;
}
.metric small {
  font-size: 11px;
  color: #858998;
}
.metric .mi {
  color: #a5a8b6;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-header {
  padding: 21px 23px;
  border-bottom: 1px solid #edf0f4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.panel-header h2 {
  font-size: 14px;
  margin: 0;
}
.panel-header p {
  font-size: 11px;
  margin: 3px 0 0;
}
.panel-body {
  padding: 23px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 22px;
}
.two-col > .panel {
  min-width: 0;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 50px 30px 44px;
}
.empty .empty-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #9386d7;
  background: #faf9ff;
}
.empty h3 {
  font-size: 15px;
}
.empty p {
  font-size: 12px;
  max-width: 370px;
  margin: 9px auto 22px;
}
.note {
  border: 1px solid #e2ddf6;
  background: #f7f5ff;
  color: #686078;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 12px;
  margin-bottom: 22px;
}
.note.warning {
  border-color: #f2dfb9;
  background: #fffbf2;
  color: #8b713e;
}
.note.error,
.error {
  color: #b44350;
}
.note.error {
  border-color: #eed1d6;
  background: #fff6f7;
}
.note p {
  color: inherit;
  margin: 0;
}
.note ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 600;
  color: #9093a3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #fcfcfe;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f1f5;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfaff;
}
td small {
  display: block;
  color: #8a8e9c;
  font-size: 10px;
  margin-top: 3px;
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  background: #f1f3f7;
  border-radius: 4px;
  font-size: 10px;
  color: #7a8090;
  white-space: nowrap;
}
.tag.green {
  background: #eef7f3;
  color: #488870;
}
.tag.purple {
  background: #f1edff;
  color: #7663cc;
}
.tag.amber {
  background: #fff5e3;
  color: #a87c2c;
}
.tag.red {
  background: #fff0f1;
  color: #b25362;
}
.rank {
  display: flex;
  align-items: center;
  gap: 11px;
}
.provider-logo {
  width: 29px;
  height: 29px;
  border: 1px solid #e3e4ed;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #fafafd;
  color: #7e74a5;
}
.bar {
  width: 110px;
  height: 5px;
  background: #f0eef7;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 7px;
}
.bar span {
  height: 100%;
  display: block;
  background: #a397e4;
  border-radius: 4px;
}
.steps {
  display: grid;
  gap: 19px;
}
.step {
  display: flex;
  gap: 12px;
}
.step .num {
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  border: 1px solid #e1dcf1;
  background: #f8f6ff;
  color: #8a79cc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.step h3 {
  font-size: 12px;
  margin: 2px 0 4px;
}
.step p {
  font-size: 11px;
  margin: 0;
  line-height: 1.65;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}
.filters select {
  width: auto;
  max-width: 240px;
  min-width: 130px;
}
.filters .spacer {
  flex: 1;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfe2e9;
  border-radius: 6px;
  background: white;
  color: #45495a;
  padding: 9px 11px;
  font-size: 12px;
  min-height: 37px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #a094e7;
  outline: 2px solid #ede9ff;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
label {
  font-size: 12px;
  color: #616778;
  display: block;
}
label input,
label select,
label textarea {
  margin-top: 7px;
}
label small {
  display: block;
  margin-top: 6px;
  color: #9b9dab;
  font-size: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full {
  grid-column: 1/-1;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #575d70;
}
.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 9px 11px;
  background: #fcfcfe;
  border: 1px solid #e8e9f0;
  border-radius: 5px;
}
.check:has(input:checked) {
  background: #f7f5ff;
  border-color: #cbc2f0;
  color: #6e5bbb;
}
.check input {
  width: 14px;
  height: 14px;
  min-height: 0;
  margin: 0;
  accent-color: var(--purple);
}
.route-input {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 9px;
}
.route-input .check {
  min-height: 38px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.catalog-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-card h3 {
  font-size: 14px;
}
.catalog-card p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.catalog-card .button {
  align-self: start;
}
.catalog-card .tag {
  align-self: start;
}
.formula {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  color: #554d72;
  letter-spacing: -0.3px;
  margin: 12px 0;
}
.math-part {
  display: inline-flex;
  flex-direction: column;
  vertical-align: middle;
  text-align: center;
  margin: 0 5px;
}
.math-part small {
  font-size: 10px;
  font-weight: 400;
  color: #9391a0;
  letter-spacing: 0;
}
.big-number {
  font-size: 37px;
  letter-spacing: -1px;
  font-weight: 600;
  color: #6353bd;
}
.count-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #9195a6;
}
.list-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f4;
}
.list-row:last-child {
  border: 0;
}
.list-row > div {
  flex: 1;
}
.list-row h3 {
  font-size: 12px;
}
.list-row p {
  font-size: 11px;
  margin: 0;
}
.list-row > span {
  white-space: nowrap;
}
footer {
  font-size: 10px;
  color: #9598a5;
  border-top: 1px solid var(--line);
  margin: 0 38px;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
}
#demo-banner {
  background: #fff0ce;
  color: #826622;
  font-size: 11px;
  padding: 10px 38px;
  text-align: center;
}
dialog {
  border: 1px solid #e2e1eb;
  border-radius: 12px;
  padding: 0;
  width: min(900px, 94vw);
  max-height: 90vh;
  box-shadow: 0 20px 100px #191c2940;
}
dialog::backdrop {
  background: #191b3266;
  backdrop-filter: blur(2px);
}
.dialog-head {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.dialog-head h2 {
  margin: 0;
}
.dialog-body {
  padding: 24px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.detail-box {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.detail-box strong {
  display: block;
  font-size: 18px;
  margin-top: 7px;
}
.detail-box small {
  font-size: 11px;
  color: var(--muted);
}
.resource-panel {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.resource-stats .detail-box small {
  font-size: 0.875rem;
}
.resource-panel > details {
  margin: 16px 0;
}
.resource-table td {
  vertical-align: top;
  max-width: 360px;
  overflow-wrap: anywhere;
}
.resource-table td small {
  display: block;
  margin-top: 5px;
}
.resource-table pre {
  min-width: 170px;
  font-size: 0.875rem;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 17px;
  background: #f6f7fa;
  border: 1px solid #e9ebf0;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
  color: #52596b;
  max-height: 430px;
  overflow: auto;
}
details {
  margin: 16px 0;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
#login {
  width: 410px;
  padding: 32px;
}
#login p {
  font-size: 12px;
}
#login .button {
  margin-top: 16px;
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 30px;
  background: #23263a;
  color: white;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 12px;
  max-width: 430px;
  box-shadow: 0 8px 40px #10182830;
  z-index: 100;
}
.skip {
  position: absolute;
  left: 250px;
  top: -100px;
  background: white;
  padding: 8px;
  z-index: 100;
}
.skip:focus {
  top: 5px;
}
.suggestion {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  margin-bottom: 15px;
}
.suggestion blockquote {
  border-left: 3px solid #ddd6f7;
  margin: 14px 0;
  padding: 0 15px;
  color: #747486;
  font-size: 12px;
}
.delta {
  font-size: 20px;
  font-weight: 600;
  color: #686078;
}
.chart-bars {
  display: flex;
  align-items: end;
  height: 150px;
  gap: 26px;
  padding-top: 20px;
}
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 6px;
  height: 100%;
  flex: 1;
}
.chart-col .b {
  background: #b1a3ed;
  border-radius: 4px 4px 0 0;
  width: 100%;
  max-width: 45px;
  min-height: 2px;
}
.chart-col small {
  font-size: 10px;
  color: #858598;
}
.action-link {
  background: transparent;
  border: 0;
  color: var(--purple);
  font-size: 12px;
  text-align: left;
  padding: 0;
}
.action-link:hover {
  text-decoration: underline;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .two-col {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 1150px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checks {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .topbar,
  main {
    padding-left: 26px;
    padding-right: 26px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .metric label {
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  #sidebar.open {
    transform: translateX(0);
  }
  .shell {
    margin-left: 0;
  }
  .mobile {
    display: inline-block;
  }
  .topbar {
    height: 62px;
    padding: 0 17px;
    gap: 10px;
  }
  .topbar > div {
    gap: 10px;
  }
  .connection {
    display: none;
  }
  .topbar #breadcrumb {
    margin-right: auto;
    font-size: 11px;
  }
  main {
    padding: 25px 18px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head {
    gap: 14px;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .full {
    grid-column: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .panel-header {
    padding: 18px;
  }
  .panel-body {
    padding: 18px;
  }
  footer {
    margin: 0 18px;
  }
  .button-row {
    gap: 7px;
  }
  .route-input {
    grid-template-columns: 1fr 1fr;
  }
  .page-head > .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .filters select {
    max-width: 100%;
    flex: 1;
  }
  .metric strong {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.action-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}
.action-card h4 {
  margin: 14px 0 6px;
}
.action-card p,
.action-card li {
  line-height: 1.55;
}
.action-card li + li {
  margin-top: 8px;
}
.action-card details {
  margin: 16px 0;
}
.action-card blockquote small {
  display: block;
  margin-top: 8px;
}
.action-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cli-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 18px;
  margin: 24px 0;
}
.cli-card {
  border: 1px solid var(--line, #dedfe5);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.cli-card h3 {
  margin: 0;
}
.cli-card h4 {
  margin: 14px 0 6px;
}
.cli-card .form-grid {
  grid-template-columns: 1fr;
  margin: 18px 0;
}
.cli-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cli-title .cli-enable {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.cli-enable input {
  width: auto;
}
.cli-status {
  display: grid;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.cli-card details {
  margin: 16px 0;
}
.cli-card li {
  line-height: 1.5;
  margin-bottom: 10px;
}
.cli-terminal-output {
  background: #101722;
  color: #d4eddc;
  border: 1px solid #334053;
  border-radius: 12px;
  min-height: 280px;
  max-height: 430px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  font:
    13px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
#cli-terminal-input {
  display: flex;
  align-items: end;
  gap: 12px;
}
#cli-terminal-input label {
  flex: 1;
}
.cli-terminal-controls {
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  #cli-terminal-input {
    display: grid;
  }
  .cli-title {
    flex-wrap: wrap;
  }
}

.app-source-links {
  margin: 14px 0 22px;
  align-items: center;
}
.app-source-path {
  overflow-wrap: anywhere;
}
.app-variant-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}
.app-variant-actions .button {
  text-align: center;
}
