/* GridPenny EFL calculator. Scoped to .gpc */
.gpc{border:1px solid #cbd5e1;border-radius:10px;padding:16px;margin:1.5em 0;background:#f8fafc;max-width:760px}
.gpc h3{margin:0 0 4px;font-size:1.2em}
.gpc fieldset{border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px 12px;margin:12px 0;background:#fff}
.gpc legend{font-weight:700;padding:0 6px}
.gpc .gpc-note{font-size:.85em;color:#475569;margin:4px 0 8px}
.gpc .gpc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.gpc .gpc-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}
.gpc label{display:block;font-size:.88em;font-weight:600;margin-bottom:3px}
.gpc input[type=number],.gpc select{width:100%;box-sizing:border-box;padding:7px;font-size:1em;border:1px solid #94a3b8;border-radius:6px;background:#fff}
.gpc input[aria-invalid="true"]{border-color:#b91c1c;background:#fef2f2}
.gpc .gpc-inline label{display:inline;font-weight:400;margin-left:4px}
.gpc [hidden]{display:none}
.gpc .gpc-out{margin-top:12px;padding:12px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}
.gpc .gpc-big{display:flex;flex-wrap:wrap;gap:18px}
.gpc .gpc-big div{min-width:140px}
.gpc .gpc-big b{display:block;font-size:1.5em;color:#0f766e}
.gpc .gpc-big span{font-size:.85em;color:#475569}
.gpc .gpc-err{color:#b91c1c;font-weight:600}
.gpc table{width:100%;border-collapse:collapse;font-size:.92em;margin-top:8px}
.gpc th,.gpc td{padding:4px 6px;border-bottom:1px solid #f1f5f9;text-align:right}
.gpc th:first-child,.gpc td:first-child{text-align:left}
.gpc svg{display:block;width:100%;height:auto;margin-top:10px}
