:root {
  --bg: #f5f6f4;
  --ink: #203c35;
  --muted: #74817c;
  --line: #e2e7e2;
  --green: #386a55;
  --accent: #dcebce;
  --orange: #bc6d32;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  cursor: pointer;
}
button {
  transition: background 0.15s;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 234px;
  background: #edf0e9;
  border-right: 1px solid #dde4da;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 37px 23px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: italic 55px Georgia;
}
.brand > span {
  font:
    600 18px/1.18 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: -0.5px;
}
.workspace {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #8a968b;
  margin: 55px 8px 15px;
}
.nav {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #6f7d71;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 7px;
  border-radius: 6px;
  font-size: 19px;
}
.nav span {
  font-size: 12px;
}
.nav.active {
  background: #dde7d5;
  color: #355c41;
  font-weight: 600;
}
.nav:hover {
  background: #e3e9df;
}
.aside-bottom {
  position: absolute;
  bottom: 29px;
  font-size: 11px;
  color: #58705b;
}
.aside-bottom p {
  font-size: 9px;
  color: #82907e;
  margin: 7px 0;
}
.aside-bottom small {
  font-size: 9px;
  color: #82907e;
}
.live-dot,
.orange-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6c9b70;
  margin-right: 6px;
}
.orange-dot {
  background: #c4864d;
}
main {
  margin-left: 234px;
  width: calc(100% - 234px);
  padding: 0 44px;
}
header {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #879389;
}
.breadcrumb span {
  padding: 0 13px;
  color: #bac1ba;
}
.top-right {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.env {
  font-size: 9px;
  border: 1px solid #d0dace;
  color: #4e7356;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 1px;
  background: #edf3e8;
}
.env.prod {
  background: #fff0df;
  border-color: #e3c9ab;
  color: #9a602b;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #6c8275;
  font-size: 21px;
  padding: 2px 5px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 39px 0 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #799078;
  font-weight: 600;
}
h1 {
  font:
    36px/1.15 Georgia,
    serif;
  letter-spacing: -1.1px;
  margin: 9px 0 12px;
}
p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0;
}
.primary {
  background: #345d49;
  border: 1px solid #345d49;
  color: #fff;
  padding: 11px 17px;
  border-radius: 5px;
  font-size: 11px;
}
.primary:hover {
  background: #244832;
}
.secondary {
  background: #fff;
  border: 1px solid #d8e0d7;
  color: var(--green);
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 11px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 19px 21px;
  box-shadow: 0 2px 3px #16332203;
}
.stat-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7f8d81;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-label > span {
  color: #8ca884;
  font-size: 13px;
}
.stats strong {
  display: block;
  font:
    36px Georgia,
    serif;
  letter-spacing: -1px;
  margin: 15px 0 6px;
}
.stat-note {
  font-size: 10px;
  color: #94a08f;
}
.pipeline-panel {
  margin: 24px 0;
  background: #edf1e7;
  border: 1px solid #dfe5d6;
  border-radius: 7px;
  padding: 23px 24px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.pipeline-panel h2 {
  font:
    19px/1.3 Georgia,
    serif;
  margin: 6px 0;
  max-width: 180px;
}
.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 13px;
}
.pipeline > div {
  display: flex;
  flex-direction: column;
}
.pipeline b {
  font-size: 9px;
  color: #95a78a;
  margin-bottom: 7px;
  letter-spacing: 1px;
}
.pipeline span {
  font-size: 10px;
  font-weight: 600;
}
.pipeline small {
  font-size: 8px;
  color: #8b9786;
  margin-top: 4px;
}
.pipeline i {
  font-style: normal;
  color: #a9b5a0;
}
.jobs-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}
.section-title h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.section-title h2 span {
  margin-left: 6px;
  background: #f0f3ed;
  font: 10px sans-serif;
  padding: 3px 6px;
  color: #7a8a73;
  border-radius: 3px;
}
.section-title p {
  font-size: 10px;
  margin-top: 6px;
}
select {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  background: #fff;
  color: #71816e;
  font-size: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #fafbf8;
  color: #8b9785;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 13px 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px;
  font-size: 11px;
  border-bottom: 1px solid #edf0e9;
  color: #637660;
}
td:first-child {
  min-width: 238px;
}
td .window {
  font-size: 10px;
  color: #96a08f;
  margin-top: 5px;
}
.job-id {
  font-size: 11px;
  color: #4d6950;
  font-weight: 500;
}
.badge {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 3px;
  padding: 5px 7px;
  background: #edf3e8;
  color: #64805b;
  white-space: nowrap;
}
.badge.running {
  background: #eaf0f8;
  color: #6280a1;
}
.badge.queued {
  background: #f1f1ed;
  color: #90917b;
}
.badge.failed,
.badge.completed_with_issues {
  background: #fff0e3;
  color: #b77f49;
}
.trigger {
  font-size: 10px;
  color: #8b9982;
}
.progress-track {
  height: 4px;
  background: #edf0e8;
  border-radius: 3px;
  width: 100px;
  overflow: hidden;
}
.progress-fill {
  background: #92ac7a;
  height: 100%;
}
.progress-caption {
  font-size: 9px;
  color: #94a08a;
  margin-top: 5px;
}
.review {
  border: 0;
  background: transparent;
  font-size: 15px;
  color: #9cac8f;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  color: #9aa38f;
  font-size: 9px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin-top: 24px;
}
.bottom-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.bottom-grid h2 {
  font:
    23px Georgia,
    serif;
  margin: 8px 0;
}
.bottom-grid p {
  font-size: 10px;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #edf0e9;
  padding-top: 11px;
  margin-top: 11px;
  font-size: 10px;
  color: #98a18f;
  gap: 14px;
}
.detail-line b {
  font-weight: 400;
  color: #6e8066;
  text-align: right;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 27px 0;
  color: #a0aa98;
  font-size: 8px;
  letter-spacing: 1px;
}
footer span {
  letter-spacing: 0;
}
.hidden {
  display: none !important;
}
.banner,
.error {
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 5px;
  font-size: 11px;
  background: #eef0e5;
  border: 1px solid #e0e4d2;
  color: #7a8063;
}
.error {
  background: #fff0e9;
  color: #a55e43;
  border-color: #efd9cc;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 100px #183b3430;
  width: min(630px, 90vw);
  padding: 28px;
  color: var(--ink);
  background: #fafbf8;
}
dialog::backdrop {
  background: #243a3455;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font:
    27px Georgia,
    serif;
  margin: 9px 0 14px;
}
dialog p {
  font-size: 12px;
  line-height: 1.7;
}
dialog label {
  display: block;
  margin: 18px 0;
  font-size: 11px;
  color: #71826c;
}
input[type="datetime-local"] {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 7px;
  border: 1px solid #dbe2d6;
  border-radius: 5px;
  background: #fff;
  color: #3e5d43;
}
.check {
  display: flex !important;
  gap: 9px;
  align-items: center;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
.muted {
  font-size: 10px;
  color: #8d9988;
}
.form-error {
  color: #ad654a;
}
.auth {
  padding: 90px 0;
  max-width: 640px;
}
.auth h1 {
  font-size: 42px;
}
.auth p {
  line-height: 1.8;
  font-size: 14px;
}
.auth code {
  display: block;
  background: #e8ede3;
  padding: 18px;
  margin: 23px 0;
  border-radius: 6px;
  font-size: 13px;
}
#detail-dialog {
  width: min(900px, 94vw);
}
#detail-dialog .section-title {
  padding: 0 0 20px;
}
#detail-summary {
  padding: 0 0 20px;
  color: #819078;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
.empty {
  text-align: center;
  padding: 45px;
  color: #99a18f;
}
#model-id {
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  main {
    padding: 0 65px;
  }
  .heading {
    padding-top: 50px;
  }
  .stats article {
    padding: 25px;
  }
  .pipeline-panel {
    margin: 30px 0;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 185px;
    padding: 30px 16px;
  }
  main {
    margin-left: 185px;
    width: calc(100% - 185px);
    padding: 0 25px;
  }
  .pipeline-panel {
    display: block;
  }
  .pipeline {
    margin-top: 20px;
  }
  .pipeline-panel h2 {
    max-width: none;
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 16px;
  }
  .breadcrumb {
    font-size: 8px;
  }
  .bottom-grid {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: 100%;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .brand {
    font-size: 35px;
  }
  .brand > span {
    font-size: 13px;
  }
  .workspace,
  .aside-bottom,
  .nav {
    display: none;
  }
  .shell {
    display: block;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 0 18px;
  }
  header {
    height: 60px;
  }
  .breadcrumb {
    font-size: 7px;
    max-width: 150px;
  }
  .top-right {
    gap: 10px;
  }
  #last-refresh {
    display: none;
  }
  h1 {
    font-size: 29px;
  }
  .heading {
    gap: 10px;
    align-items: flex-start;
  }
  .heading p {
    max-width: 220px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-panel {
    padding: 20px;
  }
  .pipeline {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
  .pipeline i {
    display: none;
  }
  .pipeline > div {
    width: 40%;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .table-footer {
    gap: 10px;
  }
  .section-title {
    padding: 20px;
  }
  .auth h1 {
    font-size: 32px;
  }
  .auth code {
    overflow-wrap: anywhere;
  }
}
