/* Lean FIRE Calculator - UK Specific */
.lfc-root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.lfc-input,
.lfc-btn-export,
.lfc-btn-add,
.lfc-btn-remove,
.lfc-jump-link,
.lfc-field-checkbox input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lfc-app {
  --lfc-bg: #faf9fc;
  --lfc-card: #ffffff;
  --lfc-border: #e2e8f0;
  --lfc-text: #0f172a;
  --lfc-muted: #475569;
  --lfc-primary: #155e75;
  --lfc-success: #16a34a;
  --lfc-teal: #0d9488;
  --lfc-teal-soft: #ccfbf1;
  --lfc-amber: #d97706;
  --lfc-danger: #dc2626;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--lfc-text);
  background: var(--lfc-bg);
  border: 2px solid rgba(8, 49, 65, 0.16);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.1);
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}

.lfc-app * { box-sizing: border-box; }
.lfc-app { overflow-wrap: break-word; word-wrap: break-word; }

.lfc-loading { padding: 2rem; text-align: center; color: var(--lfc-muted); }

.lfc-hero {
  background: linear-gradient(135deg, #fff 0%, #f0fdfa 55%, #ecfeff 100%);
  border: 1px solid rgba(21, 94, 117, 0.28);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}

.lfc-title { margin: 0 0 12px 0; font-size: 28px; font-weight: 800; color: var(--lfc-text); }
.lfc-subtitle { margin: 0; color: var(--lfc-muted); font-size: 15px; line-height: 1.6; }

.lfc-inst {
  background: #ecfeff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  color: #155e75;
  margin-bottom: 20px;
  text-align: center;
}

.lfc-takeaway {
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
}

.lfc-takeaway.lfc-takeaway-ok { background: #dcfce7; color: #166534; }
.lfc-takeaway.lfc-takeaway-warn { background: #fef3c7; color: #92400e; }
.lfc-takeaway.lfc-takeaway-fail { background: #fee2e2; color: #991b1b; }
.lfc-takeaway.lfc-takeaway-empty { background: #ecfeff; color: #155e75; }

.lfc-outcome {
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
  text-align: center;
  border: 2px solid;
  font-weight: 700;
}

.lfc-outcome.lfc-outcome-ok {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #ffffff 100%);
  border-color: var(--lfc-success);
  border-width: 3px;
}

.lfc-outcome.lfc-outcome-ok .lfc-outcome-icon { font-size: 48px; margin-bottom: 8px; }
.lfc-outcome.lfc-outcome-ok .lfc-outcome-line1 { font-size: 24px; color: var(--lfc-text); }
.lfc-outcome.lfc-outcome-ok .lfc-outcome-line2 { font-size: 16px; color: var(--lfc-success); margin-top: 6px; }

.lfc-outcome.lfc-outcome-warn {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #ffffff 100%);
  border-color: #0d9488;
  border-width: 3px;
}

.lfc-outcome.lfc-outcome-warn .lfc-outcome-icon { font-size: 48px; margin-bottom: 8px; }
.lfc-outcome.lfc-outcome-warn .lfc-outcome-line1 { font-size: 24px; color: var(--lfc-text); }
.lfc-outcome.lfc-outcome-warn .lfc-outcome-line2 { font-size: 16px; color: #475569; margin-top: 6px; }

.lfc-outcome.lfc-outcome-empty {
  background: linear-gradient(135deg, #ecfeff, #ffffff);
  border-color: var(--lfc-primary);
}

.lfc-outcome.lfc-outcome-empty .lfc-outcome-icon { font-size: 48px; margin-bottom: 8px; }
.lfc-outcome.lfc-outcome-empty .lfc-outcome-line1 { font-size: 24px; color: var(--lfc-text); }
.lfc-outcome.lfc-outcome-empty .lfc-outcome-line2 { font-size: 16px; color: var(--lfc-muted); margin-top: 6px; }

.lfc-outcome-impact { padding: 40px 32px !important; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.lfc-outcome-impact .lfc-outcome-icon { font-size: 64px !important; margin-bottom: 16px !important; }
.lfc-impact-value { font-size: 32px !important; letter-spacing: -0.5px; font-weight: 900 !important; }
.lfc-outcome.lfc-outcome-ok .lfc-impact-value { font-size: 36px !important; color: var(--lfc-success) !important; }
.lfc-outcome.lfc-outcome-warn .lfc-impact-value { color: #0d9488 !important; }
.lfc-outcome-line1, .lfc-outcome-line2 { display: block; }
.lfc-outcome-line2 { font-size: 18px !important; font-weight: 800 !important; margin-top: 10px !important; }
.lfc-outcome.lfc-outcome-warn .lfc-outcome-line2 { color: #0d9488 !important; }
.lfc-progress-bar-wrap { margin-top: 20px; max-width: 320px; margin-left: auto; margin-right: auto; }
.lfc-progress-bar { height: 12px; background: rgba(0, 0, 0, 0.08); border-radius: 6px; overflow: hidden; }
.lfc-progress-fill { height: 100%; background: linear-gradient(90deg, #0d9488, #10b981); border-radius: 6px; transition: width 0.4s ease; }

.lfc-part-time-warning { background: #fffbeb !important; border-color: #f59e0b !important; color: #92400e !important; }
.lfc-shortfall {
  margin-top: 16px !important;
  padding: 16px 20px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  color: #334155 !important;
  line-height: 1.6 !important;
}
.lfc-results-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lfc-funding-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0;
}

.lfc-funding-row {
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.lfc-funding-row.lfc-funding-accessible {
  border-left: 4px solid #0d9488;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
}
.lfc-funding-row.lfc-funding-pension {
  border-left: 4px solid #6366f1;
  background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
}
.lfc-funding-row.lfc-funding-cash {
  border-left: 4px solid #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}
.lfc-funding-label { font-weight: 700; font-size: 15px; color: #0f172a; margin-bottom: 6px; }
.lfc-funding-value { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.lfc-funding-note { font-size: 14px; color: #64748b; line-height: 1.5; }

.lfc-bridge-timeline {
  padding: 16px 20px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border-radius: 8px;
  border: 1px solid #99f6e4;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  text-align: center;
}

.lfc-other-row { margin-bottom: 20px; padding: 16px; background: #f8fafc; border-radius: 4px; border: 1px solid var(--lfc-border); }
.lfc-other-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.lfc-other-field { display: flex; flex-direction: column; gap: 4px; min-width: 80px; }
.lfc-other-field label { font-size: 12px; font-weight: 600; color: var(--lfc-muted); }
.lfc-other-inner .lfc-input { min-width: 80px; }
.lfc-btn-add { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--lfc-teal); background: var(--lfc-teal-soft); border: 1px solid #99f6e4; border-radius: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lfc-btn-add:hover { background: #99f6e4; }
.lfc-btn-remove { padding: 6px 10px; font-size: 14px; background: #fee2e2; border: 1px solid #fecaca; border-radius: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lfc-btn-remove:hover { background: #fecaca; }
.lfc-other-wrap { display: flex; flex-direction: column; gap: 12px; }

.lfc-card {
  background: var(--lfc-card);
  border: 1px solid var(--lfc-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.lfc-card-input {
  background: linear-gradient(165deg, #f1f5f9 0%, #fff 45%);
  border: 2px solid rgba(8, 49, 65, 0.2);
  border-left: 5px solid #083141;
  box-shadow: 0 6px 22px rgba(8, 49, 65, 0.07);
}
.lfc-results-wrap .lfc-card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 2px solid rgba(21, 94, 117, 0.2);
}
.lfc-results-wrap .lfc-results-card {
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.08);
}
.lfc-results-header {
  margin: 8px 0 16px;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(248, 250, 252, 0.75) 100%);
  border: 1px solid rgba(8, 49, 65, 0.16);
}
.lfc-results-header h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 800;
  color: #083141;
}
.lfc-results-header p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.lfc-card h3 { margin: 0 0 20px 0; font-size: 22px; font-weight: 800; color: var(--lfc-text); letter-spacing: -0.3px; border-bottom: 2px solid var(--lfc-border); padding-bottom: 12px; }

.lfc-section-desc {
  font-size: 14px;
  color: var(--lfc-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.lfc-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: start;
}

.lfc-funding-subsections { display: flex; flex-direction: column; gap: 24px; }
.lfc-funding-subsection { padding: 20px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
.lfc-funding-subsection .lfc-subsection-title {
  margin: 0 0 16px 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}
.lfc-balance-monthly-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.lfc-field { margin-bottom: 20px; }
.lfc-field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--lfc-text);
  letter-spacing: -0.2px;
}
.lfc-field-checkbox .lfc-field-label { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.lfc-field-hint {
  font-size: 12px;
  color: var(--lfc-muted);
  line-height: 1.4;
  margin-top: 6px;
}
.lfc-db-fields { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }

.lfc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lfc-border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--lfc-text);
}

.lfc-input:focus {
  outline: none;
  border-color: var(--lfc-primary);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.lfc-input-money { font-weight: 600; }

.lfc-hint { font-size: 12px; color: var(--lfc-muted); margin-top: 6px; }

.lfc-field-checkbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lfc-field-checkbox input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; cursor: pointer; }

.lfc-kpis-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.lfc-kpi {
  background: #fff;
  border: 1px solid var(--lfc-border);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.lfc-kpi-label { font-size: 13px; color: var(--lfc-muted); font-weight: 600; margin-bottom: 8px; }
.lfc-kpi-value { font-size: 28px; font-weight: 800; color: var(--lfc-teal); margin: 0; }
.lfc-kpi-sub { font-size: 12px; color: var(--lfc-muted); margin-top: 6px; }

.lfc-kpi-highlight {
  color: #fff;
  border: 2px solid transparent;
}

.lfc-kpi-highlight .lfc-kpi-label,
.lfc-kpi-highlight .lfc-kpi-value,
.lfc-kpi-highlight .lfc-kpi-sub { color: #fff !important; }

.lfc-kpi-highlight.lfc-kpi-teal {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-color: #0d9488;
}

.lfc-kpi-highlight.lfc-kpi-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #16a34a;
}

.lfc-kpi-highlight.lfc-kpi-amber {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border-color: #d97706;
}

.lfc-table-wrapper { overflow-x: auto; margin: 16px 0; border-radius: 4px; border: 1px solid var(--lfc-border); -webkit-overflow-scrolling: touch; }
.lfc-table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--lfc-card); }
.lfc-table th { background: #f1f5f9; padding: 12px; text-align: left; font-weight: 700; font-size: 13px; border-bottom: 2px solid var(--lfc-border); }
.lfc-table td { padding: 12px; border-bottom: 1px solid var(--lfc-border); font-size: 14px; }
.lfc-table tr:hover { background: #f0fdfa; }
.lfc-projection-block { margin-bottom: 32px; }
.lfc-projection-block:last-child { margin-bottom: 0; }
.lfc-projection-subtitle {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}
.lfc-projection-drawdown { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e2e8f0; }

.lfc-projection-key {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.lfc-projection-key .lfc-key-item { margin-bottom: 8px; }
.lfc-projection-key .lfc-key-item:last-child { margin-bottom: 0; }
.lfc-projection-key .lfc-key-emoji { margin-right: 8px; font-size: 14px; }

.lfc-insights-card {
  margin-top: 24px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.lfc-insights-title { margin: 0 0 16px 0; font-size: 17px; font-weight: 800; color: #0f172a; }
.lfc-insights-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.lfc-insight {
  flex: 1;
  min-width: 200px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.lfc-insight-label { font-size: 13px; font-weight: 700; color: #64748b; margin-bottom: 4px; }
.lfc-insight-value { font-size: 18px; font-weight: 800; color: #0d9488; margin-bottom: 6px; }
.lfc-insight-note { font-size: 12px; color: #64748b; line-height: 1.4; }

/* Surplus & spending headroom – card layout */
.lfc-surplus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.lfc-surplus-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.lfc-surplus-age {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0d9488;
  background: #ccfbf1;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.lfc-surplus-value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.lfc-surplus-meta {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.lfc-surplus-meta strong { color: #0f172a; }

.lfc-drawdown-order {
  padding: 14px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  font-size: 13px; color: #334155; line-height: 1.5;
}
.lfc-drawdown-title { font-weight: 800; margin-bottom: 6px; color: #0f172a; }
.lfc-drawdown-note { color: #475569; }

.lfc-row-fire { background: #ecfdf5 !important; font-weight: 700; }
.lfc-row-fire td { color: #0f172a; }
.lfc-row-key { background: #f8fafc; }

.lfc-table th:nth-child(n+2), .lfc-table td:nth-child(n+2) { text-align: right; }

.lfc-export-section {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #ecfeff 100%);
  border: 2px solid rgba(21, 94, 117, 0.3);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(21, 94, 117, 0.12);
}

.lfc-btn-export {
  width: 100%;
  max-width: 420px;
  padding: 16px 32px;
  min-height: 48px;
  min-width: 44px;
  font-size: 16px;
  border: 2px solid #0c4a5f;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #0e7490 0%, #155e75 55%, #164e63 100%);
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 0 #0c4a5f, 0 16px 34px rgba(21, 94, 117, 0.35);
}

.lfc-btn-export:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 8px 0 #0c4a5f, 0 18px 34px rgba(21, 94, 117, 0.35);
}

.lfc-export-title { margin: 0 0 8px 0; color: #083141; font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 950; }
.lfc-export-desc { margin: 0 0 16px 0; color: #475569; font-size: .92rem; line-height: 1.5; font-weight: 650; }
.lfc-export-list {
  margin: 0 auto 16px;
  padding-left: 18px;
  max-width: 700px;
  text-align: left;
  color: #334155;
}
.lfc-export-list li { margin-bottom: 8px; line-height: 1.5; }

.lfc-jump-link {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 24px;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lfc-primary);
  background: #ecfeff;
  border: 1px solid var(--lfc-border);
  border-radius: 4px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.lfc-jump-link:hover { background: #cffafe; }

@media (max-width: 680px) {
  .lfc-app { padding: 16px; }
  .lfc-hero { padding: 20px; }
  .lfc-card { padding: 20px; }
  .lfc-card h3 { font-size: 20px; }
  .lfc-funding-subsection { padding: 16px; }
  .lfc-funding-subsection .lfc-subsection-title { font-size: 16px; }
  .lfc-kpis-hero { grid-template-columns: 1fr; }
  .lfc-title { font-size: 24px; }
  .lfc-kpi-value { font-size: 24px; }
  .lfc-impact-value { font-size: 24px !important; }
  .lfc-outcome.lfc-outcome-ok .lfc-impact-value { font-size: 26px !important; }
  .lfc-grid-2 { grid-template-columns: 1fr; }
  .lfc-balance-monthly-row { grid-template-columns: 1fr; }
  .lfc-other-inner { flex-direction: column; align-items: stretch; }
  .lfc-other-field { min-width: 100%; }
  .lfc-insight { min-width: 100%; }
  .lfc-surplus-grid { grid-template-columns: 1fr; }
  .lfc-pros-cons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lfc-app { padding: 12px; }
  .lfc-hero { padding: 16px; }
  .lfc-card { padding: 16px; }
  .lfc-card h3 { font-size: 18px; }
  .lfc-funding-subsection { padding: 14px; }
  .lfc-table { min-width: 280px; font-size: 13px; }
  .lfc-table th, .lfc-table td { padding: 10px 8px; }
  .lfc-btn-export { padding: 14px 24px; width: 100%; }
  .lfc-export-section { padding: 16px; }
  .lfc-input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .lfc-btn-export:hover { transform: none; }
  .lfc-progress-fill { transition: none; }
}

@media print {
  .lfc-app > *:not(.lfc-print-message) { display: none !important; }
  .lfc-print-message {
    display: block !important;
    padding: 2rem;
    font-size: 16px;
    color: #475569;
    background: #fff;
  }
}

.lfc-print-message { display: none; }

/* Charts */
.lfc-charts-section { margin-top: 24px; padding: 24px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.lfc-charts-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 20px; }
.lfc-chart-wrap { width: 100%; max-width: 100%; overflow: hidden; background: #fff; border-radius: 8px; padding: 24px; border: 1px solid #e2e8f0; margin-bottom: 32px; }
.lfc-chart-wrap:last-child { margin-bottom: 0; }
.lfc-chart-title { margin: 0 0 8px 0; font-size: 17px; font-weight: 800; color: #0f172a; }
.lfc-chart-desc { margin: 0 0 20px 0; font-size: 14px; color: #64748b; line-height: 1.5; }
.lfc-chart-svg { width: 100%; height: auto; display: block; min-height: 280px; }
.lfc-chart-income .lfc-chart-svg { min-height: 220px; }

/* Pros & Cons */
.lfc-pros-cons-card { margin-top: 24px; padding: 20px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border: 1px solid #e2e8f0; border-radius: 8px; }
.lfc-pros-cons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 16px; }
.lfc-pros, .lfc-cons { padding: 20px; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; }
.lfc-pros { border-left: 4px solid #16a34a; }
.lfc-cons { border-left: 4px solid #d97706; }
.lfc-pros-cons-head { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.lfc-pros .lfc-pros-cons-head { color: #16a34a; }
.lfc-cons .lfc-pros-cons-head { color: #d97706; }
.lfc-pros-cons-list { margin: 0; padding-left: 20px; font-size: 14px; color: #475569; line-height: 1.6; }
.lfc-pros-cons-list li { margin-bottom: 8px; }
.lfc-barista-explainer { margin-top: 16px; padding: 16px; background: #ecfeff; border-radius: 8px; border: 1px solid #bae6fd; font-size: 15px; color: #155e75; line-height: 1.6; }
.lfc-action-card {
  border-left: 4px solid #0f766e;
}
.lfc-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.lfc-action-item {
  padding: 14px;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  background: #ffffff;
}
.lfc-action-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 4px;
}
.lfc-action-value {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.lfc-verdict {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.lfc-verdict-ok {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}
.lfc-verdict-warn {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}
