:root {
  --bg: #f8f9fc;
  --surface: #fff;
  --ink: #262538;
  --muted: #8b8b9d;
  --purple: #7663e7;
  --line: #eeedf4;
  --green: #54b496;
  --radius: 15px;
  --shadow: 0 4px 18px #25204c03;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
i {
  display: inline-flex;
  flex: none;
  width: 18px;
  height: 18px;
}
i svg {
  width: 100%;
  height: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b5a8ff;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 237px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 33px 21px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -1.3px;
  padding: 0 10px;
}
.brand-dot {
  color: var(--purple);
}

.brand img {
  display: block;
  border-radius: 9px;
}
.workspace-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  margin: 35px 0 31px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.workspace-avatar {
  display: block;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 8px;
}
.workspace-switch strong {
  font-size: 11px;
  display: block;
  font-weight: 600;
}
.workspace-switch small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.workspace-chevron {
  margin-left: auto;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #aaa9b7;
  padding-left: 13px;
  margin-bottom: 13px;
  font-weight: 650;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  color: #82818f;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
}
.nav-link:hover {
  background: #f6f4ff;
  color: var(--purple);
}
.nav-link.active {
  background: #f0edff;
  color: var(--purple);
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #e6e0ff;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--purple);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.build-note {
  background: linear-gradient(125deg, #f5f2ff, #faf9ff);
  border: 1px solid #efebfc;
  border-radius: 12px;
  padding: 18px 14px;
  margin-bottom: 24px;
}
.tiny-orbit {
  display: block;
  color: var(--purple);
  font-size: 25px;
  margin-bottom: 9px;
}
.build-note strong {
  font-size: 11px;
  font-weight: 650;
}
.build-note p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin: 7px 0 14px;
}
.build-note a {
  font-size: 10px;
  color: var(--purple);
  font-weight: 600;
}
.build-note a span {
  margin-left: 13px;
}
.profile {
  border-top: 1px solid var(--line);
  margin: 0 -21px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-avatar,
.topbar-avatar {
  border-radius: 50%;
  background: #f0ecdf;
  color: #8d8168;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
  width: 33px;
  height: 33px;
}
.profile strong {
  font-size: 11px;
  display: block;
  font-weight: 600;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.profile i {
  margin-left: auto;
  color: #aeacba;
  width: 14px;
}
.app-shell {
  margin-left: 237px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  background: #ffffffbf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 11px;
}
.breadcrumb span {
  margin: 0 13px;
  color: #cfccda;
}
.breadcrumb strong {
  font-weight: 500;
  color: #575567;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7a788a;
}
.environment span {
  width: 6px;
  height: 6px;
  background: #54b496;
  border-radius: 50%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 5px;
  color: #8c899d;
  border-radius: 6px;
}
.icon-button:hover {
  background: #f0edff;
  color: var(--purple);
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 35px 40px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 8px;
  font-weight: 650;
  color: #a09aa9;
  letter-spacing: 1.65px;
  margin-bottom: 9px;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.9px;
  font-weight: 650;
  margin: 0 0 9px;
  line-height: 1.25;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
h2,
h3,
p {
  margin-top: 0;
}
h3 {
  font-size: 14px;
  letter-spacing: -0.25px;
  font-weight: 650;
  margin-bottom: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  min-height: 39px;
  padding: 10px 15px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button i {
  width: 14px;
  height: 14px;
}
.primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 3px 8px #7663e71a;
}
.primary:hover {
  background: #6551d9;
  transform: translateY(-1px);
}
.secondary {
  background: #fff;
  border-color: #e8e5f0;
  color: #6a647e;
}
.secondary:hover {
  background: #f5f2ff;
}
.small {
  min-height: 33px;
  font-size: 10px;
  padding: 8px 12px;
}
.hero {
  border-radius: 16px;
  background: linear-gradient(110deg, #7662db 0%, #826ce3 55%, #8c76e6 100%);
  min-height: 269px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  position: relative;
}
.hero-copy {
  padding: 29px 32px;
  z-index: 1;
}
.hero-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: #e2d9ff;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dcd0ff;
}
.hero h2 {
  font-size: 31px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 15px 0 12px;
}
.hero p {
  font-size: 11px;
  color: #e3dcff;
  line-height: 1.7;
  margin-bottom: 18px;
}
.hero-button {
  background: #fff;
  color: #7762d4;
  font-size: 10px;
  min-height: 34px;
  padding: 9px 12px;
  gap: 17px;
  border-radius: 6px;
}
.hero-button:hover {
  background: #f2edff;
}
.hero-footnote {
  display: block;
  font-size: 8px;
  color: #d3c7fa;
  margin-top: 16px;
}
.hero-footnote span {
  margin: 0 8px;
}
.hero-art {
  width: 340px;
  position: relative;
  display: grid;
  place-items: center;
  margin-right: 32px;
  flex: none;
}
.tesseract-cube {
  width: 260px;
  position: relative;
  filter: drop-shadow(0 12px 25px #513baf40);
  transform: rotate(-7deg);
  z-index: 1;
}
.orbit {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
}
.orbit-two {
  width: 420px;
  height: 420px;
}
.art-star {
  position: absolute;
  font-size: 27px;
  font-weight: 300;
  color: #e2d6ff;
}
.star-one {
  top: 37px;
  right: 20px;
}
.star-two {
  bottom: 62px;
  left: 12px;
  font-size: 13px;
}
.art-caption {
  position: absolute;
  bottom: 20px;
  color: #d6c9fc;
  font-size: 7px;
  letter-spacing: 1.8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 21px 0;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 18px 19px;
  min-height: 120px;
  box-shadow: var(--shadow);
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9290a1;
  font-size: 10px;
}
.metric-label i {
  width: 14px;
  height: 14px;
  color: #a8a3bf;
}
.metric-value {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 12px 0 9px;
  position: relative;
  z-index: 1;
}
.metric-value small {
  font-size: 11px;
  color: #aaa7ba;
  font-weight: 400;
  letter-spacing: 0;
}
.metric-foot {
  color: #aaa7b6;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 1;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
}
.green {
  background: var(--green);
}
.amber {
  background: #d4a166;
}
.purple {
  background: var(--purple);
}
.mini-line {
  position: absolute;
  right: 16px;
  bottom: 24px;
  width: 58px;
  height: 24px;
  fill: none;
  stroke: #cfc5f9;
  stroke-width: 2;
}
.mini-blocks {
  position: absolute;
  right: 20px;
  bottom: 28px;
  display: flex;
  gap: 3px;
}
.mini-blocks b {
  height: 14px;
  width: 4px;
  border-radius: 2px;
  background: #c2b6f7;
}
.metric-watermark {
  font-size: 64px;
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: #f2effc;
  transform: rotate(10deg);
}
.connection-value {
  font-size: 20px;
  margin: 17px 0 13px;
  letter-spacing: -0.4px;
}
.metric-link {
  position: absolute;
  bottom: 20px;
  right: 19px;
  color: #a299c5;
  font-size: 16px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(290px, 1fr);
  gap: 21px;
  align-items: start;
}
.overview-left {
  display: grid;
  gap: 21px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 23px 23px 0;
}
.panel-heading p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}
.subtle-pill {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 9px;
  color: #858092;
  border: 1px solid #eeebf4;
  border-radius: 6px;
  padding: 7px 10px;
  white-space: nowrap;
}
.subtle-pill i {
  width: 12px;
  height: 12px;
}
.chart-panel {
  min-height: 261px;
}
.chart-key {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #8c879e;
  padding: 19px 24px 0;
}
.chart-timezone {
  margin-left: auto;
  font-size: 8px;
  color: #b1aabd;
}
.chart {
  height: 171px;
  padding: 9px 20px 17px;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  font-size: 9px;
  fill: #aaa5b8;
  font-family: inherit;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 550;
  color: var(--purple);
  white-space: nowrap;
}
.text-link i {
  width: 12px;
  height: 12px;
}
.recent-panel .panel-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #f4f2f8;
}
.recent-empty {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.empty-icon {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #f6f3ff;
  color: #a092d5;
  display: grid;
  place-items: center;
  flex: none;
}
.recent-empty strong {
  font-size: 11px;
  font-weight: 500;
}
.recent-empty p {
  font-size: 10px;
  color: #a39bad;
  margin: 5px 0 0;
}
.recent-row {
  padding: 15px 23px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #f4f2f8;
}
.recent-row:last-child {
  border: 0;
}
.recent-row strong {
  font-size: 10px;
  display: block;
  font-weight: 500;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-row small {
  display: block;
  font-size: 8px;
  margin-top: 5px;
  color: #aaa3b6;
}
.recent-row time {
  font-size: 9px;
  color: #b0a8bc;
  margin-left: auto;
  white-space: nowrap;
}
.section-kicker {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a79cba;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.quick-simulator .panel-heading {
  padding: 23px 21px 0;
  align-items: center;
}
.quick-simulator h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  font-weight: 550;
}
.quick-simulator .panel-heading p {
  font-size: 9px;
}
.sim-icon {
  background: #f5f1ff;
  border-radius: 10px;
  color: #a090db;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.sim-bubble {
  display: flex;
  gap: 11px;
  margin: 25px 21px 23px;
  align-items: flex-start;
}
.assistant-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ae9af5, #7864df);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.assistant-orb i {
  width: 15px;
  height: 15px;
}
.sim-bubble strong {
  font-size: 9px;
  font-weight: 550;
}
.sim-bubble p {
  margin: 7px 0 0;
  line-height: 1.7;
  font-size: 10px;
  color: #928a9e;
}
.suggestion-label {
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #b2aaba;
  margin: 0 21px 11px;
}
.suggestions {
  margin: 0 21px;
  display: grid;
  gap: 9px;
}
.suggestions button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 8px;
  padding: 11px 10px;
  border: 1px solid #ede9f5;
  border-radius: 7px;
  color: #8c80a5;
  background: #fff;
  font-size: 9px;
  transition: background 0.15s;
}
.suggestions button:hover {
  background: #f6f2ff;
  border-color: #d8cefa;
}
.suggestions i {
  width: 13px;
  height: 13px;
  color: #af9ad4;
}
.suggestions span {
  margin-left: auto;
  color: #b4a5ce;
}
.sim-form {
  display: flex;
  align-items: center;
  border: 1px solid #e9e3f4;
  border-radius: 8px;
  margin: 23px 21px 17px;
  padding: 5px;
  background: #fcfbff;
}
.sim-form input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 10px;
  padding: 8px 7px;
  color: #504363;
  outline: none;
}
.sim-form:focus-within {
  border-color: #a392e7;
  box-shadow: 0 0 0 3px #eee8ff;
}
.sim-form input::placeholder {
  color: #b2a8c3;
}
.send-button {
  background: var(--purple);
  color: #fff;
  border: 0;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.send-button:hover {
  background: #6551d9;
}
.send-button i {
  width: 14px;
  height: 14px;
}
.sim-footer {
  display: flex;
  align-items: center;
  font-size: 8px;
  color: #a49aaf;
  gap: 5px;
  margin: 0 21px;
}
.sim-footer a {
  margin-left: auto;
  color: #9b87c3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sim-footer a i {
  width: 10px;
  height: 10px;
}
.sim-disclaimer {
  font-size: 8px;
  line-height: 1.6;
  color: #b7aebe;
  margin: 14px 21px 21px;
}
.quick-result {
  margin: 0 21px 17px;
  padding: 12px;
  background: #f6f2ff;
  border-radius: 8px;
  font-size: 10px;
  color: #79688c;
  line-height: 1.7;
}
.bottom-note {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #e5e0ef;
  background: #f8f6fd;
  border-radius: 9px;
  padding: 14px 18px;
  font-size: 9px;
  color: #a599b8;
  margin-top: 22px;
}
.bottom-note i {
  color: #b6a6d8;
  width: 13px;
  height: 13px;
}
.bottom-note a {
  margin-left: auto;
  color: #9b83bf;
}
.bottom-note a span {
  margin-left: 8px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 23px;
  font-size: 9px;
  color: #b4afbf;
}
.app-footer > span:first-child {
  font-weight: 500;
}
.footer-divider {
  margin: 0 9px;
  color: #cfccd6;
}
.footer-dot {
  margin: 0 6px;
}
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 22px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.search-field i {
  color: #a397b4;
  width: 15px;
  height: 15px;
}
.search-field input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  width: 210px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.intent-card {
  padding: 23px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.intent-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.intent-icon {
  width: 40px;
  height: 40px;
  background: #f2eeff;
  color: #9b83d4;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.status-badge {
  background: #edf8f2;
  color: #68a68d;
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-badge.off {
  background: #f3f1f6;
  color: #aaa0b7;
}
.intent-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.intent-response {
  font-size: 11px;
  line-height: 1.8;
  background: #faf8fd;
  border: 1px solid #f2edf7;
  border-radius: 8px;
  padding: 12px;
  color: #94839f;
  margin: 3px 0 20px;
  flex: 1;
}
.intent-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.intent-card-footer code {
  font-size: 8px;
  color: #b0a4bc;
  overflow-wrap: anywhere;
}
.intent-card-footer button {
  background: none;
  border: 0;
  color: var(--purple);
  font-size: 10px;
  white-space: nowrap;
  padding: 7px 0;
}
.playground-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 22px;
}
.conversation {
  height: 370px;
  overflow-y: auto;
  padding: 24px;
}
.chat-welcome {
  text-align: center;
  padding: 70px 0;
}
.large-orb {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f1ecff;
  color: var(--purple);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.large-orb i {
  width: 28px;
  height: 28px;
}
.chat-welcome h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 550;
}
.chat-welcome p {
  font-size: 11px;
  color: var(--muted);
}
.chat-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 23px;
}
.chat-suggestions button {
  font-size: 10px;
  border: 1px solid #e9e2f5;
  background: #faf8ff;
  color: #9b85bb;
  border-radius: 20px;
  padding: 7px 11px;
}
.conversation-panel .sim-form {
  margin-bottom: 23px;
}
.chat-message {
  max-width: 85%;
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.chat-message.user {
  margin-left: auto;
  background: #eee8ff;
  color: #77619f;
  padding: 12px 16px;
  border-radius: 12px 12px 3px 12px;
}
.chat-message.assistant {
  background: #f8f6fb;
  padding: 14px 16px;
  border-radius: 12px 12px 12px 3px;
  color: #877592;
}
.chat-message small {
  display: block;
  color: #b1a0c0;
  font-size: 8px;
  margin-top: 7px;
}
.response-panel {
  padding: 25px;
}
.response-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.inspector-meta {
  font-size: 9px;
  margin: 23px 0 13px;
  color: #a092b6;
}
.response-panel pre {
  font:
    10px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #faf8fe;
  border: 1px solid #f0ebf6;
  border-radius: 8px;
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
  color: #a08ab7;
  min-height: 140px;
}
.inspector-note {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  color: #b3a6c3;
}
.inspector-note i {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.inspector-note p {
  font-size: 9px;
}
.activity-filters {
  display: flex;
  gap: 12px;
  padding: 22px 23px;
}
.activity-filters select {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 11px;
  color: #9587a6;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 9px;
  color: #b0a3ba;
  background: #fcfafe;
  padding: 14px 23px;
  font-weight: 500;
  white-space: nowrap;
}
td {
  padding: 17px 23px;
  border-top: 1px solid #f1edf7;
  font-size: 10px;
  color: #a08daa;
}
td:first-child {
  color: #776780;
  max-width: 250px;
  overflow-wrap: anywhere;
}
td code {
  font-size: 9px;
}
td time {
  white-space: nowrap;
}
.empty-state {
  text-align: center;
  padding: 55px 25px;
}
.empty-state > i {
  width: 32px;
  height: 32px;
  color: #c3b5dc;
  margin-bottom: 15px;
}
.empty-state p {
  color: var(--muted);
  font-size: 11px;
  margin: 12px 0 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.settings-card {
  padding: 27px;
}
.settings-card h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.settings-card > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.settings-card dl {
  margin: 24px 0;
}
.settings-card dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.settings-card dt {
  font-size: 11px;
  color: #9c8eab;
}
.settings-card dd {
  font-size: 11px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #83708f;
  text-align: right;
}
.setup-note {
  display: flex;
  gap: 12px;
  background: #f8f4ff;
  border-radius: 8px;
  padding: 15px;
  color: #ae97cc;
}
.setup-note p {
  font-size: 10px;
  line-height: 1.8;
  margin: 0;
}
.setup-note code {
  color: #a18abd;
}
.settings-hint {
  background: #faf8fd;
  border-radius: 8px;
  padding: 15px;
}
.notice {
  padding: 14px;
  background: #fff3f0;
  color: #af7369;
  border: 1px solid #efd8d3;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 11px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 118px);
  transform: translateX(-50%);
  max-width: 90vw;
  background: #403448;
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 8px 30px #39284e25;
  z-index: 50;
}
dialog {
  border: 1px solid #eee6f7;
  border-radius: 16px;
  padding: 28px;
  width: min(490px, calc(100vw - 36px));
  box-shadow: 0 20px 90px #40345e20;
  color: var(--ink);
}
dialog::backdrop {
  background: #30243d55;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 15px;
}
.dialog-heading h2,
dialog h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
dialog label {
  font-size: 11px;
  color: #95839f;
  display: block;
  margin-bottom: 10px;
}
dialog textarea,
dialog input[type="password"] {
  width: 100%;
  border: 1px solid #e8dff2;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  color: #816b8e;
  background: #fdfcff;
  line-height: 1.8;
  font-size: 12px;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  margin: 10px 0;
  border-top: 1px solid var(--line);
}
.toggle-row input {
  accent-color: var(--purple);
  width: 18px;
  height: 18px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
dialog > p,
dialog form > p {
  font-size: 11px;
  color: #9b8aa5;
  line-height: 1.8;
}
.help-steps {
  padding-left: 22px;
  margin: 25px 0;
  color: #95819f;
}
.help-steps li {
  padding: 0 0 15px 5px;
  font-size: 12px;
}
.help-steps p {
  font-size: 11px;
  line-height: 1.7;
  margin: 7px 0 0;
  color: #ae9ab7;
}
.error-text {
  color: #bb7777 !important;
  min-height: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #fff;
  color: var(--purple);
  padding: 12px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
@media (min-width: 1450px) {
  main {
    padding-top: 42px;
  }
  .hero {
    min-height: 295px;
  }
  .hero-copy {
    padding: 35px 38px;
  }
  .hero h2 {
    font-size: 37px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-art {
    margin-right: 60px;
  }
  .tesseract-cube {
    width: 290px;
  }
  .metric-card {
    min-height: 135px;
    padding: 22px;
  }
  .metric-value {
    font-size: 30px;
  }
  .connection-value {
    font-size: 23px;
  }
  .chart-panel {
    min-height: 286px;
  }
  .chart {
    height: 190px;
  }
  .quick-simulator .panel-heading {
    padding-top: 27px;
  }
  .sim-bubble {
    margin-top: 29px;
    margin-bottom: 28px;
  }
  .suggestions button {
    padding: 13px 12px;
    font-size: 10px;
  }
  .sim-disclaimer {
    margin-bottom: 26px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .app-shell {
    margin-left: 210px;
  }
  .profile {
    margin: 0 -16px;
    padding: 18px 16px;
  }
  .brand {
    font-size: 23px;
  }
  .workspace-switch {
    padding: 12px 7px;
    gap: 7px;
  }
  .workspace-switch strong {
    font-size: 10px;
  }
  .workspace-chevron {
    display: none;
  }
  main {
    padding-left: 27px;
    padding-right: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .metrics {
    gap: 12px;
  }
  .metric-card {
    padding: 16px 14px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .mini-line,
  .mini-blocks {
    display: none;
  }
  .hero-art {
    width: 260px;
    margin-right: 10px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .overview-grid {
    gap: 16px;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 1fr);
  }
  .panel-heading {
    padding-left: 19px;
    padding-right: 19px;
  }
  .subtle-pill {
    gap: 7px;
    padding: 7px;
    font-size: 8px;
  }
  .intent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toast {
    left: calc(50% + 105px);
  }
}
@media (max-width: 1000px) {
  .hero-art {
    width: 210px;
  }
  .tesseract-cube {
    width: 220px;
  }
  .hero-copy {
    padding: 26px;
  }
  .hero-footnote {
    font-size: 7px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .quick-simulator {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-foot {
    font-size: 9px;
  }
  .mini-line,
  .mini-blocks {
    display: flex;
  }
  .metric-card {
    padding: 19px;
  }
  .playground-layout {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 200px;
  }
  .app-shell {
    margin-left: 200px;
  }
  .workspace-switch strong {
    font-size: 9px;
  }
  .hero p {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .toast {
    left: calc(50% + 100px);
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 72px;
    padding: 25px 11px;
  }
  .brand {
    padding: 0 6px;
  }
  .brand > span,
  .workspace-switch,
  .nav-label,
  .nav-link:not(.active) .nav-count,
  .sidebar-bottom {
    display: none;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .sidebar nav {
    margin-top: 34px;
  }
  .nav-link {
    font-size: 0;
    padding: 13px 15px;
    gap: 0;
  }
  .nav-link i {
    width: 19px;
    height: 19px;
  }
  .nav-count {
    display: none;
  }
  .app-shell {
    margin-left: 72px;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .environment {
    display: none;
  }
  .topbar-actions {
    gap: 12px;
  }
  main {
    padding: 25px 20px 0;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    line-height: 1.7;
    font-size: 10px;
    max-width: 250px;
  }
  .page-heading > .button {
    font-size: 0;
    width: 36px;
    padding: 8px;
    min-height: 36px;
    flex: none;
  }
  .page-heading > .button i {
    width: 16px;
    height: 16px;
  }
  .hero-art {
    position: absolute;
    right: -40px;
    bottom: 15px;
    width: 210px;
    opacity: 0.35;
  }
  .hero-copy {
    padding: 25px 23px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    max-width: 280px;
  }
  .hero-footnote {
    font-size: 7px;
    max-width: 240px;
    line-height: 1.7;
  }
  .hero {
    min-height: 282px;
  }
  .metrics {
    gap: 12px;
  }
  .metric-card {
    padding: 15px 14px;
  }
  .metric-value {
    font-size: 24px;
  }
  .connection-value {
    font-size: 17px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .mini-line,
  .mini-blocks {
    display: none;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric-label i {
    width: 12px;
    height: 12px;
  }
  .metric-watermark {
    font-size: 50px;
    right: 15px;
    bottom: 20px;
  }
  .panel-heading {
    padding: 20px 18px 0;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .chart-key {
    padding-left: 18px;
    padding-right: 18px;
  }
  .bottom-note {
    font-size: 8px;
    padding: 13px;
    line-height: 1.7;
    flex-wrap: wrap;
  }
  .bottom-note a {
    margin-left: 20px;
  }
  .app-footer {
    font-size: 7px;
    gap: 15px;
    line-height: 1.8;
  }
  .app-footer > span:last-child {
    white-space: nowrap;
  }
  .intent-grid {
    grid-template-columns: 1fr;
  }
  .section-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .search-field {
    width: 100%;
  }
  .search-field input {
    width: 100%;
    min-width: 0;
  }
  .section-toolbar .muted {
    font-size: 10px;
  }
  .playground-layout {
    gap: 16px;
  }
  .conversation {
    height: 350px;
    padding: 18px;
  }
  .conversation-panel .panel-heading {
    align-items: flex-start;
  }
  .conversation-panel h3 {
    font-size: 12px;
  }
  .conversation-panel .button {
    font-size: 8px;
    padding: 7px;
    min-height: 28px;
  }
  .chat-welcome {
    padding: 60px 0;
  }
  .chat-welcome h2 {
    font-size: 18px;
  }
  .chat-welcome p {
    font-size: 10px;
    line-height: 1.8;
  }
  .response-panel {
    padding: 20px;
  }
  .activity-filters {
    padding: 20px 18px;
    flex-wrap: wrap;
  }
  .activity-filters select {
    width: 100%;
  }
  .settings-card {
    padding: 22px 18px;
  }
  .settings-card dl {
    margin: 18px 0;
  }
  .settings-card dt,
  .settings-card dd {
    font-size: 10px;
  }
  .setup-note {
    padding: 12px;
    gap: 8px;
  }
  .setup-note p {
    font-size: 9px;
  }
  .toast {
    left: calc(50% + 36px);
    font-size: 11px;
  }
  .recent-row {
    padding: 15px 18px;
  }
  .recent-row strong {
    max-width: 165px;
  }
  .recent-row time {
    font-size: 8px;
  }
  .breadcrumb {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
