@import url("/assets/font.css");
.chain-order {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 310px;
  overflow: auto;
  border: 1px solid #e5ebe7;
  border-radius: 10px;
}
.chain-order li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1e9;
}
.chain-order li:last-child {
  border: 0;
}
.step-number {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #edf5e5;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #6b8c50;
  flex-shrink: 0;
}
.chain-step-name {
  flex: 1;
  min-width: 0;
}
.chain-step-name b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 550;
}
.chain-step-name small {
  display: block;
  font-size: 10px;
  color: #8b9e78;
  margin-top: 4px;
}
.status.waiting {
  background: #f0f2ee;
  color: #8d9989;
}
#chain-job-picker,
#chain-group-picker {
  max-width: 75%;
  white-space: normal;
}
:root {
  --ink: #19332f;
  --muted: #73827e;
  --line: #e5ebe7;
  --canvas: #f5f7f4;
  --green: #266a4c;
  --lime: #b8ee7a;
  --red: #c44a40;
  --amber: #94671a;
  --radius: 16px;
  --shadow: 0 12px 50px #163c2612;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8fbdac;
  outline-offset: 3px;
}
button {
  border: 0;
  background: transparent;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  font-weight: 650;
  line-height: 1.3;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
p {
  line-height: 1.6;
}
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono,
code,
pre {
  font-family: "SFMono-Regular", Consolas, monospace;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  overflow-y: auto;
  background: #132d2a;
  color: #b4c4bd;
  padding: 34px 20px 22px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f4f8f2;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -1px;
  padding: 0 10px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--lime);
  color: #17352d;
  font-size: 31px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -3px;
  padding-right: 2px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #91a99a;
  border: 1px solid #486055;
  border-radius: 4px;
  padding: 3px 4px;
  margin-left: auto;
  align-self: start;
  margin-top: 6px;
}
.workspace-select {
  margin: 34px 0 27px;
  border: 1px solid #36504a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 10px;
  background: #1b3631;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #325046;
  border-radius: 7px;
  color: #e6f3e8;
  font-weight: 600;
}
.workspace-select select {
  width: 126px;
  border: 0;
  background: transparent;
  color: #e1ebe4;
  outline: 0;
  font-size: 12px;
  cursor: pointer;
}
.workspace-select select option {
  color: #18372d;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 5px 12px 10px;
  color: #729086;
}
.nav-label.gap {
  margin-top: 28px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #a5bcb2;
  text-align: left;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #213e37;
  color: #fff;
}
.nav-item.active {
  background: var(--lime);
  color: #1c3d29;
  font-weight: 600;
}
.nav-item .nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #ffffff20;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 24px;
}
.pilot-note {
  border: 1px solid #345047;
  border-radius: 10px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #9fb7ac;
}
.pilot-note strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9dccf;
  margin-bottom: 5px;
  font-size: 12px;
}
.pilot-note .dot {
  background: var(--lime);
}
.account {
  border-top: 1px solid #2e473e;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f0e8;
  display: grid;
  place-items: center;
  color: #356248;
  font-size: 12px;
  font-weight: 600;
}
.account .avatar {
  background: #355247;
  color: #cfe5d1;
}
.account .name {
  color: #e0ebe3;
  font-size: 12px;
}
.account .role {
  font-size: 10px;
  color: #7e9b8e;
  margin-top: 4px;
}
.account button {
  margin-left: auto;
  color: #8ca79a;
  padding: 5px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #94a09a;
}
.breadcrumb b {
  font-weight: 500;
  color: #486056;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.health {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #64806e;
}
.dot {
  width: 6px;
  height: 6px;
  background: #6fbe83;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot.amber {
  background: #dcac5b;
}
.topbar-date {
  font-size: 11px;
  color: #8a988f;
}
.content {
  padding: 35px 40px 40px;
  max-width: 1680px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #6b8a76;
  margin-bottom: 9px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  border-radius: 8px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  line-height: 1.25;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 3px #15382812;
}
.btn.primary:hover {
  background: #2f5542;
}
.btn.secondary {
  background: #fff;
  border: 1px solid #dfe7e0;
  color: #4d6257;
}
.btn.secondary:hover {
  background: #f0f5ef;
}
.btn.lime {
  background: var(--lime);
  color: #183c26;
}
.btn.danger {
  background: #faeeee;
  color: #b6473d;
}
.btn.sm {
  font-size: 11px;
  padding: 7px 10px;
  min-height: 31px;
}
.btn.ghost {
  padding: 7px;
  color: #6f8177;
  min-height: 32px;
}
.btn.ghost:hover {
  background: #edf3ec;
}
.btn .icon {
  width: 15px;
  height: 15px;
}
.notice {
  display: flex;
  align-items: start;
  gap: 10px;
  border: 1px solid #e1e9d7;
  border-radius: 10px;
  padding: 12px 15px;
  background: #f1f5e9;
  font-size: 11px;
  color: #647353;
  line-height: 1.6;
  margin-bottom: 24px;
}
.notice .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.notice strong {
  font-weight: 600;
  color: #415c3b;
}
.notice.warning {
  background: #fff7e8;
  border-color: #f0e0bc;
  color: #89734c;
}
.notice.error {
  background: #fff1f0;
  border-color: #f1d7d3;
  color: #a44940;
}
.notice.slim {
  margin: 0;
  padding: 10px 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  min-height: 140px;
}
.metric-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #748277;
  font-size: 11px;
  margin-bottom: 17px;
}
.metric-title .icon {
  width: 16px;
  height: 16px;
  color: #9aaa9e;
}
.metric-value {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 550;
  line-height: 1.1;
}
.metric-value small {
  font-size: 14px;
  letter-spacing: 0;
  color: #8c9b8e;
  margin-left: 5px;
}
.metric-foot {
  font-size: 10px;
  color: #94a192;
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.metric-foot b {
  color: #498157;
  font-weight: 550;
}
.metric-foot b.danger-text {
  color: var(--red);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
  gap: 21px;
  margin-bottom: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 21px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.panel-head p {
  font-size: 11px;
  color: #8b988d;
  margin-top: 5px;
}
.panel-head h2 {
  font-size: 14px;
}
.tag {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  color: #7c8c7e;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.chart {
  padding: 0 24px 18px;
}
.chart svg {
  display: block;
  width: 100%;
  height: 171px;
}
.chart text {
  font-size: 10px;
  fill: #95a096;
  font-family: inherit;
}
.chart .grid-line {
  stroke: #edf1eb;
  stroke-dasharray: 3 4;
}
.chart .bar {
  fill: #a7cf95;
  rx: 3;
}
.chart .bar.failed {
  fill: #da9b7b;
}
.chart .bar:hover {
  fill: #568d60;
}
.legend {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 10px;
  color: #8a988c;
  margin-top: 12px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #a7cf95;
  display: inline-block;
  margin-right: 5px;
}
.legend .failed i {
  background: #da9b7b;
}
.chart-note {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  font-size: 10px;
  color: #8b998e;
  display: flex;
  gap: 7px;
  align-items: center;
}
.chart-note .icon {
  width: 13px;
  height: 13px;
}
.upcoming-list {
  padding: 0 23px 6px;
}
.upcoming-row {
  padding: 13px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #f0f3ed;
}
.upcoming-row:first-child {
  border: 0;
}
.time-box {
  font-size: 12px;
  font-weight: 550;
  color: #58705e;
  min-width: 41px;
}
.upcoming-row b {
  font-weight: 550;
  font-size: 11px;
}
.upcoming-row p {
  font-size: 10px;
  color: #99a397;
  margin-top: 3px;
}
.upcoming-row .icon {
  width: 13px;
  height: 13px;
  color: #95a690;
  margin-left: auto;
}
.panel-footer {
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #6f8b6b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.panel-footer button {
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  white-space: nowrap;
}
.data-table th {
  text-align: left;
  background: #fafbf8;
  color: #93a08f;
  font-weight: 500;
  font-size: 10px;
  padding: 12px 19px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 16px 19px;
  border-bottom: 1px solid #edf1e9;
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fbfdf9;
}
.data-table td:first-child,
.data-table th:first-child {
  padding-left: 24px;
}
.data-table td:last-child,
.data-table th:last-child {
  padding-right: 24px;
}
.job-title {
  display: flex;
  gap: 11px;
  align-items: center;
}
.job-title .job-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eff4e9;
  color: #7b986b;
}
.job-title .job-icon .icon {
  width: 14px;
  height: 14px;
}
.job-title strong {
  font-weight: 550;
  color: #3b5343;
  font-size: 12px;
  display: block;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-url {
  font-size: 10px;
  color: #9aa494;
  margin-top: 4px;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  background: #edf5e9;
  color: #5e8c4d;
  font-weight: 500;
  white-space: nowrap;
}
.status .dot {
  width: 5px;
  height: 5px;
  background: currentColor;
}
.status.failed {
  background: #fbeee9;
  color: #c07c60;
}
.status.unknown {
  background: #fff3df;
  color: #b48c49;
}
.status.queued,
.status.running {
  background: #ebf0f9;
  color: #6a82b4;
}
.status.skipped,
.status.cancelled,
.status.none {
  background: #f0f2ee;
  color: #8d9989;
}
.status.running .dot {
  animation: pulse 1.2s infinite;
}
.run-bars {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 18px;
}
.run-bars i {
  width: 5px;
  height: 16px;
  border-radius: 2px;
  background: #d9e8cf;
}
.run-bars i.failed {
  background: #d99b79;
}
.run-bars i.empty {
  background: #edf0e9;
}
.toolbar {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 2px;
  background: #f3f6ef;
  padding: 3px;
  border-radius: 8px;
}
.tab {
  font-size: 11px;
  padding: 7px 11px;
  color: #95a18c;
  border-radius: 6px;
}
.tab.active {
  background: white;
  color: #466138;
  box-shadow: 0 1px 3px #26321b12;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  min-height: 34px;
  color: #a2ad9b;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 190px;
  font-size: 11px;
  color: #4d6340;
}
.search .icon {
  width: 14px;
  height: 14px;
}
.job-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #6f8165;
  font-size: 11px;
}
.job-sort select {
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 9px;
  background: #fff;
  color: #4d6340;
  font: inherit;
}
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: #edf6e1;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.bulk-bar[hidden] {
  display: none;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #53803c;
  cursor: pointer;
}
.toggle {
  width: 31px;
  height: 18px;
  border-radius: 15px;
  background: #dce3d6;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  transition: background 0.2s;
}
.toggle::after {
  content: "";
  height: 12px;
  width: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
}
.toggle.on {
  background: #6a9950;
  justify-content: flex-end;
}
.empty {
  text-align: center;
  padding: 50px 24px;
  color: #8c9b83;
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  color: #9db38b;
}
.empty h3 {
  font-size: 14px;
  color: #547044;
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  max-width: 380px;
  margin: 0 auto 18px;
}
.empty.compact {
  padding: 32px 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.resource-card {
  padding: 22px;
}
.resource-card .resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #eef4e5;
  display: grid;
  place-items: center;
  color: #759458;
}
.resource-card h3 {
  font-size: 15px;
  margin-bottom: 9px;
}
.resource-card p {
  font-size: 11px;
  color: #8d9b81;
  word-break: break-word;
}
.resource-card .resource-bottom {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.settings-card {
  padding: 26px;
}
.settings-card h2 {
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field label,
.field-label {
  font-size: 11px;
  color: #5d7450;
  font-weight: 550;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dfe6d8;
  border-radius: 7px;
  color: #385129;
  background: #fff;
  font-size: 12px;
  min-height: 39px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a8b29f;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9abc7e;
  outline: 2px solid #c8e2b64d;
  outline-offset: 1px;
}
.field small {
  font-size: 10px;
  color: #91a182;
  line-height: 1.55;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #5c744b;
  line-height: 1.6;
}
.form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.section-label {
  grid-column: 1/-1;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8b9c7b;
  margin-top: 9px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.code-block {
  background: #17322b;
  color: #c3d7b9;
  border-radius: 10px;
  padding: 20px;
  font-size: 11px;
  line-height: 1.8;
  overflow: auto;
  white-space: pre;
  max-height: 360px;
}
.inline-code {
  padding: 3px 5px;
  background: #f0f5e9;
  border-radius: 4px;
  font-size: 11px;
  color: #6c8556;
}
.body-output {
  background: #f6f8f1;
  color: #647c51;
  padding: 17px;
  border-radius: 9px;
  font-size: 11px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow: auto;
  line-height: 1.6;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0;
}
.network-diagnostics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 22px;
}
.network-diagnostics summary {
  cursor: pointer;
  line-height: 1.6;
}
.network-diagnostics summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.fact label {
  font-size: 10px;
  color: #99a88b;
  display: block;
  margin-bottom: 6px;
}
.fact b {
  font-size: 12px;
  font-weight: 550;
  word-break: break-all;
}
.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rule-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
}
.rule-list li:last-child {
  border: 0;
}
.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-list li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 24px 38px;
  font-size: 12px;
  color: #7e9270;
  line-height: 1.7;
}
.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #eff5e7;
  border-radius: 8px;
  font-size: 11px;
  color: #809d69;
}
.step-list b {
  display: block;
  color: #4d673e;
  font-weight: 550;
  margin-bottom: 3px;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 100px #162e2740;
}
dialog::backdrop {
  background: #102c2955;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-head h2 {
  font-size: 18px;
}
.modal-head p {
  font-size: 11px;
  color: #91a080;
  margin-top: 6px;
}
.modal-body {
  padding: 25px 27px;
}
.modal-head .close {
  padding: 5px;
  color: #94a287;
}
.modal-footer {
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.form-error {
  font-size: 12px;
  color: #b5634e;
  background: #fff4ed;
  border-radius: 7px;
  padding: 11px 14px;
  margin-top: 16px;
}
.form-error:empty {
  display: none;
}
.preview-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 4px;
}
.preview-times span {
  font-size: 10px;
  color: #79935f;
  background: #f1f6e9;
  padding: 6px 8px;
  border-radius: 5px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #97aa83;
  font-size: 12px;
}
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #c7d7b9;
  border-top-color: #5c8042;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 13px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}
.login-art {
  background: #15332c;
  color: #d7e6cc;
  padding: 50px 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art .brand {
  padding: 0;
}
.login-hero {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.login-hero h1 {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 500;
  max-width: 430px;
  color: #f0f6e8;
}
.login-hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.login-hero p {
  font-size: 14px;
  color: #9bb49a;
  margin-top: 25px;
  max-width: 350px;
  line-height: 1.8;
}
.orbit {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #63845c40;
  border-radius: 50%;
  right: -260px;
  top: 150px;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 50px;
  border: 1px solid #63845c40;
  border-radius: 50%;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  left: 54px;
  top: 80px;
  box-shadow: 0 0 40px #b8ee7a40;
}
.login-art footer {
  font-size: 11px;
  color: #77916c;
}
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-box {
  width: 330px;
}
.login-box h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin-bottom: 9px;
}
.login-box > p {
  font-size: 12px;
  color: #91a080;
  margin-bottom: 32px;
}
.login-box .field {
  margin-bottom: 19px;
}
.login-box .btn {
  width: 100%;
  margin-top: 10px;
}
.login-box .login-note {
  font-size: 10px;
  color: #a5b096;
  margin-top: 25px;
  line-height: 1.7;
}
.login-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #839d6a;
  margin-bottom: 14px;
  text-transform: uppercase;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  border-radius: 9px;
  background: #23452f;
  color: #eff7e7;
  padding: 13px 20px;
  box-shadow: 0 8px 30px #193d2a22;
  z-index: 100;
  font-size: 12px;
  max-width: calc(100% - 40px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #964f3c;
}
.mobile-menu {
  display: none;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.spacer-top {
  margin-top: 22px;
}
.api-endpoints {
  padding: 0 24px 24px;
}
.api-endpoints p {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.method {
  font-family: monospace;
  font-size: 9px;
  color: #5e9151;
  background: #edf6e7;
  border-radius: 4px;
  padding: 4px 6px;
  min-width: 42px;
  text-align: center;
}
.api-endpoints small {
  margin-left: auto;
  color: #8fa27f;
}
.footer-note {
  font-size: 10px;
  color: #99a58d;
  text-align: center;
  margin-top: 24px;
  line-height: 1.8;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 0;
}
.inline-info {
  font-size: 11px;
  color: #879b73;
  margin-top: 12px;
  line-height: 1.7;
}
.table-action {
  display: flex;
  gap: 4px;
  align-items: center;
}
.table-action .icon {
  width: 14px;
  height: 14px;
}
.health-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
}
.health-list span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.danger-text {
  color: var(--red);
}
.positive-text {
  color: #5c8c4a;
}
.number {
  font-variant-numeric: tabular-nums;
}
.hide {
  display: none !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@media (min-width: 1600px) {
  .content {
    padding-top: 44px;
  }
  .metric {
    min-height: 155px;
  }
  .chart svg {
    height: 200px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 206px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .layout {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metric {
    padding: 18px 16px;
  }
  .metric-value {
    font-size: 28px;
  }
  .overview-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .data-table td,
  .data-table th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar-date {
    display: none;
  }
  .login-art {
    padding: 40px;
  }
  .login-hero h1 {
    font-size: 45px;
  }
}
@media (max-width: 960px) {
  .overview-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .actions {
    justify-content: flex-end;
  }
  h1 {
    font-size: 25px;
  }
  .chart svg {
    height: 180px;
  }
  .sidebar {
    width: 190px;
  }
  .layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    display: none;
  }
  .workspace-select select {
    width: 104px;
  }
  .content {
    padding: 24px 20px;
  }
  .pilot-note {
    display: none;
  }
  .login-hero h1 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 236px;
    box-shadow: 5px 0 30px #0002;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: block;
    padding: 5px;
  }
  .breadcrumb {
    gap: 7px;
  }
  .topbar-right {
    gap: 12px;
  }
  .health {
    font-size: 9px;
  }
  .content {
    padding: 24px 16px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  .page-heading .actions {
    justify-content: flex-start;
    margin-top: 18px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 16px;
  }
  .metric {
    padding: 16px;
    min-height: 129px;
  }
  .metric-title {
    font-size: 10px;
  }
  .metric-value {
    font-size: 28px;
  }
  .metric-foot {
    font-size: 9px;
    line-height: 1.5;
  }
  .overview-grid {
    gap: 16px;
    margin-bottom: 16px;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-footer {
    padding: 12px 18px;
  }
  .chart {
    padding: 0 16px 16px;
  }
  .notice {
    font-size: 10px;
    padding: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
  .toolbar {
    padding: 14px;
  }
  .job-sort {
    width: 100%;
  }
  .job-sort select {
    flex: 1;
  }
  .login-layout {
    display: block;
  }
  .login-art {
    min-height: 210px;
    padding: 25px;
  }
  .login-hero {
    padding: 32px 0 10px;
  }
  .login-hero h1 {
    font-size: 33px;
    max-width: none;
  }
  .login-hero p,
  .login-art footer,
  .orbit {
    display: none;
  }
  .login-main {
    padding: 38px 24px;
  }
  .login-box {
    max-width: 360px;
    width: 100%;
  }
  .topbar-date {
    display: none;
  }
  .resource-card {
    padding: 20px;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .settings-card {
    padding: 22px;
  }
  .api-endpoints small {
    display: none;
  }
  .footer-note {
    font-size: 9px;
  }
}

@media (max-height: 850px) {
  .pilot-note {
    display: none;
  }
  .sidebar {
    padding-top: 24px;
  }
  .workspace-select {
    margin: 24px 0 18px;
  }
  .nav-item {
    padding: 10px 12px;
  }
  .nav-label.gap {
    margin-top: 18px;
  }
}
