:root {
  --console-ink: #182126;
  --console-muted: #637078;
  --console-fog: #f3f5f6;
  --console-surface: #ffffff;
  --console-line: #d9dfe2;
  --console-brand: #174d45;
  --console-brand-soft: #e7f0ee;
  --console-hold: #966316;
  --console-danger: #a43b32;
  --console-sidebar: #111a1d;
  --console-sidebar-muted: #aab5b8;
  --console-ui: Inter, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --console-data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --console-shadow: 0 16px 44px rgba(23, 34, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--console-fog);
}

body.console-page {
  min-height: 100vh;
  margin: 0;
  color: var(--console-ink);
  background: var(--console-fog);
  font-family: var(--console-ui);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.console-page button,
.console-page input,
.console-page select {
  font: inherit;
}

.console-page a {
  color: inherit;
}

.console-page :focus-visible {
  outline: 2px solid #2f8e80;
  outline-offset: 2px;
}

.console-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.console-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 9px 13px;
  color: var(--console-surface);
  background: var(--console-brand);
  border-radius: 6px;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
}

.console-skip:focus {
  transform: translateY(0);
}

.console-topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 58px;
  grid-template-columns: 248px minmax(260px, 1fr) auto;
  align-items: center;
  color: #e9eff0;
  background: var(--console-sidebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-brand {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.console-brand img {
  width: 27px;
  height: 27px;
}

.console-brand__name {
  color: #fff;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.console-brand__product {
  color: #9eabad;
  font-size: 12px;
}

.console-scope {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.console-scope__switcher {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  color: #eef4f4;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: default;
}

.console-scope__switcher:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.console-scope__org {
  overflow: hidden;
  font-size: 13px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-scope__slash {
  color: #59676a;
}

.console-scope__environment {
  color: #b8c3c5;
  font-size: 12px;
}

.console-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 15px;
}

.console-environment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: #cbd6d8;
  background: #182528;
  border: 1px solid #314044;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.console-environment::before {
  width: 7px;
  height: 7px;
  background: #56ad9b;
  border-radius: 50%;
  content: "";
}

.console-icon-button,
.console-menu-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #c8d2d4;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.console-icon-button:hover,
.console-menu-button:hover {
  background: #1b282c;
  border-color: #314044;
}

.console-menu-button {
  display: none;
}

.console-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-left: 2px;
  color: #0e2421;
  background: #b8ddd5;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.console-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
  padding-top: 58px;
}

.console-sidebar {
  position: fixed;
  z-index: 30;
  top: 58px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  overflow-y: auto;
  color: #dce3e4;
  background: var(--console-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.console-nav {
  padding: 18px 12px 28px;
}

.console-nav__group + .console-nav__group {
  margin-top: 25px;
}

.console-nav__label {
  display: block;
  margin: 0 10px 7px;
  color: #77878b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-nav a {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  color: #b9c4c6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 540;
  text-decoration: none;
}

.console-nav a:hover {
  color: #fff;
  background: #182528;
}

.console-nav a[aria-current="page"] {
  color: #fff;
  background: #203330;
  box-shadow: inset 2px 0 #68b9a8;
}

.console-nav__glyph {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: #8ea0a3;
  border: 1px solid #405054;
  border-radius: 5px;
  font-family: var(--console-data);
  font-size: 9px;
  font-weight: 700;
}

.console-nav a[aria-current="page"] .console-nav__glyph {
  color: #bfe7de;
  border-color: #4f8178;
}

.console-sidebar__footer {
  margin-top: auto;
  padding: 16px 18px 18px;
  color: #87979a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
}

.console-sidebar__footer strong {
  display: block;
  margin-bottom: 3px;
  color: #c8d2d4;
  font-weight: 620;
}

.console-main {
  min-width: 0;
  grid-column: 2;
  padding: 29px clamp(22px, 3.4vw, 54px) 56px;
}

.console-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 23px;
  max-width: 1480px;
}

.console-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--console-muted);
  font-size: 12px;
}

.console-breadcrumbs a {
  text-decoration: none;
}

.console-breadcrumbs span {
  color: #9ba5aa;
}

.console-page-header h1 {
  margin: 0;
  color: #12191d;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.console-page-header p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--console-muted);
  font-size: 14px;
}

.console-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.console-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  color: #263238;
  background: var(--console-surface);
  border: 1px solid #cfd6da;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 640;
  cursor: pointer;
}

.console-button:hover {
  background: #f8fafb;
  border-color: #aeb8bd;
}

.console-button--primary {
  color: #fff;
  background: var(--console-brand);
  border-color: var(--console-brand);
}

.console-button--primary:hover {
  background: #103f38;
  border-color: #103f38;
}

.console-snapshot {
  display: flex;
  max-width: 1480px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 16px;
  padding: 10px 13px;
  color: #4e5c63;
  background: #eaf0f1;
  border: 1px solid #d5dfe1;
  border-radius: 7px;
  font-size: 12px;
}

.console-snapshot strong {
  color: #263238;
  font-weight: 680;
}

.console-snapshot__boundary {
  color: #69767d;
  text-align: right;
}

.console-metrics {
  display: grid;
  max-width: 1480px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 16px;
  background: var(--console-surface);
  border: 1px solid var(--console-line);
  border-radius: 8px;
}

.console-metric {
  min-width: 0;
  padding: 17px 19px 16px;
}

.console-metric + .console-metric {
  border-left: 1px solid var(--console-line);
}

.console-metric span {
  display: block;
  margin-bottom: 7px;
  color: var(--console-muted);
  font-size: 11px;
  font-weight: 620;
}

.console-metric strong {
  display: block;
  overflow: hidden;
  color: #172025;
  font-size: 20px;
  font-weight: 690;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-metric small {
  display: block;
  margin-top: 4px;
  color: #77838a;
  font-size: 11px;
}

.console-chain {
  max-width: 1480px;
  margin: 0 auto 16px;
  padding: 17px 18px 15px;
  background: var(--console-surface);
  border: 1px solid var(--console-line);
  border-radius: 8px;
}

.console-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.console-section-heading h2 {
  margin: 0;
  color: #1b2429;
  font-size: 14px;
  font-weight: 690;
}

.console-section-heading p {
  margin: 3px 0 0;
  color: var(--console-muted);
  font-size: 12px;
}

.console-chain__steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(95px, 1fr));
  align-items: start;
}

.console-chain__step {
  position: relative;
  min-width: 0;
  padding: 0 14px 0 0;
}

.console-chain__step:not(:last-child)::after {
  position: absolute;
  top: 8px;
  right: 5px;
  width: calc(100% - 35px);
  height: 1px;
  background: #cdd7d8;
  content: "";
  transform: translateX(100%);
}

.console-chain__step button {
  position: relative;
  z-index: 1;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--console-brand);
  border: 3px solid #e5efed;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #4b8e82;
  cursor: pointer;
}

.console-chain__step--boundary button {
  background: var(--console-hold);
  border-color: #f7edda;
  box-shadow: 0 0 0 1px #c49142;
}

.console-chain__step strong,
.console-chain__step span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-chain__step strong {
  margin-top: 9px;
  color: #273137;
  font-size: 11px;
  font-weight: 680;
}

.console-chain__step span {
  margin-top: 2px;
  color: #758188;
  font-size: 10px;
}

.console-workbench {
  max-width: 1480px;
  margin: 0 auto;
  background: var(--console-surface);
  border: 1px solid var(--console-line);
  border-radius: 8px;
  overflow: hidden;
}

.console-workbench__toolbar {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--console-line);
}

.console-toolbar__left,
.console-toolbar__right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.console-search {
  position: relative;
  display: flex;
  width: min(360px, 34vw);
  align-items: center;
}

.console-search span {
  position: absolute;
  left: 11px;
  color: #819097;
  font-family: var(--console-data);
  font-size: 12px;
}

.console-search input {
  width: 100%;
  height: 36px;
  padding: 0 54px 0 33px;
  color: #1d272c;
  background: #fff;
  border: 1px solid #cfd7da;
  border-radius: 6px;
  outline: 0;
}

.console-search input:focus {
  border-color: #4d8c82;
  box-shadow: 0 0 0 3px rgba(77, 140, 130, 0.12);
}

.console-search kbd {
  position: absolute;
  right: 8px;
  padding: 2px 5px;
  color: #7a878d;
  background: #f1f4f5;
  border: 1px solid #dce2e4;
  border-radius: 4px;
  font-family: var(--console-data);
  font-size: 9px;
  font-weight: 600;
}

.console-select {
  height: 36px;
  padding: 0 30px 0 10px;
  color: #344148;
  background: #fff;
  border: 1px solid #cfd7da;
  border-radius: 6px;
  font-size: 12px;
}

.console-count {
  color: var(--console-muted);
  font-family: var(--console-data);
  font-size: 11px;
}

.console-workbench__body {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) 370px;
}

.console-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.console-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.console-table--agents th:nth-child(1),
.console-table--agents td:nth-child(1) { width: 29%; }
.console-table--agents th:nth-child(2),
.console-table--agents td:nth-child(2) { width: 16%; }
.console-table--agents th:nth-child(3),
.console-table--agents td:nth-child(3) { width: 24%; }
.console-table--agents th:nth-child(4),
.console-table--agents td:nth-child(4) { width: 17%; }
.console-table--agents th:nth-child(5),
.console-table--agents td:nth-child(5) { width: 14%; }
.console-table--data th:nth-child(1),
.console-table--data td:nth-child(1) { width: 31%; }
.console-table--data th:nth-child(2),
.console-table--data td:nth-child(2) { width: 15%; }
.console-table--data th:nth-child(3),
.console-table--data td:nth-child(3) { width: 18%; }
.console-table--data th:nth-child(4),
.console-table--data td:nth-child(4) { width: 19%; }
.console-table--data th:nth-child(5),
.console-table--data td:nth-child(5) { width: 17%; }

.console-table th {
  height: 39px;
  padding: 0 14px;
  color: #6d7a81;
  background: #f7f9f9;
  border-bottom: 1px solid var(--console-line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.console-table td {
  height: 66px;
  padding: 9px 14px;
  color: #354148;
  border-bottom: 1px solid #edf0f1;
  font-size: 12px;
  vertical-align: middle;
}

.console-table tbody tr {
  transition: background-color 100ms ease;
}

.console-table tbody tr:hover {
  background: #f8faf9;
}

.console-table tbody tr[data-selected="true"] {
  background: #edf5f3;
  box-shadow: inset 3px 0 var(--console-brand);
}

.console-table tbody tr[hidden] {
  display: none;
}

.console-record {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.console-record__mark {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  color: #1c554c;
  background: var(--console-brand-soft);
  border: 1px solid #c9ded9;
  border-radius: 7px;
  font-family: var(--console-data);
  font-size: 10px;
  font-weight: 800;
}

.console-record__mark--data {
  color: #40545b;
  background: #edf1f2;
  border-color: #d7dfe2;
}

.console-record button {
  min-width: 0;
  padding: 0;
  color: #1d282d;
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}

.console-record button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.console-record small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #748087;
  font-family: var(--console-data);
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #315c53;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.console-status::before {
  width: 7px;
  height: 7px;
  background: #439481;
  border-radius: 50%;
  content: "";
}

.console-status--bounded {
  color: #7c571a;
}

.console-status--bounded::before {
  background: #c29142;
}

.console-status--gap {
  color: #8c443d;
}

.console-status--gap::before {
  background: #bd5d53;
}

.console-mono {
  overflow: hidden;
  color: #56636a;
  font-family: var(--console-data);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-inspector {
  min-width: 0;
  background: #fbfcfc;
  border-left: 1px solid var(--console-line);
}

.console-inspector__header {
  padding: 17px 18px 15px;
  background: #fff;
  border-bottom: 1px solid var(--console-line);
}

.console-inspector__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #708087;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.console-inspector__header h2 {
  margin: 10px 0 2px;
  color: #172126;
  font-size: 19px;
  font-weight: 690;
  letter-spacing: -0.02em;
}

.console-inspector__header p {
  margin: 0;
  color: var(--console-muted);
  font-size: 12px;
}

.console-inspector__body {
  padding: 18px;
}

.console-inspector__section + .console-inspector__section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ea;
}

.console-inspector__section h3 {
  margin: 0 0 9px;
  color: #29343a;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.console-inspector__section p {
  margin: 0;
  color: #536168;
  font-size: 12px;
}

.console-definition {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  margin: 0;
}

.console-definition div {
  display: contents;
}

.console-definition dt,
.console-definition dd {
  min-width: 0;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #ebeff0;
  font-size: 11px;
}

.console-definition dt {
  color: #748188;
}

.console-definition dd {
  overflow: hidden;
  color: #303c42;
  font-weight: 600;
  text-overflow: ellipsis;
}

.console-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-tag-list li {
  padding: 4px 7px;
  color: #3f514f;
  background: #edf3f2;
  border: 1px solid #d3e1de;
  border-radius: 5px;
  font-family: var(--console-data);
  font-size: 9px;
}

.console-boundary {
  padding: 11px 12px;
  color: #674d20;
  background: #fbf5e9;
  border: 1px solid #ead8b7;
  border-radius: 6px;
  font-size: 11px;
}

.console-evidence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 9px;
  background: #f1f4f5;
  border: 1px solid #dde3e5;
  border-radius: 6px;
}

.console-evidence code {
  overflow: hidden;
  color: #48565d;
  font-family: var(--console-data);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-evidence button {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #445259;
  background: #fff;
  border: 1px solid #cfd7da;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.console-lineage {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-lineage li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 6px 8px;
  color: #46545b;
  background: #fff;
  border: 1px solid #dce2e4;
  border-radius: 5px;
  font-size: 10px;
}

.console-lineage li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  bottom: -6px;
  left: 16px;
  width: 1px;
  height: 6px;
  background: #aebbbf;
  content: "";
}

.console-lineage b {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #56766f;
  border-radius: 50%;
  font-family: var(--console-data);
  font-size: 8px;
}

.console-empty {
  padding: 52px 20px;
  color: #69777e;
  text-align: center;
}

.console-toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  padding: 10px 13px;
  color: #fff;
  background: #1d2c30;
  border: 1px solid #405156;
  border-radius: 6px;
  box-shadow: var(--console-shadow);
  font-size: 11px;
}

.console-toast[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .console-topbar {
    grid-template-columns: 218px minmax(220px, 1fr) auto;
  }

  .console-shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  .console-sidebar {
    width: 218px;
  }

  .console-main {
    padding-right: 24px;
    padding-left: 24px;
  }

  .console-workbench__body {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .console-chain__step span {
    display: none;
  }
}

@media (max-width: 860px) {
  .console-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .console-brand {
    width: auto;
    padding: 0 10px 0 13px;
    border-right: 0;
  }

  .console-brand__text {
    display: none;
  }

  .console-menu-button {
    display: inline-grid;
    margin-left: 3px;
  }

  .console-scope {
    padding: 0 8px;
  }

  .console-scope__environment,
  .console-scope__slash {
    display: none;
  }

  .console-environment {
    display: none;
  }

  .console-shell {
    display: block;
  }

  .console-sidebar {
    top: 58px;
    width: 238px;
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  body[data-console-nav-open="true"] .console-sidebar {
    transform: translateX(0);
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.28);
  }

  .console-main {
    padding: 22px 16px 44px;
  }

  .console-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-header-actions {
    width: 100%;
  }

  .console-header-actions .console-button {
    flex: 1;
  }

  .console-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-metric:nth-child(3) {
    border-left: 0;
  }

  .console-metric:nth-child(n + 3) {
    border-top: 1px solid var(--console-line);
  }

  .console-chain {
    overflow-x: auto;
  }

  .console-chain__steps {
    min-width: 720px;
  }

  .console-workbench__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .console-toolbar__left,
  .console-toolbar__right {
    width: 100%;
  }

  .console-search {
    width: 100%;
  }

  .console-workbench__body {
    display: block;
  }

  .console-inspector {
    border-top: 1px solid var(--console-line);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .console-topbar__actions .console-icon-button {
    display: none;
  }

  .console-snapshot {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-snapshot__boundary {
    text-align: left;
  }

  .console-metrics {
    grid-template-columns: 1fr;
  }

  .console-metric + .console-metric,
  .console-metric:nth-child(3),
  .console-metric:nth-child(n + 3) {
    border-top: 1px solid var(--console-line);
    border-left: 0;
  }

  .console-toolbar__right {
    align-items: stretch;
    flex-direction: column;
  }

  .console-select {
    width: 100%;
  }

  .console-table {
    min-width: 720px;
  }

  .console-inspector {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .console-page *,
  .console-page *::before,
  .console-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* FLEX enterprise console v2 */
:root { --console-muted:#46545b; --console-brand:#0d5148; --console-brand-soft:#edf4f2; --console-line:#cfd7da; --console-fog:#f5f6f7; }
.console-topbar { height:48px; grid-template-columns:208px minmax(240px,1fr) auto; }
.console-brand { height:48px; gap:9px; padding:0 14px; }
.console-brand img { width:22px; height:22px; }
.console-brand__name { font-size:14px; }
.console-brand__product { color:#c8d1d3; font-size:11px; }
.console-scope { padding:0 12px; }
.console-scope__switcher { padding:4px 7px; }
.console-scope__org { font-size:12px; }
.console-scope__environment { color:#c5ced0; font-size:11px; }
.console-topbar__actions { padding-right:12px; }
.console-environment { padding:4px 8px; color:#e3e9ea; background:transparent; border-color:#415055; border-radius:4px; }
.console-avatar { display:none; }
.console-shell { grid-template-columns:208px minmax(0,1fr); padding-top:48px; }
.console-sidebar { top:48px; width:208px; }
.console-nav { padding:14px 9px 24px; }
.console-nav__group + .console-nav__group { margin-top:18px; }
.console-nav__label { margin:0 10px 5px; color:#9aa7aa; font-size:9px; }
.console-nav a { height:32px; gap:0; padding:0 10px; color:#d0d7d9; border-radius:3px; font-size:12px; }
.console-nav a[aria-current="page"] { background:#1b302d; box-shadow:inset 2px 0 #6ab7a7; }
.console-nav__glyph { display:none; }
.console-sidebar__footer { padding:13px 16px 16px; color:#b4bec0; font-size:10px; line-height:1.55; }
.console-sidebar__footer strong { color:#f1f4f4; }
.console-main { grid-column:2; padding:18px 28px 28px; }
.console-page-header { align-items:center; margin:0 auto 12px; }
.console-breadcrumbs { display:none; }
.console-page-header h1 { font-size:26px; font-weight:650; }
.console-page-header p { margin-top:3px; color:#4c5b63; font-size:12px; }
.console-header-actions { gap:7px; }
.console-button { min-height:32px; padding:5px 10px; border-radius:4px; font-size:11px; text-decoration:none; }
.console-button--primary { color:#fff; background:#0b463f; border-color:#0b463f; }
.console-snapshot { min-height:34px; margin-bottom:9px; padding:7px 10px; color:#44535a; background:#eef2f2; border-color:#cfd9da; border-radius:4px; font-size:11px; }
.console-snapshot__boundary { color:#46555c; }
.console-metrics { min-height:58px; margin-bottom:9px; border-radius:4px; }
.console-metric { padding:8px 14px; }
.console-metric span { margin:0 0 2px; color:#526168; font-size:10px; }
.console-metric strong { font-size:17px; font-weight:650; }
.console-metric small { display:none; }
.console-chain { display:grid; grid-template-columns:170px minmax(0,1fr); align-items:center; gap:16px; margin-bottom:9px; padding:9px 12px; border-radius:4px; }
.console-section-heading { margin:0; }
.console-section-heading p,.console-section-heading>.console-count { display:none; }
.console-section-heading h2 { font-size:12px; }
.console-chain__steps { grid-template-columns:repeat(7,minmax(64px,1fr)); }
.console-chain__step { display:grid; grid-template-columns:15px minmax(0,1fr); align-items:center; gap:6px; padding:0 8px 0 0; }
.console-chain__step:not(:last-child)::after { top:7px; right:0; width:calc(100% - 29px); }
.console-chain__step button { width:14px; height:14px; border-width:2px; font-size:8px; }
.console-chain__step strong { margin:0; font-size:10px; }
.console-chain__step span { display:none; }
.console-workbench { border-radius:4px; }
.console-workbench__toolbar { min-height:46px; padding:6px 10px; }
.console-search { width:min(330px,34vw); }
.console-search input,.console-select { height:32px; border-radius:4px; font-size:11px; }
.console-search kbd,.console-count { color:#4c5b62; }
.console-workbench__body { min-height:calc(100vh - 326px); grid-template-columns:minmax(0,1fr) 360px; }
.console-table th { height:34px; color:#4e5c63; font-size:9px; }
.console-table td { height:54px; padding:7px 14px; font-size:11px; }
.console-record { gap:0; }
.console-record__mark { display:none; }
.console-record button { font-size:11px; font-weight:650; }
.console-record small { color:#58676e; }
.console-table tbody tr[data-selected="true"] { background:#eff5f3; box-shadow:inset 2px 0 var(--console-brand); }
.console-status { color:#28574e; font-size:10px; }
.console-mono { color:#48575e; }
.console-inspector { background:#fff; }
.console-inspector__header { padding:14px 16px 12px; }
.console-inspector__eyebrow { color:#536269; font-size:9px; }
.console-inspector__header h2 { margin-top:7px; font-size:17px; }
.console-inspector__header p { color:#4f5e65; font-size:11px; }
.console-inspector__body { padding:15px 16px; }
.console-inspector__section + .console-inspector__section { margin-top:14px; padding-top:13px; }
.console-inspector__section h3 { color:#3d4b52; font-size:9px; }
.console-inspector__section p { color:#435159; font-size:11px; }
.console-definition { grid-template-columns:96px minmax(0,1fr); }
.console-definition dt,.console-definition dd { padding:5px 0; color:#4b5a61; font-size:10px; }
.console-definition dd { color:#253239; }
.console-tag-list li { color:#2f4742; background:#f0f5f4; }
.console-boundary { color:#604615; background:#fbf6eb; }
@media(max-width:1120px){.console-topbar{grid-template-columns:190px minmax(220px,1fr) auto}.console-shell{grid-template-columns:190px minmax(0,1fr)}.console-sidebar{width:190px}.console-main{padding:16px 18px 24px}.console-workbench__body{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:860px){.console-topbar{grid-template-columns:auto minmax(0,1fr) auto}.console-sidebar{top:48px}.console-main{padding:14px 14px 24px}.console-page-header{align-items:center;flex-direction:row;gap:12px}.console-page-header h1{font-size:22px}.console-header-actions{width:auto;flex:0 0 auto}.console-header-actions .console-button{flex:0 0 auto}.console-metrics{display:flex;overflow-x:auto}.console-metric{min-width:150px;flex:1 0 150px}.console-metric:nth-child(n){border-top:0;border-left:1px solid var(--console-line)}.console-metric:first-child{border-left:0}.console-chain{display:block;overflow-x:auto}.console-section-heading{display:none}.console-chain__steps{min-width:610px}.console-workbench__body{display:block}.console-inspector{border-left:0}}
@media(max-width:560px){.console-main{padding:12px 10px 18px}.console-page-header{margin-bottom:9px}.console-page-header p{display:none}.console-header-actions .console-button:first-child{display:none}.console-snapshot{min-height:31px;margin-bottom:7px}.console-snapshot__boundary{display:none}.console-metrics{margin-bottom:7px}.console-metric{min-width:132px;padding:7px 10px}.console-metric strong{font-size:15px}.console-chain{margin-bottom:7px;padding:8px 10px}.console-workbench__toolbar{align-items:stretch;flex-direction:column}.console-toolbar__right{flex-direction:row}.console-select{width:auto;min-width:112px}.console-table{min-width:670px}}

.console-page a.console-button { text-decoration:none; }
.console-page a.console-button--primary { color:#fff; }
.console-chain__step button { color:#083d36; background:#d9ebe7; border:1px solid #17685d; box-shadow:none; font-weight:800; }
.console-chain__step--boundary button { color:#553504; background:#f4e5c9; border-color:#9b681c; box-shadow:none; }
.console-search span { color:#435259; }


/* FLEX console v3 — warm, premium data workspace. */
:root {
  --console-ink:#171613;
  --console-muted:#746f68;
  --console-fog:#faf9f6;
  --console-surface:#ffffff;
  --console-line:#e8e4de;
  --console-brand:#171613;
  --console-brand-soft:#f5ede1;
  --console-hold:#9a6625;
  --console-sidebar:#ffffff;
  --console-sidebar-muted:#746f68;
  --console-shadow:0 12px 34px rgba(54,45,33,.07);
}
html,body.console-page { background:#faf9f6; color:#171613; }
.console-topbar {
  height:64px;
  grid-template-columns:232px minmax(240px,1fr) auto;
  color:#171613;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #ece8e2;
  box-shadow:0 1px 0 rgba(31,26,20,.02);
}
.console-brand { height:64px; padding:0 22px; border-right:0; }
.console-brand img { width:24px; height:24px; }
.console-brand__name { color:#171613; font-size:15px; letter-spacing:.01em; }
.console-brand__product { color:#b48b55; font-size:12px; }
.console-scope { padding:0 18px; }
.console-scope__switcher { color:#171613; border:0; }
.console-scope__switcher:hover { background:#f8f5f0; border-color:transparent; }
.console-scope__org { color:#171613; font-size:12px; }
.console-scope__slash { color:#d2ccc3; }
.console-scope__environment { color:#827c74; font-size:11px; }
.console-environment {
  color:#4e473f;
  background:#f7f1e8;
  border:1px solid #e9dccb;
  border-radius:999px;
  padding:7px 11px;
}
.console-environment::before { background:#c29a65; }
.console-icon-button,.console-menu-button { color:#4f4942; }
.console-icon-button:hover,.console-menu-button:hover { background:#f5f1eb; border-color:#e8e1d7; }
.console-shell { grid-template-columns:232px minmax(0,1fr); padding-top:64px; }
.console-sidebar {
  top:64px;
  width:232px;
  color:#171613;
  background:#ffffff;
  border-right:1px solid #ece8e2;
}
.console-nav { padding:24px 14px 30px; }
.console-nav__group + .console-nav__group { margin-top:24px; }
.console-nav__label { margin:0 14px 8px; color:#aaa39a; font-size:9px; letter-spacing:.13em; }
.console-nav a {
  height:40px;
  padding:0 14px;
  color:#716b64;
  border-radius:12px;
  font-size:12px;
  font-weight:560;
}
.console-nav a:hover { color:#171613; background:#f8f5f0; }
.console-nav a[aria-current="page"] {
  color:#fff;
  background:#171613;
  box-shadow:none;
}
.console-sidebar__footer {
  margin:0 14px 14px;
  padding:16px;
  color:#7a736b;
  background:#faf7f2;
  border:1px solid #eee5d9;
  border-radius:14px;
  font-size:10px;
}
.console-sidebar__footer strong { color:#171613; }
.console-main { grid-column:2; padding:30px clamp(24px,3vw,48px) 48px; }
.console-page-header { margin:0 auto 22px; }
.console-page-header h1 { color:#171613; font-size:32px; font-weight:650; letter-spacing:-.035em; }
.console-page-header p { margin-top:6px; color:#746f68; font-size:13px; }
.console-button {
  min-height:40px;
  padding:8px 16px;
  color:#28241f;
  background:#fff;
  border:1px solid #ded8d0;
  border-radius:999px;
  font-size:11px;
  box-shadow:0 3px 10px rgba(44,36,27,.03);
}
.console-button:hover { background:#faf7f2; border-color:#cec6bc; }
.console-page a.console-button--primary,.console-button--primary {
  color:#fff;
  background:#171613;
  border-color:#171613;
}
.console-button--primary:hover { background:#2c2925; border-color:#2c2925; }
.console-snapshot {
  min-height:44px;
  margin-bottom:14px;
  padding:10px 16px;
  color:#625c55;
  background:#f7f1e8;
  border:1px solid #eadfce;
  border-radius:14px;
  font-size:11px;
}
.console-snapshot strong { color:#312b25; }
.console-snapshot__boundary { color:#756d64; }
.console-metrics {
  display:grid;
  min-height:auto;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
  background:transparent;
  border:0;
}
.console-metric {
  min-height:94px;
  padding:16px 18px;
  background:#fff;
  border:1px solid #ebe6df;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(54,45,33,.045);
}
.console-metric + .console-metric { border-left:1px solid #ebe6df; }
.console-metric span { color:#8a837a; font-size:10px; }
.console-metric strong { margin-top:8px; color:#171613; font-size:21px; }
.console-metric small { display:block; color:#9a9288; font-size:10px; }
.console-chain {
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  min-height:76px;
  margin-bottom:14px;
  padding:14px 18px;
  background:#fff;
  border:1px solid #ebe6df;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(54,45,33,.035);
}
.console-section-heading h2 { color:#29241f; font-size:12px; }
.console-chain__step button {
  color:#5c4528;
  background:#f1e4d2;
  border:1px solid #d8ba91;
}
.console-chain__step--boundary button { color:#fff; background:#171613; border-color:#171613; }
.console-chain__step:not(:last-child)::after { background:#ddd5cb; }
.console-chain__step strong { color:#3d3832; }
.console-workbench {
  background:#fff;
  border:1px solid #e8e3dc;
  border-radius:18px;
  box-shadow:var(--console-shadow);
}
.console-workbench__toolbar { min-height:58px; padding:10px 14px; border-color:#eee9e3; }
.console-search { width:min(360px,34vw); }
.console-search input,.console-select {
  height:38px;
  color:#2c2824;
  background:#fbfaf8;
  border:1px solid #e1dcd5;
  border-radius:999px;
  font-size:11px;
}
.console-search input:focus { border-color:#b69365; box-shadow:0 0 0 3px rgba(190,151,101,.13); }
.console-search kbd { color:#756e66; background:#f3efe9; border-color:#e6dfd6; }
.console-count { color:#8b8379; }
.console-workbench__body { min-height:calc(100vh - 464px); grid-template-columns:minmax(0,1fr) 370px; }
.console-table th { height:40px; color:#8a837a; background:#fcfbf9; border-color:#eee9e3; }
.console-table td { height:62px; color:#4b453f; border-color:#f1ede8; }
.console-table tbody tr:hover { background:#fcfaf7; }
.console-table tbody tr[data-selected="true"] { background:#faf4eb; box-shadow:inset 3px 0 #c29a65; }
.console-record button { color:#211e1a; font-size:12px; }
.console-record small { color:#938b81; }
.console-status { color:#5c694e; }
.console-status::before { background:#7f9b73; }
.console-status--bounded { color:#8b622d; }
.console-status--bounded::before { background:#c49350; }
.console-mono { color:#766f67; }
.console-inspector { background:#fcfaf7; border-color:#ebe5dd; }
.console-inspector__header { padding:20px 20px 17px; background:#fff; border-color:#ebe5dd; }
.console-inspector__eyebrow { color:#9a9288; }
.console-inspector__header h2 { color:#171613; font-size:20px; }
.console-inspector__header p { color:#7c756d; }
.console-inspector__body { padding:20px; }
.console-inspector__section + .console-inspector__section { border-color:#ebe5dd; }
.console-inspector__section h3 { color:#817970; }
.console-inspector__section p { color:#554f49; }
.console-definition dt,.console-definition dd { border-color:#ece6df; }
.console-definition dt { color:#918980; }
.console-definition dd { color:#302b26; }
.console-tag-list li { color:#5d4b35; background:#f7efe4; border-color:#e8d8c3; border-radius:999px; }
.console-boundary { color:#654b2a; background:#faf2e6; border-color:#e8d3b4; border-radius:12px; }
.console-evidence { background:#f7f4ef; border-color:#e7e0d7; border-radius:12px; }
.console-lineage li { color:#5e5750; border-color:#e8e1d8; border-radius:10px; }
.console-lineage b { background:#b28a56; }
.console-toast { background:#171613; border-color:#171613; border-radius:999px; }
@media(max-width:1120px){.console-topbar{grid-template-columns:210px minmax(220px,1fr) auto}.console-shell{grid-template-columns:210px minmax(0,1fr)}.console-sidebar{width:210px}.console-main{padding:24px 22px 36px}.console-workbench__body{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:860px){.console-topbar{height:58px;grid-template-columns:auto minmax(0,1fr) auto}.console-brand{height:58px}.console-shell{padding-top:58px}.console-sidebar{top:58px}.console-main{padding:20px 16px 32px}.console-page-header h1{font-size:27px}.console-metrics{display:flex;overflow-x:auto}.console-metric{min-width:170px;min-height:88px;flex:1 0 170px}.console-metric:nth-child(n){border:1px solid #ebe6df}.console-chain{display:block}.console-workbench__body{display:block}}
@media(max-width:560px){.console-main{padding:18px 12px 26px}.console-page-header{margin-bottom:14px}.console-page-header h1{font-size:25px}.console-snapshot{border-radius:12px}.console-metric{min-width:154px}.console-chain{border-radius:14px}.console-workbench{border-radius:16px}.console-workbench__toolbar{padding:10px}.console-search input,.console-select{height:36px}}


/* Warm palette accessibility corrections. */
.console-brand__product { color:#8a5f2d; }
.console-scope__environment,
.console-nav__label,
.console-sidebar__footer,
.console-metric span,
.console-metric small,
.console-snapshot__boundary,
.console-record small,
.console-inspector__eyebrow,
.console-inspector__header p,
.console-inspector__section h3,
.console-definition dt,
.console-count { color:#625c55; }
.console-search input::placeholder { color:#655f58; opacity:1; }
.console-chain__step button { color:#3c2914; background:#f4e3ca; border-color:#b38b55; }
.console-lineage b { color:#fff; background:#654a29; }

.console-table th { color:#625c55; }
.console-search kbd { color:#514b44; background:#eee8df; border-color:#d8d0c6; }


/* FLEX brand layer: DataHedge-inspired composition, FLEX color and native console type. */
:root {
  --console-ui:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif;
  --console-data:ui-monospace,"SFMono-Regular","Roboto Mono",Consolas,"Liberation Mono",monospace;
  --console-ink:#14201e;
  --console-muted:#566762;
  --console-fog:#f5f8f7;
  --console-line:#dce6e3;
  --console-brand:#174d45;
  --console-brand-soft:#eaf3f0;
  --console-shadow:0 12px 34px rgba(20,60,53,.065);
}
html,body.console-page { background:#f5f8f7; color:#14201e; }
.console-topbar { color:#14201e; background:rgba(255,255,255,.97); border-color:#e1e9e7; }
.console-brand__name,.console-scope__org { color:#14201e; }
.console-brand__product { color:#277668; }
.console-scope__environment { color:#64746f; }
.console-environment { color:#285c53; background:#edf6f3; border-color:#d2e5df; }
.console-environment::before { background:#4e9e8d; }
.console-sidebar { background:#fff; border-color:#e1e9e7; }
.console-nav__label { color:#70817c; }
.console-nav a { color:#5c6d68; }
.console-nav a:hover { color:#173a34; background:#f0f6f4; }
.console-nav a[aria-current="page"] { color:#fff; background:#174d45; }
.console-sidebar__footer { color:#5d6f69; background:#f1f7f5; border-color:#dceae6; }
.console-sidebar__footer strong { color:#173a34; }
.console-page-header h1 { color:#14201e; }
.console-page-header p { color:#60716c; }
.console-button { color:#23312e; border-color:#d4dfdc; }
.console-button:hover { background:#f2f7f5; border-color:#b9ccc7; }
.console-page a.console-button--primary,.console-button--primary { color:#fff; background:#174d45; border-color:#174d45; }
.console-button--primary:hover { background:#103f38; border-color:#103f38; }
.console-snapshot { color:#45605a; background:#edf5f3; border-color:#d3e5e0; }
.console-snapshot strong { color:#1c413a; }
.console-snapshot__boundary { color:#536963; }
.console-metric { border-color:#dfe8e5; box-shadow:0 8px 24px rgba(20,60,53,.04); }
.console-metric + .console-metric { border-color:#dfe8e5; }
.console-metric span,.console-metric small { color:#60716c; }
.console-metric strong { color:#14201e; }
.console-chain { border-color:#dfe8e5; box-shadow:0 8px 24px rgba(20,60,53,.035); }
.console-section-heading h2,.console-chain__step strong { color:#263b36; }
.console-chain__step button { color:#174d45; background:#e1f0ec; border-color:#78ad9f; }
.console-chain__step--boundary button { color:#fff; background:#9a6a24; border-color:#9a6a24; }
.console-chain__step:not(:last-child)::after { background:#cddbd7; }
.console-workbench { border-color:#dce6e3; box-shadow:var(--console-shadow); }
.console-workbench__toolbar,.console-table th,.console-table td { border-color:#e4ece9; }
.console-search input,.console-select { color:#25332f; background:#fbfdfc; border-color:#d8e2df; }
.console-search input:focus { border-color:#4d8c82; box-shadow:0 0 0 3px rgba(77,140,130,.12); }
.console-search kbd { color:#40534e; background:#edf3f1; border-color:#d7e3df; }
.console-table th { color:#526660; background:#fafcfb; }
.console-table td { color:#40514c; }
.console-table tbody tr:hover { background:#f7fbf9; }
.console-table tbody tr[data-selected="true"] { background:#edf6f3; box-shadow:inset 3px 0 #4d9585; }
.console-record button { color:#182925; }
.console-record small,.console-mono { color:#64756f; }
.console-status { color:#2e665b; }
.console-status::before { background:#559b8c; }
.console-inspector { background:#f9fcfb; border-color:#dfe8e5; }
.console-inspector__header { border-color:#dfe8e5; }
.console-inspector__header h2 { color:#14201e; }
.console-inspector__eyebrow,.console-inspector__header p,.console-inspector__section h3,.console-definition dt { color:#5e716b; }
.console-inspector__section p { color:#43554f; }
.console-definition dt,.console-definition dd,.console-inspector__section + .console-inspector__section { border-color:#e1eae7; }
.console-definition dd { color:#22342f; }
.console-tag-list li { color:#28564d; background:#edf6f3; border-color:#d0e4de; }
.console-boundary { color:#684a1e; background:#fbf3e5; border-color:#ead5b2; }
.console-evidence,.console-lineage li { background:#f4f8f7; border-color:#dce7e3; }
.console-lineage b { background:#174d45; }
.console-toast { background:#174d45; border-color:#174d45; }

.console-nav__label { color:#586a65; }
.console-table tbody tr[data-selected="true"] .console-record small { color:#4f625c; }

@media(max-width:860px){.console-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.console-metric{min-width:0;min-height:88px;flex:none}.console-metric:nth-child(n){border:1px solid #dfe8e5}}

/* Mission Control: one verified scenario, one decision, one bounded outcome. */
.mission-page { min-height:100vh; background:var(--console-fog); }
.mission-page > main#main,.mission-page .mission-console { min-height:100vh; }
.mission-main { max-width:none; }
.mission-header { margin-bottom:18px; }
.mission-snapshot { margin-bottom:16px; }
.mission-layout {
  display:grid;
  grid-template-columns:minmax(250px,.78fr) minmax(340px,1.12fr) minmax(280px,.86fr);
  gap:14px;
  margin-bottom:14px;
}
.mission-panel {
  min-width:0;
  background:#fff;
  border:1px solid var(--console-line);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(20,60,53,.04);
}
.mission-panel__header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  min-height:70px;
  padding:17px 18px 14px;
  border-bottom:1px solid #e5ecea;
}
.mission-panel__header h2 { margin:4px 0 0; color:#172824; font-size:15px; letter-spacing:-.02em; }
.mission-kicker { color:#64766f; font:700 9px/1 var(--console-ui); letter-spacing:.12em; text-transform:uppercase; }
.mission-badge,.mission-run-state {
  flex:0 0 auto;
  padding:6px 9px;
  color:#2d655a;
  background:#edf6f3;
  border:1px solid #d0e4de;
  border-radius:999px;
  font:650 9px/1 var(--console-ui);
  white-space:nowrap;
}
.mission-badge--hold { color:#75511e; background:#fbf3e5; border-color:#ead5b2; }
.mission-scenario { padding-bottom:17px; }
.mission-scenario__hero { display:grid; grid-template-columns:1fr 104px; gap:16px; padding:22px 18px 18px; }
.mission-scenario__hero span,.mission-scenario__hero small { display:block; color:#65766f; font-size:10px; }
.mission-scenario__hero strong { display:block; margin:7px 0 5px; color:#162722; font-size:19px; letter-spacing:-.025em; }
.mission-mini-series { display:flex; align-items:flex-end; gap:6px; height:60px; padding:6px 0; }
.mission-mini-series i { flex:1; min-height:6px; background:#76a99c; border-radius:4px 4px 1px 1px; }
.mission-facts { margin:0 18px; border-top:1px solid #e5ecea; }
.mission-facts div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #edf2f0; }
.mission-facts dt { color:#687973; font-size:10px; }
.mission-facts dd { margin:0; color:#263934; font-size:10px; font-weight:650; text-align:right; }
.mission-note { margin:15px 18px 0; padding:12px; color:#5d6d68; background:#f4f8f7; border:1px solid #dfe9e6; border-radius:12px; font-size:10px; line-height:1.55; }
.mission-agent-rail { margin:0; padding:8px 18px 16px; list-style:none; }
.mission-agent-rail li { display:grid; grid-template-columns:30px 1fr auto; align-items:center; gap:11px; min-height:56px; border-bottom:1px solid #edf2f0; }
.mission-agent-rail li:last-child { border-bottom:0; }
.mission-agent-rail b { display:grid; place-items:center; width:26px; height:26px; color:#4e6d65; background:#edf4f2; border:1px solid #d8e5e1; border-radius:50%; font-size:9px; }
.mission-agent-rail strong,.mission-agent-rail span { display:block; }
.mission-agent-rail strong { color:#233631; font-size:11px; }
.mission-agent-rail span { margin-top:3px; color:#687973; font-size:9px; }
.mission-agent-rail em { color:#84928e; font-size:9px; font-style:normal; }
.mission-agent-rail li[data-state="active"] { background:#f4f9f7; }
.mission-agent-rail li[data-state="active"] b { color:#fff; background:#174d45; border-color:#174d45; }
.mission-agent-rail li[data-state="active"] em { color:#174d45; font-weight:700; }
.mission-agent-rail li[data-state="complete"] b { color:#fff; background:#4e9484; border-color:#4e9484; }
.mission-agent-rail li[data-state="complete"] em { color:#347568; }
.mission-agent-rail li[data-state="rejected"] b { color:#fff; background:#9a6a24; border-color:#9a6a24; }
.mission-agent-rail li[data-state="rejected"] em { color:#855b20; font-weight:700; }
.mission-agent-rail small { display:block; margin-top:4px; color:#8a9692; font-size:8px; letter-spacing:.025em; }
.mission-agent-rail li[data-contract="verified"] b { box-shadow:0 0 0 3px #eef6f3; }
.mission-agent-contract { display:grid; grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr); gap:7px 16px; margin:0 18px 17px; padding:13px 14px; background:#f7faf9; border:1px solid #dfe9e6; border-radius:11px; }
.mission-agent-contract div span,.mission-agent-contract div strong { display:block; }
.mission-agent-contract div span { color:#6b7b75; font-size:8px; letter-spacing:.07em; text-transform:uppercase; }
.mission-agent-contract div strong { margin-top:4px; color:#24463e; font-size:10px; }
.mission-agent-contract code { align-self:center; min-width:0; overflow:hidden; color:#42655c; font-family:var(--console-mono); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.mission-agent-contract p { grid-column:1/-1; margin:2px 0 0; color:#687974; font-size:9px; line-height:1.5; }
.mission-decision { padding-bottom:16px; }
.mission-decision__status { padding:20px 18px 18px; }
.mission-decision__status span { display:block; color:#667872; font-size:10px; line-height:1.5; }
.mission-decision__status strong { display:block; margin-top:8px; color:#17352f; font-size:16px; line-height:1.3; }
.mission-compare { display:grid; grid-template-columns:1fr 1fr; margin:0 18px; border:1px solid #dfe8e5; border-radius:13px; overflow:hidden; }
.mission-compare div { min-height:78px; padding:12px; border-right:1px solid #e4ece9; border-bottom:1px solid #e4ece9; }
.mission-compare div:nth-child(2n) { border-right:0; }
.mission-compare div:nth-last-child(-n+2) { border-bottom:0; }
.mission-compare span,.mission-compare small { display:block; color:#64756f; font-size:9px; }
.mission-compare strong { display:block; margin:5px 0 3px; color:#18322c; font-size:16px; }
.mission-approval { display:flex; align-items:center; justify-content:space-between; width:calc(100% - 36px); min-height:46px; margin:16px 18px 0; padding:10px 12px; color:#6a746f; background:#f1f4f3; border:1px solid #dfe5e3; border-radius:11px; text-align:left; }
.mission-approval span { font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.mission-approval strong { font-size:9px; }
.mission-timeline { margin-bottom:14px; }
.mission-chart { min-height:170px; padding:17px 18px 19px; }
.mission-chart__empty { display:grid; place-items:center; min-height:134px; color:#788783; background:#f7faf9; border:1px dashed #cedbd7; border-radius:12px; font-size:10px; text-align:center; }
.mission-chart__row { display:grid; grid-template-columns:36px minmax(0,1fr) 150px; align-items:center; gap:14px; min-height:28px; }
.mission-chart__row > span { color:#60716c; font:600 9px/1 var(--console-data); }
.mission-chart__row > strong { color:#40524d; font:600 9px/1 var(--console-data); text-align:right; }
.mission-chart__bars { position:relative; height:10px; background:#edf3f1; border-radius:999px; overflow:hidden; }
.mission-chart__bars i { position:absolute; inset:0 auto 0 0; border-radius:999px; }
.mission-chart__available { background:#d4e5e0; }
.mission-chart__used { height:4px; margin:auto 0; background:#277668; }
.mission-evidence-row { display:grid; grid-template-columns:1.5fr .7fr .45fr .65fr; background:#fff; border:1px solid var(--console-line); border-radius:16px; overflow:hidden; }
.mission-evidence-row div { min-width:0; padding:13px 16px; border-right:1px solid #e4ece9; }
.mission-evidence-row div:last-child { border-right:0; }
.mission-evidence-row span,.mission-evidence-row strong,.mission-evidence-row code { display:block; }
.mission-evidence-row span { margin-bottom:5px; color:#687973; font-size:9px; }
.mission-evidence-row strong { color:#253a34; font-size:10px; }
.mission-evidence-row code { overflow:hidden; color:#38544d; font:500 9px/1.35 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:1180px){.mission-layout{grid-template-columns:minmax(250px,.8fr) minmax(340px,1.2fr)}.mission-decision{grid-column:1/-1}.mission-decision__status{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mission-compare{grid-template-columns:repeat(4,1fr)}.mission-compare div:nth-child(n){border-bottom:0;border-right:1px solid #e4ece9}.mission-compare div:last-child{border-right:0}}
@media(max-width:860px){.mission-layout{grid-template-columns:1fr}.mission-decision{grid-column:auto}.mission-decision__status{display:block}.mission-compare{grid-template-columns:1fr 1fr}.mission-compare div:nth-child(n){border-right:1px solid #e4ece9;border-bottom:1px solid #e4ece9}.mission-compare div:nth-child(2n){border-right:0}.mission-compare div:nth-last-child(-n+2){border-bottom:0}.mission-evidence-row{grid-template-columns:1fr 1fr}.mission-evidence-row div:nth-child(2){border-right:0}.mission-evidence-row div:nth-child(-n+2){border-bottom:1px solid #e4ece9}}
@media(max-width:560px){.mission-header{align-items:flex-start;flex-direction:column}.mission-header .console-header-actions{width:100%}.mission-header .console-button{flex:1}.mission-metrics{grid-template-columns:1fr 1fr}.mission-scenario__hero{grid-template-columns:1fr 88px}.mission-chart__row{grid-template-columns:30px minmax(0,1fr);gap:8px}.mission-chart__row>strong{grid-column:2;text-align:left}.mission-evidence-row{grid-template-columns:1fr}.mission-evidence-row div:nth-child(n){border-right:0;border-bottom:1px solid #e4ece9}.mission-evidence-row div:last-child{border-bottom:0}}

.mission-execution-proof { margin-bottom:14px; }
.mission-execution-proof__body { display:grid; grid-template-columns:.8fr 1.25fr .85fr; min-height:210px; }
.mission-execution-proof__body > * { min-width:0; padding:19px 20px; }
.mission-execution-proof__body > * + * { border-left:1px solid #e4ece9; }
.mission-execution-proof h3 { margin:0 0 15px; color:#5f716b; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.mission-gates ol { position:relative; margin:0; padding:0; list-style:none; }
.mission-gates ol::before { position:absolute; top:14px; bottom:14px; left:7px; width:1px; background:#d7e4e0; content:""; }
.mission-gates li { position:relative; display:grid; grid-template-columns:16px 1fr; gap:11px; align-items:center; min-height:49px; }
.mission-gates i { z-index:1; display:block; width:15px; height:15px; background:#fff; border:1px solid #b8cbc5; border-radius:50%; }
.mission-gates strong,.mission-gates span { display:block; }
.mission-gates strong { color:#243732; font-size:10px; }
.mission-gates span { margin-top:3px; color:#71817c; font-size:9px; }
.mission-gates li[data-state="verified"] i { background:#277668; border:4px solid #d9ece7; box-shadow:0 0 0 1px #277668; }
.mission-gates li[data-state="verified"] span { color:#347568; }
.mission-lifecycle__rail { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #dfe8e5; border-radius:13px; overflow:hidden; }
.mission-lifecycle__rail div { position:relative; min-width:0; min-height:118px; padding:14px 12px; border-right:1px solid #e4ece9; }
.mission-lifecycle__rail div:last-child { border-right:0; }
.mission-lifecycle__rail div:not(:last-child)::after { position:absolute; top:28px; right:-5px; z-index:2; width:8px; height:8px; background:#fff; border-top:1px solid #b7cac4; border-right:1px solid #b7cac4; content:""; transform:rotate(45deg); }
.mission-lifecycle__rail b { display:grid; place-items:center; width:28px; height:28px; margin-bottom:15px; color:#fff; background:#174d45; border-radius:8px; font-size:9px; }
.mission-lifecycle__rail span,.mission-lifecycle__rail strong { display:block; }
.mission-lifecycle__rail span { color:#6b7b76; font-size:9px; }
.mission-lifecycle__rail strong { margin-top:5px; color:#263a34; font-size:9px; line-height:1.35; }
.mission-control-lock { background:#fbf7ef; }
.mission-control-lock > span { display:block; color:#7d6b4e; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.mission-control-lock > strong { display:block; margin:8px 0 10px; color:#79531e; font-size:22px; letter-spacing:.03em; }
.mission-control-lock p { margin:0 0 14px; color:#645d52; font-size:10px; line-height:1.55; }
.mission-control-lock code { display:block; overflow:hidden; margin-bottom:14px; color:#5b665f; font:500 8px/1.4 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-control-lock button { width:100%; min-height:40px; padding:9px 11px; color:#7a7164; background:#f0ebe2; border:1px solid #ddd3c5; border-radius:10px; font-size:9px; font-weight:700; }
@media(max-width:1050px){.mission-execution-proof__body{grid-template-columns:1fr 1.45fr}.mission-control-lock{grid-column:1/-1;border-left:0!important;border-top:1px solid #e4ece9}.mission-control-lock p{max-width:680px}}
@media(max-width:720px){.mission-execution-proof__body{grid-template-columns:1fr}.mission-execution-proof__body>*+*{border-left:0;border-top:1px solid #e4ece9}.mission-control-lock{grid-column:auto}.mission-lifecycle__rail{grid-template-columns:1fr 1fr}.mission-lifecycle__rail div:nth-child(2){border-right:0}.mission-lifecycle__rail div:nth-child(-n+2){border-bottom:1px solid #e4ece9}.mission-lifecycle__rail div:nth-child(2)::after{display:none}}
.mission-benchmark { margin-bottom:14px; overflow:hidden; }
.mission-benchmark__summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid #e5ecea; }
.mission-benchmark__summary div { min-width:0; padding:15px 18px; border-right:1px solid #e5ecea; }
.mission-benchmark__summary div:last-child { border-right:0; }
.mission-benchmark__summary span,.mission-benchmark__summary small { display:block; color:#6a7a75; font-size:8px; }
.mission-benchmark__summary span { letter-spacing:.06em; text-transform:uppercase; }
.mission-benchmark__summary strong { display:block; margin:6px 0 4px; color:#203630; font:700 18px/1 var(--console-data); }
.mission-benchmark__table { margin:18px; border:1px solid #dfe8e5; border-radius:12px; overflow:hidden; }
.mission-benchmark__head,.mission-benchmark__row { display:grid; grid-template-columns:minmax(150px,1.5fr) repeat(4,minmax(76px,.72fr)) minmax(120px,1fr); align-items:center; gap:10px; min-height:44px; padding:0 13px; }
.mission-benchmark__head { min-height:32px; color:#6b7b76; background:#f4f8f7; font-size:8px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.mission-benchmark__row { border-top:1px solid #e5ecea; color:#334740; font-size:9px; }
.mission-benchmark__row strong { color:#243832; font-size:10px; }
.mission-benchmark__row em { color:#788783; font-size:8px; font-style:normal; text-align:right; }
.mission-benchmark__row[data-state="verified"] { background:#f8fcfa; }
.mission-benchmark__row[data-state="verified"] strong,.mission-benchmark__row[data-state="verified"] em { color:#1f6d5f; font-weight:700; }
.mission-benchmark__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 18px 18px; }
.mission-benchmark__footer span { display:block; margin-bottom:4px; color:#6a7a75; font-size:8px; text-transform:uppercase; }
.mission-benchmark__footer code { display:block; max-width:420px; overflow:hidden; color:#405b53; font:500 8px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-benchmark__footer p { max-width:520px; margin:0; color:#6b7b76; font-size:9px; line-height:1.5; text-align:right; }
@media(max-width:860px){.mission-benchmark__summary{grid-template-columns:1fr 1fr}.mission-benchmark__summary div:nth-child(2){border-right:0}.mission-benchmark__summary div:nth-child(-n+2){border-bottom:1px solid #e5ecea}.mission-benchmark__table{overflow-x:auto}.mission-benchmark__head,.mission-benchmark__row{min-width:760px}.mission-benchmark__footer{align-items:flex-start;flex-direction:column}.mission-benchmark__footer p{text-align:left}}
.mission-live-evidence { margin-bottom:14px; overflow:hidden; }
.mission-badge--quiet { color:#5d6f69; background:#f4f7f6; border-color:#dce5e2; }
.mission-live-empty { display:grid; place-items:center; min-height:144px; padding:24px; text-align:center; }
.mission-live-empty[hidden] { display:none; }
.mission-live-empty strong,.mission-live-empty span { display:block; }
.mission-live-empty strong { color:#263934; font-size:12px; }
.mission-live-empty span { max-width:520px; margin-top:7px; color:#6b7b76; font-size:10px; line-height:1.55; }
.mission-live-body { display:grid; grid-template-columns:minmax(0,1fr) 300px; }
.mission-live-body[hidden] { display:none; }
.mission-live-ledger { min-width:0; padding:18px; }
.mission-live-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 15px; border:1px solid #dfe8e5; border-radius:12px; overflow:hidden; }
.mission-live-summary div { min-width:0; padding:11px 12px; border-right:1px solid #e4ece9; }
.mission-live-summary div:last-child { border-right:0; }
.mission-live-summary dt,.mission-live-summary dd { margin:0; }
.mission-live-summary dt { color:#6a7a75; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
.mission-live-summary dd { overflow:hidden; margin-top:5px; color:#243832; font:650 10px/1.25 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-live-table { border:1px solid #dfe8e5; border-radius:12px; overflow:hidden; }
.mission-live-table__head,.mission-live-table__row { display:grid; grid-template-columns:minmax(130px,1.3fr) .52fr .52fr .52fr minmax(150px,1.25fr) .62fr; align-items:center; gap:10px; min-height:42px; padding:0 12px; }
.mission-live-table__head { min-height:32px; color:#6b7b76; background:#f4f8f7; font-size:8px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.mission-live-table__row { border-top:1px solid #e5ecea; color:#334740; font-size:9px; }
.mission-live-table__row strong { color:#263a34; font-size:9px; }
.mission-live-table__row code { overflow:hidden; color:#4a625b; font:500 8px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-live-table__row em { color:#7a8884; font-size:8px; font-style:normal; text-align:right; }
.mission-live-table__row[data-state="verified"] { background:#fcfefd; }
.mission-live-table__row[data-state="verified"] em { color:#267160; font-weight:700; }
.mission-live-trust { min-width:0; padding:18px; background:#fbf8f2; border-left:1px solid #e7e1d7; }
.mission-live-trust h3 { margin:0 0 14px; color:#705a35; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.mission-live-trust dl { margin:0; }
.mission-live-trust dl div { padding:10px 0; border-bottom:1px solid #ebe3d7; }
.mission-live-trust dt,.mission-live-trust dd { margin:0; }
.mission-live-trust dt { color:#7b6b50; font-size:8px; }
.mission-live-trust dd { overflow:hidden; margin-top:5px; color:#4c4539; font:600 8px/1.35 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-live-hold { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-top:16px; padding:13px; color:#6f4b19; background:#f7eddb; border:1px solid #e8d2ad; border-radius:11px; }
.mission-live-hold span { font-size:8px; letter-spacing:.08em; text-transform:uppercase; }
.mission-live-hold strong { font-size:15px; letter-spacing:.02em; }
.mission-live-trust > p { margin:12px 1px 0; color:#746a5a; font-size:9px; line-height:1.5; }
@media(max-width:980px){.mission-live-body{grid-template-columns:1fr}.mission-live-trust{border-top:1px solid #e7e1d7;border-left:0}.mission-live-table{overflow-x:auto}.mission-live-table__head,.mission-live-table__row{min-width:760px}}
@media(max-width:620px){.mission-live-ledger,.mission-live-trust{padding:14px}.mission-live-summary{grid-template-columns:1fr 1fr}.mission-live-summary div:nth-child(2){border-right:0}.mission-live-summary div:nth-child(-n+2){border-bottom:1px solid #e4ece9}}

/* Real Gold is the primary operating evidence surface. */
.mission-real-gold { margin-bottom:14px; overflow:hidden; }
.mission-real-gold__header { min-height:72px; }
.mission-real-gold__metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-bottom:1px solid #e5ecea; }
.mission-real-gold__metrics div { min-width:0; padding:14px 18px; border-right:1px solid #e5ecea; }
.mission-real-gold__metrics div:last-child { border-right:0; }
.mission-real-gold__metrics span,.mission-real-gold__metrics small { display:block; color:#6a7a75; font-size:8px; }
.mission-real-gold__metrics span { letter-spacing:.06em; text-transform:uppercase; }
.mission-real-gold__metrics strong { display:block; margin:6px 0 4px; color:#203630; font:700 18px/1 var(--console-data); }
.mission-real-gold__body { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:380px; }
.mission-real-gold__controls { padding:19px 18px; background:#f7faf9; border-right:1px solid #e4ece9; }
.mission-real-gold__controls > label { display:block; margin:0 0 7px; color:#60716b; font-size:8px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.mission-real-gold__controls > label:not(:first-child) { margin-top:15px; }
.mission-real-gold__controls select { width:100%; height:38px; padding:0 32px 0 11px; color:#243832; background:#fff; border:1px solid #cfddd9; border-radius:9px; font:600 10px/1 var(--console-ui); }
.mission-real-gold__selection { margin:19px 0 12px; padding:14px; background:#fff; border:1px solid #dce7e4; border-radius:11px; }
.mission-real-gold__selection span,.mission-real-gold__selection strong,.mission-real-gold__selection small { display:block; }
.mission-real-gold__selection span { color:#6d7c77; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
.mission-real-gold__selection strong { margin-top:7px; color:#18362f; font-size:13px; letter-spacing:-.015em; }
.mission-real-gold__selection small { margin-top:5px; color:#65756f; font-size:9px; line-height:1.45; }
.mission-real-gold__facts { margin:0; }
.mission-real-gold__facts div { padding:9px 0; border-bottom:1px solid #e3ebe8; }
.mission-real-gold__facts dt,.mission-real-gold__facts dd { margin:0; }
.mission-real-gold__facts dt { color:#71807b; font-size:8px; }
.mission-real-gold__facts dd { overflow:hidden; margin-top:4px; color:#3d5750; font:500 8px/1.35 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-real-gold__trace { min-width:0; padding:18px; }
.mission-real-gold__rail { display:grid; grid-template-columns:repeat(5,minmax(126px,1fr)); border:1px solid #dfe8e5; border-radius:13px; overflow:hidden; }
.mission-real-gold__rail article { position:relative; min-width:0; min-height:137px; padding:14px 13px 13px; border-right:1px solid #e4ece9; }
.mission-real-gold__rail article:last-child { border-right:0; }
.mission-real-gold__rail article:not(:last-child)::after { position:absolute; top:26px; right:-5px; z-index:2; width:8px; height:8px; background:#fff; border-top:1px solid #b7cac4; border-right:1px solid #b7cac4; content:""; transform:rotate(45deg); }
.mission-real-gold__rail b { display:grid; place-items:center; width:27px; height:27px; color:#526861; background:#edf3f1; border-radius:8px; font-size:9px; }
.mission-real-gold__rail span,.mission-real-gold__rail strong,.mission-real-gold__rail code { display:block; }
.mission-real-gold__rail span { margin-top:13px; color:#6b7b76; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
.mission-real-gold__rail strong { min-height:30px; margin-top:5px; color:#283c36; font-size:9px; line-height:1.35; }
.mission-real-gold__rail code { overflow:hidden; margin-top:9px; color:#62736d; font:500 7px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-real-gold__rail em { position:absolute; top:18px; right:12px; color:#7a8884; font-size:8px; font-style:normal; }
.mission-real-gold__rail article[data-state="verified"] b { color:#fff; background:#277668; }
.mission-real-gold__rail article[data-state="verified"] em { color:#277668; font-weight:700; }
.mission-real-gold__outcome { display:grid; grid-template-columns:.75fr 1.25fr 1fr; margin-top:15px; border:1px solid #dfe8e5; border-radius:13px; overflow:hidden; }
.mission-real-gold__outcome > div { min-width:0; padding:15px 16px; border-right:1px solid #e4ece9; }
.mission-real-gold__outcome > div:last-child { border-right:0; }
.mission-real-gold__outcome span { display:block; color:#6c7b76; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
.mission-real-gold__hold { background:#fbf5ea; }
.mission-real-gold__hold strong { display:block; margin:8px 0 6px; color:#80581f; font:750 24px/1 var(--console-data); letter-spacing:.03em; }
.mission-real-gold__hold small,.mission-real-gold__boundary small { display:block; color:#716655; font-size:9px; line-height:1.5; }
.mission-real-gold__lineage dl { margin:9px 0 0; }
.mission-real-gold__lineage dl div { display:grid; grid-template-columns:72px minmax(0,1fr); gap:8px; padding:6px 0; border-top:1px solid #edf2f0; }
.mission-real-gold__lineage dt,.mission-real-gold__lineage dd { margin:0; }
.mission-real-gold__lineage dt { color:#75837f; font-size:8px; }
.mission-real-gold__lineage dd { overflow:hidden; color:#3c5650; font:500 8px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-real-gold__boundary { background:#f7faf9; }
.mission-real-gold__boundary strong { display:block; margin:9px 0 7px; color:#263d37; font-size:11px; }
.mission-real-gold__boundary small { color:#667771; }
.mission-real-gold__footer { display:grid; grid-template-columns:minmax(180px,.75fr) minmax(180px,.75fr) minmax(260px,1fr); gap:18px; align-items:center; padding:13px 18px; background:#fbfcfc; border-top:1px solid #e5ecea; }
.mission-real-gold__footer span { display:block; margin-bottom:4px; color:#6b7a76; font-size:8px; text-transform:uppercase; }
.mission-real-gold__footer code { display:block; overflow:hidden; color:#405b53; font:500 8px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-real-gold__footer p { margin:0; color:#667771; font-size:9px; line-height:1.5; text-align:right; }
@media(max-width:1120px){.mission-real-gold__body{grid-template-columns:230px minmax(0,1fr)}.mission-real-gold__rail{overflow-x:auto}.mission-real-gold__rail article{min-width:145px}.mission-real-gold__outcome{grid-template-columns:1fr 1fr}.mission-real-gold__boundary{grid-column:1/-1;border-top:1px solid #e4ece9}.mission-real-gold__outcome>div:nth-child(2){border-right:0}.mission-real-gold__outcome>div:last-child{border-right:0}}
@media(max-width:760px){.mission-real-gold__metrics{grid-template-columns:1fr 1fr}.mission-real-gold__metrics div{border-bottom:1px solid #e5ecea}.mission-real-gold__metrics div:nth-child(2n){border-right:0}.mission-real-gold__metrics div:last-child{grid-column:1/-1;border-bottom:0}.mission-real-gold__body{grid-template-columns:1fr}.mission-real-gold__controls{border-right:0;border-bottom:1px solid #e4ece9}.mission-real-gold__footer{grid-template-columns:1fr}.mission-real-gold__footer p{text-align:left}}
@media(max-width:520px){.mission-real-gold__outcome{grid-template-columns:1fr}.mission-real-gold__outcome>div:nth-child(n){grid-column:auto;border-right:0;border-bottom:1px solid #e4ece9}.mission-real-gold__outcome>div:last-child{border-bottom:0}}

/* FLEX console v4 — restrained operating workspace. */
:root {
  --console-ink:#17201d;
  --console-muted:#5e6a65;
  --console-fog:#f3f5f2;
  --console-surface:#ffffff;
  --console-line:#d8ded9;
  --console-brand:#164f46;
  --console-brand-soft:#edf3f0;
  --console-hold:#a46416;
  --console-shadow:none;
}
html,body.console-page { background:var(--console-fog); }
.console-topbar { height:56px; grid-template-columns:220px minmax(240px,1fr) auto; border-color:#dfe4df; box-shadow:none; }
.console-brand { height:56px; padding:0 18px; border-right:1px solid #e3e7e3; }
.console-brand__product { color:#53645f; }
.console-environment { color:#345a52; background:#f2f5f3; border-color:#dce4df; border-radius:5px; }
.console-shell { grid-template-columns:220px minmax(0,1fr); padding-top:56px; }
.console-sidebar { top:56px; width:220px; background:#f8f9f7; border-color:#dfe4df; }
.console-nav { padding:20px 12px; }
.console-nav__group + .console-nav__group { margin-top:20px; }
.console-nav__label { margin:0 11px 6px; color:#727e79; }
.console-nav a { height:36px; padding:0 11px; color:#4f5e59; border-radius:5px; }
.console-nav a:hover { color:#183a33; background:#edf1ee; }
.console-nav a[aria-current="page"] { color:#fff; background:#164f46; box-shadow:none; }
.console-sidebar__footer { margin:0 12px 12px; padding:13px; color:#5c6964; background:#eef1ee; border-color:#dbe1dc; border-radius:6px; line-height:1.45; }
.console-main { padding:24px 30px 40px; }
.console-page-header { margin-bottom:16px; }
.console-page-header h1 { font-size:28px; font-weight:660; letter-spacing:-.025em; }
.console-page-header p { margin-top:4px; color:#5e6a65; }
.console-button { min-height:36px; padding:7px 13px; border-radius:5px; box-shadow:none; }
.console-snapshot { min-height:38px; margin-bottom:10px; padding:8px 12px; background:#eef2ef; border-color:#d9e1dc; border-radius:5px; }
.console-metrics { gap:0; margin-bottom:10px; background:#fff; border:1px solid var(--console-line); border-radius:6px; }
.console-metric { min-height:72px; padding:13px 16px; border:0; border-radius:0; box-shadow:none; }
.console-metric + .console-metric { border-left:1px solid var(--console-line); }
.console-metric span { color:#6a7671; }
.console-metric strong { margin-top:5px; font-size:18px; }
.console-metric small { display:none; }
.console-chain { min-height:62px; margin-bottom:10px; padding:11px 14px; border-radius:6px; box-shadow:none; }
.console-chain__steps { gap:5px; }
.console-chain__step { grid-template-columns:18px minmax(0,1fr); gap:6px; padding-right:4px; }
.console-chain__step button { width:18px; height:18px; color:#28574e; background:#fff; border:1px solid #89a79f; }
.console-chain__step:not(:last-child)::after { top:9px; right:0; width:calc(100% - 34px); background:#cfd7d2; }
.console-chain__step strong { overflow:visible; color:#40504a; font-size:10px; text-overflow:clip; white-space:nowrap; }
.console-workbench { border-radius:6px; box-shadow:none; }
.console-workbench__toolbar { min-height:52px; }
.console-search input,.console-select { border-radius:5px; }
.console-workbench__body { min-height:calc(100vh - 388px); }
.console-inspector { background:#f8faf8; }
.console-tag-list li,.console-boundary,.console-evidence,.console-lineage li { border-radius:5px; }

.mission-status-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:10px; background:#fff; border:1px solid var(--console-line); border-radius:6px; }
.mission-status-strip div { display:grid; grid-template-columns:8px auto 1fr; gap:8px; align-items:center; min-width:0; min-height:48px; padding:0 14px; border-right:1px solid var(--console-line); }
.mission-status-strip div:last-child { border-right:0; }
.mission-status-strip i { width:7px; height:7px; background:#3f8b79; border-radius:50%; }
.mission-status-strip span { color:#6c7773; font-size:10px; }
.mission-status-strip strong { overflow:hidden; color:#24332e; font-size:11px; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.mission-status-strip__hold i { background:var(--console-hold); }
.mission-status-strip__hold strong { color:#805310; }
.mission-command-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(290px,.7fr); gap:10px; margin-bottom:10px; }
.mission-panel { border-color:var(--console-line); border-radius:6px; box-shadow:none; }
.mission-panel__header { min-height:60px; padding:14px 16px; border-color:#e2e7e3; }
.mission-panel__header h2 { color:#1c2925; font-size:14px; }
.mission-kicker { color:#6c7772; letter-spacing:.08em; }
.mission-badge { color:#315f56; background:#edf3f0; border-color:#d3e1dc; border-radius:4px; }
.mission-badge--hold { color:#7d5313; background:#f8f1e5; border-color:#e7d4b4; }
.mission-active-decision { grid-column:1; }
.mission-decision-meta { display:flex; flex-wrap:wrap; gap:0; padding:10px 16px; color:#5c6964; background:#f8faf8; border-bottom:1px solid #e2e7e3; font-size:10px; }
.mission-decision-meta span { padding-right:12px; margin-right:12px; border-right:1px solid #d8ded9; }
.mission-decision-meta span:last-child { border-right:0; }
.mission-decision-lane { display:grid; grid-template-columns:minmax(105px,1fr) 18px minmax(105px,1fr) 18px minmax(105px,1fr) 18px minmax(105px,1fr); align-items:stretch; margin:16px; border:1px solid #d9dfda; border-radius:5px; overflow:hidden; }
.mission-decision-lane>div { min-width:0; padding:13px 12px; background:#fff; }
.mission-decision-lane>div+div { border-left:1px solid #e2e7e3; }
.mission-decision-lane>b { display:grid; place-items:center; z-index:1; width:24px; margin:0 -3px; color:#75817c; background:#f4f6f4; border-right:1px solid #d9dfda; border-left:1px solid #d9dfda; font-weight:500; }
.mission-decision-lane span,.mission-decision-lane strong,.mission-decision-lane small { display:block; }
.mission-decision-lane span { color:#74807b; font-size:9px; text-transform:uppercase; letter-spacing:.05em; }
.mission-decision-lane strong { overflow:hidden; margin-top:7px; color:#24332e; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.mission-decision-lane small { margin-top:4px; color:#64706c; font:500 9px/1.3 var(--console-data); }
.mission-decision-lane__proposal { background:#edf4f1!important; }
.mission-impact-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 16px 16px; border:1px solid #dce2de; border-radius:5px; }
.mission-impact-grid div { min-width:0; padding:12px; border-right:1px solid #e1e6e2; }
.mission-impact-grid div:last-child { border-right:0; }
.mission-impact-grid span,.mission-impact-grid small { display:block; color:#697570; font-size:9px; }
.mission-impact-grid strong { display:block; overflow:hidden; margin:5px 0 3px; color:#21312c; font:650 13px/1.2 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-impact-grid div:last-child strong { overflow:visible; font-size:11px; line-height:1.3; text-overflow:clip; white-space:normal; }
.mission-active-decision__footer { display:flex; gap:14px; align-items:center; min-height:44px; padding:10px 16px; background:#f8faf8; border-top:1px solid #e2e7e3; }
.mission-active-decision__footer span { color:#6b7772; font-size:9px; text-transform:uppercase; }
.mission-active-decision__footer strong { color:#2d403a; font-size:11px; }
.mission-approval-panel { grid-column:2; grid-row:1; }
.mission-approval-scope { margin:0; padding:8px 16px; }
.mission-approval-scope div { display:grid; grid-template-columns:68px minmax(0,1fr); gap:10px; padding:8px 0; border-bottom:1px solid #e5e9e6; }
.mission-approval-scope dt,.mission-approval-scope dd { margin:0; font-size:10px; }
.mission-approval-scope dt { color:#74807b; }
.mission-approval-scope dd { color:#293a34; }
.mission-approval-boundary { margin:4px 16px 14px; padding:10px; color:#75511d; background:#faf4e9; border:1px solid #ead8ba; border-radius:5px; }
.mission-approval-boundary strong,.mission-approval-boundary span { display:block; font-size:9px; }
.mission-approval-boundary span { margin-top:4px; line-height:1.45; }
.mission-approval-action { width:calc(100% - 32px); margin:0 16px; }
.mission-approval-panel>p { margin:10px 16px 16px; color:#6a7671; font-size:9px; line-height:1.45; }
.mission-flow { grid-column:1; }
.mission-flow .mission-panel__header code { max-width:210px; overflow:hidden; color:#68746f; font:500 8px/1.3 var(--console-data); text-overflow:ellipsis; white-space:nowrap; }
.mission-agent-rail { padding:0; }
.mission-agent-rail li { min-height:45px; grid-template-columns:24px minmax(0,1fr) auto; padding:8px 14px; }
.mission-agent-rail li b { width:22px; height:22px; border-radius:4px; }
.mission-agent-rail li span { margin-top:2px; font-size:9px; }
.mission-agent-rail li small { display:none; }
.mission-execution-scope { grid-column:2; }
.mission-execution-table__head,.mission-execution-table>div { display:grid; grid-template-columns:1.35fr .65fr .65fr .9fr; gap:8px; align-items:center; min-height:38px; padding:0 14px; border-bottom:1px solid #e4e8e5; }
.mission-execution-table>div:last-child { border-bottom:0; }
.mission-execution-table__head { min-height:32px!important; color:#76817d; background:#f8faf8; font-size:8px; text-transform:uppercase; letter-spacing:.05em; }
.mission-execution-table strong,.mission-execution-table span,.mission-execution-table em { min-width:0; overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.mission-execution-table>div:not(.mission-execution-table__head) { min-height:42px; }
.mission-execution-table>div:not(.mission-execution-table__head) strong,.mission-execution-table>div:not(.mission-execution-table__head) span,.mission-execution-table>div:not(.mission-execution-table__head) em { overflow:visible; line-height:1.25; text-overflow:clip; white-space:normal; }
.mission-execution-table strong { color:#2b3a35; }
.mission-execution-table span { color:#66736e; font-family:var(--console-data); }
.mission-execution-table em { color:#4d665f; font-style:normal; }
.mission-timeline { margin-top:10px; }

@media(max-width:1100px){
  .mission-command-grid{grid-template-columns:1fr}.mission-active-decision,.mission-approval-panel,.mission-flow,.mission-execution-scope{grid-column:1;grid-row:auto}
  .mission-status-strip{grid-template-columns:1fr 1fr}.mission-status-strip div:nth-child(2){border-right:0}.mission-status-strip div:nth-child(-n+2){border-bottom:1px solid var(--console-line)}
}
@media(max-width:860px){
  .console-topbar{height:56px}.console-brand{height:56px}.console-shell{padding-top:56px}.console-sidebar{top:56px}.console-main{padding:18px 14px 28px}
  .console-metrics{display:grid;grid-template-columns:1fr 1fr}.console-metric:nth-child(3){border-left:0;border-top:1px solid var(--console-line)}.console-metric:nth-child(4){border-top:1px solid var(--console-line)}
  .console-chain{overflow-x:auto}.console-chain__steps{min-width:680px}.mission-decision-lane{overflow-x:auto;grid-template-columns:140px 22px 140px 22px 140px 22px 140px}.mission-impact-grid{grid-template-columns:1fr 1fr}.mission-impact-grid div:nth-child(2){border-right:0}.mission-impact-grid div:nth-child(-n+2){border-bottom:1px solid #e1e6e2}
}
@media(max-width:560px){
  .console-page-header{align-items:flex-start;flex-direction:column}.console-header-actions{width:100%}.console-header-actions .console-button{display:inline-flex!important;flex:1}.mission-status-strip{grid-template-columns:1fr}.mission-status-strip div{border-right:0;border-bottom:1px solid var(--console-line)}.mission-status-strip div:last-child{border-bottom:0}.mission-impact-grid{grid-template-columns:1fr}.mission-impact-grid div:nth-child(n){border-right:0;border-bottom:1px solid #e1e6e2}.mission-impact-grid div:last-child{border-bottom:0}.mission-execution-table__head,.mission-execution-table>div{grid-template-columns:1.25fr .55fr .55fr .9fr;padding:0 10px}
}

/* FLEX console v5 — judge-first operating demo, graphite and indigo. */
:root {
  --console-ink:#191a20;
  --console-muted:#66666f;
  --console-fog:#f4f3f0;
  --console-surface:#ffffff;
  --console-line:#dcdcdf;
  --console-brand:#4b466f;
  --console-brand-soft:#f0eef6;
  --console-hold:#986116;
}
html,body.console-page { color:var(--console-ink); background:var(--console-fog); }
.console-topbar { background:#fbfaf8; border-color:#dedde0; }
.console-brand { border-color:#e2e1e4; }
.console-brand__name { color:#1d1d24; }
.console-brand__product,.console-scope__environment { color:#696771; }
.console-menu-button { color:#34313f; border-color:#d7d5dc; }
.console-menu-button:hover { color:#272331; background:#f0eef6; border-color:#aaa5bd; }
.console-environment { color:#514b70; background:#f2f0f6; border-color:#ddd9e8; }
.console-sidebar { background:#f8f7f5; border-color:#dfdee1; }
.console-nav__label { color:#7a7880; }
.console-nav a { color:#55545d; }
.console-nav a:hover { color:#2d293d; background:#efedf3; }
.console-nav a[aria-current="page"] { color:#fff; background:#4b466f; }
.console-sidebar__footer { color:#65636b; background:#eeece9; border-color:#dcd9d5; }
.console-breadcrumbs,.console-page-header p { color:#6a6971; }
.console-button { color:#34313e; background:#fff; border-color:#cfced3; }
.console-button:hover { color:#282431; background:#f4f2f7; border-color:#aaa6b7; }
.console-button--primary { color:#fff; background:#4b466f; border-color:#4b466f; }
.console-button--primary:hover { color:#fff; background:#393552; border-color:#393552; }
.console-button:focus-visible,.console-nav a:focus-visible,.console-menu-button:focus-visible { outline:3px solid rgba(75,70,111,.28); outline-offset:2px; }
.console-button:disabled { color:#aaa8b0; background:#e9e7eb; border-color:#dedce2; }
.console-snapshot { color:#56545e; background:#efedf3; border-color:#ddd9e5; }
.console-snapshot__boundary { color:#625e74; }
.console-metric span,.console-chain__step strong { color:#62616a; }
.console-chain__step button { color:#4b466f; border-color:#aaa5be; }
.console-chain__step:not(:last-child)::after { background:#d5d2dc; }
.console-workbench,.mission-panel,.mission-status-strip { border-color:#dcdcdf; }
.console-workbench__toolbar,.console-inspector,.mission-decision-meta,.mission-active-decision__footer,.mission-execution-table__head { background:#f8f7f5; }
.console-table tbody tr[aria-selected="true"],.console-table tbody tr:hover { background:#f1eff6; }
.console-tag,.mission-badge { color:#514b70; background:#f0eef6; border-color:#ddd9e8; }
.mission-badge--hold { color:#7b5013; background:#f7f0e5; border-color:#e5d2b2; }
.mission-status-strip i { background:#2f7567; }
.mission-status-strip strong,.mission-panel__header h2,.mission-decision-lane strong,.mission-impact-grid strong,.mission-active-decision__footer strong,.mission-approval-scope dd,.mission-execution-table strong { color:#292831; }
.mission-status-strip span,.mission-kicker,.mission-decision-lane span,.mission-impact-grid span,.mission-impact-grid small,.mission-approval-scope dt { color:#74727b; }
.mission-decision-lane__proposal { background:#f1eff7!important; }
.mission-decision-lane>b { color:#6d687d; background:#f3f1f6; border-color:#dddae4; }
.mission-approval-boundary { color:#73501c; background:#faf4e9; border-color:#ead8ba; }
.mission-agent-rail li.is-active { background:#f1eff7; }
.mission-agent-rail li.is-complete b { color:#fff; background:#2f7567; border-color:#2f7567; }
.mission-execution-table em { color:#58546c; }

.mission-guided-brief {
  display:grid;
  grid-template-columns:minmax(260px,1.25fr) minmax(330px,1fr) minmax(190px,.52fr);
  gap:24px;
  align-items:center;
  margin-bottom:10px;
  padding:22px 24px;
  color:#f7f6fa;
  background:#252330;
  border:1px solid #353143;
  border-radius:7px;
}
.mission-guided-brief__copy { max-width:620px; }
.mission-guided-brief .mission-kicker { color:#b7b1cf; }
.mission-guided-brief h2 { max-width:590px; margin:7px 0 8px; color:#fff; font-size:23px; font-weight:660; line-height:1.12; letter-spacing:-.025em; }
.mission-guided-brief p { max-width:610px; margin:0; color:#c5c2cc; font-size:11px; line-height:1.55; }
.mission-guided-steps { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.mission-guided-steps li { display:grid; grid-template-columns:24px 58px minmax(0,1fr); gap:9px; align-items:center; min-height:34px; padding:5px 9px; border:1px solid #403c4e; border-radius:5px; }
.mission-guided-steps b { display:grid; place-items:center; width:22px; height:22px; color:#252330; background:#d6d1e7; border-radius:4px; font:700 9px/1 var(--console-data); }
.mission-guided-steps span { color:#a9a5b2; font-size:8px; letter-spacing:.08em; text-transform:uppercase; }
.mission-guided-steps strong { color:#f4f2f8; font-size:10px; font-weight:580; }
.mission-guided-result { min-width:0; padding:15px 16px; color:#22212a; background:#f3f1f7; border:1px solid #d8d3e5; border-radius:5px; }
.mission-guided-result span,.mission-guided-result small { display:block; }
.mission-guided-result span { color:#6d687b; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
.mission-guided-result strong { display:block; margin:9px 0 7px; color:#3f3a61; font:720 19px/1.1 var(--console-data); letter-spacing:-.02em; }
.mission-guided-result small { color:#5f5b6a; font-size:9px; line-height:1.4; }

@media(max-width:1180px){
  .mission-guided-brief{grid-template-columns:1fr 1fr}.mission-guided-result{grid-column:1/-1;display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center}.mission-guided-result strong{margin:0}.mission-guided-result small{text-align:right}
}
@media(max-width:760px){
  .mission-guided-brief{grid-template-columns:1fr;gap:16px;padding:19px}.mission-guided-result{grid-column:auto;display:block}.mission-guided-result strong{margin:9px 0 7px}.mission-guided-result small{text-align:left}.mission-guided-brief h2{font-size:20px}
}
@media(max-width:560px){
  .mission-guided-steps li{grid-template-columns:24px 54px minmax(0,1fr)}
}

/* v5.1 — remove legacy green specificity from shared console surfaces. */
.console-page a.console-button--primary,.console-button--primary { color:#fff; background:#4b466f; border-color:#4b466f; }
.console-page a.console-button--primary:hover,.console-button--primary:hover { color:#fff; background:#393552; border-color:#393552; }
.console-environment::before { background:#77709d; }
.console-sidebar__footer strong { color:#302d3b; }
.console-snapshot strong { color:#373249; }
.console-chain__step button { color:#514b70; background:#f0eef6; border-color:#aaa5be; }
.console-table th { color:#5e5c65; background:#faf9f7; }
.console-table td { color:#46454d; }
.console-table tbody tr:hover { background:#f7f5fa; }
.console-table tbody tr[data-selected="true"] { background:#f1eff6; box-shadow:inset 3px 0 #77709d; }
.console-record button { color:#26242d; }
.console-record small,.console-mono { color:#696771; }
.console-status { color:#585273; }
.console-status::before { background:#77709d; }
.console-inspector { background:#faf9f7; border-color:#dfdee2; }
.console-tag-list li { color:#514b70; background:#f1eff6; border-color:#ddd9e8; }
.console-lineage b,.console-toast { background:#4b466f; border-color:#4b466f; }

/* FLEX console v6 — dark-by-default visual control plane. */
.console-theme-toggle { display:grid; place-items:center; width:34px; height:34px; padding:0; color:#74708b; background:transparent; border:1px solid #d6d3dd; border-radius:5px; cursor:pointer; }
.console-theme-toggle:hover { color:#4b466f; background:#f0eef6; border-color:#aaa5be; }
.console-theme-toggle:focus-visible { outline:3px solid rgba(114,105,170,.32); outline-offset:2px; }
.console-theme-toggle svg { display:none; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.console-theme-toggle__moon { fill:currentColor!important; stroke:none!important; }
html[data-console-theme="dark"] .console-theme-toggle__sun,html[data-console-theme="light"] .console-theme-toggle__moon { display:block; }

.autopilot-visual { position:relative; margin-bottom:12px; color:#eef3f8; background:#0e141b; border:1px solid #29323d; border-radius:8px; overflow:hidden; isolation:isolate; }
.autopilot-visual::before { position:absolute; inset:0; z-index:-1; background:rgba(47,130,246,.018); content:""; }
.autopilot-visual__header { display:flex; justify-content:space-between; gap:24px; align-items:center; min-height:66px; padding:13px 18px; border-bottom:1px solid #242936; }
.autopilot-visual__header h2 { margin:5px 0 0; color:#f7f8ff; font-size:20px; font-weight:660; letter-spacing:-.025em; }
.autopilot-visual__header .mission-kicker { display:flex; gap:7px; align-items:center; color:#8e94a8; }
.autopilot-visual__header .mission-kicker i { width:6px; height:6px; background:#43b59c; border-radius:50%; box-shadow:0 0 0 5px rgba(67,181,156,.09); animation:autopilot-pulse 1.8s ease-in-out infinite; }
.autopilot-visual__signal { display:flex; gap:12px; align-items:center; }
.autopilot-visual__signal span { color:#73798d; font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.autopilot-visual__signal strong { color:#d9dcef; font:600 11px/1 var(--console-data); }
.autopilot-visual__grid { display:grid; grid-template-columns:minmax(460px,1.7fr) minmax(300px,.65fr); min-height:302px; }
.autopilot-power { min-width:0; margin:0; padding:18px; border-right:1px solid #242936; }
.autopilot-power figcaption { display:flex; justify-content:space-between; gap:18px; align-items:center; }
.autopilot-power figcaption span { color:#858b9e; font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.autopilot-power figcaption strong { color:#e7e9f6; font:600 11px/1 var(--console-data); }
.autopilot-power svg { display:block; width:100%; height:210px; margin-top:10px; overflow:visible; }
.autopilot-power__grid { fill:none; stroke:#222735; stroke-width:1; }
.autopilot-power__bars { fill:#223246; opacity:.72; }
.autopilot-power__bars rect { transform-box:fill-box; transform-origin:center bottom; animation:autopilot-bar 1.2s cubic-bezier(.2,.8,.2,1) both; }
.autopilot-power__bars rect:nth-child(2){animation-delay:.08s}.autopilot-power__bars rect:nth-child(3){animation-delay:.16s}.autopilot-power__bars rect:nth-child(4){animation-delay:.24s}
.autopilot-power__area { fill:#2f82f6; opacity:.09; }
.autopilot-power__line { fill:none; stroke:#65a6ff; stroke-width:3; stroke-linecap:round; stroke-dasharray:760; stroke-dashoffset:760; animation:autopilot-draw 2.2s cubic-bezier(.2,.75,.2,1) forwards; }
.autopilot-power__forecast { fill:none; stroke:#46c7b3; stroke-width:2; stroke-linecap:round; stroke-dasharray:4 7; animation:autopilot-dash 6s linear infinite; }
.autopilot-power__cursor { fill:#f3ba67; stroke:#0e1119; stroke-width:4; animation:autopilot-cursor 1.8s ease-in-out infinite; }
.autopilot-power__cut { stroke:#b88037; stroke-width:1; stroke-dasharray:3 5; opacity:.7; }
.autopilot-power__labels { fill:#62697d; font:600 8px/1 var(--console-data); letter-spacing:.08em; }
.autopilot-power__legend { display:flex; gap:18px; margin-top:1px; color:#858b9d; font-size:8px; }
.autopilot-power__legend span { display:flex; gap:6px; align-items:center; }
.autopilot-power__legend i { width:13px; height:2px; background:#65a6ff; }
.autopilot-power__legend span+span i { background:#46c7b3; }

.autopilot-orbit { position:relative; display:grid; place-items:center; min-height:302px; border-right:1px solid #242936; overflow:hidden; }
.autopilot-orbit__halo { position:absolute; width:188px; height:188px; background:#6f61bf; border-radius:50%; opacity:.08; filter:blur(30px); animation:autopilot-breathe 4s ease-in-out infinite; }
.autopilot-orbit__ring { position:absolute; border:1px solid #34394a; border-radius:50%; }
.autopilot-orbit__ring--outer { width:184px; height:184px; animation:autopilot-orbit 20s linear infinite; }
.autopilot-orbit__ring--inner { width:128px; height:128px; border-color:#292e3c; border-style:dashed; animation:autopilot-orbit 13s linear infinite reverse; }
.autopilot-orbit__ring--outer::before,.autopilot-orbit__ring--inner::before { position:absolute; inset:8px; border:1px solid rgba(126,116,195,.13); border-radius:50%; content:""; }
.autopilot-orbit__node { position:absolute; width:9px; height:9px; background:#8e83e2; border:2px solid #181b24; border-radius:50%; box-shadow:0 0 0 4px rgba(142,131,226,.12),0 0 18px rgba(142,131,226,.7); animation:autopilot-node 2s ease-in-out infinite; }
.autopilot-orbit__node--1{top:-5px;left:86px}.autopilot-orbit__node--2{top:54px;right:-5px;animation-delay:.2s}.autopilot-orbit__node--3{right:24px;bottom:9px;animation-delay:.4s}.autopilot-orbit__node--4{bottom:9px;left:24px;animation-delay:.6s}.autopilot-orbit__node--5{top:54px;left:-5px;animation-delay:.8s}
.autopilot-orbit__core { position:relative; z-index:2; display:grid; place-items:center; width:92px; height:92px; background:#151923; border:1px solid #46405f; border-radius:50%; box-shadow:0 0 34px rgba(102,90,174,.17); }
.autopilot-orbit__core img { width:29px; height:29px; margin-bottom:2px; }
.autopilot-orbit__core strong { color:#f2f0fb; font:680 12px/1 var(--console-data); letter-spacing:.12em; }
.autopilot-orbit__core span { margin-top:4px; color:#64cbb4; font:650 7px/1 var(--console-data); letter-spacing:.1em; }
.autopilot-orbit__caption { position:absolute; bottom:18px; display:flex; gap:9px; color:#6f7588; font-size:7px; text-transform:uppercase; letter-spacing:.05em; }

.autopilot-outcome { display:flex; flex-direction:column; justify-content:center; gap:14px; min-width:0; padding:20px; background:#101720; }
.autopilot-outcome__decision { padding-bottom:14px; border-bottom:1px solid #29323d; }
.autopilot-outcome__decision span { color:#7f8b99; font-size:8px; text-transform:uppercase; letter-spacing:.09em; }
.autopilot-outcome__decision strong { display:block; margin-top:7px; color:#f4f7fb; font-size:17px; font-weight:650; letter-spacing:-.02em; }
.autopilot-outcome__decision p { margin:7px 0 0; color:#9aa6b3; font-size:10px; line-height:1.55; }
.autopilot-outcome__gauge { position:relative; display:grid; place-items:center; width:122px; height:122px; margin:0 auto; }
.autopilot-outcome__gauge svg { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.autopilot-outcome__gauge circle { fill:none; stroke:#292e3d; stroke-width:8; }
.autopilot-outcome__gauge .autopilot-outcome__gauge-value { stroke:#65a6ff; stroke-linecap:round; stroke-dasharray:302; stroke-dashoffset:82; animation:autopilot-gauge 1.5s cubic-bezier(.2,.8,.2,1) both; }
.autopilot-outcome__gauge>div { position:relative; z-index:1; text-align:center; }
.autopilot-outcome__gauge strong { display:block; color:#f2f1fa; font:720 23px/1 var(--console-data); }
.autopilot-outcome__gauge span { display:block; margin-top:4px; color:#767c8f; font-size:8px; text-transform:uppercase; }
.autopilot-outcome__stats { display:grid; grid-template-columns:1fr 1fr; border:1px solid #292e3b; border-radius:5px; }
.autopilot-outcome__stats div { min-width:0; padding:10px; }
.autopilot-outcome__stats div+div { border-left:1px solid #292e3b; }
.autopilot-outcome__stats span { display:block; color:#6f7588; font-size:7px; text-transform:uppercase; }
.autopilot-outcome__stats strong { display:block; overflow:hidden; margin-top:5px; color:#dfe2ef; font:650 10px/1.15 var(--console-data); text-overflow:ellipsis; }
.autopilot-outcome__hold { display:grid; grid-template-columns:7px 1fr auto; gap:8px; align-items:center; padding:9px 10px; color:#9a8494; background:#1a171c; border:1px solid #3a2c31; border-radius:5px; }
.autopilot-outcome__hold i { width:6px; height:6px; background:#d79246; border-radius:50%; box-shadow:0 0 10px rgba(215,146,70,.45); }
.autopilot-outcome__hold span { font-size:8px; letter-spacing:.06em; }
.autopilot-outcome__hold strong { color:#e8af66; font:680 9px/1 var(--console-data); }
.autopilot-flow { display:grid; grid-template-columns:auto minmax(18px,1fr) auto minmax(18px,1fr) auto minmax(18px,1fr) auto minmax(18px,1fr) auto; gap:9px; align-items:center; min-height:42px; padding:0 18px; color:#787e91; border-top:1px solid #242936; font-size:8px; text-transform:uppercase; letter-spacing:.07em; }
.autopilot-flow i { height:1px; background:#33394a; position:relative; overflow:hidden; }
.autopilot-flow i::after { position:absolute; top:0; width:28%; height:1px; background:#8e83e2; content:""; animation:autopilot-flow 2.4s ease-in-out infinite; }
.autopilot-flow strong { color:#c9cbe0; font-weight:600; }
.autopilot-flow b { color:#dfa85f; font-weight:650; }
.autopilot-visual__action { display:flex; justify-content:flex-end; padding:0 18px 16px; }
.autopilot-visual__action .console-button { min-width:220px; }

html[data-console-theme="dark"] { color-scheme:dark; --console-ink:#eef3f8; --console-muted:#96a0ac; --console-fog:#0a0f15; --console-surface:#111821; --console-line:#29323d; --console-brand:#2f82f6; --console-brand-soft:#14243a; }
html[data-console-theme="dark"] body.console-page { color:#e8edf3; background:#0a0f15; }
html[data-console-theme="dark"] .console-topbar { background:#0d131a; border-color:#27303a; }
html[data-console-theme="dark"] .console-brand { border-color:#232732; }
html[data-console-theme="dark"] .console-brand__name,html[data-console-theme="dark"] .console-scope__org,html[data-console-theme="dark"] .console-page-header h1 { color:#f1f2f7; }
html[data-console-theme="dark"] .console-brand__product,html[data-console-theme="dark"] .console-scope__environment,html[data-console-theme="dark"] .console-page-header p,html[data-console-theme="dark"] .console-breadcrumbs { color:#858999; }
html[data-console-theme="dark"] .console-menu-button,html[data-console-theme="dark"] .console-theme-toggle { color:#b0adbf; background:#12151d; border-color:#2b303c; }
html[data-console-theme="dark"] .console-menu-button:hover,html[data-console-theme="dark"] .console-theme-toggle:hover { color:#ddd9f0; background:#1c1c2a; border-color:#4c4768; }
html[data-console-theme="dark"] .console-environment { color:#b5b0d2; background:#181824; border-color:#2c2c3c; }
html[data-console-theme="dark"] .console-sidebar { background:#0c0f15; border-color:#232732; }
html[data-console-theme="dark"] .console-nav__label { color:#5f6472; }
html[data-console-theme="dark"] .console-nav a { color:#9296a5; }
html[data-console-theme="dark"] .console-nav a:hover { color:#e5e3ed; background:#151821; }
html[data-console-theme="dark"] .console-nav a[aria-current="page"] { color:#f5f9ff; background:#1d4f86; }
html[data-console-theme="dark"] .console-sidebar__footer { color:#747987; background:#12151c; border-color:#252a34; }
html[data-console-theme="dark"] .console-sidebar__footer strong { color:#d3d5df; }
html[data-console-theme="dark"] .console-main { background:#090b10; }
html[data-console-theme="dark"] .console-button { color:#d8dae4; background:#12151c; border-color:#303541; }
html[data-console-theme="dark"] .console-button:hover { color:#fff; background:#1b1e28; border-color:#4b5060; }
html[data-console-theme="dark"] .console-page a.console-button--primary,html[data-console-theme="dark"] .console-button--primary { color:#fff; background:#246fd0; border-color:#3986ec; }
html[data-console-theme="dark"] .console-page a.console-button--primary:hover,html[data-console-theme="dark"] .console-button--primary:hover { background:#2f82f6; border-color:#65a6ff; }
html[data-console-theme="dark"] .console-snapshot,html[data-console-theme="dark"] .console-metrics,html[data-console-theme="dark"] .console-chain,html[data-console-theme="dark"] .console-workbench,html[data-console-theme="dark"] .mission-panel,html[data-console-theme="dark"] .mission-status-strip { color:#cfd2dc; background:#11141c; border-color:#252a36; }
html[data-console-theme="dark"] .console-metric { background:#11141c; }
html[data-console-theme="dark"] .console-snapshot strong,html[data-console-theme="dark"] .console-metric strong,html[data-console-theme="dark"] .console-section-heading h2,html[data-console-theme="dark"] .mission-panel__header h2,html[data-console-theme="dark"] .mission-status-strip strong { color:#eceef5; }
html[data-console-theme="dark"] .console-snapshot__boundary,html[data-console-theme="dark"] .console-metric span,html[data-console-theme="dark"] .console-chain__step strong,html[data-console-theme="dark"] .mission-status-strip span,html[data-console-theme="dark"] .mission-kicker { color:#858a99; }
html[data-console-theme="dark"] .console-metric+ .console-metric,html[data-console-theme="dark"] .mission-status-strip div { border-color:#252a36; }
html[data-console-theme="dark"] .console-chain__step button { color:#bdb7df; background:#1d1d2b; border-color:#4c4768; }
html[data-console-theme="dark"] .console-chain__step:not(:last-child)::after { background:#303440; }
html[data-console-theme="dark"] .console-workbench__toolbar,html[data-console-theme="dark"] .console-inspector,html[data-console-theme="dark"] .mission-decision-meta,html[data-console-theme="dark"] .mission-active-decision__footer,html[data-console-theme="dark"] .mission-execution-table__head { background:#0f1218; border-color:#252a36; }
html[data-console-theme="dark"] .console-search input,html[data-console-theme="dark"] .console-select { color:#d7d9e3; background:#0d1016; border-color:#2a2f3a; }
html[data-console-theme="dark"] .console-search kbd { color:#858a99; background:#171a22; border-color:#2b303a; }
html[data-console-theme="dark"] .console-table th { color:#777c8d; background:#0f1218; border-color:#252a36; }
html[data-console-theme="dark"] .console-table td { color:#d3dae3; border-color:#29323d; }
html[data-console-theme="dark"] .console-table tbody tr:hover { background:#151721; }
html[data-console-theme="dark"] .console-table tbody tr[data-selected="true"] { background:#1a1927; box-shadow:inset 3px 0 #7770b0; }
html[data-console-theme="dark"] .console-record button { color:#edf0f6; }
html[data-console-theme="dark"] .console-record small,html[data-console-theme="dark"] .console-mono,html[data-console-theme="dark"] .console-count { color:#777c8b; }
html[data-console-theme="dark"] .console-status { color:#a9a3ce; }
html[data-console-theme="dark"] .console-status::before { background:#8e83c9; }
html[data-console-theme="dark"] .console-inspector { border-color:#252a36; }
html[data-console-theme="dark"] .console-inspector__header { background:#0f1218; }
html[data-console-theme="dark"] .console-inspector__header,html[data-console-theme="dark"] .console-inspector__section+ .console-inspector__section,html[data-console-theme="dark"] .console-definition dt,html[data-console-theme="dark"] .console-definition dd { border-color:#252a36; }
html[data-console-theme="dark"] .console-inspector__header h2,html[data-console-theme="dark"] .console-definition dd { color:#e2e4ed; }
html[data-console-theme="dark"] .console-inspector__eyebrow,html[data-console-theme="dark"] .console-inspector__header p,html[data-console-theme="dark"] .console-inspector__section h3,html[data-console-theme="dark"] .console-definition dt,html[data-console-theme="dark"] .console-inspector__section p { color:#858a99; }
html[data-console-theme="dark"] .console-tag-list li { color:#afa9d2; background:#1b1a28; border-color:#302e44; }
html[data-console-theme="dark"] .console-evidence,html[data-console-theme="dark"] .console-lineage li { color:#aeb2c0; background:#0e1117; border-color:#252a35; }
html[data-console-theme="dark"] .console-boundary,html[data-console-theme="dark"] .mission-approval-boundary { color:#c9a16c; background:#1b1714; border-color:#453525; }
html[data-console-theme="dark"] .mission-panel__header,html[data-console-theme="dark"] .mission-decision-meta,html[data-console-theme="dark"] .mission-active-decision__footer,html[data-console-theme="dark"] .mission-execution-table>div,html[data-console-theme="dark"] .mission-approval-scope div,html[data-console-theme="dark"] .mission-agent-rail li { border-color:#252a36; }
html[data-console-theme="dark"] .mission-decision-lane,html[data-console-theme="dark"] .mission-impact-grid { border-color:#2a2f3b; }
html[data-console-theme="dark"] .mission-decision-lane>div,html[data-console-theme="dark"] .mission-impact-grid,html[data-console-theme="dark"] .mission-decision-lane__proposal { background:#0e1117!important; }
html[data-console-theme="dark"] .mission-decision-lane>b { color:#777b8c; background:#171a23; border-color:#2a2f3b; }
html[data-console-theme="dark"] .mission-decision-lane strong,html[data-console-theme="dark"] .mission-impact-grid strong,html[data-console-theme="dark"] .mission-active-decision__footer strong,html[data-console-theme="dark"] .mission-approval-scope dd,html[data-console-theme="dark"] .mission-execution-table strong { color:#e0e2ea; }
html[data-console-theme="dark"] .mission-decision-lane span,html[data-console-theme="dark"] .mission-decision-lane small,html[data-console-theme="dark"] .mission-impact-grid span,html[data-console-theme="dark"] .mission-impact-grid small,html[data-console-theme="dark"] .mission-approval-scope dt,html[data-console-theme="dark"] .mission-execution-table span { color:#9aa5b1; }
html[data-console-theme="dark"] .mission-badge { color:#b4aed7; background:#1b1a28; border-color:#302e44; }
html[data-console-theme="dark"] .mission-badge--hold { color:#d3a76e; background:#1e1914; border-color:#483624; }
html[data-console-theme="dark"] .mission-agent-rail li.is-active { background:#1a1928; }
html[data-console-theme="dark"] .mission-execution-table em { color:#a8a4bc; }
html[data-console-theme="dark"] .mission-real-gold__metrics,html[data-console-theme="dark"] .mission-real-gold__controls,html[data-console-theme="dark"] .mission-real-gold__trace,html[data-console-theme="dark"] .mission-real-gold__footer,html[data-console-theme="dark"] .mission-real-gold__outcome>div { background:#0f1218; border-color:#252a36; }

html[data-console-theme="light"] .autopilot-visual { color:#25242d; background:#f8f7fb; border-color:#d9d6e4; }
html[data-console-theme="light"] .autopilot-visual::before { background-image:radial-gradient(circle at 70% 48%,rgba(104,91,183,.09),transparent 29%),radial-gradient(circle at 18% 8%,rgba(52,121,167,.08),transparent 24%); }
html[data-console-theme="light"] .autopilot-visual__header,html[data-console-theme="light"] .autopilot-power,html[data-console-theme="light"] .autopilot-orbit,html[data-console-theme="light"] .autopilot-flow { border-color:#dedbe7; }
html[data-console-theme="light"] .autopilot-visual__header h2,html[data-console-theme="light"] .autopilot-power figcaption strong,html[data-console-theme="light"] .autopilot-outcome__gauge strong,html[data-console-theme="light"] .autopilot-outcome__stats strong { color:#292733; }
html[data-console-theme="light"] .autopilot-power__grid { stroke:#e3e0e9; }
html[data-console-theme="light"] .autopilot-power__bars { fill:#d8d3e5; }
html[data-console-theme="light"] .autopilot-orbit__ring { border-color:#d7d3e1; }
html[data-console-theme="light"] .autopilot-orbit__core { background:#fff; border-color:#c9c3d8; }
html[data-console-theme="light"] .autopilot-orbit__core strong { color:#302d3d; }
html[data-console-theme="light"] .autopilot-outcome__gauge circle { stroke:#dfdce6; }
html[data-console-theme="light"] .autopilot-outcome__stats { border-color:#dedbe5; }
html[data-console-theme="light"] .autopilot-outcome__stats div+div { border-color:#dedbe5; }
html[data-console-theme="light"] .autopilot-outcome__hold { background:#faf5ed; border-color:#ead7bb; }
html[data-console-theme="light"] .autopilot-flow i { background:#d9d5e2; }

@keyframes autopilot-draw{to{stroke-dashoffset:0}}
@keyframes autopilot-dash{to{stroke-dashoffset:-66}}
@keyframes autopilot-bar{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}
@keyframes autopilot-cursor{0%,100%{r:5;opacity:1}50%{r:8;opacity:.68}}
@keyframes autopilot-orbit{to{transform:rotate(360deg)}}
@keyframes autopilot-node{0%,100%{opacity:.55}50%{opacity:1;box-shadow:0 0 0 6px rgba(142,131,226,.13),0 0 22px rgba(142,131,226,.8)}}
@keyframes autopilot-breathe{0%,100%{transform:scale(.88);opacity:.06}50%{transform:scale(1.08);opacity:.12}}
@keyframes autopilot-gauge{from{stroke-dashoffset:302}}
@keyframes autopilot-flow{0%{left:-28%;opacity:0}20%,80%{opacity:1}100%{left:100%;opacity:0}}
@keyframes autopilot-pulse{0%,100%{opacity:.6}50%{opacity:1;box-shadow:0 0 0 7px rgba(67,181,156,.07)}}

@media(max-width:1180px){.autopilot-visual__grid{grid-template-columns:minmax(360px,1.3fr) minmax(260px,.7fr)}}
@media(max-width:760px){.autopilot-visual__grid{grid-template-columns:1fr}.autopilot-power{border-right:0;border-bottom:1px solid #29323d}.autopilot-outcome{grid-column:auto;display:grid;grid-template-columns:1fr 118px;align-items:center}.autopilot-outcome__stats,.autopilot-outcome__hold{grid-column:1/-1}}
@media(max-width:520px){.autopilot-visual__header{align-items:flex-start;flex-direction:column;gap:9px}.autopilot-visual__signal{width:100%;justify-content:space-between}.autopilot-power{padding:14px}.autopilot-power svg{height:180px}.autopilot-outcome{grid-template-columns:1fr}.autopilot-outcome__gauge{width:112px;height:112px}.console-environment{display:none}}

/* FLEX console v7 — operational hierarchy: one primary action, high-contrast readback. */
.mission-run { min-width:104px; justify-content:center; font-weight:650; }
html[data-console-theme="dark"] .console-sidebar { background:#0c1218; border-color:#27303a; }
html[data-console-theme="dark"] .console-main { background:#0a0f15; }
html[data-console-theme="dark"] .console-page-header p { color:#9aa5b1; }
html[data-console-theme="dark"] .mission-panel { background:#111821; border-color:#29323d; }
html[data-console-theme="dark"] .mission-agent-rail li strong,
html[data-console-theme="dark"] .mission-real-gold__trace strong,
html[data-console-theme="dark"] .mission-real-gold__outcome strong { color:#edf2f7; }
html[data-console-theme="dark"] .mission-agent-rail li span,
html[data-console-theme="dark"] .mission-agent-rail li em,
html[data-console-theme="dark"] .mission-real-gold__trace span,
html[data-console-theme="dark"] .mission-real-gold__outcome span { color:#9aa5b1; }
html[data-console-theme="dark"] .mission-agent-rail li b { color:#dffbf4; background:#167565; border-color:#3bbca5; }
html[data-console-theme="dark"] .mission-agent-rail li.is-active { background:#12243a; }
html[data-console-theme="dark"] .mission-badge { color:#8cc0ff; background:#13253a; border-color:#274f78; }
html[data-console-theme="dark"] .autopilot-outcome__hold { color:#b9c2cc; background:#151a20; border-color:#39424d; }
html[data-console-theme="dark"] .autopilot-outcome__hold strong { color:#f0b35c; }
html[data-console-theme="dark"] .mission-approval-boundary { color:#d8ad6b; background:#1b1712; border-color:#493821; }
html[data-console-theme="light"] .autopilot-outcome__decision strong { color:#202833; }
html[data-console-theme="light"] .autopilot-outcome__decision p { color:#657180; }
html[data-console-theme="light"] .autopilot-outcome { background:#f3f6f9; }
@media(prefers-reduced-motion:reduce){.autopilot-visual *{animation:none!important}.console-topbar,.console-sidebar,.console-panel,.mission-panel{transition:none!important}}

/* FLEX console v8 — graphite surfaces, restrained signal color, readable evidence. */
html[data-console-theme="dark"] {
  --console-ink:#edf2f7;
  --console-muted:#93a0ad;
  --console-fog:#080b0f;
  --console-surface:#0d1218;
  --console-line:#222c36;
  --console-brand:#35c29f;
  --console-brand-soft:#12261f;
  --console-hold:#d3a15c;
  --console-shadow:0 18px 50px rgba(0,0,0,.2);
}
html[data-console-theme="dark"] body.console-page,
html[data-console-theme="dark"] .console-main { color:#edf2f7; background:#080b0f; }
html[data-console-theme="dark"] .console-topbar { background:#0a0e13; border-color:#202832; }
html[data-console-theme="dark"] .console-sidebar { background:#090d12; border-color:#202832; }
html[data-console-theme="dark"] .console-brand__name,
html[data-console-theme="dark"] .console-scope__org { color:#f3f6f9; }
html[data-console-theme="dark"] .console-brand__product,
html[data-console-theme="dark"] .console-scope__environment { color:#8b98a6; }
html[data-console-theme="dark"] .console-environment { color:#aeb8c4; background:#10151c; border-color:#27313c; }
html[data-console-theme="dark"] .console-environment::before { background:#35c29f; }
html[data-console-theme="dark"] .console-nav__label { color:#687584; }
html[data-console-theme="dark"] .console-nav a { color:#9aa6b2; background:transparent; }
html[data-console-theme="dark"] .console-nav a:hover { color:#eef3f7; background:#10161d; }
html[data-console-theme="dark"] .console-nav a[aria-current="page"] {
  color:#effaf7;
  background:#11241f;
  box-shadow:inset 2px 0 #35c29f;
}
html[data-console-theme="dark"] .console-sidebar__footer { color:#7f8b97; background:#0d1319; border-color:#222c36; }
html[data-console-theme="dark"] .console-sidebar__footer strong { color:#dce3e9; }
html[data-console-theme="dark"] .console-menu-button,
html[data-console-theme="dark"] .console-theme-toggle { color:#aeb8c4; background:#0f141b; border-color:#27313c; }
html[data-console-theme="dark"] .console-page a.console-button--primary,
html[data-console-theme="dark"] .console-button--primary {
  color:#07120f;
  background:#5bd2b2;
  border-color:#72ddbf;
  box-shadow:0 8px 24px rgba(53,194,159,.16);
}
html[data-console-theme="dark"] .console-page a.console-button--primary:hover,
html[data-console-theme="dark"] .console-button--primary:hover { color:#06100d; background:#79dfc3; border-color:#8fe7ce; }
html[data-console-theme="dark"] .mission-panel,
html[data-console-theme="dark"] .console-snapshot,
html[data-console-theme="dark"] .console-metrics,
html[data-console-theme="dark"] .console-chain,
html[data-console-theme="dark"] .console-workbench,
html[data-console-theme="dark"] .mission-evidence-row { background:#0d1218; border-color:#222c36; box-shadow:none; }
html[data-console-theme="dark"] .mission-panel__header,
html[data-console-theme="dark"] .console-workbench__toolbar { background:#0f151c; border-color:#222c36; }
html[data-console-theme="dark"] .mission-panel__header h2,
html[data-console-theme="dark"] .console-section-heading h2 { color:#edf2f7; }
html[data-console-theme="dark"] .mission-kicker { color:#7f8c99; }
html[data-console-theme="dark"] .mission-badge,
html[data-console-theme="dark"] .mission-run-state { color:#aab5c0; background:#111922; border-color:#2b3743; }
html[data-console-theme="dark"] .mission-badge--hold { color:#e0b16d; background:#1c1711; border-color:#443521; }
html[data-console-theme="dark"] .autopilot-visual { background:#0c1117; border-color:#222c36; }
html[data-console-theme="dark"] .autopilot-power { background:#0c1117; border-color:#222c36; }
html[data-console-theme="dark"] .autopilot-outcome { background:#0f161e; }
html[data-console-theme="dark"] .autopilot-outcome__decision { border-color:#27313c; }
html[data-console-theme="dark"] .autopilot-outcome__decision span,
html[data-console-theme="dark"] .autopilot-outcome__gauge span,
html[data-console-theme="dark"] .autopilot-outcome__stats span { color:#7f8b98; }
html[data-console-theme="dark"] .autopilot-outcome__decision strong,
html[data-console-theme="dark"] .autopilot-outcome__gauge strong,
html[data-console-theme="dark"] .autopilot-outcome__stats strong { color:#eef3f7; }
html[data-console-theme="dark"] .autopilot-outcome__decision p { color:#9aa6b2; }
html[data-console-theme="dark"] .autopilot-outcome__gauge circle { stroke:#28323e; }
html[data-console-theme="dark"] .autopilot-outcome__gauge .autopilot-outcome__gauge-value { stroke:#5bd2b2; }
html[data-console-theme="dark"] .autopilot-outcome__stats { border-color:#28323e; }
html[data-console-theme="dark"] .autopilot-outcome__stats div+div { border-color:#28323e; }
html[data-console-theme="dark"] .autopilot-outcome__hold { color:#a7b1bc; background:#15130f; border-color:#3e3020; }
html[data-console-theme="dark"] .autopilot-outcome__hold strong { color:#e0aa60; }
html[data-console-theme="dark"] .mission-decision-lane,
html[data-console-theme="dark"] .mission-impact-grid,
html[data-console-theme="dark"] .mission-compare,
html[data-console-theme="dark"] .mission-agent-contract,
html[data-console-theme="dark"] .mission-lifecycle__rail,
html[data-console-theme="dark"] .mission-benchmark__table,
html[data-console-theme="dark"] .mission-real-gold__rail,
html[data-console-theme="dark"] .mission-real-gold__outcome { background:#0a0f14; border-color:#27313b; }
html[data-console-theme="dark"] .mission-decision-lane>div,
html[data-console-theme="dark"] .mission-impact-grid,
html[data-console-theme="dark"] .mission-decision-lane__proposal,
html[data-console-theme="dark"] .mission-compare div,
html[data-console-theme="dark"] .mission-agent-contract,
html[data-console-theme="dark"] .mission-real-gold__controls,
html[data-console-theme="dark"] .mission-real-gold__trace,
html[data-console-theme="dark"] .mission-real-gold__footer,
html[data-console-theme="dark"] .mission-real-gold__outcome>div { background:#0d1319!important; border-color:#27313b; }
html[data-console-theme="dark"] .mission-real-gold__selection,
html[data-console-theme="dark"] .mission-real-gold__controls select,
html[data-console-theme="dark"] .mission-chart__empty,
html[data-console-theme="dark"] .mission-benchmark__head,
html[data-console-theme="dark"] .mission-evidence-row div { color:#d9e0e6; background:#101720; border-color:#27313b; }
html[data-console-theme="dark"] .mission-real-gold__selection strong,
html[data-console-theme="dark"] .mission-real-gold__controls select,
html[data-console-theme="dark"] .mission-real-gold__rail strong,
html[data-console-theme="dark"] .mission-real-gold__outcome strong,
html[data-console-theme="dark"] .mission-benchmark__row strong,
html[data-console-theme="dark"] .mission-evidence-row strong { color:#e9eef3; }
html[data-console-theme="dark"] .mission-real-gold__selection span,
html[data-console-theme="dark"] .mission-real-gold__selection small,
html[data-console-theme="dark"] .mission-real-gold__facts dt,
html[data-console-theme="dark"] .mission-real-gold__facts dd,
html[data-console-theme="dark"] .mission-real-gold__rail span,
html[data-console-theme="dark"] .mission-real-gold__rail code,
html[data-console-theme="dark"] .mission-real-gold__footer,
html[data-console-theme="dark"] .mission-benchmark__summary span,
html[data-console-theme="dark"] .mission-benchmark__summary small,
html[data-console-theme="dark"] .mission-benchmark__row,
html[data-console-theme="dark"] .mission-benchmark__row em,
html[data-console-theme="dark"] .mission-evidence-row span,
html[data-console-theme="dark"] .mission-evidence-row code { color:#8794a1; }
html[data-console-theme="dark"] .mission-real-gold__rail b,
html[data-console-theme="dark"] .mission-agent-rail li b,
html[data-console-theme="dark"] .mission-lifecycle__rail b { color:#dffbf3; background:#176f60; border-color:#35c29f; box-shadow:none; }
html[data-console-theme="dark"] .mission-real-gold__rail article[data-state="verified"] b { background:#269b83; }
html[data-console-theme="dark"] .mission-real-gold__rail article[data-state="verified"] em,
html[data-console-theme="dark"] .mission-agent-rail li[data-state="complete"] em { color:#58d1b2; }
html[data-console-theme="dark"] .mission-real-gold__rail article,
html[data-console-theme="dark"] .mission-benchmark__summary div,
html[data-console-theme="dark"] .mission-benchmark__row,
html[data-console-theme="dark"] .mission-lifecycle__rail div,
html[data-console-theme="dark"] .mission-execution-proof__body>*+*,
html[data-console-theme="dark"] .mission-evidence-row div { border-color:#27313b; }
html[data-console-theme="dark"] .mission-benchmark__row[data-state="verified"] { background:#10201c; }
html[data-console-theme="dark"] .mission-benchmark__row[data-state="verified"] strong,
html[data-console-theme="dark"] .mission-benchmark__row[data-state="verified"] em { color:#67d4b7; }
html[data-console-theme="dark"] .mission-control-lock { background:#17130e; }
html[data-console-theme="dark"] .mission-control-lock>span,
html[data-console-theme="dark"] .mission-control-lock>strong { color:#dfa65b; }
html[data-console-theme="dark"] .mission-control-lock p,
html[data-console-theme="dark"] .mission-control-lock code { color:#a79b8b; }
html[data-console-theme="dark"] .mission-control-lock button { color:#b0a493; background:#211a12; border-color:#44351f; }
html[data-console-theme="dark"] .mission-chart__empty { border-style:solid; }
html[data-console-theme="dark"] .mission-evidence-row { color:#d9e0e6; }
