.cbft-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem;
}

.cbft-wrap {
  width: 100%;
}

.cbft-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .cbft-grid {
    grid-template-columns: 1fr;
  }
}

.cbft-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cbft-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text, #1e293b);
}

.cbft-sub-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--text, #1e293b);
}

.cbft-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.cbft-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cbft-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #059669;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cbft-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cbft-col {
  flex: 1;
}

.cbft-field {
  margin-bottom: 0.75rem;
}

.cbft-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin-bottom: 0.35rem;
}

.cbft-input,
.cbft-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text, #1e293b);
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
}

.cbft-input:focus,
.cbft-select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Score Banner */
.cbft-score-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cbft-score-caption {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.cbft-score-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
}

.cbft-score-num {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #a7f3d0;
}

.cbft-score-unit {
  font-size: 1rem;
  opacity: 0.9;
}

.cbft-score-verdict {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0.5rem 0 0 0;
  font-weight: 600;
}

/* Benchmarks */
.cbft-benchmark-section {
  margin-bottom: 1.5rem;
}

.cbft-benchmark-row {
  margin-bottom: 0.65rem;
}

.cbft-bm-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text, #1e293b);
  margin-bottom: 0.25rem;
}

.cbft-bm-track {
  width: 100%;
  height: 8px;
  background: var(--border, #e2e8f0);
  border-radius: 4px;
  overflow: hidden;
}

.cbft-bm-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.cbft-bar-target { background: #10b981; }
.cbft-bar-global { background: #0284c7; }
.cbft-bar-user { background: #f59e0b; }
.cbft-bar-uk { background: #64748b; }
.cbft-bar-us { background: #ef4444; }

/* Category Grid */
.cbft-category-section {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 1rem;
}

.cbft-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
}

.cbft-cat-item {
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.cbft-cat-name {
  display: block;
  font-size: 0.75rem;
  color: var(--muted, #64748b);
  margin-bottom: 0.25rem;
}

.cbft-cat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #065f46;
  font-variant-numeric: tabular-nums;
}

/* Offset Box */
.cbft-offset-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cbft-offset-text {
  flex: 1;
}

.cbft-offset-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 0.2rem;
}

.cbft-offset-desc {
  font-size: 0.75rem;
  color: #047857;
  margin: 0;
  line-height: 1.35;
}

.cbft-offset-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #065f46;
  white-space: nowrap;
}

/* Recommendations */
.cbft-actions-section {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 1rem;
}

.cbft-recs-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text, #1e293b);
  line-height: 1.5;
}

.cbft-recs-list li {
  margin-bottom: 0.35rem;
}

.cbft-export-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cbft-btn-action {
  background: #059669;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.cbft-btn-action:hover {
  background: #047857;
}

.cbft-copy-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
}
