.valuation-body {
  background: #0A0A0F;
}

.valuation-shell .brief-heading {
  grid-template-columns: minmax(0, 820px) auto;
}

.valuation-workspace {
  grid-template-columns: minmax(340px, 0.95fr) minmax(520px, 1.25fr);
}

.valuation-form {
  position: sticky;
  top: 84px;
}

.workflow-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #111118;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.workflow-card-header,
.preset-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.workflow-card-header strong,
.preset-header strong {
  color: #EDEDF5;
  font: 800 1rem var(--font-display);
}

.preset-header span {
  color: #8888A0;
  font-size: 0.8rem;
  font-weight: 700;
}

.workflow-steps {
  display: grid;
  gap: 9px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: #161620;
  color: #8888A0;
}

.workflow-step > span,
.action-step > span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #2A2A3A;
  color: #B8B8CC;
  font-size: 0.82rem;
  font-weight: 900;
}

.workflow-step strong {
  display: block;
  color: #B8B8CC;
  font-size: 0.9rem;
  line-height: 1.25;
}

.workflow-step em {
  display: block;
  margin-top: 2px;
  color: #8888A0;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.35;
}

.workflow-step.is-active {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.workflow-step.is-active > span {
  background: linear-gradient(135deg, #f59e0b, #0f766e);
  color: #ffffff;
}

.workflow-step.is-active strong {
  color: #EDEDF5;
}

.workflow-step.is-done > span {
  background: #0f766e;
  color: #ffffff;
}

.preset-block {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #161620;
}

.preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  background: #111118;
  color: #B8B8CC;
  cursor: pointer;
  font: 800 0.82rem var(--font-sans);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.preset-chip:hover {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.08);
  color: #EDEDF5;
  transform: translateY(-1px);
}

.preset-chip.is-active {
  border-color: rgba(15, 118, 110, 0.45);
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.valuation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.assumption-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #161620;
}

.assumption-group summary {
  cursor: pointer;
  color: #EDEDF5;
  font: 800 0.98rem var(--font-display);
}

.valuation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.valuation-actions .action-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
}

.valuation-actions .action-step .btn {
  width: 100%;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.valuation-result {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.valuation-result[hidden] {
  display: none !important;
}

.valuation-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.valuation-pill {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #111118;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.valuation-pill span {
  display: block;
  margin-bottom: 6px;
  color: #8888A0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.valuation-pill strong {
  display: block;
  color: #EDEDF5;
  font: 900 1.45rem/1.15 var(--font-display);
  overflow-wrap: anywhere;
}

.valuation-section {
  display: grid;
  gap: 14px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #111118;
}

.method-card h3 {
  margin: 0 0 8px;
  color: #EDEDF5;
  font: 900 1.1rem/1.2 var(--font-display);
}

.method-card p {
  margin: 0 0 12px;
  color: #8888A0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.method-table-wrap {
  overflow-x: auto;
}

.method-table {
  width: 100%;
  border-collapse: collapse;
  color: #B8B8CC;
  font-size: 0.88rem;
}

.method-table th,
.method-table td {
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  text-align: left;
  vertical-align: top;
}

.method-table th {
  background: #161620;
  color: #EDEDF5;
  font-weight: 900;
}

.method-table td:last-child {
  color: #EDEDF5;
  font-weight: 800;
  white-space: nowrap;
}

.valuation-loader {
  display: grid;
  gap: 16px;
  place-items: center;
  min-height: 360px;
  padding: 32px 16px;
  text-align: center;
}

.valuation-loader-rings {
  position: relative;
  width: 94px;
  height: 94px;
}

.valuation-loader-rings span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid transparent;
  border-top-color: #f59e0b;
  animation: valuation-spin 1.15s linear infinite;
}

.valuation-loader-rings span:nth-child(2) {
  inset: 12px;
  border-top-color: #0f766e;
  animation-duration: 1.55s;
  animation-direction: reverse;
}

.valuation-loader-rings span:nth-child(3) {
  inset: 24px;
  border-top-color: #2563eb;
  animation-duration: 1.9s;
}

.valuation-loader strong {
  color: #EDEDF5;
  font: 900 1.35rem var(--font-display);
}

.valuation-loader p {
  margin: 4px 0 0;
  color: #8888A0;
  font-weight: 700;
}

@keyframes valuation-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .valuation-workspace,
  .valuation-shell .brief-heading {
    grid-template-columns: 1fr;
  }

  .valuation-form {
    position: static;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .valuation-grid,
  .valuation-summary {
    grid-template-columns: 1fr;
  }

  .valuation-actions {
    grid-template-columns: 1fr;
  }

  .valuation-pill strong {
    font-size: 1.25rem;
  }
}
