:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #162536;
  background: #f5f7fa;
  font-synthesis: none;
  --ink: #162536;
  --muted: #718092;
  --line: #e5eaf0;
  --orange: #f66c43;
  --teal: #168974;
  --navy: #122437;
}
* {
  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 {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 0;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
h3 {
  font-size: 15px;
  margin: 0;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 9px;
}
.primary,
.secondary,
.danger {
  padding: 12px 19px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 3px 8px #f66c4320;
}
.primary:hover {
  background: #e65c34;
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #f2f5f8;
}
.danger {
  background: #fff0ed;
  color: #c14332;
  border: 1px solid #ffd8d0;
}
.icon-button {
  background: none;
  font-size: 22px;
  color: var(--muted);
  padding: 5px 8px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--orange);
  color: white;
  font-size: 23px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -2px;
  padding-right: 3px;
}
.workspace {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #c3cdd7;
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 650;
  padding: 0 7px;
  margin-bottom: 57px;
  color: white;
}
.brand small,
.login-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-top: 5px;
  font-weight: 500;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #6e8194;
  margin: 0 16px 17px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  background: none;
  color: #9cb0c2;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 7px;
  text-align: left;
  font-size: 13px;
}
.nav-item > span:first-child {
  font-size: 21px;
  line-height: 16px;
}
.nav-item.selected {
  background: #25374a;
  color: white;
}
.nav-item.selected > span:first-child {
  color: #ff8e6d;
}
.nav-item:hover {
  background: #203246;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60d9b3;
  margin-left: auto;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid #2a3b4d;
  padding: 22px 6px 0;
  font-size: 12px;
}
.sidebar-bottom small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #7f96ac;
}
.admin-avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #304558;
  display: grid;
  place-items: center;
}
.sidebar-bottom .icon-button {
  margin-left: auto;
  font-size: 18px;
}
main {
  padding: 38px 42px 16px;
  min-width: 0;
  max-width: 1800px;
  width: 100%;
  margin: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.top-actions {
  display: flex;
  gap: 23px;
  align-items: center;
}
.connection {
  color: var(--teal);
  font-size: 11px;
}
.connection.lost {
  color: #bc4d3d;
}
.notice,
.error {
  color: #b13b2e;
  font-size: 13px;
  line-height: 1.5;
}
.notice {
  padding: 14px 18px;
  background: #fff0ed;
  border: 1px solid #ffddd5;
  border-radius: 8px;
  margin-bottom: 20px;
}
.hero {
  background: #eaf1f1;
  border: 1px solid #dbe7e7;
  border-radius: 12px;
  padding: 26px 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 25px;
}
.hero p {
  font-size: 13px;
  color: #667d80;
  line-height: 1.7;
  margin: 6px 0 0;
  max-width: 590px;
}
.hero h2 {
  font-size: 24px;
}
.hero-symbol {
  font-size: 65px;
  line-height: 1;
  color: #78a4a0;
  flex-shrink: 0;
  padding-right: 10px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card,
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
}
.card {
  padding: 20px 22px;
}
.card-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-value {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.card-value small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 5px;
}
.card-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.panel {
  padding: 23px 25px;
  margin-bottom: 22px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
}
.panel-heading .eyebrow {
  margin-bottom: 6px;
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 5px;
  background: #edf2f6;
  color: #657b8c;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge.completed,
.badge.ready {
  background: #e9f7ef;
  color: #218564;
}
.badge.running,
.badge.starting,
.badge.preflight,
.badge.reporting {
  background: #e8f1ff;
  color: #4079af;
}
.badge.failed,
.badge.interrupted,
.badge.stopped,
.badge.stopping {
  background: #fff0e9;
  color: #bd6140;
}
.badge.production {
  background: #fff0e9;
  color: #b95635;
}
.chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  overflow: visible;
}
.chart .grid {
  stroke: #e9edf2;
  stroke-dasharray: 4 5;
}
.chart text {
  fill: #8a98a6;
  font-size: 10px;
}
.chart .line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.chart .area {
  fill: #1689740c;
}
.chart .bar {
  fill: var(--teal);
}
.chart-note {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 13px;
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 5px;
}
.empty-chart {
  height: 176px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #8798a8;
  font-size: 12px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 43px,
    #eff2f6 44px
  );
}
.empty-chart p {
  margin: 7px;
}
.budget {
  margin-bottom: 18px;
}
.budget:last-child {
  margin: 0;
}
.budget > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6c7c8b;
  margin-bottom: 8px;
}
.budget strong {
  color: var(--ink);
  font-weight: 550;
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  appearance: none;
  background: #edf1f5;
}
progress::-webkit-progress-bar {
  background: #edf1f5;
}
progress::-webkit-progress-value {
  background: var(--teal);
}
progress::-moz-progress-bar {
  background: var(--teal);
}
.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}
.flow-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.flow-node {
  flex: 1;
  min-width: 105px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 11px;
  background: #fafcfd;
}
.flow-node + .flow-node {
  margin-left: 21px;
}
.flow-node + .flow-node:before {
  content: '→';
  position: absolute;
  left: -17px;
  top: 26px;
  color: #a9b8c6;
  font-size: 13px;
}
.flow-number {
  font-size: 10px;
  color: #94a3af;
  display: block;
  margin-bottom: 11px;
}
.flow-node strong {
  font-size: 11px;
  display: block;
  font-weight: 600;
}
.flow-node small {
  font-size: 9px;
  display: block;
  margin-top: 6px;
  white-space: nowrap;
}
.flow-node.visited {
  background: #f3faf7;
  border-color: #d0e9dc;
}
.flow-node.visited .flow-number {
  color: var(--teal);
}
.flow-node.has-errors {
  background: #fff5ef;
  border-color: #f2d5bd;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8b99a8;
  font-weight: 600;
  padding: 0 10px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 10px;
  border-bottom: 1px solid #edf1f5;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.run-link {
  background: none;
  color: #253c51;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  padding: 0;
}
.run-link:hover {
  text-decoration: underline;
}
.table-secondary {
  display: block;
  color: #8a98a5;
  font-size: 10px;
  margin-top: 5px;
}
.empty {
  padding: 40px 15px;
  text-align: center;
}
.empty h3 {
  margin: 14px 0 9px;
  font-size: 17px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 21px;
}
.empty-icon {
  font-size: 32px;
  color: #99acbb;
}
.run-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.run-header h2 {
  margin-top: 10px;
  font-size: 25px;
}
.run-header .meta {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.event-list {
  max-height: 250px;
  overflow: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
.event-list li {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eff2f5;
  font-size: 11px;
  line-height: 1.6;
}
.event-list time {
  color: #8a9aaa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-size: 12px;
}
.detail-grid small {
  display: block;
  margin-bottom: 5px;
}
.alert-list {
  font-size: 12px;
  line-height: 1.8;
  padding-left: 18px;
  color: #766953;
}
.advanced {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 22px 0;
}
.advanced summary {
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}
.advanced p {
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.config-code {
  background: #f5f7fa;
  padding: 15px;
  border-radius: 8px;
  overflow: auto;
  max-height: 400px;
  font-size: 11px;
  line-height: 1.7;
}
footer {
  color: #91a0af;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  padding: 13px 1px 0;
}
dialog {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 25px 100px #12243740;
  padding: 29px 32px;
  width: 650px;
  max-width: calc(100vw - 30px);
  max-height: 90vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #10263780;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dialog-heading h2 {
  font-size: 26px;
}
.dialog-heading + p {
  font-size: 12px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 22px 0;
}
label {
  display: block;
  font-size: 11px;
  color: #566b7c;
  font-weight: 550;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  margin-top: 7px;
  font-size: 13px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #80b6ac55;
  border-color: #58a391;
}
textarea {
  font:
    11px/1.65 ui-monospace,
    monospace;
  resize: vertical;
}
.tip {
  font-size: 11px;
  line-height: 1.65;
  padding: 12px 14px;
  background: #f1f6f8;
  border-radius: 7px;
  color: #687f90;
}
.approvals {
  background: #fff7f0;
  padding: 16px;
  border-radius: 8px;
  margin-top: 18px;
}
.approvals label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.7;
  margin-bottom: 12px;
}
.approvals input {
  width: auto;
  margin: 3px 0 0;
  flex-shrink: 0;
}
.approvals small {
  font-size: 10px;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.dialog-footer > span {
  font-size: 10px;
  color: var(--muted);
  max-width: 180px;
}
.settings-panel {
  max-width: 900px;
}
.settings-contracts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}
.settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.file-button {
  margin: 0;
  cursor: pointer;
}
.login-screen {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #f6f8fa;
  overflow: hidden;
}
.login-brand {
  position: absolute;
  top: 38px;
  left: 6vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 650;
}
.login-card {
  width: 370px;
  max-width: calc(100% - 50px);
  margin: 110px auto 60px;
  z-index: 1;
}
.login-card h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 20px 0;
}
.login-card > p {
  font-size: 13px;
  line-height: 1.9;
  color: #788a9a;
  margin-bottom: 28px;
}
.login-card input {
  padding: 14px;
}
.login-card button {
  width: 100%;
  margin: 15px 0 24px;
  justify-content: space-between;
}
.login-card small {
  display: block;
  font-size: 10px;
  text-align: center;
}
.login-art {
  height: 100vh;
  background: #122b39;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
}
.login-art svg {
  position: relative;
  z-index: 1;
  stroke: #79ccb9;
  stroke-width: 2;
  fill: none;
  margin: 0 -80px;
}
.art-label {
  position: absolute;
  bottom: 55px;
  left: 55px;
  color: #739993;
  letter-spacing: 2px;
  font-size: 10px;
}
.orbit {
  position: absolute;
  border: 1px solid #294851;
  border-radius: 50%;
  width: 580px;
  height: 580px;
  left: 10%;
  top: 20%;
}
.orbit-two {
  width: 760px;
  height: 760px;
  left: -8%;
  top: 9%;
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 190px 1fr;
  }
  main {
    padding: 30px 24px 16px;
  }
  .sidebar {
    padding: 30px 13px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 10px;
  }
  .card {
    padding: 17px 15px;
  }
  .top-actions {
    gap: 12px;
  }
  .connection {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 15px 18px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .brand {
    margin: 0;
    padding: 0;
  }
  .brand > span:last-child,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-left: auto;
  }
  .nav-item {
    width: auto;
    padding: 10px;
    font-size: 0;
    margin: 0;
  }
  .nav-item > span:first-child {
    font-size: 21px;
  }
  .dot {
    margin-left: 5px;
  }
  .topbar {
    gap: 10px;
  }
  main {
    padding: 23px 17px 14px;
  }
  .topbar h1 {
    font-size: 26px;
  }
  .topbar .eyebrow {
    font-size: 8px;
  }
  .connection {
    display: none;
  }
  .primary,
  .secondary,
  .danger {
    padding: 11px 14px;
    font-size: 11px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 22px;
  }
  .hero h2 {
    font-size: 21px;
  }
  .hero-symbol {
    display: none;
  }
  .panel {
    padding: 20px 17px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .run-header {
    flex-direction: column;
  }
  footer span {
    display: none;
  }
  .form-grid {
    gap: 13px;
  }
  dialog {
    padding: 23px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-card {
    margin-top: 150px;
  }
  .login-brand {
    left: 30px;
  }
  .dialog-footer {
    align-items: flex-start;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .card-value {
    font-size: 26px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .button-row,
  footer,
  #notice {
    display: none !important;
  }
  .workspace {
    display: block;
  }
  main {
    padding: 0;
  }
  .panel,
  .card {
    break-inside: avoid;
  }
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .two-columns {
    display: block;
  }
  .advanced {
    display: none;
  }
}
