/* MateSec · 📊 Mi FODA y mis metas */
.fo-intro { font-weight: 700; margin: 4px 0 10px; }
.fo-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.fo-tabs button { border: 1px solid #d4d0f5; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.fo-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.fo-metas h4, .fo h4 { margin: 12px 0 6px; font-size: .95rem; }
.fo-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fo-chip { border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .88rem; }
.fo-chip.ok { background: #f0fdf4; color: #15803d; } .fo-chip.no { background: #fffbeb; color: #b45309; } .fo-chip.na { background: #f1f5f9; color: #64748b; }
.fo-row { display: grid; grid-template-columns: 120px 1fr 74px; gap: 10px; align-items: center; margin: 10px 0 16px; }
.fo-lbl { font-size: .85rem; font-weight: 700; color: #334155; }
.fo-track { position: relative; height: 22px; background: #eef0f6; border-radius: 8px; }
.fo-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; transition: width .4s; }
.fo-fill.c-ok { background: #22c55e; } .fo-fill.c-top { background: #3b82f6; } .fo-fill.c-warn { background: #f59e0b; } .fo-fill.c-bad { background: #ef4444; } .fo-fill.c-na { background: transparent; }
.fo-goal { position: absolute; top: -4px; bottom: -4px; border-left: 3px dashed #1e293b; }
.fo-goal i { position: absolute; top: 100%; left: -26px; width: 70px; text-align: center; font-size: .68rem; font-style: normal; font-weight: 700; color: #1e293b; margin-top: 2px; }
.fo-val { font-weight: 800; font-size: 1.05rem; text-align: right; }
.fo-val.c-ok { color: #15803d; } .fo-val.c-top { color: #2563eb; } .fo-val.c-warn { color: #b45309; } .fo-val.c-bad { color: #b91c1c; } .fo-val.c-na { color: #94a3b8; font-size: .78rem; }
.fo-ley { font-size: .75rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.fo-ley span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 6px; }
.fo-ley .c-ok { background: #22c55e; } .fo-ley .c-top { background: #3b82f6; } .fo-ley .c-warn { background: #f59e0b; } .fo-ley .c-bad { background: #ef4444; }
.fo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fo-q, .fo-r { border-radius: 14px; padding: 10px 12px; border: 1px solid transparent; }
.fo-q h4, .fo-r h4 { margin: 0 0 2px; }
.fo-q small { color: var(--muted); font-size: .75rem; }
.fo-q ul, .fo-r ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; } .fo-q li, .fo-r li { margin: 4px 0; }
.fo-q.f { background: #f0fdf4; border-color: #bbf7d0; } .fo-q.o { background: #eff6ff; border-color: #bfdbfe; }
.fo-q.d { background: #fffbeb; border-color: #fde68a; } .fo-q.a { background: #fef2f2; border-color: #fecaca; }
.fo-r.keep { background: #f0fdf4; } .fo-r.up { background: #eff6ff; } .fo-r.lock { background: #f5f3ff; } .fo-r.stop { background: #fef2f2; }
.fo-pie { margin-top: 10px; }
@media (max-width: 640px) { .fo-grid { grid-template-columns: 1fr; } .fo-row { grid-template-columns: 82px 1fr 58px; gap: 6px; } .fo-lbl { font-size: .74rem; } }
@media print { .fo-q, .fo-r, .fo-fill { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
