:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #19363e;
  background: #f3f6f6;
  font-synthesis: none;
  --ink: #173942;
  --muted: #647c83;
  --teal: #087e79;
  --navy: #082f3b;
  --line: #dce6e7;
  --surface: #fff;
  --mint: #e6f5f0;
  --danger: #a83932;
  --radius: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button svg,
svg.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(25px, 2.4vw, 34px);
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin-bottom: 9px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.35px;
  margin-bottom: 8px;
}
h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
p {
  line-height: 1.55;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.65px;
  font-weight: 700;
  color: var(--muted);
}
.mono {
  font-family: Consolas, "SFMono-Regular", monospace;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 20px;
}
.gap8 {
  gap: 8px;
}
.mb0 {
  margin-bottom: 0;
}
.mt16 {
  margin-top: 16px;
}
.nowrap {
  white-space: nowrap;
}
.break {
  overflow-wrap: anywhere;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}
.boot p {
  margin: 0;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #d5e6e5;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #adc5ca;
  padding: 30px 20px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #123e49;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  margin: 0 13px 33px;
}
.brand-mark {
  width: 39px;
  height: 39px;
  flex: none;
}
.brand strong {
  font-size: 20px;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  color: #8fafb8;
  font-size: 10px;
  letter-spacing: 1.8px;
  margin-top: 3px;
}
.project-select-wrap {
  padding: 0 6px 24px;
  border-bottom: 1px solid #214650;
  margin-bottom: 25px;
}
.project-select-wrap label {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 9px;
  color: #8baab4;
}
.project-select {
  width: 100%;
  color: #eefbfa;
  background: #17444f;
  border: 1px solid #32606a;
  border-radius: 9px;
  min-height: 46px;
  padding: 9px 28px 9px 12px;
  font-size: 13px;
}
.sidebar .new-project {
  color: #9bc9cc;
  background: none;
  border: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 13px 0 0;
  font-size: 12px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #6c949f;
  padding: 0 14px 10px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  color: #aac5cd;
  font-size: 13px;
  font-weight: 500;
}
.nav a:hover {
  background: #123f4b;
  text-decoration: none;
}
.nav a.active {
  background: #1c514f;
  color: #9bf0d9;
}
.nav a.active:after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: #91dfc7;
}
.sidebar-foot {
  margin-top: auto;
  padding: 28px 12px 0;
}
.sidebar-foot .divider {
  height: 1px;
  background: #214650;
  margin: 20px 0;
}
.connection-note {
  font-size: 11px;
  line-height: 1.7;
  color: #90b0b9;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #68b8a6;
  border-radius: 50%;
  flex: none;
  margin-top: 5px;
}
.avatar {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #214b58;
  color: #c7e5e9;
  font-size: 12px;
  font-weight: 700;
}
.owner-name {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e0edef;
  font-size: 12px;
}
.sidebar .logout {
  color: #89aab3;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 5px;
  font-size: 11px;
}
.workspace {
  min-width: 0;
}
.topbar {
  min-height: 74px;
  background: #fbfdfd;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 15px;
}
.breadcrumbs {
  font-size: 12px;
  color: #8a9da3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumbs strong {
  font-weight: 500;
  color: #3a5862;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.topbar-right .updated {
  font-size: 11px;
  color: #789097;
}
.icon-btn {
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #577781;
}
.main {
  padding: 34px 38px 50px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
  max-width: 640px;
}
.page-head .eyebrow {
  margin-bottom: 9px;
  color: #65878d;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid #cbdcde;
  border-radius: 8px;
  background: #fff;
  color: #234851;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.btn:hover {
  background: #f1f7f7;
  text-decoration: none;
}
.btn.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.btn.primary:hover {
  background: #066b66;
}
.btn.dark {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn.danger {
  color: var(--danger);
  border-color: #ecc8c4;
}
.btn.small {
  font-size: 11px;
  min-height: 32px;
  padding: 6px 10px;
}
.btn.link {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: auto;
  color: var(--teal);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 30px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  background: #eff3f4;
  color: #647b84;
}
.pill.green {
  background: #e4f5ed;
  color: #197657;
}
.pill.amber {
  background: #fff3dd;
  color: #956218;
}
.pill.red {
  background: #fbe9e6;
  color: #a44037;
}
.pill.blue {
  background: #e9f0fb;
  color: #456eae;
}
.pill.teal {
  background: #e2f4f2;
  color: #087c74;
}
.pill.white {
  background: #ffffff1a;
  color: #c6eeea;
}
.banner {
  border: 1px solid #d8e6e3;
  background: #eaf4f1;
  border-radius: 11px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  color: #37675f;
  margin-bottom: 24px;
}
.banner > svg {
  flex: none;
  margin-top: 2px;
}
.banner strong {
  display: block;
  margin-bottom: 3px;
}
.banner p {
  margin: 0;
}
.banner.warning {
  background: #fffaee;
  border-color: #f0dfb7;
  color: #886325;
}
.banner.error {
  background: #fdf0ee;
  border-color: #eed2cb;
  color: #963c35;
}
.banner .btn {
  margin-left: auto;
  align-self: center;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  padding: 21px 22px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  min-height: 149px;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 17px;
}
.metric-label svg {
  width: 17px;
  color: #8ea6ad;
}
.metric-value {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.15;
  font-weight: 650;
}
.metric-note {
  margin-top: 12px;
  font-size: 11px;
  color: #7b9198;
}
.metric.highlight {
  background: #103f49;
  color: #e9fcf5;
  border-color: #103f49;
  position: relative;
  overflow: hidden;
}
.metric.highlight:after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  border: 1px solid #2d5a60;
  border-radius: 50%;
  right: -63px;
  top: -44px;
  box-shadow:
    0 0 0 22px #ffffff03,
    0 0 0 45px #ffffff03;
}
.metric.highlight .metric-label,
.metric.highlight .metric-note,
.metric.highlight svg {
  color: #9fc6c7;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px 17px;
  gap: 12px;
}
.card-head h2 {
  font-size: 15px;
  margin: 0;
}
.card-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.card-body {
  padding: 0 23px 23px;
}
.card-body.padded {
  padding-top: 23px;
}
.legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.legend:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #50afa0;
  border-radius: 2px;
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 184px;
  padding: 15px 0 0;
  margin-bottom: 6px;
  border-bottom: 1px solid #e2eaea;
}
.bar-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}
.bar {
  width: min(75%, 28px);
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: #4fac9c;
  position: relative;
}
.bar:hover {
  background: #087e79;
}
.bar-date {
  font-size: 9px;
  color: #8aa0a7;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.chart-foot {
  margin: 29px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #80969e;
}
.empty-chart {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 49px,
    #f1f5f5 50px
  );
  color: #859ba1;
  font-size: 12px;
}
.empty-chart svg {
  width: 30px;
  height: 30px;
  stroke: #a0b9ba;
}
.state-row {
  display: grid;
  grid-template-columns: 116px 1fr 27px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 11px;
  color: #58737b;
}
.state-track {
  height: 6px;
  border-radius: 8px;
  background: #f0f4f4;
  overflow: hidden;
}
.state-fill {
  height: 100%;
  border-radius: 8px;
  background: #5fa798;
  min-width: 0;
}
.state-row b {
  font-size: 12px;
  color: #284a54;
  text-align: right;
}
.state-summary {
  padding-top: 17px;
  margin-top: 7px;
  border-top: 1px solid #e5eded;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 12px 23px;
  background: #f9fbfb;
  color: #7b9299;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  border-block: 1px solid #e7eeee;
  white-space: nowrap;
}
td {
  padding: 17px 23px;
  border-bottom: 1px solid #edf2f2;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr[data-action]:hover {
  background: #f7fbfa;
  cursor: pointer;
}
td strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
td .sub {
  font-size: 10px;
  color: #82969c;
}
.table-empty {
  padding: 46px 25px !important;
  text-align: center;
  color: #80979e;
  font-size: 12px;
}
.table-empty svg {
  display: block;
  margin: 0 auto 12px;
  width: 28px;
  height: 28px;
  color: #91afaf;
}
.table-footer {
  padding: 14px 23px;
  border-top: 1px solid #edf2f2;
  color: #8aa0a7;
  font-size: 10px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search {
  min-width: 230px;
  flex: 1;
  position: relative;
  max-width: 380px;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 16px;
  height: 16px;
  color: #88a0a7;
}
.search input {
  padding-left: 37px;
}
.toolbar select {
  width: auto;
  min-width: 150px;
}
.toolbar .count {
  margin-left: auto;
  color: #789097;
  font-size: 11px;
}
input,
select,
textarea {
  background: white;
  color: #23434c;
  border: 1px solid #ccdcdf;
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
  min-height: 41px;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #44a699;
  outline: 2px solid #44a69926;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  line-height: 1.55;
}
label.field {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #34555f;
}
label.field > span {
  display: block;
  margin-bottom: 8px;
}
label.field .hint {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #83979e;
  margin: 7px 0 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #45656d;
}
.check input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}
.check small {
  display: block;
  color: #7a9299;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #e4eded;
}
.inline-error {
  color: var(--danger);
  font-size: 12px;
  padding: 11px 14px;
  background: #fcefeb;
  border-radius: 8px;
  margin-bottom: 17px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 23px;
}
.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 420px;
  overflow: auto;
  background: #f4f8f8;
  border: 1px solid #e0e9ea;
  border-radius: 9px;
  padding: 15px;
  font:
    11px/1.75 Consolas,
    "SFMono-Regular",
    monospace;
  color: #38616a;
  margin: 12px 0;
}
.code.dark {
  background: #10343e;
  color: #b5d8d7;
  border-color: #20434e;
}
.secret {
  border: 1px dashed #65a794;
  background: #edf8f1;
  padding: 17px;
  border-radius: 10px;
  font:
    13px/1.7 Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  color: #7e969c;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
  gap: 23px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  padding: 22px 23px;
  border-top: 1px solid #e7eeee;
}
.facts dt {
  font-size: 10px;
  color: #8ba0a7;
  margin-bottom: 7px;
}
.facts dd {
  font-size: 12px;
  margin: 0;
  color: #305762;
  overflow-wrap: anywhere;
}
.tabs {
  display: flex;
  gap: 24px;
  padding: 0 23px;
  border-bottom: 1px solid #e2ebeb;
  overflow: auto;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 1px;
  color: #8aa0a7;
  white-space: nowrap;
  font-size: 12px;
}
.tabs button.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 600;
}
.chat {
  padding: 22px;
  background: #fafcfb;
  max-height: 680px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chat-message {
  max-width: 91%;
  align-self: flex-start;
}
.chat-message.shopper {
  align-self: flex-end;
}
.chat-label {
  font-size: 10px;
  color: #7b9499;
  margin-bottom: 7px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.chat-message.shopper .chat-label {
  justify-content: flex-end;
}
.bubble {
  padding: 13px 16px;
  background: white;
  border: 1px solid #e1eae8;
  border-radius: 2px 13px 13px 13px;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.shopper .bubble {
  background: #e7f4ed;
  border-color: #d0e8da;
  border-radius: 13px 2px 13px 13px;
}
.system .bubble {
  background: #f2f5f5;
  color: #597b82;
  font-size: 11px;
}
.message-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.message-tag {
  font-size: 9px;
  padding: 4px 7px;
  border: 1px solid #d4e5e1;
  color: #477668;
  border-radius: 4px;
  background: #f5faf7;
}
.message-attachment {
  font-size: 10px;
  color: #6d898d;
  margin-top: 8px;
}
.empty {
  padding: 45px 28px;
  text-align: center;
  color: #7b9399;
}
.empty svg {
  width: 34px;
  height: 34px;
  color: #78a49e;
  margin-bottom: 13px;
}
.empty h3 {
  color: #345a62;
  font-size: 15px;
}
.empty p {
  font-size: 12px;
  max-width: 430px;
  margin: 0 auto 18px;
}
.question-item {
  padding: 16px 22px;
  border-bottom: 1px solid #e8efef;
}
.question-item:last-child {
  border: 0;
}
.question-item p {
  font-size: 12px;
  margin: 7px 0;
  color: #3e626a;
}
.question-item .answer {
  background: #f1f7f4;
  border-radius: 7px;
  padding: 10px;
  font-size: 11px;
  color: #497469;
  line-height: 1.5;
  white-space: pre-wrap;
}
.question-item .reason {
  font-size: 11px;
  color: #9a722c;
  line-height: 1.5;
}
.scroll-panel {
  max-height: 690px;
  overflow: auto;
}
.disclosure {
  border-bottom: 1px solid #e6eded;
}
.disclosure:last-child {
  border: 0;
}
.disclosure > summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.disclosure > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary:after {
  content: "+";
  font-size: 19px;
  color: #8da8ad;
  margin-left: auto;
}
.disclosure[open] > summary:after {
  content: "−";
}
.disclosure summary strong {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}
.disclosure summary small {
  color: #7d979c;
  font-size: 10px;
}
.disclosure-body {
  padding: 0 23px 20px;
}
.run-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #78939a;
  margin-bottom: 15px;
}
.run-metrics b {
  color: #2a5962;
  font-weight: 600;
}
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f2;
}
.event-item:last-child {
  border: 0;
}
.event-icon {
  height: 29px;
  width: 29px;
  border-radius: 9px;
  background: #eef6f3;
  color: #4b9181;
  display: grid;
  place-items: center;
  flex: none;
}
.event-icon svg {
  width: 14px;
  height: 14px;
}
.event-item p {
  font-size: 11px;
  margin: 0 0 5px;
  color: #42656e;
}
.event-item small {
  color: #92a6ab;
  font-size: 10px;
}
.event-item .grow {
  flex: 1;
  min-width: 0;
}
.danger-text {
  color: var(--danger) !important;
}
.version-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #e7eeee;
  font-size: 11px;
}
.version-item small {
  display: block;
  margin-top: 4px;
  color: #8ca0a6;
  font-size: 10px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: min(520px, 90vw);
  border-radius: 10px;
  background: #103c44;
  color: #f0fbf7;
  box-shadow: 0 8px 30px #10333a25;
  padding: 13px 20px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 99;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid #d5e3e4;
  border-radius: 17px;
  box-shadow: 0 35px 100px #092f3a30;
  width: min(540px, calc(100vw - 30px));
  padding: 0;
  color: var(--ink);
  max-height: 90vh;
}
dialog::backdrop {
  background: #092f3a88;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 24px 27px 19px;
  border-bottom: 1px solid #e1eaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-head h2 {
  margin: 0;
  font-size: 19px;
}
.dialog-body {
  padding: 25px 27px;
}
.dialog-body p {
  font-size: 12px;
  color: #6e8a91;
}
.dialog-body .stack {
  gap: 18px;
}
.auth {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 100vh;
}
.auth-story {
  background: #082f3b;
  color: #e7f7f4;
  display: flex;
  flex-direction: column;
  padding: 48px 10%;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  position: absolute;
  bottom: -190px;
  left: 8%;
  height: 650px;
  width: 650px;
  border: 1px solid #29606a;
  border-radius: 50%;
  box-shadow:
    0 0 0 55px #ffffff02,
    0 0 0 110px #ffffff02;
}
.auth-story .brand {
  margin: 0;
}
.auth-pitch {
  margin: auto 0;
  z-index: 1;
  padding: 70px 0;
}
.auth-pitch .eyebrow {
  color: #83c3ba;
  margin-bottom: 22px;
}
.auth-pitch h1 {
  font-size: clamp(36px, 3.8vw, 58px);
  letter-spacing: -2px;
  line-height: 1.08;
  font-weight: 600;
  max-width: 470px;
}
.auth-pitch h1 em {
  font-style: normal;
  color: #72d4bc;
}
.auth-pitch p {
  max-width: 390px;
  color: #9fbdc5;
  font-size: 14px;
  margin: 25px 0 32px;
  line-height: 1.85;
}
.auth-features {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: #acd5cf;
  flex-wrap: wrap;
}
.auth-features span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.auth-features svg {
  width: 14px;
  height: 14px;
}
.auth-foot {
  font-size: 10px;
  color: #6f98a4;
  letter-spacing: 0.4px;
  z-index: 1;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  background: #f8fbfa;
}
.auth-form-inner {
  width: 100%;
  max-width: 355px;
}
.auth-form h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
}
.auth-form .intro {
  font-size: 12px;
  color: #789298;
  margin: 12px 0 29px;
  line-height: 1.75;
}
.auth-form form {
  display: grid;
  gap: 20px;
}
.auth-form .btn {
  min-height: 45px;
  margin-top: 4px;
}
.auth-lock {
  font-size: 10px;
  color: #8fa5aa;
  margin-top: 24px;
  line-height: 1.75;
  text-align: center;
}
.welcome {
  padding: 70px 25px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.welcome-graphic {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: #e0f1ec;
  color: #3b9882;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
}
.welcome-graphic svg {
  width: 34px;
  height: 34px;
}
.welcome h1 {
  font-size: 30px;
}
.welcome p {
  font-size: 13px;
  color: #759096;
  max-width: 500px;
  margin: 15px auto 26px;
  line-height: 1.85;
}
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 45px;
  text-align: left;
}
.welcome-step {
  padding: 23px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.welcome-step b {
  color: #82b2a9;
  font-size: 10px;
  letter-spacing: 1px;
}
.welcome-step h3 {
  margin-top: 13px;
  font-size: 12px;
}
.welcome-step p {
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.mobile-menu {
  display: none;
}
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 14px;
  }
  .main {
    padding: 28px 25px;
  }
  .topbar {
    padding-inline: 25px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 18px 16px;
  }
  .metric-value {
    font-size: 26px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  }
  th,
  td {
    padding-inline: 18px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-main,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .grid-main {
    gap: 18px;
  }
  .detail-grid .scroll-panel {
    max-height: 430px;
  }
  .auth {
    grid-template-columns: 0.9fr 1fr;
  }
  .auth-story {
    padding: 38px 11%;
  }
  .auth-pitch h1 {
    font-size: 38px;
  }
  .auth-features {
    display: grid;
    gap: 12px;
  }
  .auth-form {
    padding: 35px;
  }
  .desktop-only {
    display: none;
  }
  .form-grid {
    gap: 17px;
  }
}
@media (max-width: 700px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: -265px;
    width: 248px;
    z-index: 40;
    transition: left 0.2s;
  }
  .shell.menu-open .sidebar {
    left: 0;
    box-shadow: 30px 0 0 100vw #082f3b88;
  }
  .mobile-menu {
    display: grid;
  }
  .mobile-only {
    display: block;
  }
  .topbar {
    padding: 0 20px;
    min-height: 63px;
  }
  .topbar-right .updated {
    display: none;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 8px;
  }
  .main {
    padding: 25px 18px 40px;
  }
  .page-head {
    margin-bottom: 21px;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head > .btn {
    min-height: 35px;
    font-size: 11px;
  }
  .metric {
    min-height: 132px;
    padding: 17px;
  }
  .metric-label {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-note {
    font-size: 10px;
  }
  .banner {
    font-size: 11px;
    flex-wrap: wrap;
    padding: 14px;
  }
  .banner .btn {
    margin-left: 30px;
  }
  .card-head {
    padding: 20px 19px 16px;
  }
  .card-body {
    padding-inline: 19px;
  }
  .metrics {
    margin-bottom: 19px;
  }
  .settings-aside {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .toolbar .count {
    width: 100%;
    margin: 2px 0 0;
  }
  .search {
    max-width: none;
    min-width: 180px;
  }
  .toolbar select {
    min-width: 130px;
    font-size: 11px;
  }
  .welcome {
    padding: 40px 0;
  }
  .welcome-steps {
    grid-template-columns: 1fr;
  }
  .auth {
    display: block;
  }
  .auth-story {
    padding: 27px 28px;
  }
  .auth-pitch {
    padding: 29px 0 8px;
  }
  .auth-pitch .eyebrow,
  .auth-pitch p,
  .auth-features,
  .auth-foot {
    display: none;
  }
  .auth-pitch h1 {
    font-size: 29px;
    letter-spacing: -1px;
    max-width: 350px;
    margin: 0;
  }
  .auth-pitch h1 br {
    display: none;
  }
  .auth-story:after {
    display: none;
  }
  .auth-form {
    padding: 35px 28px;
  }
  .auth-form h2 {
    font-size: 23px;
  }
  .chat {
    padding: 17px;
  }
  .chat-message {
    max-width: 96%;
  }
  .facts {
    padding: 18px;
    gap: 17px;
  }
  .tabs {
    gap: 20px;
    padding-inline: 18px;
  }
  .detail-top {
    flex-wrap: wrap;
  }
  .run-metrics {
    gap: 12px;
  }
  .topbar .pill {
    font-size: 9px;
  }
  .card-head .btn.link {
    font-size: 10px;
  }
  .settings-grid {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.overview-facts {
  padding: 12px 0 0;
  border: 0;
}
.mb22 {
  margin-bottom: 22px;
}
.detail-facts {
  border: 0;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}
.align-start {
  align-content: start;
}
.question-section {
  font-size: 8px;
  letter-spacing: 0.7px;
}
.event-error {
  max-width: 320px;
  margin-bottom: 8px;
}
.disclosure > summary.version-summary {
  padding: 13px 0;
}
.project-loading {
  height: 60vh;
}
.connection-error {
  min-height: 100vh;
}
.banner strong.inline {
  display: inline;
}
.state-0 {
  background: #b3cac9;
}
.state-1 {
  background: #77b6ad;
}
.state-2 {
  background: #509dab;
}
.state-3 {
  background: #e2b65d;
}
.state-4 {
  background: #398f76;
}

.account-actions {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.chat-message.proposal .bubble {
  background: #fff9e9;
  border-style: dashed;
  border-color: #e5ce93;
  color: #806329;
}
.chat-message.proposal .chat-label strong {
  color: #9a782d;
}

.state-5 {
  background: #087e79;
}
.completion-missing {
  margin: 8px 0 0;
  padding-left: 18px;
}
.completion-missing li + li {
  margin-top: 5px;
}
