.solo-page {
  --hexon-bg: #ece7de;
  --hexon-panel: rgba(248, 245, 239, 0.88);
  --hexon-panel-strong: rgba(252, 249, 244, 0.96);
  --hexon-panel-dark: #161412;
  --hexon-panel-dark-2: #1f1c19;
  --hexon-ink: #171512;
  --hexon-muted: #6e655a;
  --hexon-line: rgba(88, 72, 53, 0.14);
  --hexon-line-strong: rgba(88, 72, 53, 0.24);
  --hexon-tint: rgba(172, 132, 83, 0.1);
  --hexon-tint-strong: rgba(172, 132, 83, 0.18);
  --hexon-brand: #241c14;
  --hexon-green: #2d6b45;
  --hexon-red: #8f342d;
  --hexon-amber: #9c6320;
}

.solo-page,
.solo-page body {
  font-family: "Manrope", "PingFang SC", sans-serif;
}

.solo-page {
  background:
    radial-gradient(circle at top left, rgba(120, 97, 71, 0.08), transparent 25%),
    radial-gradient(circle at 85% 8%, rgba(76, 88, 100, 0.06), transparent 22%),
    linear-gradient(180deg, #f0ece6 0%, #e7e1d8 100%);
}

.solo-page code,
.solo-page pre {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
}

.hexon-shell {
  max-width: 1540px;
}

.hexon-topbar {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(252, 248, 241, 0.96), rgba(243, 236, 226, 0.9)),
    radial-gradient(circle at top right, rgba(168, 130, 83, 0.12), transparent 34%);
}

.hexon-brand-mark {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border-radius: 26px;
  border: 1px solid rgba(65, 52, 38, 0.18);
  background:
    linear-gradient(180deg, rgba(43, 34, 24, 0.96), rgba(24, 19, 14, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(44, 34, 22, 0.12);
}

.hexon-brand-mark span {
  color: #f5efe6;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

.hexon-topbar-copy {
  padding-top: 0;
  display: grid;
  gap: 6px;
}

.hexon-topbar-copy .kicker {
  max-width: none;
  margin-bottom: 0;
  color: #7f674d;
}

.hexon-topbar h1 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 0.96;
}

.hexon-topbar .subcopy {
  max-width: 64ch;
}

.hexon-topbar-actions {
  justify-content: flex-end;
}

.hexon-stats-row {
  gap: 14px;
}

.hexon-stat-card {
  min-height: 106px;
  background:
    linear-gradient(180deg, rgba(249, 246, 240, 0.94), rgba(242, 237, 229, 0.84));
}

.hexon-stat-card strong {
  font-family: "JetBrains Mono", monospace;
}

.hexon-stat-focus {
  background:
    linear-gradient(180deg, rgba(248, 252, 248, 0.96), rgba(235, 244, 236, 0.88)),
    radial-gradient(circle at top right, rgba(65, 119, 82, 0.12), transparent 36%);
}

.hexon-stat-focus strong {
  color: var(--hexon-green);
}

.hexon-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.hexon-left-rail {
  display: grid;
  gap: 18px;
}

.hexon-panel-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(249, 246, 240, 0.94), rgba(243, 238, 230, 0.88)),
    radial-gradient(circle at top left, rgba(180, 140, 90, 0.08), transparent 28%);
}

.hexon-overview-copy h2,
.hexon-section-head h2,
.hexon-log-head h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hexon-section-head {
  display: grid;
  gap: 8px;
}

.hexon-section-head-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.hexon-provider-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hexon-provider-summary .solo-provider-health-card {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0.96), rgba(243, 238, 230, 0.9));
}

.hexon-provider-summary .solo-provider-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.hexon-provider-summary .solo-provider-health-value {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: center;
  min-height: 76px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid var(--hexon-line);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.hexon-provider-summary .solo-provider-health-value span {
  min-height: 24px;
  color: var(--hexon-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hexon-provider-summary .solo-provider-health-value strong {
  font-size: 18px;
  line-height: 1;
}

.hexon-provider-summary .solo-provider-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hexon-tint);
  color: var(--hexon-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hexon-provider-summary .solo-provider-health-card.is-danger {
  border-color: rgba(143, 52, 45, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 247, 245, 0.96), rgba(249, 236, 233, 0.9));
}

.hexon-provider-summary .solo-provider-health-card.is-danger .solo-provider-pill {
  background: rgba(143, 52, 45, 0.12);
  color: var(--hexon-red);
}

.hexon-provider-summary .solo-provider-health-card.is-good {
  border-color: rgba(45, 107, 69, 0.22);
  background:
    linear-gradient(180deg, rgba(247, 255, 248, 0.96), rgba(236, 246, 238, 0.9));
}

.hexon-provider-summary .solo-provider-health-card.is-good .solo-provider-pill {
  background: rgba(45, 107, 69, 0.12);
  color: var(--hexon-green);
}

.hexon-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hexon-provider-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--hexon-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 241, 233, 0.72));
}

.hexon-provider-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hexon-provider-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hexon-tint);
  color: var(--hexon-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hexon-single-row,
.hexon-control-grid,
.hexon-switch-grid {
  display: grid;
  gap: 14px;
}

.hexon-control-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hexon-switch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hexon-provider-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.hexon-provider-choices .switch-line {
  justify-content: flex-start;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--hexon-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.hexon-provider-choices .switch-line em {
  color: var(--hexon-ink);
  font-style: normal;
  font-weight: 700;
}

.hexon-switch-row {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hexon-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.hexon-switch-row em {
  color: var(--hexon-ink);
  font-style: normal;
  font-weight: 700;
}

.solo-page .field span {
  color: var(--hexon-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.solo-page .field input,
.solo-page .field textarea,
.solo-page .field select {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--hexon-line-strong);
}

.solo-page .field input:focus,
.solo-page .field textarea:focus,
.solo-page .field select:focus {
  border-color: rgba(125, 92, 58, 0.52);
  box-shadow: 0 0 0 4px rgba(172, 132, 83, 0.12);
}

.solo-page .btn-primary {
  background: linear-gradient(180deg, #2b2219, #17120d);
}

.solo-page .btn-muted {
  background: rgba(255, 255, 255, 0.68);
}

.hexon-footer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.hexon-note-box {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px dashed rgba(103, 84, 63, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--hexon-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hexon-button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hexon-cpa-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hexon-cpa-stat,
.hexon-timeline-card {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid var(--hexon-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(246, 241, 233, 0.72));
}

.hexon-cpa-stat span,
.hexon-timeline-card span {
  color: var(--hexon-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hexon-cpa-stat strong {
  font-size: 18px;
  font-family: "JetBrains Mono", monospace;
}

.hexon-cpa-stat-accent {
  border-color: rgba(45, 107, 69, 0.18);
  background:
    linear-gradient(180deg, rgba(246, 255, 248, 0.96), rgba(236, 246, 238, 0.9));
}

.hexon-cpa-stat-accent strong {
  color: var(--hexon-green);
}

.hexon-cpa-danger strong {
  color: var(--hexon-red);
}

.hexon-cpa-warn strong {
  color: var(--hexon-amber);
}

.hexon-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hexon-timeline-card code {
  color: var(--hexon-ink);
  font-size: 12px;
  line-height: 1.6;
}

.hexon-right-dock {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
}

.hexon-log-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(72, 63, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(27, 24, 21, 0.98), rgba(17, 15, 13, 0.98));
  box-shadow: 0 20px 32px rgba(19, 16, 13, 0.18);
}

.hexon-log-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(38, 34, 30, 0.96), rgba(27, 24, 21, 0.96));
}

.hexon-log-head .section-tag {
  margin-bottom: 6px;
  color: rgba(197, 186, 174, 0.62);
}

.hexon-log-head h2 {
  color: #f1e7da;
  font-size: 22px;
}

.hexon-log-lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e9a33e;
  box-shadow: 0 0 14px rgba(233, 163, 62, 0.72);
}

.hexon-log-lamp.is-running {
  background: #3bcf72;
  box-shadow: 0 0 14px rgba(59, 207, 114, 0.72);
}

.solo-detail-log {
  min-height: 300px;
  max-height: 430px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ddd4c8;
  box-shadow: none;
}

@media (max-width: 1280px) {
  .hexon-workspace {
    grid-template-columns: 1fr;
  }

  .hexon-right-dock {
    position: static;
  }
}

@media (max-width: 980px) {
  .hexon-topbar {
    grid-template-columns: 1fr;
  }

  .hexon-topbar-actions {
    justify-content: flex-start;
  }

  .hexon-control-grid,
  .hexon-provider-grid,
  .hexon-cpa-stats,
  .hexon-timeline-grid,
  .hexon-switch-grid,
  .hexon-provider-choices,
  .hexon-footer-bar {
    grid-template-columns: 1fr;
  }

  .hexon-provider-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hexon-shell {
    padding: 16px;
  }

  .hexon-topbar {
    padding: 18px;
  }

  .hexon-brand-mark {
    width: 72px;
  }

  .hexon-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hexon-stats-row {
    grid-template-columns: 1fr;
  }
}
