.calc-main [hidden]{display:none!important}
.gp-sub{font-size:.95rem;font-weight:700;color:#0C2D3E;margin:18px 0 8px;padding-top:12px;border-top:1px solid #E2E8F0}
.gp-first{margin-top:6px;padding-top:0;border-top:0}
.gp-heads,.gp-row{display:flex;gap:8px;align-items:center}
.gp-heads>*,.gp-row>*{min-width:0}
.gp-nm,.gp-hn{flex:1.3 1 0}.gp-cr,.gp-hc{flex:.7 1 0}.gp-gr,.gp-hg{flex:1.1 1 0}.gp-lv,.gp-hl{flex:1 1 0}.gp-del,.gp-hd{flex:0 0 44px}
.gp-heads{font-size:.78rem;font-weight:700;color:#374151;margin-bottom:4px}
.gp-row{margin-bottom:8px}
.gp-row input,.gp-row select{width:100%;padding:10px 12px;min-height:44px;border:1.5px solid #7B8CA3;border-radius:8px;font-size:.9rem;color:#1E293B;font-family:inherit;background:#fff}
.gp-row input:focus,.gp-row select:focus{outline:none;border-color:#0F4C81;box-shadow:0 0 0 3px rgba(15,76,129,.09)}
.gp-row input::placeholder{color:#64748B;opacity:1;font-style:italic}
.gp-lab{display:flex;flex-direction:column;gap:2px;min-width:0}
.gp-lt{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gp-del{min-height:44px;min-width:44px;border:1.5px solid #64748B;border-radius:8px;background:#F8FAFC;color:#475569;font-size:1.2rem;line-height:1;cursor:pointer;transition:.15s}
.gp-del:hover:not(:disabled){background:#E2E8F0}
.gp-del:disabled{opacity:.5;cursor:not-allowed}
.gp-add{margin:0 0 6px}
.gp-box{margin:16px 0 4px;background:#F8FAFC;border-radius:10px;padding:14px 16px}
.gp-box .gp-sub{margin-top:0;padding-top:0;border-top:0}
.gp-sub span{font-weight:400}
.gp-cap{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gp-msg{min-height:1.4em;margin:8px 0 4px;font-size:.88rem;font-weight:600;color:#991B1B}
.gp-msg:empty{min-height:0;margin:0}
.gp-note{margin:10px 0 0;font-size:.88rem;color:#334155;line-height:1.5}
.gp-note:empty{display:none}
.result-box .table-scroll{margin-top:14px}
@media(max-width:480px){.gp-heads{display:none}.gp-row{flex-wrap:wrap;align-items:flex-end}.gp-lt{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;font-size:.78rem;font-weight:700;color:#374151}.gp-row .gp-nm{flex:1 1 100%}.gp-row .gp-cr,.gp-row .gp-gr,.gp-row .gp-lv{flex:1 1 28%}}
@media print{.btn-reset,.gp-add,.gp-del{display:none!important}}
@media(min-width:481px){#gpRows{min-height:208px}}
