.hd-btn{display:inline-block;cursor:pointer;border:0;border-radius:8px;padding:12px 22px;font:700 16px/1.2 inherit;background:#1f8a4c;color:#fff;min-height:44px}
.hd-btn:hover{background:#176b3a}
.hd-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;z-index:9998}
.hd-overlay.hd-open{opacity:1;visibility:visible}
.hd-panel{position:fixed;top:0;right:0;height:100%;width:min(440px,100%);background:#fff;color:#1b1b1b;box-shadow:-6px 0 24px rgba(0,0,0,.3);transform:translateX(100%);transition:transform .35s ease;z-index:9999;display:flex;flex-direction:column;visibility:hidden;box-sizing:border-box}
.hd-panel.hd-open{transform:none;visibility:visible}
.hd-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e3e3e3}
.hd-head h2{margin:0;font-size:1.25rem;color:#123821}
.hd-close{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;min-width:44px;min-height:44px;color:#333}
.hd-body{padding:16px 20px 28px;overflow-y:auto;flex:1}
.hd-body label{display:block;font-weight:600;margin:12px 0 4px}
.hd-body input,.hd-body select,.hd-body textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #bbb;border-radius:6px;font:inherit}
.hd-body .hd-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.hd-body .hd-send{margin-top:16px;width:100%}
.hd-msg{margin-top:12px;padding:10px;border-radius:6px}
.hd-msg.ok{background:#eef7ef;color:#1f5d2e}.hd-msg.err{background:#fdeaea;color:#8a1f1f}
body.hd-lock{overflow:hidden}
@media(prefers-reduced-motion:reduce){.hd-panel,.hd-overlay{transition:none}}
