#site-help-button{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:95;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #b94318;border-radius:50%;color:#fff;background:#c74a1c;box-shadow:0 4px 16px rgba(57,35,24,.22);font:600 11px/1.2 "Golos Text",sans-serif;cursor:pointer}
#site-help-button>span{display:grid;place-items:center;font-size:22px;line-height:1}
#site-help-button[hidden],body.auth-locked #site-help-button{display:none!important}
body:has([data-view="admin-messages"]:not(.is-hidden)) #site-help-button{bottom:calc(82px + env(safe-area-inset-bottom))}
html.is-site-help-open{overflow:hidden}
#site-help-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 24px));height:min(600px,calc(100dvh - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border:1px solid var(--line,#e6ded6);border-radius:15px;background:#fff;color:var(--ink,#24201d);box-shadow:0 20px 70px rgba(0,0,0,.25)}
#site-help-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
#site-help-dialog::backdrop{background:rgba(22,19,17,.45);backdrop-filter:blur(3px)}
.site-help-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid var(--line,#e6ded6)}
.site-help-head p{font-size:8px;line-height:1.2;letter-spacing:.05em;text-transform:uppercase;color:var(--muted,#81766e);margin:0 0 3px}
.site-help-head h2{font-family:inherit;font-size:18px;line-height:1.2;margin:0}
.site-help-close{width:29px;height:29px;flex:0 0 29px;border:0;border-radius:8px;background:#f3f4f6;color:#6f7781;font-family:inherit;font-size:20px;line-height:1;cursor:pointer}
.site-help-layout{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:0;overflow:hidden}
.site-help-sidebar{display:flex;flex-direction:column;gap:4px;padding:9px 9px;background:#faf8f5;border-right:1px solid var(--line,#e6ded6);min-width:0;min-height:0;overflow:hidden}
.site-help-sidebar label{font-size:9px;color:var(--muted,#81766e);line-height:1.2}
#site-help-search,#site-help-mobile-select{box-sizing:border-box;flex:none;min-width:0;width:100%;min-height:30px;padding:5px 7px;border:1px solid var(--line,#e6ded6);border-radius:6px;background:transparent;color:inherit;font:12px/1.25 "Golos Text",sans-serif}
#site-help-mobile-select{display:none}
#site-help-nav{display:grid;flex:1 1 0;grid-auto-rows:max-content;align-content:start;gap:2px;overflow:auto;overscroll-behavior:contain;min-width:0;min-height:0;padding:2px}
#site-help-nav button{box-sizing:border-box;display:block;align-self:start;width:100%;min-width:0;height:auto;min-height:30px;font:12px/1.3 "Golos Text",sans-serif;padding:6px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#site-help-nav button[aria-current="page"]{border-color:#efc5af;background:#fff0e7;color:#a44822;font-weight:600}
#site-help-content{min-height:0;overflow:auto;padding:14px 17px;font:11.5px/1.45 "Golos Text",sans-serif}
#site-help-content h3{font-size:15px;line-height:1.2;margin:0 0 6px}
#site-help-content h4{font-size:11px;line-height:1.25;margin:13px 0 6px}
.site-help-purpose{color:var(--muted,#81766e);margin:0 0 8px}
#site-help-content :is(ol,ul){padding-left:19px;margin:0;display:grid;gap:6px}
.site-help-note{padding:9px 10px;border-left:3px solid #ed8957;border-radius:6px;background:#fff5ed;margin:12px 0 0;font-size:11px;line-height:1.4}
#site-help-content footer{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line,#e6ded6);margin-top:15px;padding-top:10px}
#site-help-content footer button{min-height:28px;padding:5px 8px;border:1px solid #e8c4af;border-radius:6px;background:#fff4ec;color:#a44822;font:600 10px/1.2 "Golos Text",sans-serif;cursor:pointer}
#site-help-content footer small{font-size:8px;line-height:1.3;color:var(--muted,#81766e)}
.site-help-empty{font-size:11px;line-height:1.4;color:var(--muted,#81766e);margin:7px 0}
#site-help-dialog :is(button,input,select):focus-visible,#site-help-button:focus-visible{outline:2px solid #ee925f;outline-offset:2px}
html[data-theme="dark"] #site-help-dialog{background:#29231f;color:#f6eee8}
html[data-theme="dark"] .site-help-sidebar{background:#211d1a}
html[data-theme="dark"] :is(.site-help-note,#site-help-content footer button,#site-help-nav button[aria-current="page"],#site-help-button){background:#3b2b21;color:#f4c4a8;border-color:#75513b}
html[data-theme="dark"] .site-help-close{background:#3a332e;color:#ded3ca}
html[data-theme="dark"] #site-help-button{background:#c74a1c;color:#fff;border-color:#ef9c76}
@media(max-width:760px){body #site-help-button{bottom:calc(90px + env(safe-area-inset-bottom))}}
@media(max-width:640px){
 #site-help-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:11px}
 .site-help-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 .site-help-sidebar{border-right:0;border-bottom:1px solid var(--line,#e6ded6);padding:8px 11px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .site-help-sidebar label{grid-column:1/-1}
 #site-help-mobile-select{display:block}
 #site-help-nav{display:none}
 #site-help-content{padding:12px 14px}
}
@media(pointer:coarse){
 #site-help-button{width:40px;height:40px;min-height:40px}
 #site-help-dialog :is(button,input,select){min-height:40px}
 #site-help-dialog :is(input,select){font-size:16px}
 .site-help-close{width:40px;height:40px;flex-basis:40px}
}
@media(pointer:coarse) and (min-width:641px){
 .site-help-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 .site-help-sidebar{border-right:0;border-bottom:1px solid var(--line,#e6ded6);padding:8px 11px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .site-help-sidebar label{grid-column:1/-1}
 #site-help-mobile-select{display:block}
 #site-help-nav{display:none}
}
