.sojig-help{--help-ink:#173125;--help-muted:#496356;--help-border:#d9e6db;font:inherit;color:var(--help-ink)}
.sojig-help [hidden]{display:none!important}
.sojig-help .help-launch{position:fixed;z-index:24;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;gap:9px;align-items:center;min-height:48px;padding:10px 17px;border:1px solid #426b53;border-radius:999px;background:#17392a;color:white;box-shadow:0 5px 18px #17392a36;cursor:pointer;font:inherit;font-weight:700}
.sojig-help .help-launch svg{width:21px;height:21px}
.sojig-help dialog{position:fixed;inset:auto max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) auto;margin:0;width:min(414px,calc(100vw - 36px));max-height:min(700px,calc(100dvh - 36px));padding:0;border:1px solid var(--help-border);border-radius:18px;box-shadow:0 16px 54px #15291f40;background:#fff;color:var(--help-ink);font:inherit;overflow:auto}
.sojig-help dialog::backdrop{background:#182d2354}
.sojig-help .help-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 18px;background:#e8f3e9}
.sojig-help h2,.sojig-help h3{margin:0;font:inherit;font-size:1.19rem;font-weight:750;letter-spacing:0;color:var(--help-ink)}
.sojig-help p{margin:0}
.sojig-help .help-header p,.sojig-help .help-note{color:var(--help-muted);font-size:.82rem;line-height:1.45}
.sojig-help .help-close{background:transparent;border:0;font-size:1.65rem;line-height:1;min-width:42px;min-height:42px;color:var(--help-ink);cursor:pointer}
.sojig-help .help-chat,.sojig-help .help-contact{padding:14px 16px}
.sojig-help .help-log{height:clamp(140px,33dvh,315px);overflow:auto;display:flex;flex-direction:column;gap:10px;padding-right:3px}
.sojig-help .help-bubble{max-width:91%;padding:10px 12px;border-radius:12px;background:#edf4ee;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere;flex:none;white-space:pre-wrap}
.sojig-help .help-answer{align-self:flex-start}
.sojig-help .help-question{align-self:flex-end;background:#193e2d;color:white}
.sojig-help .help-bubble a{display:block;margin-top:6px;font-size:.86rem;color:#1b5237;text-decoration:underline}
.sojig-help form{margin:0}
.sojig-help label{display:block;font-size:.91rem;color:var(--help-ink);font-weight:650;margin:8px 0 4px}
.sojig-help .help-question-row{display:flex;gap:7px}
.sojig-help input,.sojig-help textarea{width:100%;min-width:0;border:1px solid #adc4b2;border-radius:8px;padding:9px 10px;background:white;color:var(--help-ink);font:inherit;font-size:16px;margin:0}
.sojig-help textarea{resize:vertical;min-height:80px}
.sojig-help button[type=submit]{background:#193e2d;color:white;border:0;border-radius:8px;padding:9px 13px;font:inherit;font-size:.89rem;font-weight:700;min-height:44px;cursor:pointer}
.sojig-help button:disabled{opacity:.6;cursor:wait}
.sojig-help button:focus-visible,.sojig-help a:focus-visible,.sojig-help input:focus-visible,.sojig-help textarea:focus-visible{outline:3px solid #2b7652;outline-offset:2px}
.sojig-help .help-actions{display:flex;justify-content:space-between;margin:5px 0}
.sojig-help .help-actions button,.sojig-help .help-back{padding:7px 0;border:0;background:transparent;color:#1b5237;font:inherit;font-size:.9rem;font-weight:650;min-height:38px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.sojig-help .help-status,.sojig-help .help-contact-status{font-size:.86rem;color:var(--help-muted);margin:6px 0}
.sojig-help .help-contact .help-note{margin:9px 0}
.sojig-help .help-email-link{display:inline-block;color:#1b5237;font-size:.89rem;margin-top:7px}
@media(max-width:550px){.sojig-help .help-launch{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.sojig-help dialog{right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}
