.hp{margin:0}
.hp *{box-sizing:border-box}
.hp-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hp-presets button{font:inherit;font-size:13px;font-weight:600;padding:7px 14px;min-height:36px;border:1px solid var(--line,rgb(29 42 31/.14));background:transparent;color:var(--primary,#2f7d4f);border-radius:999px;cursor:pointer;transition:background 160ms ease,color 160ms ease}
.hp-presets button:hover{background:rgb(47 125 79/.08)}
.hp-presets button[aria-pressed="true"]{background:var(--primary,#2f7d4f);color:#fff;border-color:var(--primary,#2f7d4f)}
.hp-label{font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:600;color:var(--muted,#5d6e60);margin:0 0 12px}
.hp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.hp-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted,#5d6e60);min-width:0}
.hp-field select,.hp-field input{font:inherit;font-size:15px;color:var(--text,#1d2a1f);background:#fff;border:1px solid var(--line,rgb(29 42 31/.16));border-radius:8px;padding:10px 12px;min-height:44px;width:100%;font-variant-numeric:tabular-nums}
.hp-field input:focus,.hp-field select:focus{outline:2px solid var(--primary,#2f7d4f);outline-offset:1px;border-color:var(--primary,#2f7d4f)}
.hp-money{position:relative;display:block}
.hp-money .hp-cur{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:15px;color:var(--muted,#5d6e60)}
.hp-money input{padding-left:26px}
.hp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.hp-go{font:inherit;font-size:15px;font-weight:600;color:#fff;background:var(--primary,#2f7d4f);border:1px solid var(--primary,#2f7d4f);border-radius:8px;padding:12px 22px;min-height:46px;cursor:pointer;transition:filter 160ms ease,transform 160ms ease}
.hp-go:hover{filter:brightness(1.06);transform:translateY(-1px)}
.hp-error{margin:14px 0 0;font-size:13px;color:#a13a2a}
.hp-result{margin-top:24px;background:#fff;border:1px solid var(--line,rgb(29 42 31/.12));border-radius:10px;padding:22px 22px 18px}
.hp-head{padding-bottom:16px;border-bottom:1px solid var(--line,rgb(29 42 31/.12))}
.hp-big{margin:0 0 6px;font-family:var(--serif,Georgia,serif);font-size:36px;line-height:1.05;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hp-sub{margin:0;font-size:14px;color:var(--muted,#5d6e60);font-variant-numeric:tabular-nums}
.hp-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:14px -4px 0}
.hp-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.hp-table th,.hp-table td{padding:9px 8px;text-align:right;border-bottom:1px solid var(--line,rgb(29 42 31/.1));white-space:nowrap}
.hp-table th:first-child,.hp-table td:first-child{text-align:left;white-space:normal}
.hp-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted,#5d6e60);font-weight:600}
.hp-table tr.hp-sum td{font-weight:600}
.hp-table tr.hp-total td{font-weight:600;background:rgb(217 164 65/.1);border-bottom:0}
.hp-er{margin-top:6px}
.hp-foot{margin:14px 0 0;font-size:12px;color:var(--muted,#5d6e60);line-height:1.5}
@media (max-width:560px){.hp-grid{grid-template-columns:1fr}.hp-big{font-size:28px}.hp-result{padding:18px 16px 14px}}