/* FiguroCalc Engine styles - Precision Instrument design system.
   Light, sharp, fast. No heavy effects. */
:root{
  --fc-paper:#FAFBFC; --fc-ink:#16202E; --fc-steel:#5D6E82; --fc-hair:#DDE4EB;
  --fc-accent:#E4572E; --fc-accent-ink:#B23E1D; --fc-display:#101A26;
  --fc-mono:ui-monospace,"SF Mono","Cascadia Code",Consolas,Menlo,monospace;
}
.fc-instrument{border:1px solid var(--fc-ink);background:#fff;max-width:860px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--fc-ink)}
.fc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;
  border-bottom:1px solid var(--fc-ink);padding:13px 20px;background:var(--fc-paper)}
.fc-code{font-family:var(--fc-mono);font-size:13px;letter-spacing:2px;font-weight:700}
.fc-cal{font-family:var(--fc-mono);font-size:11px;letter-spacing:1px;color:var(--fc-steel)}
.fc-body{display:grid;grid-template-columns:1fr 1fr}
.fc-inputs{padding:24px;border-right:1px solid var(--fc-hair)}
.fc-field{margin-bottom:16px}
.fc-field label{display:block;font-family:var(--fc-mono);font-size:11px;letter-spacing:2px;
  color:var(--fc-steel);margin-bottom:7px}
.fc-field input,.fc-field select,.fc-field textarea{width:100%;padding:12px;font-size:17px;font-family:var(--fc-mono);
  border:1px solid var(--fc-ink);background:var(--fc-paper);border-radius:0;color:var(--fc-ink)}
.fc-field input:focus,.fc-field select:focus,.fc-field textarea:focus{outline:2px solid var(--fc-accent);outline-offset:-2px}
.fc-field textarea{resize:vertical;line-height:1.6}
ol.fc-steps{margin:6px 0 6px 20px;padding:0;color:#fff;font-family:var(--fc-mono);font-size:13px}
ol.fc-steps li{margin-bottom:3px}
.fc-btn{width:100%;background:var(--fc-accent);color:#fff;border:0;padding:15px;
  font-family:var(--fc-mono);font-size:14px;letter-spacing:3px;font-weight:700;cursor:pointer}
.fc-btn:hover{background:var(--fc-accent-ink)}
.fc-readout{background:var(--fc-display);padding:24px;color:#fff}
.fc-k{font-family:var(--fc-mono);font-size:11px;letter-spacing:3px;color:#8FA0B5}
.fc-n{font-family:var(--fc-mono);font-size:44px;font-weight:700;color:#FFB59E;
  letter-spacing:1px;margin:8px 0 16px;overflow-wrap:anywhere}
.fc-rrow{display:flex;justify-content:space-between;gap:10px;font-family:var(--fc-mono);
  font-size:13px;padding:9px 0;border-bottom:1px solid #2A3A4F;color:#C9D4E0}
.fc-rrow:last-child{border-bottom:0}
.fc-rrow b{color:#fff;font-weight:700}
@media(max-width:640px){
  .fc-body{grid-template-columns:1fr}
  .fc-inputs{border-right:0;border-bottom:1px solid var(--fc-hair)}
  .fc-n{font-size:34px}
}
