body {
  background: #f5f7fa;
}

.brand-shell {
  min-height: 100vh;
}

.brand-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(18, 38, 63, 0.08);
}

.brand-eyebrow {
  color: #8a5b3d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title {
  color: #1f2a44;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand-subtitle {
  color: #5b667a;
}

.table thead th {
  white-space: nowrap;
}

.bp-page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.bp-page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.bp-scenario-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bp-scenario-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  border: 1px solid #cfd6e4;
  background: #fff;
  color: #24324a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.bp-scenario-pill:hover {
  border-color: #7d8ba3;
  color: #132238;
}

.bp-scenario-pill.is-active {
  background: #1f6fd6;
  border-color: #1f6fd6;
  color: #fff;
}

.bp-scenario-select-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  background: #f8fbff;
}

.bp-scenario-select-label {
  margin: 0 0 0 0.45rem;
  color: #5b667a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-scenario-select {
  min-width: 13rem;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 2.35rem 0.5rem 0.9rem;
  background-color: #fff;
  color: #132238;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #cfd6e4;
}

.bp-scenario-select:focus {
  box-shadow: inset 0 0 0 1px #1f6fd6, 0 0 0 0.2rem rgba(31, 111, 214, 0.15);
}

.bp-kpi-card {
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 1rem 2.5rem rgba(18, 38, 63, 0.08);
}

.bp-scale-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  background: #f8fbff;
}

.bp-scale-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.75rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #274160;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.bp-scale-pill:hover {
  color: #132238;
}

.bp-scale-pill.is-active {
  background: #1f6fd6;
  color: #fff;
}

.bp-kpi-label {
  color: #5b667a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-kpi-value {
  color: #132238;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.bp-kpi-meta {
  color: #5b667a;
  font-size: 0.92rem;
}

.bp-panel {
  border: 1px solid #dde4ef;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  height: 100%;
}

.bp-panel-title {
  color: #132238;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

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

.bp-table th:first-child,
.bp-table td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
}

.bp-table tbody th {
  color: #132238;
  font-weight: 600;
}

.bp-total-cell {
  font-weight: 700;
}

.bp-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: #eef4fb;
  color: #274160;
  font-size: 0.84rem;
  font-weight: 600;
}

.bp-stat-card {
  border: 1px solid #dde4ef;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem 1.1rem;
  height: 100%;
}

.bp-stat-label {
  color: #5b667a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-stat-value {
  color: #132238;
  font-size: 1.65rem;
  font-weight: 700;
}

.bp-note {
  color: #5b667a;
  font-size: 0.92rem;
}

.bp-link-list,
.bp-bullet-list {
  margin: 0;
  padding-left: 1.1rem;
}

.bp-link-list li,
.bp-bullet-list li {
  margin-bottom: 0.5rem;
}

.bp-link-list a {
  color: #1f6fd6;
  text-decoration: none;
}

.bp-link-list a:hover {
  text-decoration: underline;
}

.bp-assumption-card {
  border: 1px solid #dde4ef;
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem;
  height: 100%;
}

.bp-data-card {
  border: 1px solid #dde4ef;
  border-radius: 1rem;
  background: #f9fbfe;
  padding: 1rem 1.1rem;
}

.bp-data-value {
  color: #132238;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.bp-inline-input {
  min-width: 4.75rem;
  padding: 0.3rem 0.45rem;
  border-color: #d8e0eb;
  background: #fff;
  text-align: right;
}

.bp-inline-unit {
  min-width: 7rem;
  text-align: left;
}

.bp-inline-textarea {
  border-color: #d8e0eb;
  background: #fff;
}

.bp-static-value {
  display: inline-block;
  min-width: 4.75rem;
  padding: 0.35rem 0.2rem;
  color: #132238;
}

.bp-static-unit {
  min-width: 7rem;
  font-weight: 600;
}

.bp-static-text {
  min-height: 6.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid #dde4ef;
  border-radius: 0.75rem;
  background: #f9fbfe;
  color: #274160;
  line-height: 1.55;
}

.bp-static-text-sm {
  min-height: 4.25rem;
}

.bp-assumption-name {
  color: #132238;
  font-size: 1rem;
  font-weight: 700;
}

.bp-assumption-summary {
  color: #132238;
  font-size: 1.8rem;
  font-weight: 700;
}

.bp-assumption-meta {
  color: #5b667a;
  font-size: 0.92rem;
}

.bp-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 767.98px) {
  .bp-page-header {
    align-items: start;
  }

  .bp-scenario-select-form {
    width: 100%;
    justify-content: space-between;
    border-radius: 1rem;
  }

  .bp-scenario-select-label {
    margin-left: 0;
  }

  .bp-scenario-select {
    min-width: 0;
    width: 100%;
  }

  .bp-kpi-value {
    font-size: 1.7rem;
  }

  .bp-assumption-summary {
    font-size: 1.55rem;
  }
}
