:root {
  --ink: #1d313a;
  --muted: #77858c;
  --line: #e6ebed;
  --canvas: #f5f7f8;
  --green: #1d6c59;
  --green-dark: #163f39;
  --green-light: #eaf4ee;
  --amber: #b77623;
  --amber-light: #fff5e6;
  --violet: #7754b6;
  --violet-light: #f1edf9;
  --red: #bc574b;
  --radius: 12px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #7dbbb0;
  outline-offset: 3px;
}
button {
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 620;
  line-height: 1.25;
}
h2 {
  font-size: 15px;
  letter-spacing: -0.2px;
  font-weight: 620;
}
h3 {
  font-size: 14px;
  font-weight: 620;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 260px;
  background: var(--green-dark);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  padding: 34px 18px 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  color: var(--green-dark);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
}
.brand svg {
  width: 33px;
  height: 33px;
}
.brand-dot {
  color: #6ca38b;
}
.workspace-label {
  margin: 48px 12px 14px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #96a1a6;
  font-weight: 700;
}
nav {
  display: grid;
  gap: 6px;
}
.nav-link {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 13px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 520;
  color: #73828a;
}
.nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nav-link:hover {
  background: #f5f8f7;
  color: var(--green-dark);
}
.nav-link.active {
  background: #eaf2ee;
  color: var(--green-dark);
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  line-height: 20px;
  min-width: 20px;
  text-align: center;
  background: #f4ebde;
  color: var(--amber);
  border-radius: 5px;
}
.nav-link.active .nav-count {
  background: white;
  color: var(--green);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.workspace-card {
  background: #f6f9f7;
  border: 1px solid #e5eee9;
  border-radius: 9px;
  padding: 14px 12px;
  font-size: 11px;
}
.workspace-card strong {
  font-size: 11px;
  font-weight: 600;
}
.workspace-card .status-dot {
  margin-right: 7px;
}
.workspace-card p {
  font-size: 10px;
  margin: 6px 0 12px;
  color: #7b8d85;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.text-button span {
  margin-left: 6px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 8px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar {
  background: #e6eeeb;
  color: #3a6659;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 650;
}
.profile strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.profile small {
  font-size: 10px;
  color: #8c989e;
}
.workspace {
  margin-left: 228px;
  min-height: 100vh;
}
.topbar {
  height: 65px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8b979d;
}
.breadcrumb strong {
  font-weight: 500;
  color: #455861;
}
.slash {
  color: #c6cfd3;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.connection {
  font-size: 10px;
  color: #718479;
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b9b76;
  flex-shrink: 0;
}
.connection.offline {
  color: var(--red);
}
.connection.offline .status-dot {
  background: var(--red);
}
.demo-badge {
  font-size: 9px;
  letter-spacing: 0.7px;
  background: #f2f5f6;
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 4px;
  color: #75828a;
  font-weight: 600;
}
.menu-button {
  display: none !important;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 30px 36px 38px;
  min-height: calc(100vh - 115px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #81908e;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.date-label {
  font-size: 11px;
  color: #819096;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #dce4e5;
  border-radius: 6px;
  background: white;
  color: #53656d;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.button svg {
  width: 14px;
  height: 14px;
}
.button:hover:not(:disabled) {
  background: #f4f7f6;
  border-color: #bdcfca;
}
.button.primary {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.button.primary:hover:not(:disabled) {
  background: #22584e;
}
.button.light-green {
  background: var(--green-light);
  color: var(--green);
  border-color: #d9e8df;
}
.button.violet {
  background: var(--violet-light);
  color: var(--violet);
  border-color: #e4dcf1;
}
.button.danger {
  color: var(--red);
}
.icon-button {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #8b999f;
}
.icon-button:hover {
  background: #f0f5f3;
}
.icon-button svg {
  width: 16px;
  height: 16px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #eef3f5;
  border: 1px solid #e0e8eb;
  border-radius: 7px;
  color: #6f818a;
  font-size: 10px;
  margin-bottom: 22px;
}
.notice svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #7897a4;
}
.notice strong {
  color: #506873;
  font-weight: 600;
}
.notice button {
  margin-left: auto;
  white-space: nowrap;
  color: #617a86;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 22px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 18px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #7b8990;
  font-size: 10px;
}
.metric-icon {
  height: 26px;
  width: 26px;
  background: #f0f5f3;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #65917e;
}
.metric-icon svg {
  height: 13px;
  width: 13px;
}
.metric.amber .metric-icon {
  background: var(--amber-light);
  color: var(--amber);
}
.metric.violet .metric-icon {
  background: var(--violet-light);
  color: var(--violet);
}
.metric.blue .metric-icon {
  background: #edf3f8;
  color: #668aa9;
}
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 620;
  line-height: 1.25;
}
.metric-value small {
  font-size: 11px;
  color: #8b989e;
  font-weight: 450;
  letter-spacing: 0;
}
.metric-caption {
  font-size: 9px;
  color: #94a0a5;
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.metric-caption .status-dot {
  width: 4px;
  height: 4px;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  margin-bottom: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.card-header {
  padding: 19px 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-subtitle {
  font-size: 10px;
  margin-top: 4px;
  color: #91a0a6;
}
.card-body {
  padding: 19px 21px;
}
.card-header .subtle-label {
  font-size: 10px;
  color: #92a1a6;
}
.segmented {
  display: flex;
  gap: 3px;
  background: #f5f7f7;
  border: 1px solid #e8eded;
  padding: 3px;
  border-radius: 6px;
}
.segmented button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 9px;
  padding: 3px 8px;
  color: #8c999f;
}
.segmented button.active {
  background: white;
  color: #2d5a4b;
  box-shadow: 0 1px 3px #0000000a;
}
.chart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 22px 0;
  font-size: 9px;
  color: #87979e;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-mark {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #448c78;
}
.legend-mark.threshold {
  background: #c79348;
}
.chart {
  padding: 5px 15px 3px 10px;
}
.chart svg {
  width: 100%;
  height: 208px;
  overflow: visible;
}
.chart text {
  font-family: inherit;
  font-size: 9px;
  fill: #9aa7ac;
}
.chart .threshold-label {
  fill: #b88035;
  font-size: 9px;
}
.chart .peak-label {
  fill: #ab6d25;
  font-size: 9px;
  font-weight: 600;
}
.chart-footer {
  border-top: 1px solid #f0f3f4;
  display: flex;
  justify-content: space-between;
  padding: 9px 21px;
  font-size: 9px;
  color: #9aa6ab;
}
.chart-footer strong {
  font-weight: 500;
  color: #78908b;
}
.asset-visual {
  height: 130px;
  position: relative;
  background: #f7faf9;
  margin: 16px 17px 0;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.asset-visual svg {
  height: 115px;
  width: 200px;
}
.asset-visual .asset-identifier {
  position: absolute;
  top: 12px;
  left: 13px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #91a49a;
  font-weight: 650;
}
.asset-visual .asset-marker {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: #71a588;
  border-radius: 50%;
}
.asset-meta {
  padding: 13px 20px 15px;
}
.asset-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 650;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 550;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  background: #f1f4f5;
  color: #87959b;
  letter-spacing: 0;
}
.badge.green {
  color: #3c8066;
  background: #edf6f0;
}
.badge.amber {
  color: #b58135;
  background: #fff5e6;
}
.badge.violet {
  color: #7d62ad;
  background: #f1edf8;
}
.badge.blue {
  color: #678ba8;
  background: #edf4f9;
}
.badge .status-dot {
  width: 4px;
  height: 4px;
}
.asset-location {
  font-size: 9px;
  color: #95a1a7;
  margin-top: 3px;
}
.definition-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 10px;
  color: #92a0a6;
}
.definition-row strong {
  font-size: 10px;
  font-weight: 500;
  color: #546b73;
  text-align: right;
}
.asset-meta .definition-row:first-of-type {
  padding-top: 11px;
  margin-top: 11px;
  border-top: 1px solid var(--line);
}
.queue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  margin-bottom: 20px;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 21px;
}
.review-symbol {
  height: 37px;
  width: 37px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f1edf8;
  color: var(--violet);
}
.review-symbol svg {
  width: 18px;
  height: 18px;
}
.review-item h3 {
  font-size: 12px;
  margin-bottom: 4px;
}
.review-item p {
  font-size: 10px;
  color: #93a0a6;
}
.review-item .button {
  margin-left: auto;
}
.review-item + .review-item {
  border-top: 1px solid var(--line);
}
.queue-note {
  border-top: 1px solid #f0f3f4;
  padding: 9px 21px;
  font-size: 9px;
  color: #9aa5ac;
  display: flex;
  gap: 6px;
  align-items: center;
}
.queue-note svg {
  height: 11px;
  width: 11px;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 23px 20px 20px;
}
.step {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 8px;
  line-height: 1.5;
  color: #a1acb1;
}
.step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 12px);
  right: calc(-50% + 12px);
  height: 1px;
  background: #e5eaea;
}
.step-indicator {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f5f5;
  border: 1px solid #e6ebeb;
  color: #a6b1b4;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
  font-size: 9px;
}
.step.done .step-indicator {
  background: #e7f3ec;
  border-color: #e7f3ec;
  color: #4b8b6b;
}
.step.done:after {
  background: #c5dfd0;
}
.step.current .step-indicator {
  border-color: #e0c494;
  background: #fff7e9;
  color: #b1874c;
}
.step.current {
  color: #96754b;
}
.step.done {
  color: #6c8e7c;
}
.workflow-note {
  padding: 0 20px 15px;
  color: #9aa7a9;
  font-size: 9px;
  line-height: 1.6;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 21px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tabs button {
  border: 0;
  background: none;
  color: #95a0a7;
  font-size: 10px;
  padding: 6px 0;
}
.tabs button.active {
  color: var(--green);
  font-weight: 650;
}
.tabs button span {
  font-size: 8px;
  padding: 2px 5px;
  background: #f1f5f3;
  border-radius: 4px;
  margin-left: 4px;
  color: #91a39a;
}
.table-actions {
  display: flex;
  gap: 10px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg {
  width: 13px;
  height: 13px;
  position: absolute;
  left: 10px;
  color: #a9b3b8;
}
.search-box input {
  height: 31px;
  border: 1px solid #e8edef;
  border-radius: 5px;
  font-size: 10px;
  padding: 0 10px 0 30px;
  width: 170px;
  background: #fbfcfc;
  color: #4e666d;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
  white-space: nowrap;
}
th {
  background: #fbfcfc;
  font-size: 8px;
  color: #96a2a9;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-top: 1px solid #edf0f1;
  border-bottom: 1px solid #edf0f1;
}
td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f3f4;
  color: #7c8e96;
}
tr:last-child td {
  border-bottom: 0;
}
.case-link {
  font-size: 10px;
  font-weight: 650;
  color: #3b6259;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.case-link:hover {
  text-decoration: underline;
}
.cell-note {
  font-size: 8px;
  color: #a1adb2;
  margin-top: 2px;
}
.case-summary {
  font-size: 10px;
  color: #60777f;
}
.row-button {
  border: 0;
  background: none;
  color: #9aa9ad;
  font-size: 16px;
  padding: 3px 7px;
}
.row-button:hover {
  color: var(--green);
}
.table-footer {
  padding: 10px 21px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #a1acb0;
  display: flex;
  justify-content: space-between;
}
.empty {
  padding: 35px 22px;
  text-align: center;
  color: #8c9ca3;
  font-size: 12px;
}
.empty svg {
  width: 28px;
  height: 28px;
  color: #acbfb7;
  margin: 0 auto 12px;
}
.empty h3 {
  color: #6b8487;
  font-size: 13px;
  margin-bottom: 7px;
}
.empty p {
  font-size: 11px;
  max-width: 380px;
  margin: 0 auto 14px;
  line-height: 1.7;
}
.empty.inline {
  padding: 21px;
}
.empty.inline h3 {
  font-size: 11px;
}
.empty.inline p {
  font-size: 10px;
  margin-bottom: 0;
}
.section-stack {
  display: grid;
  gap: 20px;
}
.section-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 20px;
}
.analysis-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.analysis-picker label {
  font-size: 10px;
  color: #8d9ca1;
  display: block;
}
.analysis-picker select {
  border: 0;
  background: none;
  color: #3b5a5d;
  font-size: 12px;
  font-weight: 600;
  max-width: 350px;
  padding: 3px 20px 3px 0;
}
.analysis-picker .source-label {
  font-size: 10px;
  color: #9ca8ad;
}
.analysis-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.analysis-meta .button {
  min-height: 30px;
  padding: 6px 10px;
}
.review-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.review-intro p {
  font-size: 11px;
  color: #8a9aa1;
  margin-top: 5px;
}
.simulation-label {
  display: inline-block;
  background: #f3eff9;
  color: #8a70b6;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  margin-top: 8px;
}
.risk-card {
  margin: 18px 21px;
  padding: 18px;
  border: 1px solid #e5eaed;
  border-radius: 9px;
}
.risk-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.risk-card h3 {
  font-size: 13px;
}
.risk-component {
  font-size: 10px;
  color: #a0aab0;
  margin-top: 3px;
}
.risk-numbers {
  display: flex;
  gap: 32px;
  margin: 17px 0;
}
.risk-number strong {
  font-size: 23px;
  letter-spacing: -0.5px;
  font-weight: 600;
  color: #6c5297;
}
.risk-number strong span {
  font-size: 11px;
  margin-left: 2px;
  color: #a090b8;
}
.risk-number small {
  display: block;
  font-size: 9px;
  color: #a599b5;
}
.risk-card p {
  font-size: 10px;
  color: #8f9ba1;
  line-height: 1.8;
}
.decision-buttons {
  display: flex;
  gap: 7px;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid #edf0f2;
}
.decision-buttons button {
  flex: 1;
  min-height: 32px;
  background: #fcfdfc;
  border: 1px solid #e5eaeb;
  border-radius: 5px;
  font-size: 10px;
  color: #8a9a9b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.decision-buttons svg {
  width: 12px;
  height: 12px;
}
.decision-buttons .accept.selected {
  background: #e9f5ed;
  color: #357a59;
  border-color: #acd4ba;
}
.decision-buttons .reject.selected {
  background: #fbefed;
  color: #ab6b60;
  border-color: #e8c1ba;
}
.review-form-fields {
  padding: 0 21px 21px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: block;
  margin: 15px 0;
}
.field > span {
  font-size: 10px;
  font-weight: 600;
  color: #627b80;
  display: block;
  margin-bottom: 7px;
}
.field small {
  display: block;
  font-size: 9px;
  color: #9aa8ad;
  margin-top: 5px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: white;
  border: 1px solid #dfe7e8;
  border-radius: 6px;
  padding: 10px 11px;
  font-size: 12px;
  color: #4d696d;
  resize: vertical;
}
.field textarea {
  min-height: 85px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
}
.form-hint {
  font-size: 10px;
  color: #95a4aa;
  line-height: 1.6;
}
.aside-note {
  padding: 20px;
}
.aside-note h3 {
  font-size: 12px;
  margin-bottom: 13px;
}
.gate {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  font-size: 11px;
  color: #8d9da2;
}
.gate svg {
  height: 15px;
  width: 15px;
  flex-shrink: 0;
  color: #bcc8c8;
}
.gate.met svg {
  color: #4e916e;
}
.gate.met {
  color: #597d6e;
}
.gate-card .button {
  width: 100%;
  margin-top: 10px;
}
.gate-caption {
  font-size: 10px;
  color: #91a1a5;
  margin-top: 14px;
  line-height: 1.8;
}
.callout {
  padding: 12px 14px;
  border: 1px solid #e9e1f3;
  background: #f8f5fc;
  border-radius: 7px;
  font-size: 10px;
  color: #9684ae;
  line-height: 1.8;
  margin-top: 16px;
}
.review-record {
  margin: 0 21px 21px;
  background: #f6f9f7;
  padding: 16px;
  border-radius: 7px;
}
.review-record p {
  font-size: 11px;
  color: #6f8780;
  white-space: pre-wrap;
  margin-top: 10px;
}
.review-record .meta {
  font-size: 9px;
  color: #92a69b;
  margin-top: 10px;
}
.timeline {
  padding: 10px 21px 20px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  position: relative;
  padding: 12px 0;
}
.timeline-item:not(:last-child):before {
  content: "";
  position: absolute;
  left: 12px;
  top: 36px;
  bottom: -8px;
  width: 1px;
  background: #e6edeb;
}
.timeline-symbol {
  width: 25px;
  height: 25px;
  background: #f0f6f2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #72a18b;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-symbol svg {
  height: 12px;
  width: 12px;
}
.timeline-content {
  flex: 1;
  min-width: 0;
}
.timeline-content strong {
  font-size: 11px;
  font-weight: 550;
  color: #5b7976;
}
.timeline-content p {
  font-size: 10px;
  color: #a0adb2;
  margin-top: 3px;
}
.timeline-time {
  font-size: 9px;
  color: #a6b1b4;
  flex-shrink: 0;
}
.evidence-list {
  padding: 8px 21px 20px;
}
.evidence-row {
  padding: 14px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #eff2f2;
}
.evidence-row:last-child {
  border: 0;
}
.evidence-row svg {
  height: 17px;
  width: 17px;
  color: #9cb3aa;
}
.evidence-row strong {
  font-size: 11px;
  display: block;
  font-weight: 550;
}
.evidence-row span {
  font-size: 9px;
  color: #99a8ad;
}
.case-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 23px;
}
.case-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eaf4ee;
  display: grid;
  place-items: center;
  color: #67977d;
}
.case-icon svg {
  height: 21px;
  width: 21px;
}
.case-banner h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.case-banner p {
  font-size: 10px;
  color: #9aa8ad;
  margin-top: 4px;
}
.case-banner .badge {
  margin-left: auto;
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 23px 22px;
  gap: 20px;
}
.case-facts label {
  display: block;
  font-size: 9px;
  color: #9aa8ad;
  margin-bottom: 5px;
}
.case-facts strong {
  font-size: 11px;
  font-weight: 550;
  color: #658078;
}
.outcome-record {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.outcome-record p {
  font-size: 10px;
  color: #91a1a7;
  margin-top: 5px;
}
.outcome-record .mono {
  font-size: 9px;
  color: #708b87;
}
.wide-button {
  width: 100%;
  margin-top: 16px;
}
.reading-invalid td {
  color: #b79a89;
}
.quality-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #77ac8a;
  border-radius: 50%;
  margin-right: 5px;
}
.quality-dot.invalid {
  background: #c7a16a;
}
.scenario-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.scenario-choice {
  position: relative;
  text-align: left;
  padding: 15px;
  background: white;
  border: 1px solid #e1e9e8;
  border-radius: 8px;
  color: #6b8287;
}
.scenario-choice.active {
  border-color: #86b49e;
  background: #f0f7f2;
  box-shadow: 0 0 0 1px #86b49e;
}
.scenario-choice svg {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  color: #81a08e;
}
.scenario-choice strong {
  font-size: 12px;
  display: block;
}
.scenario-choice small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
  color: #9aaba8;
  line-height: 1.7;
}
dialog {
  border: 1px solid #dfe8e4;
  border-radius: 15px;
  padding: 0;
  width: 550px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 25px 100px #143c3930;
}
dialog::backdrop {
  background: #142d3960;
  backdrop-filter: blur(3px);
}
.modal-body {
  padding: 27px;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.modal-heading h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.modal-description {
  font-size: 12px;
  color: #8b9da2;
  line-height: 1.8;
}
.modal-footer {
  margin-top: 23px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #749088;
  margin-top: 20px;
}
.check-field input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
}
.modal-error {
  background: #fff0ed;
  color: #ad655b;
  font-size: 11px;
  padding: 10px;
  border-radius: 5px;
  margin-top: 12px;
}
.about-list {
  padding-left: 18px;
  font-size: 12px;
  color: #78918b;
  line-height: 1.9;
  margin: 15px 0;
}
.about-list li {
  margin: 8px 0;
}
.loading-state {
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #8da198;
  text-align: center;
}
.loading-state h1 {
  font-size: 20px;
  color: #59766a;
  margin-top: 20px;
}
.loading-state p {
  font-size: 12px;
  margin-top: 9px;
}
.loader {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #d9e6de;
  border-top-color: #6f9980;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: #234b41;
  color: #f3fbf6;
  box-shadow: 0 5px 30px #173b3420;
  border-radius: 8px;
  padding: 13px 19px;
  font-size: 12px;
  z-index: 100;
  transition: 0.25s;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #895e56;
}
.error-banner {
  border: 1px solid #eed6cf;
  border-radius: 8px;
  padding: 18px;
  background: #fff6f3;
  color: #a47667;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 12px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 36px;
  border-top: 1px solid #e7edeb;
  font-size: 9px;
  color: #a6b1b5;
  gap: 12px;
}
.footer-separator {
  margin: 0 9px;
  color: #d0d8d9;
}
footer a {
  color: #829c92;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.link-line {
  color: #678e7a;
  font-size: 11px;
  display: inline-block;
  margin-top: 13px;
}
.action-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.table-date {
  font-size: 9px;
  color: #9fadb1;
}
.view-select-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.static-badge {
  margin-left: 8px;
}
.line-clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.help-inline {
  font-size: 10px;
  line-height: 1.8;
  color: #91a4a2;
  margin-top: 10px;
}
.case-select {
  border: 1px solid #dfe8e3;
  border-radius: 6px;
  background: white;
  font-size: 11px;
  color: #577a68;
  padding: 8px;
  max-width: 290px;
}
.subtitle-id {
  font-weight: 400;
  font-size: 10px;
  color: #9aa8ad;
  margin-left: 7px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 36px;
  }
  .main-grid,
  .queue-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .chart svg {
    height: 230px;
  }
  .asset-visual {
    height: 150px;
  }
  .asset-visual svg {
    height: 135px;
  }
  .metric {
    padding: 21px;
  }
  .review-item {
    padding: 24px 21px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 200px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 26px 25px;
  }
  .main-grid,
  .queue-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .date-label {
    display: none;
  }
  .metric {
    padding: 15px 13px;
  }
  .table-actions .button {
    display: none;
  }
  .section-columns {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .risk-numbers {
    gap: 22px;
  }
  .connection {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 228px;
  }
  .nav-open .sidebar {
    transform: translateX(0);
    box-shadow: 15px 0 50px #143c3920;
  }
  .workspace {
    margin-left: 0;
  }
  .menu-button {
    display: inline-grid !important;
  }
  .topbar {
    padding: 0 20px;
  }
  .metrics {
    gap: 10px;
  }
  .main-grid,
  .queue-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .section-columns {
    grid-template-columns: 1fr;
  }
  .section-columns > .section-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .topbar-right {
    gap: 8px;
  }
  .analysis-picker .source-label {
    display: none;
  }
  #toast {
    left: 50%;
  }
  .nav-open .menu-button {
    position: relative;
    z-index: 40;
  }
  .sidebar .workspace-label {
    margin-top: 30px;
  }
  .case-facts {
    gap: 10px;
  }
}
@media (max-width: 650px) {
  main {
    padding: 22px 16px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 260px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .heading-actions > .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .heading-actions > .button svg {
    display: none;
  }
  .demo-badge {
    font-size: 7px;
    padding: 4px 5px;
  }
  .breadcrumb {
    gap: 7px;
    font-size: 10px;
  }
  .breadcrumb > span:first-of-type {
    display: none;
  }
  .slash {
    display: none;
  }
  .topbar {
    height: 56px;
    padding: 0 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric {
    padding: 13px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-caption {
    font-size: 8px;
  }
  .main-grid,
  .queue-grid {
    grid-template-columns: 1fr;
  }
  .asset-card {
    display: grid;
    grid-template-columns: 130px 1fr;
  }
  .asset-card > .card-header {
    display: none;
  }
  .asset-visual {
    height: 160px;
    margin: 12px 0 12px 12px;
  }
  .asset-visual svg {
    height: 110px;
    width: 130px;
  }
  .asset-identifier {
    display: none;
  }
  .asset-meta {
    padding: 18px;
  }
  .notice {
    align-items: flex-start;
    font-size: 9px;
    padding: 10px;
  }
  .notice .text-button {
    display: none;
  }
  .card-header {
    padding: 17px 17px 0;
  }
  .review-item {
    padding: 17px;
    gap: 10px;
  }
  .review-item h3 {
    font-size: 11px;
  }
  .review-item .button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .review-symbol {
    height: 30px;
    width: 30px;
  }
  .table-toolbar {
    padding: 12px 17px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tabs {
    gap: 13px;
  }
  .search-box input {
    width: 140px;
  }
  .section-columns > .section-stack {
    grid-template-columns: 1fr;
  }
  .case-facts {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-time {
    font-size: 8px;
    max-width: 70px;
    text-align: right;
  }
  .analysis-picker {
    padding: 12px;
    align-items: flex-start;
  }
  .analysis-picker select {
    font-size: 11px;
    max-width: 230px;
  }
  .analysis-meta .badge {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .risk-card {
    margin: 15px;
  }
  .review-form-fields {
    padding: 0 15px 18px;
  }
  .case-banner {
    padding: 18px;
    gap: 10px;
  }
  .case-banner h2 {
    font-size: 14px;
  }
  .case-banner .badge {
    font-size: 8px;
  }
  .case-icon {
    width: 35px;
    height: 35px;
  }
  .case-banner .mono {
    font-size: 9px;
  }
  .modal-body {
    padding: 22px;
  }
  .scenario-cards {
    gap: 8px;
  }
  .scenario-choice {
    padding: 12px;
  }
  .scenario-choice small {
    font-size: 9px;
  }
  footer {
    padding: 14px 16px;
    align-items: flex-start;
    font-size: 8px;
  }
  .footer-separator {
    margin: 0 3px;
  }
  .loading-state {
    height: 65vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Readable evidence labels and a single-line navigation at desktop widths. */
.nav-link {
  gap: 10px;
}
.nav-link > span:not(.nav-count) {
  white-space: nowrap;
  font-size: 12px;
}
.nav-count {
  flex-shrink: 0;
}
.card-subtitle,
.card-header .subtle-label {
  font-size: 11px;
  color: #71868d;
}
.metric-top {
  font-size: 11px;
  color: #667c83;
}
.metric-caption {
  font-size: 10px;
  color: #7f9198;
}
.chart-topline {
  font-size: 10px;
  color: #72878c;
}
.chart-footer,
.queue-note,
.workflow-note {
  font-size: 10px;
  color: #7d9399;
}
.review-item h3 {
  font-size: 13px;
}
.review-item p {
  font-size: 11px;
  color: #7e9299;
}
.badge {
  font-size: 10px;
}
.asset-location,
.definition-row,
.definition-row strong {
  font-size: 11px;
}
.definition-row {
  color: #7e939a;
}
.asset-location {
  color: #86999f;
}
.notice {
  font-size: 11px;
  color: #71868e;
}
.eyebrow {
  color: #6b827d;
}
.risk-card p {
  font-size: 12px;
  color: #71888e;
}
.risk-component {
  font-size: 11px;
  color: #81959b;
}
.risk-number small {
  font-size: 10px;
  color: #857397;
}
.gate,
.review-record p {
  font-size: 12px;
}
.gate-caption,
.help-inline,
.callout {
  font-size: 11px;
  color: #7c9196;
}
.callout {
  color: #8c79a5;
}
.timeline-content strong {
  font-size: 12px;
}
.timeline-content p,
.timeline-time {
  font-size: 10px;
  color: #82979d;
}
.table-date {
  font-size: 10px;
  color: #81949b;
}
table {
  font-size: 11px;
}
th {
  font-size: 9px;
  color: #7b9099;
}
.case-link {
  font-size: 11px;
}
.cell-note {
  font-size: 10px;
  color: #8c9da3;
}
.case-summary {
  font-size: 11px;
}
.table-footer {
  font-size: 10px;
  color: #85999f;
}
.field > span {
  font-size: 11px;
}
.field small,
.form-hint {
  font-size: 10px;
}
.asset-meta .definition-row:first-of-type {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.readonly-risk-label {
  font-size: 10px;
}
@media (max-width: 650px) {
  .nav-link > span:not(.nav-count) {
    font-size: 13px;
  }
  .card-subtitle {
    font-size: 10px;
  }
  .notice {
    font-size: 10px;
  }
  .metric-caption {
    font-size: 9px;
  }
  .review-item h3 {
    font-size: 12px;
  }
  .review-item p {
    font-size: 10px;
  }
  .badge {
    font-size: 9px;
  }
  .chart-topline,
  .chart-footer {
    font-size: 9px;
  }
  .definition-row,
  .definition-row strong,
  .asset-location {
    font-size: 10px;
  }
}
