@font-face {
  font-family: Vazirmatn;
  src: url("assets/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #172b45;
  --muted: #69788d;
  --line: #e3e8ef;
  --blue: #4165df;
  --blue-soft: #edf1ff;
  --bg: #f6f8fb;
  --green: #18725b;
  --amber: #a56616;
  --nav: #14253d;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Vazirmatn, sans-serif;
  font-size: 14px;
  line-height: 1.85;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
input,
textarea,
select {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #7390f3;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}
h3 {
  font-size: 15px;
  font-weight: 700;
}
svg {
  display: block;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 10px;
  right: 280px;
  z-index: 50;
  background: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: translateY(0);
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 0 0 auto;
  background: var(--nav);
  color: #d4deec;
  padding: 31px 19px 22px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  color: #fff;
}
.brand > span {
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.15;
  font-weight: 750;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 3.6px;
  font-weight: 500;
  margin-top: 9px;
  color: #a6b7ce;
}
.workspace-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffff06;
  border: 1px solid #ffffff10;
  border-radius: 11px;
  padding: 12px;
  margin-top: 34px;
}
.org-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #30445d;
  border-radius: 9px;
  color: #fff;
  font-weight: 750;
}
.workspace-switch strong {
  font-size: 12px;
}
.workspace-switch small {
  display: block;
  font-size: 10px;
  color: #8fa2bb;
}
.sample-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8d9fba;
  margin-right: auto;
}
.nav-label {
  font-size: 10px;
  color: #8295ae;
  margin: 30px 14px 10px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 12px;
  transition: background 0.15s;
}
.sidebar nav > a:hover {
  background: #ffffff09;
}
.sidebar nav > a.active {
  background: #31508c;
  color: #fff;
}
.sidebar nav .icon {
  width: 18px;
  height: 18px;
  color: #9cb0ca;
}
.sidebar nav .active .icon {
  color: #e6ecff;
}
.nav-arrow {
  margin-right: auto;
}
.nav-badge {
  margin-right: auto;
  font-size: 10px;
  background: #ffffff10;
  border-radius: 4px;
  padding: 0 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.sidebar-message {
  padding: 18px 14px;
  background: #ffffff04;
  border: 1px solid #ffffff0c;
  border-radius: 12px;
}
.mini-twin {
  font-size: 24px;
  color: #a9bdf6;
  margin-bottom: 8px;
}
.sidebar-message strong {
  font-size: 12px;
  color: #ecf0f8;
}
.sidebar-message p {
  font-size: 11px;
  line-height: 1.95;
  color: #90a2bb;
  margin-top: 7px;
}
.sidebar-tour {
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #b5c9ff;
  font-size: 11px;
  margin-top: 17px;
}
.sidebar-credit {
  padding: 23px 12px 0;
  font-size: 11px;
}
.sidebar-credit small {
  display: block;
  color: #8094ad;
  font-size: 10px;
}
.shell {
  margin-right: 238px;
}
.topbar {
  height: 73px;
  background: #ffffffdc;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}
.slash {
  color: #b9c4d3;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.demo-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo-label i {
  width: 6px;
  height: 6px;
  background: #d4a35d;
  border-radius: 50%;
}
main {
  padding: 22px 40px 0;
  max-width: 1530px;
  margin: auto;
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #778498;
  background: #ecf0f6;
  border: 1px solid #e0e6ee;
  border-radius: 8px;
  padding: 9px 13px;
}
.demo-notice .icon {
  width: 15px;
  height: 15px;
}
.demo-notice a {
  margin-right: auto;
  white-space: nowrap;
  color: #516786;
}
.demo-notice p {
  line-height: 1.9;
}
.page {
  padding-top: 10px;
  animation: appear 0.25s ease;
}
@keyframes appear {
  from {
    opacity: 0.4;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 28px;
  min-height: 285px;
}
.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}
.eyebrow > span {
  width: 19px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  font-size: 38px;
}
.hero h1 > span {
  color: var(--blue);
}
.hero-description {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  margin-top: 13px;
}
.hero-trail {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 10px;
  margin-top: 23px;
  color: #64738a;
}
.hero-trail b {
  margin-left: 5px;
  color: #8b9bb1;
  font-size: 9px;
}
.hero-trail i {
  color: #b3bfd0;
  font-style: normal;
}
.hero-art {
  position: relative;
  width: 315px;
  flex-shrink: 0;
  margin-left: 15px;
}
.hero-art svg {
  width: 100%;
}
.art-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 5px 20px #172b4507;
  border-radius: 7px;
  font-size: 10px;
  padding: 6px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.art-chip-one {
  top: 32px;
  right: 22px;
}
.art-chip-two {
  bottom: 32px;
  left: 4px;
}
.art-chip-three {
  top: 62px;
  left: 0;
}
.art-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c69852;
}
.art-chip-two i {
  background: #348b75;
}
.hero-art small {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 48px;
  font-size: 7px;
  letter-spacing: 1.9px;
  color: #9aa9bd;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 14px;
  gap: 12px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.section-counter {
  font-size: 9px;
  color: #8a99ae;
  white-space: nowrap;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.scenario-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px 18px;
  text-align: right;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  position: relative;
}
.scenario-card:hover {
  border-color: #adbce9;
}
.scenario-card.active {
  border-color: #718ae5;
  box-shadow: 0 0 0 1px #718ae5;
  background: #fdfdff;
}
.scenario-card .icon-box {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background: #f3f5fb;
  color: #637696;
}
.scenario-card.active .icon-box {
  background: var(--blue-soft);
  color: var(--blue);
}
.scenario-card .type {
  font-size: 9px;
  color: #8a97aa;
  display: block;
}
.scenario-card strong {
  display: block;
  font-size: 13px;
  margin: 2px 0;
}
.scenario-card small {
  font-size: 10px;
  color: var(--muted);
}
.scenario-card .selected-mark {
  position: absolute;
  top: 13px;
  left: 13px;
  color: var(--blue);
  width: 14px;
  height: 14px;
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.icon-box .icon {
  width: 19px;
  height: 19px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-heading > .icon {
  color: #8b9bb0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: #f1f4f8;
  color: #697a91;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 550;
}
.pill.blue {
  color: #4165c4;
  background: #edf1ff;
}
.pill.amber {
  background: #fff3df;
  color: #96621f;
}
.pill.green {
  color: #23745f;
  background: #e9f6f0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  padding: 9px 14px;
  background: #fff;
  color: #324762;
  font-size: 11px;
  font-weight: 600;
  min-height: 38px;
  transition: background 0.15s;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button:hover {
  background: #f1f4fa;
}
.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.button.primary:hover {
  background: #3456cb;
}
.button.small {
  font-size: 10px;
  padding: 6px 11px;
  min-height: 32px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  padding: 0;
}
.decision-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.scenario-panel .panel-heading h2 {
  font-size: 14px;
}
.scenario-panel h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.scenario-panel .muted {
  font-size: 11px;
  line-height: 2;
}
.muted {
  color: var(--muted);
}
form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin: 17px 0 6px;
}
select,
input,
textarea {
  border: 1px solid #dce3ec;
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  padding: 9px 11px;
  width: 100%;
  font-size: 11px;
  min-width: 0;
}
select {
  padding-left: 28px;
}
textarea {
  resize: vertical;
}
input[type="number"] {
  direction: ltr;
  text-align: right;
}
.assumption-editor {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.assumption-editor summary {
  font-size: 11px;
  color: #62748e;
  cursor: pointer;
}
.assumption-editor .hint {
  margin-top: 5px;
  font-size: 9px;
}
.input-with-unit {
  display: flex;
  align-items: center;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  overflow: hidden;
}
.input-with-unit input {
  border: 0;
  border-radius: 0;
  width: 75px;
}
.input-with-unit span {
  font-size: 10px;
  color: #8290a4;
  padding-right: 10px;
}
.run-button {
  width: 100%;
  margin-top: 17px;
}
.button-arrow {
  margin-right: auto;
}
.hint {
  font-size: 10px;
  color: #8390a3;
  line-height: 1.95;
  margin-top: 8px;
}
.error-text {
  font-size: 11px;
  color: #b5423c;
  margin-top: 8px;
}
.decision-summary {
  border-radius: var(--radius);
  background: var(--nav);
  color: #fff;
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.summary-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  font-size: 10px;
  color: #a2b5ce;
}
.summary-topline .pill {
  background: #ffffff10;
  color: #b6c6dc;
}
.summary-eyebrow {
  color: #a3b9fb;
  font-size: 10px;
  margin-bottom: 7px;
}
.decision-summary h2 {
  font-size: 23px;
  font-weight: 650;
  line-height: 1.75;
  max-width: 590px;
}
.decision-summary .summary-copy {
  font-size: 11px;
  color: #a5b6ce;
  margin-top: 10px;
  line-height: 2.1;
}
.summary-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-end;
  border-top: 1px solid #ffffff15;
  padding-top: 20px;
  margin-top: auto;
}
.summary-bottom p {
  color: #90a8c9;
  font-size: 10px;
  max-width: 350px;
}
.summary-bottom a {
  color: #cad7ff;
  font-size: 11px;
  white-space: nowrap;
}
.summary-bottom .icon {
  width: 15px;
  height: 15px;
}
.summary-customer {
  margin: 18px 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: #d0dceb;
}
.summary-customer .icon {
  color: #8ea8e2;
  width: 17px;
  height: 17px;
}
.dirty-badge {
  color: #ffd69b !important;
  background: #ffffff0c !important;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.impact-card {
  padding: 20px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.impact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.impact-top > span {
  font-size: 11px;
  color: #6b7c93;
}
.impact-top .icon {
  width: 17px;
  height: 17px;
  color: #8b9bb1;
}
.impact-number {
  font-size: 27px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.8px;
}
.impact-number small {
  font-size: 11px;
  font-weight: 400;
  color: #8390a5;
  letter-spacing: 0;
}
.impact-card p {
  font-size: 10px;
  color: #8190a5;
  margin-top: 6px;
}
.impact-card.opportunity .impact-number {
  color: var(--green);
}
.impact-card.risk .impact-number {
  color: var(--amber);
}
.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.model-panel {
  padding-bottom: 0;
  overflow: hidden;
}
.model-panel .panel-heading {
  margin-bottom: 4px;
}
.graph-scroll {
  overflow: auto;
}
.graph-scroll svg {
  width: 100%;
  min-width: 560px;
  height: auto;
  font-family: Vazirmatn, sans-serif;
}
.graph-edge {
  fill: none;
  stroke: #d4dce8;
  stroke-width: 1.7;
}
.graph-edge.active {
  stroke: #96aaec;
  stroke-width: 2;
}
.graph-node {
  cursor: pointer;
  outline: none;
}
.graph-node rect {
  fill: #f8f9fc;
  stroke: #e1e6ee;
  stroke-width: 1.2;
  transition: fill 0.2s;
}
.graph-node text {
  font-size: 13px;
  fill: #8795a7;
  text-anchor: middle;
}
.graph-node .node-en {
  font-family: system-ui, sans-serif;
  font-size: 9px;
  fill: #9ba8ba;
  letter-spacing: 0.6px;
}
.graph-node.affected rect {
  fill: #f2f5ff;
  stroke: #b7c5ee;
}
.graph-node.affected text {
  fill: #4164b5;
}
.graph-node.target rect {
  fill: #4265df;
  stroke: #4265df;
}
.graph-node.target text {
  fill: white;
}
.graph-node.target .node-en {
  fill: #ccd7ff;
}
.graph-node.selected rect {
  stroke: #172b45;
  stroke-width: 2.5;
}
.graph-node:focus-visible rect {
  stroke: #172b45;
  stroke-width: 3;
}
.graph-node:focus-visible {
  outline: 0;
}
.node-status {
  font-size: 9px !important;
}
.graph-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 9px;
  color: #8594a7;
  padding: 2px 0 17px;
}
.graph-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9e0ea;
}
.legend-dot.target {
  background: #4165df;
}
.legend-dot.affected {
  background: #9bb0ee;
}
.inspector {
  background: #f9fafc;
  border-top: 1px solid var(--line);
  margin: 0 -23px;
  padding: 17px 23px;
  min-height: 104px;
}
.inspector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.inspector-top strong {
  font-size: 12px;
}
.inspector p {
  font-size: 10px;
  color: #7b8ba1;
  margin-top: 4px;
}
.path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 9px;
  color: #536d9d;
  margin-top: 6px;
}
.path i {
  font-style: normal;
  color: #a3b2cc;
}
.opportunity-panel {
  display: flex;
  flex-direction: column;
}
.opportunity-copy {
  font-size: 12px;
  line-height: 2.15;
  margin-top: 10px;
}
.money-breakdown {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.money-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
}
.money-row span {
  color: #7b8ba2;
}
.money-row strong {
  font-size: 12px;
}
.basis {
  font-size: 10px;
  color: #7f8fa5;
  margin-top: 15px;
  line-height: 2;
}
.evidence-link {
  border: 0;
  background: #f1f4fa;
  color: #57709c;
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}
.evidence-link .icon {
  width: 11px;
  height: 11px;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.option-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.option-card.chosen {
  border-color: #758fe5;
  box-shadow: 0 0 0 1px #758fe5;
}
.option-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 17px;
}
.option-heading h3 {
  font-size: 13px;
}
.option-card .option-number {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.option-card .option-unit {
  font-size: 9px;
  color: #8b98a9;
  margin-bottom: 16px;
}
.option-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.option-details small {
  display: block;
  font-size: 9px;
  color: #8a97a9;
}
.option-details strong {
  font-size: 12px;
}
.option-card > p {
  font-size: 10px;
  color: #8190a5;
  min-height: 42px;
  margin-top: 14px;
}
.option-card button {
  width: 100%;
  margin-top: 14px;
  font-size: 10px;
}
.comparison-note {
  display: flex;
  gap: 8px;
  color: #8190a6;
  font-size: 10px;
  padding: 12px 2px;
}
.comparison-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 19px;
}
.risk-item {
  padding: 14px 0;
  border-top: 1px solid #edf0f5;
}
.risk-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.risk-item h3 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.risk-item h3:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c49554;
}
.risk-item p {
  font-size: 11px;
  color: #7a8ba2;
  margin-top: 5px;
}
.question-item {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #edf0f5;
  padding: 12px 0;
  font-size: 11px;
  color: #60738d;
}
.question-item:first-child {
  padding-top: 0;
}
.question-number {
  font-size: 10px;
  color: #97a6bc;
}
.test-note {
  font-size: 11px;
  margin-top: 18px;
  padding: 12px;
  background: #f7f9fc;
  border-radius: 8px;
  color: #6b7c92;
}
.test-note strong {
  color: #425976;
  display: block;
  font-size: 10px;
  margin-bottom: 3px;
}
.human-panel {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  align-items: center;
}
.human-title {
  display: flex;
  gap: 12px;
  align-items: center;
}
.human-title h2 {
  font-size: 14px;
}
.human-title p {
  font-size: 10px;
  color: #8693a5;
  margin-top: 3px;
}
.human-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.human-controls select {
  width: 210px;
}
.human-panel > .hint {
  grid-column: 1/-1;
  margin-right: 52px;
}
.update-banner {
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid #c9dfd7;
  background: #f0f8f4;
  border-radius: 10px;
  font-size: 11px;
  color: #35745f;
  display: flex;
  align-items: center;
  gap: 10px;
}
.update-banner .icon {
  width: 18px;
  height: 18px;
}
.update-banner a {
  margin-right: auto;
  color: #2a735a;
  white-space: nowrap;
}
.page-intro {
  padding: 35px 0 29px;
}
.page-intro h1 {
  font-size: 31px;
}
.page-intro > p:last-child,
.page-intro > div > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.source-card .icon-box {
  margin-bottom: 16px;
}
.source-card h3 {
  font-size: 13px;
}
.source-card p {
  font-size: 10px;
  color: #8390a4;
  margin-top: 6px;
}
.source-card .source-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 20px;
}
.source-card strong {
  font-size: 23px;
}
.source-card small {
  font-size: 9px;
  color: #8e9cb0;
}
.source-card .en-source {
  font-size: 9px;
  color: #92a0b3;
  display: block;
}
.knowledge-update {
  margin-top: 22px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  background: #f0f3fc;
  border-color: #d6dff3;
}
.knowledge-update h2 {
  margin-top: 9px;
}
.knowledge-update p {
  font-size: 11px;
  color: #617593;
  margin-top: 6px;
  max-width: 650px;
}
.knowledge-update small {
  font-size: 10px;
  color: #8395ae;
}
.knowledge-update button {
  flex-shrink: 0;
}
.evidence-panel {
  margin-top: 23px;
}
.evidence-tools {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.evidence-tools select {
  width: 180px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  padding: 0 10px;
}
.search-field .icon {
  color: #91a0b5;
  width: 16px;
  height: 16px;
}
.search-field input {
  border: 0;
  background: none;
}
.evidence-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.evidence-id {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  background: #f1f4f9;
  color: #72849c;
  padding: 4px 7px;
  border-radius: 4px;
  min-width: 75px;
  text-align: center;
}
.evidence-row strong {
  font-size: 12px;
}
.evidence-row p {
  font-size: 11px;
  color: #8290a4;
  margin-top: 4px;
}
.evidence-row small {
  font-size: 9px;
  color: #96a3b6;
}
.evidence-row button {
  margin-right: auto;
  white-space: nowrap;
}
.report-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.report-buttons {
  display: flex;
  gap: 9px;
}
.report-card {
  margin-bottom: 18px;
}
.report-card h2 {
  margin-bottom: 10px;
}
.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}
.report-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 23px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.report-kpis strong {
  display: block;
  font-size: 23px;
}
.report-kpis small {
  font-size: 10px;
  color: #8190a5;
}
.report-list {
  font-size: 11px;
  color: #64768e;
  line-height: 2.15;
  padding-right: 18px;
}
.report-table-scroll {
  overflow: auto;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.report-table th,
.report-table td {
  padding: 12px 8px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}
.report-table th {
  font-size: 10px;
  color: #8291a5;
  font-weight: 500;
}
.report-table caption {
  font-size: 10px;
  color: #8190a5;
  text-align: right;
  padding-bottom: 8px;
}
.report-note {
  font-size: 11px;
  color: #60738d;
  margin-top: 13px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.about-grid h2 {
  margin-top: 16px;
}
.about-grid p {
  font-size: 12px;
  color: #75869d;
  line-height: 2.1;
  margin-top: 9px;
}
.roadmap {
  margin-top: 23px;
}
.roadmap .section-heading {
  margin-top: 0;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 25px;
}
.roadmap-grid > div {
  position: relative;
  padding-top: 4px;
}
.roadmap-step {
  display: inline-grid;
  place-items: center;
  background: #f1f4fa;
  border: 1px solid #e3e9f2;
  color: #7790b8;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 12px;
  margin-left: 9px;
}
.roadmap-grid h3 {
  font-size: 15px;
  margin-top: 17px;
}
.roadmap-grid p {
  font-size: 11px;
  color: #7587a0;
  margin-top: 9px;
  line-height: 2.1;
}
.plain-list {
  font-size: 12px;
  color: #76879e;
  padding-right: 18px;
  line-height: 2.25;
  margin: 14px 0;
}
.load-state {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
.error-state {
  margin: 30px 0;
}
.error-state p {
  margin: 12px 0;
}
.noscript {
  margin: 40px;
  text-align: center;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 30px 0;
  font-size: 10px;
  color: #91a0b3;
}
footer b {
  font-weight: 650;
}
footer i {
  font-style: normal;
  margin: 0 5px;
  color: #bdc7d5;
}
footer .text-button {
  font-size: 10px;
  color: #7e90ad;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  width: min(480px, calc(100vw - 32px));
  color: var(--ink);
  box-shadow: 0 20px 90px #14253d30;
}
dialog::backdrop {
  background: #14253d65;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.icon-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: #f3f5f9;
  color: #718099;
  font-size: 21px;
  line-height: 1;
}
.dialog-head ~ div h2 {
  font-size: 20px;
}
.dialog-head ~ div p {
  font-size: 12px;
  color: #788ba3;
  margin-top: 13px;
  line-height: 2.1;
}
.detail-source {
  font-size: 10px;
  margin-top: 18px;
  color: #96a4b5;
}
.tour-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #4165df;
  background: #edf1ff;
  margin: 7px 0 18px;
}
.tour-symbol .icon {
  width: 25px;
  height: 25px;
}
#tour-dialog h2 {
  font-size: 22px;
}
#tour-dialog > p {
  font-size: 12px;
  color: #7689a3;
  margin-top: 11px;
  line-height: 2.15;
  min-height: 90px;
}
.tour-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
#tour-dots {
  display: flex;
  gap: 5px;
}
#tour-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6dfec;
}
#tour-dots i.active {
  background: #4165df;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 26px;
  max-width: calc(100vw - 40px);
  background: #172b45;
  color: #fff;
  padding: 12px 19px;
  border-radius: 10px;
  font-size: 11px;
  box-shadow: 0 5px 25px #14253d25;
  z-index: 50;
}
@media (min-width: 1550px) {
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    width: 365px;
  }
  .decision-grid {
    grid-template-columns: 350px minmax(0, 1fr);
  }
}
@media (max-width: 1200px) {
  main {
    padding: 20px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .sidebar {
    width: 215px;
  }
  .shell {
    margin-right: 215px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-art {
    width: 240px;
    margin-left: 0;
  }
  .hero-description {
    font-size: 11px;
  }
  .scenario-card {
    padding: 14px 13px;
    gap: 9px;
  }
  .scenario-card .icon-box {
    width: 29px;
    height: 29px;
  }
  .scenario-card strong {
    font-size: 12px;
  }
  .scenario-card small {
    font-size: 9px;
  }
  .decision-grid {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .decision-summary {
    padding: 23px;
  }
  .decision-summary h2 {
    font-size: 20px;
  }
  .summary-bottom {
    flex-wrap: wrap;
  }
  .model-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
  }
  .human-panel {
    grid-template-columns: 1fr;
  }
  .human-controls {
    margin: 17px 52px 0 0;
  }
  .option-card {
    padding: 17px;
  }
  .option-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .hero-art {
    display: none;
  }
  .hero {
    min-height: 260px;
  }
  .scenario-card .icon-box {
    display: none;
  }
  .decision-grid {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .decision-summary h2 {
    font-size: 18px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .options-grid {
    gap: 10px;
  }
  .option-number {
    font-size: 18px !important;
  }
  .option-details {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-grid {
    gap: 20px;
  }
  .impact-card {
    padding: 16px;
  }
  .impact-number {
    font-size: 23px;
  }
  .demo-notice a {
    display: none;
  }
  .report-intro {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: auto;
    position: static;
    padding: 15px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
  }
  .brand {
    padding: 0;
    gap: 9px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand > span {
    font-size: 21px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 2.8px;
    margin-top: 6px;
  }
  .workspace-switch {
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
  }
  .workspace-switch small {
    display: none;
  }
  .workspace-switch .org-symbol {
    width: 28px;
    height: 28px;
  }
  .workspace-switch strong {
    font-size: 11px;
  }
  .sample-dot {
    display: none;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    grid-column: 1/-1;
    display: flex;
    gap: 4px;
    justify-content: space-between;
  }
  .sidebar nav > a {
    padding: 7px 9px;
    font-size: 10px;
    gap: 5px;
  }
  .sidebar nav .icon {
    width: 14px;
    height: 14px;
  }
  .nav-arrow,
  .nav-badge {
    display: none;
  }
  .shell {
    margin: 0;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
    position: static;
  }
  .top-actions {
    gap: 8px;
  }
  .demo-label {
    display: none;
  }
  main {
    padding: 15px 20px 0;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .demo-notice {
    font-size: 9px;
    padding: 8px 10px;
    align-items: flex-start;
  }
  .demo-notice > .icon {
    margin-top: 3px;
  }
  .hero {
    padding: 25px 0 14px;
    min-height: 240px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-description br {
    display: none;
  }
  .hero-trail {
    gap: 10px;
    font-size: 9px;
  }
  .scenario-grid {
    gap: 8px;
  }
  .scenario-card {
    padding: 12px 10px;
    display: block;
    min-height: 100px;
  }
  .scenario-card strong {
    font-size: 11px;
  }
  .scenario-card small {
    font-size: 9px;
    line-height: 1.8;
    display: block;
  }
  .scenario-card .selected-mark {
    top: 9px;
    left: 7px;
    width: 11px;
  }
  .scenario-card .type {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .section-counter {
    font-size: 8px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .decision-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .scenario-panel {
    padding: 20px;
  }
  .decision-summary {
    padding: 23px;
    min-height: 290px;
  }
  .decision-summary h2 {
    font-size: 21px;
  }
  .summary-bottom {
    flex-wrap: nowrap;
  }
  .impact-grid {
    gap: 8px;
  }
  .impact-card {
    padding: 13px 10px;
  }
  .impact-top {
    margin-bottom: 10px;
    gap: 4px;
  }
  .impact-top > span {
    font-size: 9px;
  }
  .impact-top .icon {
    display: none;
  }
  .impact-number {
    font-size: 21px;
    line-height: 1.7;
  }
  .impact-number small {
    font-size: 8px;
    display: block;
  }
  .impact-card p {
    font-size: 8px;
    line-height: 1.9;
  }
  .panel {
    padding: 20px;
  }
  .model-panel {
    padding-bottom: 0;
  }
  .inspector {
    margin: 0 -20px;
    padding: 15px 20px;
  }
  .model-grid {
    margin-top: 14px;
    gap: 14px;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .option-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 18px;
  }
  .option-heading {
    grid-column: 1/-1;
    margin-bottom: 12px;
    flex-wrap: nowrap;
  }
  .option-details {
    grid-row: 2/4;
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    border-right: 1px solid var(--line);
    padding: 0 13px 0 0;
  }
  .option-card .option-unit {
    margin-bottom: 0;
  }
  .option-card > p {
    grid-column: 1/-1;
    min-height: 0;
  }
  .option-card button {
    grid-column: 1/-1;
  }
  .review-grid {
    margin-top: 14px;
    gap: 14px;
  }
  .human-title h2 {
    font-size: 13px;
  }
  .human-controls {
    margin: 15px 0 0;
  }
  .human-controls select {
    flex: 1;
    width: auto;
  }
  .human-panel > .hint {
    margin-right: 0;
  }
  .source-grid {
    gap: 10px;
  }
  .source-card {
    padding: 17px;
  }
  .knowledge-update {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .knowledge-update h2 {
    font-size: 16px;
  }
  .evidence-tools {
    flex-wrap: wrap;
  }
  .search-field {
    flex-basis: 100%;
  }
  .evidence-tools select {
    width: 100%;
  }
  .evidence-row {
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .evidence-id {
    min-width: 68px;
    font-size: 9px;
  }
  .evidence-row > div {
    flex: 1;
  }
  .evidence-row button {
    margin-right: 78px;
    margin-top: -4px;
    font-size: 10px;
    padding: 5px 10px;
  }
  .page-intro {
    padding: 28px 0 23px;
  }
  .page-intro h1 {
    font-size: 26px;
  }
  .page-intro > p:last-child {
    font-size: 11px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .roadmap-grid > div {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .roadmap-grid > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .report-buttons {
    width: 100%;
  }
  .report-buttons button {
    flex: 1;
  }
  .report-kpis {
    gap: 10px;
  }
  .report-kpis strong {
    font-size: 19px;
  }
  .report-kpis small {
    font-size: 9px;
  }
  footer {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 10px;
  }
  footer > span:nth-child(2) {
    margin-right: auto;
  }
  footer button {
    width: 100%;
    text-align: right;
  }
  .update-banner {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .update-banner a {
    margin-right: 28px;
  }
  .toast {
    left: 20px;
    bottom: 15px;
  }
  .skip {
    right: 20px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  @page {
    size: A4;
    margin: 15mm;
  }
  body {
    background: #fff;
    color: #172b45;
    font-size: 11px;
  }
  .skip,
  .sidebar,
  .topbar,
  .demo-notice,
  footer,
  .report-buttons,
  dialog,
  .toast {
    display: none !important;
  }
  .shell {
    margin: 0;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .page {
    display: none !important;
  }
  #report {
    display: block !important;
    padding: 0;
  }
  .report-intro {
    padding: 0 0 15px;
  }
  .page-intro h1 {
    font-size: 26px;
  }
  .report-card {
    border: 1px solid #dce3ed;
    padding: 15px;
    border-radius: 8px;
    break-inside: avoid;
    margin-bottom: 12px;
  }
  .report-kpis strong {
    font-size: 19px;
  }
  .report-table {
    font-size: 10px;
  }
  .report-table th,
  .report-table td {
    padding: 7px;
  }
  .report-note,
  .report-list {
    font-size: 10px;
  }
  .report-meta .pill {
    font-size: 8px;
  }
  .report-table-scroll {
    overflow: visible;
  }
  .report-card details {
    display: block;
  }
  a {
    color: inherit;
  }
  .evidence-link {
    border: 0;
    background: none;
    padding: 0;
  }
  .report-kpis {
    margin: 15px 0;
    padding: 13px 0;
  }
}
