/* Farmer map + analytics — insights from onboarding geo & bankability data */

.fi-page { min-height: 100vh; background: hsl(206, 47%, 91%); font-family: 'Inter', sans-serif; padding-bottom: 3rem; }
.fi-loading { min-height: 50vh; display: flex; align-items: center; justify-content: center; color: #64748b; }
.fi-hero { background: linear-gradient(135deg, hsl(231, 79%, 12%), #0f766e); color: #fff; padding: 2rem 1rem 2.5rem; }
.fi-hero-inner { max-width: none; margin: 0; width: 100%; }
.fi-hero a { color: rgba(255,255,255,0.65); font-size: 0.8rem; text-decoration: none; }
.fi-hero h1 { font-size: 1.75rem; font-weight: 800; margin: 0.75rem 0 0.25rem; }
.fi-hero p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 48rem; margin: 0; }
.fi-container { max-width: none; margin: 0; padding: 1.5rem 0; width: 100%; }
.fi-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.fi-nav a { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 600; text-decoration: none; background: #fff; color: hsl(231, 79%, 12%); border: 1px solid #e2e8f0; }
.fi-nav a.active { background: linear-gradient(135deg, #00A651, #0d9488); color: #fff; border: none; }
.fi-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; margin-bottom: 1rem; }
.fi-card-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin: 0 0 1rem; }
.fi-map-wrap { border-radius: 0.75rem; overflow: hidden; border: 1px solid #e2e8f0; }
.fi-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 768px) { .fi-meta { grid-template-columns: repeat(4, 1fr); } }
.fi-meta dt { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin: 0; }
.fi-meta dd { font-size: 0.875rem; font-weight: 600; color: #0f172a; margin: 0.125rem 0 0; }
.fi-banner { border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1rem; background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.fi-banner.warn { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.fi-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 1024px) { .fi-stats { grid-template-columns: repeat(4, 1fr); } }
.fi-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1rem; text-align: center; }
.fi-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.fi-stat span { font-size: 0.75rem; color: #64748b; }
.fi-score-row { margin-bottom: 1rem; }
.fi-score-label { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; color: #334155; margin-bottom: 0.35rem; }
.fi-score-bar { height: 0.5rem; background: #e2e8f0; border-radius: 9999px; overflow: hidden; }
.fi-score-fill { height: 100%; background: linear-gradient(135deg, #00A651, #0d9488); }
.fi-score-fill.alt { background: linear-gradient(135deg, #1d4ed8, #6366f1); }
.fi-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .fi-grid-2 { grid-template-columns: 1fr 1fr; } }
.fi-bar { margin-bottom: 0.75rem; }
.fi-bar-head { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.25rem; }
.fi-bar-head strong { color: #0f172a; }
.fi-bar-head span { color: #64748b; }
.fi-bar-track { height: 0.625rem; background: #f1f5f9; border-radius: 9999px; overflow: hidden; }
.fi-bar-fill { height: 100%; background: linear-gradient(90deg, #00A651, #0d9488); border-radius: 9999px; }
.fi-empty { text-align: center; padding: 2rem 1rem; color: #64748b; font-size: 0.875rem; }
.fi-finance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .fi-finance { grid-template-columns: repeat(3, 1fr); } }
.fi-finance-item { background: #f8fafc; border-radius: 0.5rem; padding: 0.75rem; }
.fi-finance-item dt { font-size: 0.65rem; text-transform: uppercase; color: #64748b; margin: 0; }
.fi-finance-item dd { font-size: 1rem; font-weight: 800; color: #0f172a; margin: 0.25rem 0 0; }
.fi-proxy { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 9999px; background: #fef3c7; color: #92400e; margin-left: 0.5rem; }
