.console-view > .site-header,
.console-view > main,
.console-view > .site-footer,
.console-view > .noise {
  display: none !important;
}
body.console-view {
  background: #f5f7f8;
  color: #172f35;
  margin: 0;
}
#operations-root {
  font:
    14px/1.65 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
#operations-root *,
.op-dialog * {
  box-sizing: border-box;
}
#operations-root button,
.op-dialog button {
  font: inherit;
  cursor: pointer;
}
#operations-root a,
.op-dialog a {
  color: inherit;
  text-decoration: none;
}
#operations-root button:disabled,
.op-dialog button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.op-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}
.op-sidebar {
  background: #102a30;
  color: #c6d8d9;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.op-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #75e3b9 !important;
}
.op-brand span {
  font-size: 16px;
  font-weight: 400;
  color: inherit;
}
.op-brand b {
  font-weight: 700;
}
.op-workspace {
  border-top: 1px solid #294047;
  border-bottom: 1px solid #294047;
  padding: 24px 0;
  margin: 28px 0 18px;
  overflow: hidden;
}
.op-workspace small,
.op-workspace strong,
.op-workspace span {
  display: block;
  overflow-wrap: anywhere;
}
.op-workspace small,
.op-workspace span {
  font-size: 11px;
  color: #90aead;
}
.op-workspace strong {
  font-size: 13px;
  font-weight: 500;
  margin: 7px 0;
}
.op-sidebar nav {
  display: grid;
  gap: 5px;
}
.op-sidebar nav a {
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.op-sidebar nav span {
  opacity: 0;
}
.op-sidebar nav a:hover,
.op-sidebar nav [aria-current] {
  background: #22453f;
  color: #b5f0da;
}
.op-sidebar nav [aria-current] span {
  opacity: 1;
}
.op-sidebar-bottom {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  gap: 25px;
  font-size: 12px;
}
.op-sidebar-bottom button {
  background: none;
  border: 0;
  color: inherit;
}
.op-main {
  min-width: 0;
}
.op-topbar {
  height: 74px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe7e6;
  background: #fff;
  color: #6e8385;
  font-size: 12px;
}
.op-topbar b {
  color: #1f3c41;
  font-weight: 500;
}
.op-topbar button {
  border: 0;
  background: none;
  color: #356a60;
}
.op-mobile {
  display: none;
}
.op-content {
  max-width: 1500px;
  margin: auto;
  padding: 40px;
}
.op-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}
.op-overline {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #689087;
  font-weight: 600;
}
.op-heading h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 12px 0;
  color: #152f35;
  font-weight: 600;
}
.op-heading p {
  max-width: 740px;
  margin: 0;
  color: #697f82;
  font-size: 13px;
}
.op-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #166454;
  border: 1px solid #166454;
  color: #fff !important;
  border-radius: 7px;
  padding: 10px 17px;
  font-size: 13px !important;
  white-space: nowrap;
  line-height: 1.4;
  min-height: 40px;
}
.op-button:hover {
  background: #105343;
}
.op-button.secondary {
  background: #fff;
  border-color: #d3e1dd;
  color: #30665b !important;
}
.op-button.secondary:hover {
  background: #f1f7f4;
}
.op-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.op-stats article {
  padding: 21px 24px;
  background: #fff;
  border: 1px solid #dfe8e6;
  border-radius: 10px;
}
.op-stats small {
  color: #708a87;
}
.op-stats strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  margin-top: 8px;
}
.op-table-wrap {
  background: #fff;
  border: 1px solid #dfe8e6;
  border-radius: 10px;
  overflow: auto;
}
#operations-root table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
#operations-root th {
  font-size: 11px;
  color: #82918f;
  background: #fafcfb;
  font-weight: 500;
  white-space: nowrap;
}
#operations-root td,
#operations-root th {
  padding: 18px 20px;
  border-bottom: 1px solid #edf1f0;
}
#operations-root tr:last-child td {
  border-bottom: 0;
}
#operations-root td b {
  font-weight: 500;
}
#operations-root td small {
  display: block;
  font-size: 10px;
  color: #819593;
  margin-top: 5px;
  max-width: 310px;
  overflow-wrap: anywhere;
}
#operations-root td .op-button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px !important;
  margin-left: 10px;
}
#operations-root td a {
  color: #1a705b;
}
.op-badge {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #ecf1f1;
  color: #627977;
  white-space: nowrap;
}
.op-badge.succeeded,
.op-badge.active,
.op-badge.resolved {
  background: #e5f4ec;
  color: #277850;
}
.op-badge.running {
  background: #e3f2f8;
  color: #227b99;
}
.op-badge.needs_human,
.op-badge.claimed,
.op-badge.open,
.op-badge.awaiting_assertion {
  background: #fdf0df;
  color: #aa742f;
}
.op-badge.dead_letter {
  background: #fde9e8;
  color: #a85450;
}
.op-empty {
  padding: 64px 24px;
  background: #fff;
  border: 1px solid #dfe8e6;
  border-radius: 12px;
  text-align: center;
}
.op-empty > span {
  display: block;
  font-size: 38px;
  color: #71a293;
}
.op-empty h2 {
  font-size: 19px;
  font-weight: 500;
  margin: 14px 0;
}
.op-empty p {
  color: #7b908e;
  font-size: 13px;
  max-width: 500px;
  margin: 0 auto 22px;
}
.op-note {
  font-size: 12px;
  line-height: 1.8;
  color: #526f68;
  background: #eaf3ef;
  border: 1px solid #d3e6de;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.op-section-title {
  font-size: 17px;
  font-weight: 500;
  margin: 32px 0 16px;
}
.op-section-title span {
  color: #8c9d99;
  font-size: 13px;
  margin-left: 8px;
}
.op-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.op-card {
  background: #fff;
  border: 1px solid #dfe8e6;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
  min-width: 0;
}
.op-cards > .op-card {
  margin: 0;
}
.op-card h2 {
  font-size: 19px;
  font-weight: 500;
  margin: 22px 0 10px;
}
.op-card p,
.op-card small {
  font-size: 12px;
  color: #7c908d;
}
.op-card code {
  font-size: 10px;
  color: #7e948e;
  overflow-wrap: anywhere;
}
.op-version {
  float: right;
  font-size: 11px;
  color: #8b9f98;
}
.op-card details {
  margin-top: 24px;
  border-top: 1px solid #e7eeeb;
  padding-top: 14px;
  font-size: 12px;
}
.op-card summary {
  cursor: pointer;
  font-size: 12px;
}
.op-card summary small {
  display: block;
  margin-top: 7px;
}
.op-card li {
  padding: 7px 0;
  overflow-wrap: anywhere;
}
.op-card li small {
  display: block;
}
.op-card footer {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.op-card > .op-table-wrap {
  margin-top: 20px;
}
.op-loading {
  padding: 80px 30px;
  text-align: center;
  color: #719088;
}
.op-alert {
  background: #fff0ea;
  color: #a24836;
  border: 1px solid #ebcabb;
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 12px;
  margin-bottom: 20px;
}
.op-alert[hidden] {
  display: none;
}
.op-dialog {
  font:
    14px/1.6 Inter,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: #18352f;
  border: 1px solid #dae5e0;
  border-radius: 14px;
  padding: 28px;
  width: 540px;
  max-width: calc(100vw - 30px);
  max-height: 90vh;
  box-shadow: 0 30px 100px #18352f44;
}
.op-dialog::backdrop {
  background: #0a242e88;
  backdrop-filter: blur(3px);
}
.op-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.op-dialog h2 {
  font-size: 21px;
  font-weight: 500;
  margin: 0;
}
.op-dialog-head button {
  border: 0;
  background: none;
  font-size: 26px;
  color: #728c81;
}
.op-dialog label,
.op-login label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #4e7164;
  margin: 18px 0;
}
.op-dialog input,
.op-dialog select,
.op-login input {
  width: 100%;
  font: inherit;
  border: 1px solid #cadad2;
  background: #fff;
  border-radius: 7px;
  color: #234739;
  padding: 12px;
  min-width: 0;
}
.op-dialog input:focus,
.op-dialog select:focus,
.op-login input:focus {
  outline: 2px solid #56ae8f;
  outline-offset: 2px;
}
.op-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.op-form-help {
  font-size: 12px;
  color: #7d9288;
}
.op-dialog pre {
  background: #f1f6f3;
  padding: 18px;
  border-radius: 7px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  user-select: all;
}
.op-dialog a {
  color: #1d7c59;
  text-decoration: underline;
}
.op-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse at top right, #d6ece3, transparent 55%), #f6f8f6;
  padding: 42px 24px;
}
.op-login > .op-brand {
  align-self: flex-start;
  color: #205c48 !important;
}
.op-login section {
  width: 400px;
  max-width: 100%;
  margin: auto;
  padding: 60px 0;
}
.op-login h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 12px 0;
}
.op-login p {
  font-size: 13px;
  color: #758c80;
  margin-bottom: 26px;
}
.op-login .op-check,
.op-dialog .op-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.op-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.op-login form > .op-button {
  width: 100%;
  margin: 9px 0 25px;
}
.op-login section > small {
  font-size: 11px;
  color: #809488;
}
.op-login section > small a {
  color: #1e7957;
  text-decoration: underline;
}
.op-login footer {
  font-size: 11px;
  color: #809488;
}
@media (max-width: 1000px) {
  .op-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .op-content {
    padding: 28px 22px;
  }
  .op-topbar {
    padding: 0 22px;
  }
  .op-heading {
    align-items: flex-start;
  }
  .op-heading h1 {
    font-size: 27px;
  }
  .op-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .op-layout {
    display: block;
  }
  .op-sidebar {
    display: none;
    position: fixed;
    z-index: 50;
    width: 235px;
    box-shadow: 0 0 0 100vmax #0e252d55;
  }
  .nav-open .op-sidebar {
    display: flex;
  }
  .op-mobile {
    display: inline-block;
  }
  .op-content {
    padding: 26px 16px;
  }
  .op-topbar {
    height: 60px;
    padding: 0 16px;
    gap: 15px;
  }
  .op-topbar > span {
    flex: 1;
  }
  .op-heading {
    display: block;
    margin-bottom: 20px;
  }
  .op-heading > .op-button {
    margin-top: 20px;
  }
  .op-stats {
    gap: 10px;
  }
  .op-stats article {
    padding: 16px;
  }
  .op-stats strong {
    font-size: 27px;
  }
  .op-form-grid {
    grid-template-columns: 1fr;
  }
  .op-dialog {
    padding: 22px;
  }
  .op-card {
    padding: 19px;
  }
  #operations-root td,
  #operations-root th {
    padding: 14px;
    min-width: 100px;
  }
}
