:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #23352f;
  background: #f5f7f6;
  font-size: 14px;
  --green: #167857;
  --line: #dfe7e2;
  --muted: #76877e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: #29473a;
  padding: 10px 15px;
  font-weight: 550;
}
button:hover {
  background: #edf5f0;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--green);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 11px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #516259;
  margin-bottom: 15px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9e1dc;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: #243c30;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #209269;
  box-shadow: 0 0 0 3px #20926912;
}
input[type="checkbox"] {
  width: auto;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f3f6f4;
  padding: 14px;
  border-radius: 7px;
  max-height: 380px;
  overflow: auto;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #116244;
}
.secondary {
  background: #e9f2ed;
  border-color: #d9e9df;
  color: #146a4c;
}
.danger {
  color: #b14741;
}
.muted {
  color: var(--muted);
}
.eyebrow,
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
}
.eyebrow {
  color: #718779;
}
.dot {
  color: #57bf91;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 38px;
  background: #197d59;
  border-radius: 9px;
  color: white;
  font-size: 24px;
  font-weight: 800;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fafcfb;
}
.login-card {
  max-width: 370px;
  width: 85%;
  margin: auto;
  padding: 55px 0;
}
.login-card .brand-icon {
  margin-bottom: 30px;
}
.login-card h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 22px;
}
.login-card .muted {
  margin-bottom: 35px;
  line-height: 1.6;
}
.login-card button {
  width: 100%;
  margin: 10px 0 28px;
}
.login-art {
  background: #102e25;
  color: #e7f4ec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  gap: 25px;
}
.login-art p {
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1.5;
  z-index: 1;
}
.login-art span {
  letter-spacing: 3px;
  font-size: 12px;
  z-index: 1;
}
.orb {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 25% 20%,
    #b4e4c4,
    #399573 35%,
    #103b2e 70%
  );
  box-shadow:
    0 0 0 35px #8ed2a60a,
    0 0 0 70px #8ed2a606;
  margin-bottom: 45px;
}
#login-error {
  color: #b14741;
}
aside {
  width: 236px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e3c2d;
  font-size: 20px;
  font-weight: 650;
  padding: 0 10px 28px;
  letter-spacing: -0.6px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.2px;
  font-weight: 500;
  margin-top: 2px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f7f5;
  border: 1px solid #e7ece8;
  border-radius: 7px;
  padding: 13px 10px;
  font-size: 11px;
  margin-bottom: 28px;
}
.workspace small {
  font-size: 8px;
  margin-left: auto;
  color: #819087;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29a674;
  display: inline-block;
}
.nav-label {
  color: #99a69e;
  padding: 0 12px;
  margin: 12px 0;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  background: none;
  border: 0;
  color: #718176;
  padding: 12px;
  margin-bottom: 4px;
}
nav button.active {
  background: #eaf3ee;
  color: #156e4e;
}
nav .nav-label {
  margin-top: 28px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #e9eeeb;
  border-radius: 50%;
  font-weight: 700;
}
.sidebar-bottom small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.sidebar-bottom button {
  margin-left: auto;
  padding: 7px;
  border: 0;
}
main {
  margin-left: 236px;
}
header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 12px;
}
.slash {
  margin: 0 14px;
  color: #bcc7bf;
}
.header-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.pill {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 10px;
  color: #7c8e80;
}
#view {
  padding: 36px 38px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 15px;
}
.page-head p {
  margin-bottom: 0;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid #cce1d4;
  border-radius: 10px;
  background: linear-gradient(110deg, #eaf4ee, #f8fbf9);
  margin-bottom: 26px;
}
.hero h2 {
  font-size: 21px;
  margin-bottom: 8px;
}
.hero p {
  font-size: 12px;
  margin: 0;
  color: #728479;
}
.hero-icon {
  font-size: 42px;
  color: #37906b;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 20px;
}
.metric .label {
  font-size: 11px;
  color: #7c8d81;
  display: flex;
  justify-content: space-between;
}
.metric strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 14px 0 8px;
}
.metric small {
  color: #8c9b91;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid #eaf0eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-head h2 {
  margin: 0;
  font-size: 14px;
}
.panel-body {
  padding: 22px;
}
.grid-two {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #eef2ef;
}
.status-row:last-child {
  border: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  background: #edf1ef;
  color: #77877c;
}
.badge.SUCCESS {
  background: #e9f6ed;
  color: #258353;
}
.badge.FAILED,
.badge.TIMEOUT {
  background: #fceeed;
  color: #b6635b;
}
.badge.RUNNING {
  background: #eaf0ff;
  color: #527bc2;
}
.badge.QUEUED {
  background: #fff5e0;
  color: #a47b2b;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  padding: 13px 22px;
  color: #89978d;
  font-size: 10px;
  font-weight: 500;
  background: #fcfdfc;
  border-bottom: 1px solid #eaf0eb;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf1ee;
}
tr:last-child td {
  border-bottom: 0;
}
td button {
  padding: 6px 10px;
  font-size: 11px;
}
.empty {
  text-align: center;
  padding: 50px 20px;
  color: #819188;
}
.empty h3 {
  color: #456152;
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.wide {
  grid-column: 1/-1;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.app-card h2 {
  margin: 14px 0 8px;
}
.app-card p {
  font-size: 12px;
  line-height: 1.7;
}
.app-card .url {
  font-family: monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
  background: #f5f8f5;
  padding: 8px;
  margin-top: 20px;
}
.designer {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
}
.palette {
  align-self: start;
}
.palette button {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  font-size: 12px;
}
.step {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 15px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 12px;
  background: white;
  align-items: center;
}
.step-index {
  border-radius: 6px;
  background: #eaf3ee;
  color: #32835c;
  font-size: 11px;
  text-align: center;
  padding: 8px;
}
.step small {
  display: block;
  color: #89988e;
  margin-top: 5px;
}
.step button {
  padding: 5px 8px;
  font-size: 12px;
}
.step.disabled {
  opacity: 0.5;
}
.step-list {
  min-height: 240px;
  padding: 22px;
  background-image: radial-gradient(#cad9d0 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 8px;
}
.start-end {
  font-size: 9px;
  letter-spacing: 2px;
  color: #7e9988;
  text-align: center;
  margin: 5px 0 18px;
}
.workflow-meta {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 20px;
}
.workflow-meta label {
  margin: 0;
}
.run-step {
  padding: 16px;
  border-bottom: 1px solid #e9efeb;
  display: flex;
  gap: 15px;
  align-items: center;
}
.run-step .mark {
  font-size: 17px;
  color: #299260;
}
.run-step .mark.failed {
  color: #bd6457;
}
.run-step small {
  display: block;
  color: #8b9a90;
  margin-top: 4px;
}
.log-line {
  padding: 10px 0;
  border-bottom: 1px solid #edf1ee;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.6;
  word-break: break-word;
}
.log-line time {
  color: #9aaba0;
  margin-right: 10px;
}
.evidence {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}
dialog {
  max-width: 740px;
  width: 90vw;
  border: 1px solid #d5e1d9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 24px 90px #133c3030;
}
dialog::backdrop {
  background: #19392d55;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  font-size: 22px;
  padding: 3px 8px;
}
dialog h2 {
  margin-bottom: 25px;
}
.hint {
  font-size: 12px;
  color: #7f9286;
  line-height: 1.7;
}
.error {
  color: #b04740;
  font-size: 12px;
}
.notice {
  padding: 15px 18px;
  background: #f2f6f3;
  border-radius: 6px;
  font-size: 12px;
  color: #6c8072;
  line-height: 1.7;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 8px;
  background: #173f30;
  color: #fff;
  padding: 16px 23px;
  box-shadow: 0 10px 35px #173f3030;
  z-index: 20;
  max-width: 500px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.scroll-table {
  overflow: auto;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  aside {
    width: 72px;
    padding: 20px 10px;
  }
  .brand {
    padding: 0 7px 25px;
  }
  .brand > span:last-child,
  .workspace,
  .nav-label,
  nav button span,
  .sidebar-bottom {
    display: none;
  }
  nav button {
    font-size: 22px;
    text-align: center;
  }
  .brand-icon {
    width: 32px;
  }
  main {
    margin-left: 72px;
  }
  header {
    padding: 0 18px;
  }
  .header-right .pill {
    display: none;
  }
  #view {
    padding: 24px 18px;
  }
  .page-head {
    align-items: start;
    flex-direction: column;
  }
  .cards,
  .designer,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .palette {
    display: none;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .hero {
    padding: 20px;
  }
  .hero-icon {
    display: none;
  }
  .actions {
    flex-wrap: wrap;
  }
  .wide {
    grid-column: auto;
  }
}
