:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #222836;
  background: #f6f7f9;
  font-synthesis: none;
  --purple: #7550df;
  --muted: #79808e;
  --line: #e9ebf1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 254px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 31px 20px 17px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.logo {
  background: #7954df;
  color: white;
  display: grid;
  place-items: center;
  width: 37px;
  height: 40px;
  border-radius: 11px;
  font-size: 27px;
  font-style: italic;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.2px;
  margin-top: 5px;
  color: #9294a0;
}
.workspace {
  margin: 32px 0 28px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #f0eafa;
  color: #7958ba;
  font-size: 13px;
  font-weight: 650;
  flex-shrink: 0;
}
.workspace strong,
.profile strong {
  font-size: 14px;
}
.workspace small,
.profile small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #969ba7;
  margin: 0 10px 15px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  margin: 3px 0;
  border-radius: 7px;
  font-size: 14px;
  color: #737988;
}
nav a.active {
  background: #eee8fc;
  color: #714cd3;
  font-weight: 650;
}
nav a:hover,
.settings:hover {
  background: #f4f1fb;
}
svg.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
}
.settings {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: #737988;
  padding: 12px;
}
.plan {
  background: linear-gradient(125deg, #f5f0ff, #f9f8fe);
  border: 1px solid #ede5fc;
  border-radius: 9px;
  padding: 15px;
  margin: 16px 0 21px;
}
.spark {
  display: block;
  color: var(--purple);
  font-size: 24px;
  margin-bottom: 5px;
}
.plan strong {
  font-size: 13px;
}
.plan p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0 13px;
}
.plan-tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #946fcb;
}
.profile {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.shell {
  margin-left: 254px;
}
header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 13px;
  color: #979ca6;
}
.breadcrumb span {
  margin: 0 14px;
  color: #c5c8ce;
}
.breadcrumb strong {
  color: #555c6b;
  font-weight: 500;
}
.header-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.small {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.demo-pill {
  font-size: 12px;
  color: #8b69c8;
  background: #f4effd;
  padding: 7px 11px;
  border-radius: 5px;
}
main {
  max-width: 1550px;
  margin: auto;
  padding: 35px 38px 10px;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #9878cc;
  font-weight: 600;
  margin-bottom: 10px;
}
h1 {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.9px;
  margin: 0 0 9px;
}
p {
  line-height: 1.6;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.button {
  border: 0;
  background: var(--purple);
  color: #fff;
  padding: 11px 17px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.button:hover {
  filter: brightness(0.96);
}
.button.secondary {
  border: 1px solid #dfe2ea;
  background: #fff;
  color: #606776;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.notice {
  border: 1px solid #e6ddf9;
  background: #f5f1fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: #8065aa;
  margin-bottom: 24px;
}
.notice strong {
  color: #654794;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px 20px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #828896;
  font-size: 13px;
}
.metric-icon {
  color: #9671e0;
  padding: 7px;
  background: #f7f3fe;
  border-radius: 7px;
  display: flex;
}
.metric-value {
  font-size: 27px;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 13px 0 8px;
}
.delta {
  font-size: 12px;
  color: #3a9a7b;
}
.delta span {
  color: #9ba0aa;
  margin-left: 4px;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 27px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 22px;
  min-width: 0;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.card p.muted {
  margin: 6px 0;
}
.legend {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #969baa;
  margin-top: 17px;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #9a79e5;
  border-radius: 50%;
  margin-right: 6px;
}
.legend .mint {
  background: #89bfb1;
}
.chart {
  width: 100%;
  height: 205px;
  display: block;
  margin-top: 12px;
}
.chart text {
  font-size: 11px;
  fill: #a6abb7;
}
.chart line {
  stroke: #f0f1f6;
}
.chart .area {
  fill: url(#fade);
}
.chart .purple-line {
  fill: none;
  stroke: #9570e8;
  stroke-width: 3;
}
.chart .green-line {
  fill: none;
  stroke: #9bc5b9;
  stroke-width: 2;
  stroke-dasharray: 4 5;
}
.tasks {
  margin-top: 17px;
}
.task {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f0f1f5;
}
.task:last-child {
  border-bottom: 0;
}
.task-time {
  color: #9297a4;
  font-size: 11px;
  min-width: 33px;
}
.task-cover {
  width: 38px;
  height: 43px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: #eee8fc;
  color: #8b68c8;
}
.task:nth-child(2) .task-cover {
  background: #edf4f0;
  color: #578b78;
}
.task-body {
  flex: 1;
}
.task-body strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
  line-height: 1.5;
}
.task-body small {
  display: block;
  color: #9ba0aa;
  font-size: 11px;
  margin-top: 4px;
}
.pill {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f2edf9;
  color: #8963bf;
  white-space: nowrap;
}
.pill.green {
  background: #edf7f1;
  color: #4a9b73;
}
.pill.gray {
  background: #f2f3f6;
  color: #8c92a0;
}
.text-button {
  border: 0;
  background: none;
  color: #8c65ce;
  font-size: 12px;
  padding: 4px;
  cursor: pointer;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.section-heading p {
  margin: 7px 0 0;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  transition:
    transform 0.15s,
    border-color 0.15s;
  display: flex;
  flex-direction: column;
  min-height: 169px;
}
.module:hover {
  transform: translateY(-3px);
  border-color: #c9b5ef;
}
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.module-symbol {
  display: flex;
  padding: 10px;
  border-radius: 9px;
  background: #f2edfc;
  color: #8f6bcd;
}
.module:nth-child(3n + 2) .module-symbol {
  background: #edf4f9;
  color: #6487b0;
}
.module:nth-child(3n) .module-symbol {
  background: #edf6f0;
  color: #6d9e85;
}
.module h3 {
  font-size: 14px;
  margin: 0 0 7px;
  font-weight: 600;
}
.module p {
  font-size: 12px;
  color: #9298a4;
  margin: 0;
  line-height: 1.6;
}
.module .module-meta {
  font-size: 11px;
  color: #a7aab5;
  margin-top: 14px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: left;
  font-size: 13px;
}
th {
  font-weight: 500;
  color: #979da9;
  font-size: 12px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid #f0f1f5;
}
td:first-child {
  font-weight: 550;
}
tr:last-child td {
  border: 0;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.toolbar input {
  max-width: 340px;
  width: 100%;
  background: #fff;
  border: 1px solid #e1e4ec;
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 13px;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 30px 38px 0;
  border-top: 1px solid #e5e7ef;
  padding: 20px 0;
  font-size: 11px;
  color: #a3a8b3;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
  width: min(520px, calc(100vw - 32px));
  color: #222836;
  box-shadow: 0 25px 80px #1e183122;
}
dialog::backdrop {
  background: #1c16345c;
  backdrop-filter: blur(3px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-top h2 {
  font-size: 20px;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 28px;
  color: #888;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
label {
  display: block;
  font-size: 13px;
  margin-top: 18px;
  font-weight: 550;
}
label input,
label select,
label textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #dfe2ea;
  border-radius: 7px;
  padding: 11px;
  background: white;
  color: #333;
}
label textarea {
  min-height: 90px;
  resize: vertical;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #2b243a;
  color: white;
  border-radius: 8px;
  font-size: 13px;
  z-index: 5;
  display: none;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.connection-grid .button {
  margin-top: 15px;
}
.integration-state {
  font-size: 12px;
  color: #9879c7;
}
.mobile-only {
  display: none;
}
@media (min-width: 1500px) {
  main {
    padding-top: 43px;
  }
  .module {
    min-height: 185px;
  }
  .chart {
    height: 240px;
  }
}
@media (max-height: 850px) and (min-width: 801px) {
  .plan {
    display: none;
  }
  .sidebar {
    padding-top: 23px;
  }
  .workspace {
    margin: 25px 0;
  }
  .sidebar-bottom {
    padding-top: 8px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 222px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .shell {
    margin-left: 222px;
  }
  main {
    padding: 28px 24px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px 14px;
  }
  .metric-value {
    font-size: 24px;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  header {
    padding: 0 24px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px 18px 9px;
  }
  .brand {
    font-size: 21px;
  }
  .brand small,
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 17px;
    gap: 4px;
  }
  nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 9px;
  }
  nav a .icon {
    width: 16px;
  }
  .shell {
    margin-left: 0;
  }
  header {
    height: 56px;
    padding: 0 20px;
  }
  .header-right .avatar {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  main {
    padding: 25px 18px;
  }
  .page-top {
    align-items: flex-start;
  }
  .page-top .button {
    font-size: 12px;
    padding: 10px;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 13px;
  }
  .notice {
    font-size: 12px;
    align-items: flex-start;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .module-grid {
    gap: 12px;
  }
  .module {
    padding: 16px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  footer {
    margin: 20px 18px 0;
    gap: 15px;
    font-size: 10px;
  }
  .demo-pill {
    font-size: 10px;
  }
  .metric-top {
    font-size: 12px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric .delta span {
    display: block;
    margin: 4px 0;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }
}
