.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;
  }
}

.op-badge.approved,
.op-badge.committed,
.op-badge.created {
  background: #e3f4ec;
  color: #1f7a55;
}
.op-badge.ready_for_review,
.op-badge.channel_ready,
.op-badge.previewed,
.op-badge.processing,
.op-badge.updated {
  background: #e6effa;
  color: #2d5f95;
}
.op-badge.needs_review,
.op-badge.duplicate_candidate {
  background: #fdf1dc;
  color: #93600f;
}
.op-badge.rejected,
.op-badge.discontinued {
  background: #fbe7e5;
  color: #a2352b;
}
.op-lib-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 20px;
}
.op-lib-tabs button {
  border: 1px solid #dfe8e6;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.op-lib-tabs button small {
  display: block;
  font-weight: 400;
  color: #7c908d;
  font-size: 11px;
  margin-top: 3px;
}
.op-lib-tabs button[aria-selected="true"] {
  border-color: #08131f;
  box-shadow: inset 0 -2px 0 #08131f;
}
.op-lib-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0 16px;
}
.op-lib-search input,
.op-lib-search select {
  font: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid #d6e1de;
  border-radius: 7px;
  background: #fff;
}
.op-lib-search input {
  flex: 1 1 260px;
}
.op-lib-search a {
  font-size: 12px;
  margin-left: auto;
}
.op-lib-selected td {
  background: #f3f8f6;
}
.op-lib-detail h2 code {
  font-size: 12px;
  margin-left: 8px;
}
.op-lib-problems,
.op-lib-attrs {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  font-size: 12px;
}
.op-lib-problems li,
.op-lib-attrs li {
  padding: 5px 0;
}
.op-lib-problem.error b {
  color: #a2352b;
}
.op-lib-problem.warning b {
  color: #93600f;
}
.op-lib-problem b,
.op-lib-attrs b {
  font-weight: 500;
  margin-right: 8px;
}
.op-lib-attrs small {
  margin-left: 8px;
}
.op-lib-ok {
  color: #1f7a55 !important;
}
.op-lib-detail td small {
  display: block;
}
.op-lib td code,
.op-lib td small {
  display: block;
  margin-top: 3px;
}
.op-lib-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #dfe8e6;
  margin-bottom: 22px;
}
.op-lib-subnav button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  padding: 10px 14px;
  color: #5d736f;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.op-lib-subnav button[aria-current="page"] {
  color: #08131f;
  border-bottom-color: #08131f;
  font-weight: 500;
}
.op-lib-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.op-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.op-lib-card {
  background: #fff;
  border: 1px solid #dfe8e6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.op-lib-thumb {
  display: block;
  border: 0;
  padding: 0;
  background: #f1f5f4;
  cursor: pointer;
  aspect-ratio: 1;
  width: 100%;
}
.op-lib-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f1f5f4;
}
.op-lib-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aaba7;
  font-size: 12px;
  min-height: 60px;
}
.op-lib-img.small {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  min-height: 0;
}
.op-lib-thumbcell {
  width: 72px;
}
.op-lib-card-body {
  padding: 12px 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.op-lib-card-body b {
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}
.op-lib-card-body small {
  color: #7c908d;
}
.op-lib-card footer {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}
.op-lib-source {
  font-size: 12px;
}
.op-lib-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.op-lib-gallery figure {
  margin: 0;
}
.op-lib-gallery .op-lib-img {
  height: auto;
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1px solid #e3ebe8;
}
.op-lib-gallery figcaption {
  font-size: 11px;
  color: #7c908d;
  margin-top: 6px;
  line-height: 1.5;
}
.op-lib-hero .op-lib-img {
  height: auto;
  max-height: 360px;
  border-radius: 8px;
  margin: 14px 0;
}
.op-lib-design h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 18px 0 0;
}
.op-lib-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .op-lib-split {
    grid-template-columns: 1fr;
  }
}
.op-lib-feed {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.op-lib-feed li {
  padding: 9px 0;
  border-bottom: 1px solid #eef3f1;
}
.op-lib-feed time {
  color: #8c9d99;
  margin-right: 10px;
}
.op-lib-agent {
  display: inline-block;
  font-size: 10px;
  background: #e6effa;
  color: #2d5f95;
  border-radius: 4px;
  padding: 1px 5px;
  margin-right: 6px;
}
.op-lib-problem.approval b {
  color: #2d5f95;
}
.op-lib-problem code {
  margin-right: 8px;
  font-size: 11px;
}
.op-lib-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  margin: 10px 0;
}
.op-lib-swatches i,
.op-lib-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #cfd9d6;
  vertical-align: -2px;
  margin-right: 5px;
}
.op-lib-checks {
  border: 1px solid #dfe8e6;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.op-lib-checks legend {
  font-size: 12px;
  padding: 0 6px;
}
.op-lib-checks > div {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.op-lib-checks input[type="file"] {
  font-size: 11px;
}
.op-lib-pod {
  font-size: 12px;
}
.op-lib-desc {
  white-space: pre-wrap;
}
.op-badge.in_review {
  background: #e6effa;
  color: #2d5f95;
}
.op-lib pre,
.op-dialog pre {
  white-space: pre-wrap;
  word-break: break-all;
}
@media (max-width: 600px) {
  .op-lib-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.op-lib-img.swatch {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  margin-right: 6px;
  vertical-align: middle;
  min-height: 0;
}
.op-lib-box {
  gap: 10px;
}
.op-lib-box label {
  flex: 1 1 70px;
  font-size: 12px;
}
.op-lib-boxpreview {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-top: 8px;
}
.op-lib-boxpreview .op-lib-img {
  height: auto;
  max-width: 100%;
}
.op-lib-boxmark {
  position: absolute;
  border: 2px dashed #d9534f;
  background: rgba(217, 83, 79, 0.12);
  pointer-events: none;
}
