/* Fatura de cartão — mesma linguagem visual do Contratos (financeiro.css): tokens --brand, --line, --ink, --muted. */
.fc-modal{max-width:1120px}
.fc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.fc-head .li-note{margin-top:3px}
.fc-passos{display:flex;gap:6px;list-style:none;counter-reset:fc;margin:0;padding:0}
.fc-passos li{counter-increment:fc;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);padding:5px 10px 5px 6px;border-radius:99px;background:#F6F5FB}
.fc-passos li::before{content:counter(fc);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;border:1px solid var(--line);font-size:11px}
.fc-passos li.on{background:var(--brand-soft);color:var(--brand)}
.fc-passos li.on::before{background:var(--brand);border-color:var(--brand);color:#fff}
.fc-passos li.feito{color:#0F7B4F}
.fc-passos li.feito::before{content:'✓';background:#E7F6EF;border-color:#B7E3CD;color:#0F7B4F}

.fc-drop{display:flex;align-items:center;gap:16px;border:2px dashed #CFC7F0;border-radius:14px;padding:26px 24px;cursor:pointer;background:#FBFAFF;transition:.15s;outline:none}
.fc-drop:hover,.fc-drop.sobre,.fc-drop:focus-visible{background:#F3F0FD;border-color:var(--brand)}
.fc-drop svg{width:40px;height:40px;color:var(--brand);flex:none}
.fc-drop b{display:block;font-family:'Poppins';font-size:15px;font-weight:600}
.fc-drop span{display:block;font-size:12.5px;color:var(--muted);margin-top:3px;line-height:1.5}
.fc-como{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.fc-como div{border:1px solid var(--line);border-radius:12px;padding:11px 13px;background:#fff}
.fc-como b{display:block;font-size:12.5px}
.fc-como span{display:block;font-size:11.5px;color:var(--muted);margin-top:3px;line-height:1.45}
@media(max-width:720px){.fc-como{grid-template-columns:1fr}.fc-drop{flex-direction:column;text-align:center}}

.fc-sec{margin-top:18px}
.fc-sec h3{font-family:'Poppins';font-size:14px;font-weight:600;margin-bottom:8px}
.fc-expl{margin:2px 0 10px}
.fc-tab th{text-align:left;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:8px;border-bottom:1px solid var(--line);white-space:nowrap;background:#FAFAFD;position:sticky;top:0}
.fc-tab td{vertical-align:top}
.fc-tab .r{text-align:right}
.fc-tab .li-note{font-size:11px;white-space:normal}
.fc-tab .fc-in{padding:6px 8px;font-size:12.5px;min-width:180px}
.fc-arq{max-width:220px;overflow:hidden;text-overflow:ellipsis}
.fc-brutos{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;color:#4A4E5A;max-width:260px;white-space:normal!important}
.fc-desc{max-width:320px;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,Menlo,Consolas,monospace}
.fc-st{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:99px;white-space:nowrap}
.fc-st.ok{background:#E7F6EF;color:#0F7B4F}
.fc-st.aten{background:#FBEFD8;color:#8A5A10}
.fc-venc{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:6px}
.fc-venc input{padding:4px 6px;font-size:12px;width:140px}
.fc-confira{color:#8A5A10;font-weight:700}

.fc-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.fc-alerta{border-radius:12px;padding:11px 14px;font-size:12.5px;line-height:1.5;margin-bottom:12px;border:1px solid}
.fc-alerta.ruim{background:#FFF7F6;border-color:#F5C6C0;color:#8E2A1F}
.fc-alerta.aten{background:#FFFCF4;border-color:#F0DCB0;color:#6B4708}
.fc-alerta ul{margin:6px 0 0 18px}
.fc-link{background:none;border:none;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;text-align:left}

.fc-abas{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:6px 0 14px;overflow-x:auto}
.fc-aba{border:none;background:none;padding:10px 12px;font-family:'Inter';font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;display:flex;align-items:center;gap:6px}
.fc-aba span{font-size:11px;background:#F1EFF8;color:var(--muted);border-radius:99px;padding:1px 7px}
.fc-aba:hover{color:var(--ink)}
.fc-aba.on{color:var(--brand);border-bottom-color:var(--brand)}
.fc-aba.on span{background:var(--brand-soft);color:var(--brand)}
.fc-aba:focus-visible,.fc-link:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

.fc-barra{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.fc-barra input[type=search]{max-width:380px}
.fc-seg{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.fc-seg button{border:none;background:none;padding:6px 11px;font-family:'Inter';font-size:12px;font-weight:600;color:var(--muted);cursor:pointer}
.fc-seg button.on{background:var(--brand);color:#fff}
.fc-massa{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-left:auto}
.fc-massa select{width:auto;padding:6px 8px;font-size:12.5px}
.fc-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.fc-grid2 .fc-sec:first-child{grid-column:1/-1}
@media(max-width:900px){.fc-grid2{grid-template-columns:1fr}}
.fc-chk{display:flex;align-items:center;gap:8px;cursor:pointer}
.fc-chk input{accent-color:var(--brand)}
.fc-pag{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}

.fc-foot{flex-wrap:wrap;align-items:center}
.fc-motivo{font-size:12px;color:#8A5A10}
.fc-lendo{display:flex;align-items:center;gap:10px;justify-content:center;padding:50px 0;color:var(--muted);font-size:14px}
.fc-spin{width:18px;height:18px;border:2.5px solid var(--brand-soft);border-top-color:var(--brand);border-radius:50%;animation:fcgira .8s linear infinite}
@keyframes fcgira{to{transform:rotate(360deg)}}

.fc-conf{border:1.5px solid #CFC7F0;background:#FBFAFF;border-radius:14px;padding:16px 18px;margin-bottom:16px;box-shadow:0 10px 30px rgba(99,74,248,.10)}
.fc-conf.perigo{border-color:#F3C9C4;background:#FFF9F8}
.fc-conf h3{font-family:'Poppins';font-size:15px;font-weight:600;margin-bottom:10px}
.fc-conf p{font-size:13px;line-height:1.55}
.fc-conf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:10px}
.fc-conf-grid div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 11px}
.fc-conf-grid span{display:block;font-size:11px;color:var(--muted)}
.fc-conf-grid b{font-family:'Poppins';font-size:15px;font-variant-numeric:tabular-nums}
.fc-conf-acoes{display:flex;justify-content:flex-end;gap:10px;margin-top:12px;flex-wrap:wrap}
.fc-conf-campo{display:block;font-size:13px;margin-top:10px}
.fc-conf-campo input{width:120px;text-align:center;font-weight:700;margin-top:6px;display:block}

.fc-ok{display:flex;gap:14px;align-items:center;background:#F4FBF8;border:1px solid #B7E3CD;border-radius:14px;padding:16px 18px;margin-bottom:14px}
.fc-ok-ic{width:40px;height:40px;border-radius:50%;background:#0F7B4F;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700;flex:none}
.fc-ok h3{font-family:'Poppins';font-size:15px;font-weight:600}
.fc-ok p{font-size:13px;color:#2F5A47;margin-top:2px}
@media(max-width:600px){.fc-passos{display:none}.fc-massa{margin-left:0}}
.fc-grid2 .imp-tab{min-width:0}
.fc-grid2 .fc-in{width:100%;min-width:0}
.fc-grid2 td:nth-child(2){width:55%}
