:root {
  --bp-orange: #ff891d;
  --bp-orange-deep: #f97316;
  --bp-blue: #4f69b3;
  --bp-blue-dark: #35509a;
  --bp-blue-soft: #eef2ff;
  --bp-gray: #aab4c2;
  --bp-ink: #24324b;
  --bp-bg: #f5f7fc;
  --bp-card: rgba(255, 255, 255, 0.9);
  --bp-border: rgba(79, 105, 179, 0.14);
  --bp-shadow: 0 24px 60px rgba(35, 50, 75, 0.14);
}

html,
body {
  min-height: 100%;
}

body.bp-body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--bp-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 137, 29, 0.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(79, 105, 179, 0.2), transparent 28%),
    linear-gradient(135deg, #f7f8fc 0%, #edf2fb 55%, #fdfefe 100%);
}

a {
  color: var(--bp-blue);
}

a:hover {
  color: var(--bp-blue-dark);
}

.bp-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.bp-shell::before,
.bp-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bp-shell::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: rgba(255, 137, 29, 0.18);
}

.bp-shell::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -90px;
  background: rgba(79, 105, 179, 0.14);
}

.bp-content {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.bp-card {
  background: var(--bp-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bp-border);
  border-radius: 28px;
  box-shadow: var(--bp-shadow);
}

.bp-logo {
  max-width: 250px;
  width: 100%;
}

.bp-hero-art {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 18px 30px rgba(79, 105, 179, 0.16));
}

.bp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(79, 105, 179, 0.08);
  color: var(--bp-blue-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
}

.bp-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bp-subtitle {
  color: #5d6c85;
  font-size: 1rem;
  line-height: 1.7;
}

.bp-form-group {
  margin-bottom: 1rem;
}

.bp-form-control,
.bp-form-select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(79, 105, 179, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--bp-ink);
  padding: 0.9rem 1rem;
  min-height: 54px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bp-form-control:focus,
.bp-form-select:focus {
  outline: none;
  border-color: rgba(79, 105, 179, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(79, 105, 179, 0.12);
}

.bp-btn-primary,
.bp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bp-btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--bp-orange) 0%, var(--bp-orange-deep) 100%);
  box-shadow: 0 18px 30px rgba(255, 137, 29, 0.26);
}

.bp-btn-outline {
  border: 1px solid rgba(79, 105, 179, 0.18);
  color: var(--bp-blue-dark);
  background: #fff;
}

.bp-btn-primary:hover,
.bp-btn-outline:hover {
  transform: translateY(-1px);
}

.bp-link-muted {
  color: #73819a;
}

.bp-alert {
  border-radius: 16px;
  border: none;
}

.bp-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.bp-plan-card {
  position: relative;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(79, 105, 179, 0.14);
  box-shadow: 0 16px 40px rgba(35, 50, 75, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bp-plan-card.is-popular {
  border: 2px solid rgba(255, 137, 29, 0.55);
  transform: translateY(-6px);
}

.bp-badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--bp-orange) 0%, var(--bp-orange-deep) 100%);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.bp-plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bp-blue-dark);
}

.bp-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.bp-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #55637c;
}

.bp-feature-list i.fa-check-circle {
  color: #16a34a;
}

.bp-feature-list i.fa-times-circle {
  color: #d64545;
}

.bp-package-summary {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(79, 105, 179, 0.1) 0%, rgba(255, 137, 29, 0.1) 100%);
  border: 1px solid rgba(79, 105, 179, 0.14);
  padding: 20px;
}

.bp-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 105, 179, 0.16) 0%, rgba(255, 137, 29, 0.16) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--bp-blue-dark);
}

.bp-dashboard-stat {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(79, 105, 179, 0.12);
  box-shadow: 0 14px 30px rgba(35, 50, 75, 0.08);
}

.bp-dashboard-stat small {
  color: #7a879d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bp-dashboard-stat h3 {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--bp-blue-dark);
}

.bp-fade-in {
  animation: bpFadeIn 0.7s ease both;
}

.bp-btn-sm {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.bp-btn-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.bp-dashboard-table td,
.bp-dashboard-table th {
  vertical-align: middle;
}

.bp-action-group {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.bp-builder-shell {
  min-height: 100vh;
  padding-top: 96px;
}

.bp-builder-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 105, 179, 0.12);
  box-shadow: 0 10px 30px rgba(35, 50, 75, 0.08);
}

.bp-builder-layout {
  display: grid;
  grid-template-columns: minmax(280px, 30%) minmax(0, 70%);
  gap: 20px;
  align-items: start;
}

.bp-builder-layout.is-collapsed {
  grid-template-columns: 88px minmax(0, 1fr);
}

.bp-builder-sidebar,
.bp-builder-detail {
  min-height: calc(100vh - 140px);
}

.bp-builder-sidebar {
  position: sticky;
  top: 110px;
  overflow: hidden;
}

.bp-tree-header {
  margin-bottom: 14px;
}

.bp-tree-scroll {
  max-height: calc(100vh - 240px);
  overflow: auto;
  padding-right: 4px;
}

.bp-tree-root {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bp-tree-root ul {
  list-style: none;
  margin: 8px 0 0;
  padding-left: 14px;
  border-left: 1px solid rgba(79, 105, 179, 0.14);
}

.bp-tree-item {
  margin-bottom: 8px;
}

.bp-tree-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 247, 255, 0.96) 100%);
  border: 1px solid rgba(79, 105, 179, 0.1);
  box-shadow: 0 6px 16px rgba(35, 50, 75, 0.05);
}

.bp-tree-node-title {
  font-weight: 700;
  color: var(--bp-ink);
  display: block;
  white-space: normal;
  word-break: break-word;
  font-size: 0.96rem;
}

.bp-tree-node-title.is-regular {
  font-weight: 400 !important;
  font-size: 0.9rem;
}

.bp-tree-title-link {
  color: var(--bp-ink);
  text-decoration: none;
}

.bp-tree-title-link:hover {
  color: var(--bp-blue-dark);
  text-decoration: none;
}

.bp-tree-node-meta {
  display: block;
  font-size: 0.82rem;
  color: #76839a;
  margin-top: 2px;
}

.bp-tree-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bp-tree-node-compact .bp-tree-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.bp-tree-code {
  min-width: 44px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 105, 179, 0.11);
  color: var(--bp-blue-dark);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.bp-tree-node-compact .bp-tree-node-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.bp-tree-node-hint {
  display: none;
}

.bp-tree-node-project {
  background: linear-gradient(135deg, rgba(79, 105, 179, 0.9) 0%, rgba(53, 80, 154, 0.94) 100%);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(53, 80, 154, 0.18);
}

.bp-tree-node-project .bp-tree-node-title {
  color: #fff;
}

.bp-tree-node-empty {
  background: rgba(79, 105, 179, 0.04);
  border-style: dashed;
  box-shadow: none;
}

.bp-tree-icon-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 137, 29, 0.14);
  color: var(--bp-orange-deep);
  transition: transform 0.2s ease, background 0.2s ease;
}

.bp-tree-icon-btn.dropdown-toggle::after {
  display: none;
}

.bp-tree-icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 137, 29, 0.24);
}

.bp-tree-dropdown {
  border: 1px solid rgba(79, 105, 179, 0.12);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 14px 34px rgba(35, 50, 75, 0.14);
}

.bp-tree-dropdown .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  color: var(--bp-ink);
}

.bp-tree-dropdown .dropdown-item:hover {
  background: rgba(79, 105, 179, 0.08);
}

.bp-builder-layout.is-collapsed .bp-tree-copy,
.bp-builder-layout.is-collapsed .bp-tree-actions,
.bp-builder-layout.is-collapsed .bp-tree-node-meta,
.bp-builder-layout.is-collapsed .bp-tree-header h2,
.bp-builder-layout.is-collapsed .bp-tree-header p {
  display: none;
}

.bp-builder-layout.is-collapsed .bp-tree-node {
  justify-content: center;
  padding: 14px 8px;
}

.bp-builder-layout.is-collapsed .bp-tree-code {
  min-width: 0;
  width: 30px;
}

.bp-detail-placeholder {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav-tabs .nav-link {
  border-radius: 12px 12px 0 0;
  font-weight: 600;
  color: var(--bp-blue-dark);
}

.nav-tabs .nav-link.active {
  color: var(--bp-orange-deep);
  border-color: rgba(79, 105, 179, 0.14) rgba(79, 105, 179, 0.14) #fff;
}

.bp-solution-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 137, 29, 0.22), transparent 26%),
    radial-gradient(circle at 18% 88%, rgba(79, 105, 179, 0.2), transparent 28%),
    linear-gradient(135deg, #f7f9ff 0%, #eef3fb 55%, #ffffff 100%);
}

.bp-solution-sidebar {
  min-height: 100vh;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(79, 105, 179, 0.14);
  box-shadow: 18px 0 50px rgba(35, 50, 75, 0.08);
  display: flex;
  flex-direction: column;
}

.bp-solution-brand img {
  max-width: 190px;
  width: 100%;
}

.bp-solution-project-card {
  margin: 28px 0;
  padding: 18px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(79, 105, 179, 0.96) 0%, rgba(53, 80, 154, 0.96) 100%);
  box-shadow: 0 18px 36px rgba(53, 80, 154, 0.22);
}

.bp-solution-project-card span,
.bp-solution-project-card small {
  display: block;
  opacity: 0.82;
}

.bp-solution-project-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.08rem;
}

.bp-solution-nav {
  display: grid;
  gap: 8px;
}

.bp-solution-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  color: #53617a;
  font-weight: 700;
  text-decoration: none;
}

.bp-solution-nav a.active,
.bp-solution-nav a:hover {
  color: var(--bp-blue-dark);
  background: rgba(79, 105, 179, 0.1);
}

.bp-solution-nav i {
  color: var(--bp-orange-deep);
  width: 18px;
}

.bp-solution-sidebar-footer {
  margin-top: auto;
}

.bp-solution-main {
  padding: 34px;
}

.bp-solution-header {
  min-height: 270px;
  border-radius: 34px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(36, 50, 75, 0.92) 0%, rgba(53, 80, 154, 0.92) 56%, rgba(255, 137, 29, 0.86) 100%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.2), transparent 22%);
  box-shadow: 0 30px 70px rgba(35, 50, 75, 0.2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.bp-solution-header::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.12);
}

.bp-solution-header h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  margin: 0 0 18px;
}

.bp-solution-header p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.bp-solution-header .bp-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.bp-solution-header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bp-solution-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: -46px 28px 24px;
  position: relative;
  z-index: 2;
}

.bp-solution-metric {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(79, 105, 179, 0.12);
  box-shadow: 0 18px 38px rgba(35, 50, 75, 0.1);
}

.bp-solution-metric span,
.bp-solution-kicker {
  display: block;
  color: #73819a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.bp-solution-metric strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--bp-blue-dark);
  font-size: 1.45rem;
}

.bp-solution-metric small {
  color: #6b7890;
}

.bp-solution-metric.highlight {
  background: linear-gradient(135deg, rgba(255, 137, 29, 0.98) 0%, rgba(249, 115, 22, 0.96) 100%);
  color: #fff;
}

.bp-solution-metric.highlight span,
.bp-solution-metric.highlight strong,
.bp-solution-metric.highlight small {
  color: #fff;
}

.bp-solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
}

.bp-solution-panel {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(79, 105, 179, 0.12);
  box-shadow: 0 18px 44px rgba(35, 50, 75, 0.09);
}

.bp-solution-panel-large {
  grid-row: span 2;
}

.bp-solution-panel h2 {
  margin: 6px 0 16px;
  font-weight: 800;
  color: var(--bp-ink);
}

.bp-solution-panel p {
  color: #61708a;
  line-height: 1.75;
}

.bp-solution-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.bp-architecture-map {
  min-height: 420px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(79, 105, 179, 0.08) 0%, rgba(255, 137, 29, 0.08) 100%),
    repeating-linear-gradient(90deg, rgba(79, 105, 179, 0.08) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(79, 105, 179, 0.08) 0 1px, transparent 1px 36px);
  display: grid;
  align-content: center;
  gap: 14px;
}

.bp-arch-node {
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(79, 105, 179, 0.14);
  box-shadow: 0 16px 34px rgba(35, 50, 75, 0.09);
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}

.bp-arch-node i {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--bp-blue);
}

.bp-arch-node strong,
.bp-arch-node span {
  grid-column: 2;
}

.bp-arch-node span {
  color: #73819a;
}

.bp-arch-node.primary i {
  background: var(--bp-orange-deep);
}

.bp-arch-node.accent i {
  background: #16a34a;
}

.bp-arch-line {
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bp-orange), var(--bp-blue));
  border-radius: 999px;
}

.bp-solution-tags,
.bp-solution-stack,
.bp-solution-checklist,
.bp-solution-timeline {
  display: grid;
  gap: 12px;
}

.bp-solution-tags {
  display: flex;
  flex-wrap: wrap;
}

.bp-solution-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 105, 179, 0.1);
  color: var(--bp-blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.bp-solution-checklist label,
.bp-solution-stack div,
.bp-solution-timeline div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(79, 105, 179, 0.06);
  color: #53617a;
  font-weight: 700;
}

.bp-solution-checklist input {
  margin-right: 8px;
}

.bp-solution-stack div,
.bp-solution-timeline div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-solution-stack i,
.bp-solution-timeline strong {
  color: var(--bp-orange-deep);
}

.bp-solution-entry-shell {
  grid-template-columns: 300px minmax(0, 1fr);
}

.bp-solution-entry-shell .bp-solution-sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}

.bp-solution-entry-shell .bp-solution-nav a {
  padding: 11px 13px;
  font-size: 0.9rem;
}

.bp-solution-section {
  display: none;
  animation: bpFadeIn 0.28s ease both;
}

.bp-solution-section.active {
  display: block;
}

.bp-solution-entry-hero {
  min-height: 250px;
  margin-bottom: 24px;
}

.bp-solution-entry-hero h1 {
  max-width: 820px;
}

.bp-solution-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bp-solution-capture-card {
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(79, 105, 179, 0.13);
  box-shadow: 0 18px 44px rgba(35, 50, 75, 0.09);
}

.bp-solution-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--bp-orange), var(--bp-blue));
  box-shadow: 0 16px 28px rgba(79, 105, 179, 0.22);
  margin-bottom: 18px;
}

.bp-solution-input-title {
  display: block;
  color: var(--bp-ink);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.bp-solution-capture-card p {
  color: #61708a;
  line-height: 1.65;
  margin-bottom: 18px;
}

.bp-solution-long-text,
.bp-solution-cell-textarea {
  resize: vertical;
}

.bp-solution-long-text {
  min-height: 172px;
}

.bp-solution-table-panel {
  min-height: calc(100vh - 68px);
}

.bp-solution-alert {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(35, 50, 75, 0.08);
}

.bp-solution-subtitle {
  color: var(--bp-blue-dark);
  font-size: 1rem;
  font-weight: 800;
  margin: 8px 0 14px;
}

.bp-solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: rgba(79, 105, 179, 0.08);
}

.bp-solution-tabs button {
  border: 0;
  border-radius: 15px;
  padding: 10px 18px;
  color: #53617a;
  background: transparent;
  font-weight: 800;
}

.bp-solution-tabs button.active,
.bp-solution-tabs button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--bp-blue-dark), var(--bp-orange-deep));
  box-shadow: 0 12px 24px rgba(79, 105, 179, 0.18);
}

.bp-solution-tab-pane {
  display: none;
}

.bp-solution-tab-pane.active {
  display: block;
}

.bp-solution-upload-box {
  max-width: 620px;
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(79, 105, 179, 0.34);
  background: rgba(79, 105, 179, 0.06);
}

.bp-solution-upload-box p {
  color: #61708a;
}

.bp-solution-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.bp-solution-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(79, 105, 179, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.bp-solution-entry-table {
  min-width: 1040px;
  margin-bottom: 0;
  table-layout: fixed;
}

.bp-solution-entry-table th {
  color: var(--bp-blue-dark);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(79, 105, 179, 0.08);
  border-bottom: 1px solid rgba(79, 105, 179, 0.13);
}

.bp-solution-entry-table td,
.bp-solution-entry-table th {
  padding: 12px;
  vertical-align: top;
}

.bp-solution-entry-table .form-control,
.bp-solution-entry-table .form-select {
  border-color: rgba(79, 105, 179, 0.16);
  border-radius: 12px;
  color: var(--bp-ink);
  font-size: 0.88rem;
}

.bp-solution-entry-table textarea.form-control {
  min-height: 106px;
}

.bp-solution-entry-table .bp-ref-input {
  text-align: center;
  font-weight: 800;
  color: var(--bp-blue-dark);
  background: rgba(79, 105, 179, 0.08);
}

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

.bp-swot-grid label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.bp-swot-grid span {
  color: #61708a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bp-swot-grid textarea.form-control {
  min-height: 82px;
}

.bp-solution-row-actions {
  white-space: nowrap;
}

.bp-solution-row-actions .btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.bp-solution-row-actions .btn:disabled {
  opacity: 0.38;
}

@media (max-width: 1100px) {
  .bp-solution-shell {
    grid-template-columns: 1fr;
  }

  .bp-solution-sidebar {
    min-height: auto;
    position: relative;
    max-height: none;
  }

  .bp-solution-metrics,
  .bp-solution-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .bp-solution-main {
    padding: 18px;
  }

  .bp-solution-header {
    flex-direction: column;
  }

  .bp-solution-capture-grid {
    grid-template-columns: 1fr;
  }

  .bp-solution-metrics,
  .bp-solution-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }
}

@keyframes bpFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .bp-builder-shell {
    padding-top: 84px;
  }

  .bp-builder-layout,
  .bp-builder-layout.is-collapsed {
    grid-template-columns: 1fr;
  }

  .bp-builder-sidebar {
    position: static;
    min-height: auto;
  }

  .bp-tree-scroll {
    max-height: none;
  }

  .bp-content {
    padding: 24px 0;
  }

  .bp-plan-card.is-popular {
    transform: none;
  }
}
