/* forum-calc.css — Fórum · aba Calc (100 calculadoras) */
#forum-calc-app { --az:#0070b8; --az9:#0a3a5c; --az1:#e1eff8; --cz:#777; --cz2:#d6dcdf;
  font-family: Inter, system-ui, Segoe UI, Arial, sans-serif; color:#20272e; }
#forum-calc-app .fc-bar { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:14px; }
#forum-calc-app .fc-chips { display:flex; flex-wrap:wrap; gap:8px; }
#forum-calc-app .fc-chip { border:1px solid var(--cz2); background:#fff; color:var(--az9); border-radius:999px; padding:6px 13px; font-size:13px; font-weight:600; cursor:pointer; transition:.15s; }
#forum-calc-app .fc-chip:hover { border-color:var(--az); color:var(--az); }
#forum-calc-app .fc-chip.on { background:var(--az); border-color:var(--az); color:#fff; }
#forum-calc-app .fc-search { flex:1 1 240px; max-width:360px; border:1px solid var(--cz2); border-radius:10px; padding:10px 14px; font-size:14px; outline:none; }
#forum-calc-app .fc-search:focus { border-color:var(--az); box-shadow:0 0 0 3px var(--az1); }
#forum-calc-app .fc-legenda { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:20px; font-size:12.5px; color:var(--cz); }
#forum-calc-app .fc-leg { display:inline-flex; align-items:center; gap:6px; font-weight:600; }
#forum-calc-app .fc-leg i { width:12px; height:12px; border-radius:4px; display:inline-block; }
#forum-calc-app .fc-tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
#forum-calc-app .fc-tile { position:relative; text-align:left; display:flex; flex-direction:column; gap:10px; border:1px solid var(--cz2); border-radius:16px; background:#fff; padding:16px; cursor:pointer; overflow:hidden; transition:transform .16s, box-shadow .16s, border-color .16s; }
#forum-calc-app .fc-tile::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:linear-gradient(var(--pc2),var(--pc)); }
#forum-calc-app .fc-tile:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(10,40,60,.14); border-color:var(--pc); }
#forum-calc-app .fc-tile-ico { width:64px; } #forum-calc-app .fc-ico { width:64px; height:auto; display:block; }
#forum-calc-app .fc-tile-txt h3 { margin:0 0 4px; font-size:14.5px; font-weight:800; color:var(--az9); line-height:1.22; }
#forum-calc-app .fc-tile-txt p { margin:0; font-size:12px; line-height:1.4; color:#55606b; }
#forum-calc-app .fc-tile-tags { display:flex; gap:6px; margin-top:8px; flex-wrap:wrap; align-items:center; }
#forum-calc-app .fc-tag { font-size:10.5px; font-weight:700; color:var(--az); background:var(--az1); border-radius:6px; padding:3px 7px; }
#forum-calc-app .fc-code { font-size:10.5px; font-weight:700; color:#8a94a0; font-family:"IBM Plex Mono",monospace; }
#forum-calc-app .fc-open { font-size:12px; font-weight:700; color:var(--pc); margin-top:auto; opacity:0; transform:translateX(-4px); transition:.16s; }
#forum-calc-app .fc-tile:hover .fc-open { opacity:1; transform:none; }
#forum-calc-app .fc-note { margin-top:22px; font-size:12.5px; color:var(--cz); text-align:center; }

/* modal */
.fc-ovl { position:fixed; inset:0; z-index:3000; background:rgba(8,20,34,.55); backdrop-filter:blur(2px); display:flex; align-items:center; justify-content:center; padding:18px; }
.fc-modal { position:relative; background:#fff; border-radius:18px; width:100%; max-width:900px; max-height:92vh; overflow:auto; box-shadow:0 30px 80px rgba(0,0,0,.5); font-family:Inter,system-ui,Segoe UI,Arial,sans-serif; color:#20272e; }
.fc-x { position:absolute; top:12px; right:12px; z-index:2; width:34px; height:34px; border:none; border-radius:9px; background:rgba(255,255,255,.22); color:#fff; font-size:16px; cursor:pointer; }
.fc-x:hover { background:rgba(255,255,255,.4); }
.fc-mhead { display:flex; align-items:center; gap:16px; padding:20px 22px; color:#fff; }
.fc-mico { width:60px; flex:none; } .fc-mico .fc-ico { width:60px; }
.fc-mpdca { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; opacity:.9; }
.fc-mhead h2 { margin:3px 0 4px; font-size:19px; font-weight:800; line-height:1.2; }
.fc-mref { font-size:12.5px; opacity:.92; font-family:"IBM Plex Mono",monospace; }
.fc-mcols { display:grid; grid-template-columns:1.15fr 1fr; gap:0; }
.fc-mcol { padding:20px 22px; } .fc-mcol:first-child { border-right:1px solid #eef1f4; }
.fc-obj { font-size:16px; line-height:1.65; color:#2b3540; margin:0 0 16px; }
.fc-obj b { color:#0a3a5c; }
.fc-steps { font-size:15px; background:#f7fafd; border:1px solid #e4ecf3; border-radius:12px; padding:14px 16px; margin-bottom:18px; }
.fc-steps b { color:#0a3a5c; font-size:15px; }
.fc-steps ol { margin:10px 0 0; padding-left:22px; color:#3a444f; }
.fc-steps li { margin:7px 0; font-size:15px; line-height:1.55; }
.fc-mask-t { font-size:14.5px; font-weight:800; color:#0a3a5c; margin-bottom:10px; }
.fc-mask-t span { font-weight:600; color:#8a94a0; }
.fc-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.fc-in { display:flex; flex-direction:column; gap:5px; font-size:13.5px; }
.fc-in-lbl { color:#44515e; font-weight:600; }
.fc-mask { display:flex; align-items:stretch; border:1px solid #cdd8e2; border-radius:8px; overflow:hidden; background:#fff; }
.fc-mask:focus-within { border-color:#0070b8; box-shadow:0 0 0 3px #e1eff8; }
.fc-mask input { flex:1; min-width:0; border:none; padding:8px 10px; font-size:14px; outline:none; background:transparent; font-variant-numeric:tabular-nums; }
.fc-unit { display:flex; align-items:center; padding:0 9px; background:#eef3f7; color:#5a6b7a; font-style:normal; font-size:11.5px; font-weight:700; border-left:1px solid #dde5ec; white-space:nowrap; }
.fc-acts { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.fc-btn { border:none; background:#0070b8; color:#fff; border-radius:9px; padding:9px 15px; font-size:13px; font-weight:700; cursor:pointer; }
.fc-btn:hover { background:#005a94; }
.fc-btn.sec { background:#eef3f7; color:#0a3a5c; } .fc-btn.sec:hover { background:#e1eff8; }
.fc-out-t { font-size:13px; font-weight:800; color:#0a3a5c; text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.fc-live { color:#2E9E3F; font-weight:700; font-size:11.5px; }
.fc-tbl { width:100%; border-collapse:collapse; }
.fc-tbl td { padding:9px 6px; border-bottom:1px solid #eef1f4; font-size:15px; }
.fc-tbl td.cv { text-align:right; font-weight:800; color:#0a3a5c; font-variant-numeric:tabular-nums; font-family:"IBM Plex Mono",Consolas,monospace; }
.fc-tbl td.cu { color:#8a94a0; width:1%; white-space:nowrap; padding-left:8px; font-size:12px; }
.fc-draw { margin-top:14px; }
@media (max-width:760px){ .fc-mcols { grid-template-columns:1fr; } .fc-mcol:first-child { border-right:none; border-bottom:1px solid #eef1f4; } }
