/* Scoped help styles. Existing page CSS, shared tokens and header/footer rules stay owned by their pages. */
html.sv-help-ready{scroll-padding-bottom:100px}
html.sv-help-ready body{padding-bottom:88px}
.sv-help-float,.sv-help-dialog,.sv-help-center{--help-text:var(--design-navy,var(--text,#061a31));--help-surface:var(--design-card,var(--surface,#fffaf0));--help-line:var(--design-line,var(--line,#d9e0e5));--help-accent:var(--design-gold,var(--accent,#9b7128));font-family:inherit;color:var(--help-text)}
.sv-help-float{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(var(--sv-help-offset,16px) + env(safe-area-inset-bottom));display:flex;z-index:60;background:transparent;border:0;width:64px;max-width:calc(100vw - 32px)}
.sv-help-spv{--help-text:#0B1F33;--help-surface:#fff;--help-line:#E6E8EC;--help-accent:#C9A24A}
.sv-help-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;width:64px;max-width:100%;padding:8px 4px;background:var(--help-surface);color:var(--help-text);border:1px solid var(--help-accent);border-radius:12px;font:600 13px/1.2 inherit;cursor:pointer;overflow-wrap:anywhere;position:relative;box-shadow:0 4px 18px #061a3126}
.sv-help-trigger b{display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:24px;height:24px;font:700 18px/1 system-ui}
.sv-help-trigger span{font:600 13px/1.25 system-ui}
.sv-help-trigger:focus-visible,.sv-help-dialog :focus-visible,.sv-help-center :focus-visible{outline:3px solid #217da1;outline-offset:3px}
.sv-help-unread{position:absolute;top:-8px;right:0;background:#922a2a;color:#fff;border-radius:20px;padding:4px;font:700 12px/1 system-ui}
.sv-help-dialog{width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid var(--help-line);border-radius:18px;background:var(--help-surface);box-shadow:0 16px 55px #04152640;overflow:auto;font:16px/1.6 system-ui}
.sv-help-dialog::backdrop{background:#04152670}
.sv-help-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}
.sv-help-dialog h2{font-size:1.5rem;line-height:1.3;letter-spacing:normal;margin:0;max-width:none}
.sv-help-close{background:transparent;color:inherit;border:0;min-width:44px;min-height:44px;font-size:28px;cursor:pointer}
.sv-help-action{display:flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;width:100%;box-sizing:border-box;border:1px solid var(--help-accent);border-radius:10px;margin:12px 0;padding:12px 16px;background:var(--help-surface);color:var(--help-text);font:600 16px/1.4 system-ui;text-decoration:none;cursor:pointer;text-align:center;overflow-wrap:anywhere}
.sv-help-action:hover{background:var(--accent-soft,#fff3d8)}
.sv-help-action:disabled{opacity:.6;cursor:default}
.sv-help-number{direction:ltr;unicode-bidi:isolate;font-size:14px;text-align:center;margin:0 0 16px}
.sv-help-notice{font-size:14px;margin-top:16px}
.sv-help-center{max-width:850px;padding-block:52px;font-size:16px;line-height:1.6}
.sv-help-center h1{font-size:clamp(2.25rem,5vw,3.75rem);max-width:none}
.sv-help-center h2{font-size:1.6rem;max-width:none;margin:36px 0 20px}
.sv-help-lead{max-width:650px;color:var(--muted,#536172)}
.sv-help-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;margin:32px 0;padding:24px;border:1px solid var(--help-line);border-radius:18px;background:var(--help-surface)}
.sv-help-search label,.sv-help-search input{grid-column:1/-1}
.sv-help-search input,.sv-help-search select,.sv-help-search button{font:inherit;min-height:48px;max-width:100%;min-width:0;padding:10px;border:1px solid var(--help-line);border-radius:8px;color:var(--help-text);background:var(--help-surface)}
.sv-help-search p{grid-column:1/-1;margin:8px 0 0}
.sv-help-faq{margin:12px 0;padding:18px 24px;border:1px solid var(--help-line);border-radius:14px;background:var(--help-surface);overflow-wrap:anywhere}
.sv-help-faq summary{font-weight:650;cursor:pointer;min-height:44px;align-content:center}
.sv-help-faq p{margin:16px 0 6px;max-width:70ch}
.sv-help-contact{margin-top:42px;padding:24px;border:1px solid var(--help-line);border-radius:18px;background:var(--help-surface)}
.sv-help-site{background:var(--bg);color:var(--text);font-family:var(--font)}
.sv-help-site .footer,.spv-design:has(.sv-help-center) .footer{display:flex;flex-wrap:wrap;gap:18px;padding-block:28px}
.sv-help-center [hidden],.sv-help-dialog [hidden],.sv-help-unread[hidden]{display:none}
@media(max-width:640px){.sv-help-float{width:56px;right:max(12px,env(safe-area-inset-right));bottom:calc(var(--sv-help-offset,12px) + env(safe-area-inset-bottom))}.sv-help-trigger{width:56px;min-height:56px;border-radius:12px}.sv-help-trigger span{font-size:11px}.sv-help-center{width:calc(100% - 24px);padding-block:30px}.sv-help-search{grid-template-columns:minmax(0,1fr);padding:16px}.sv-help-faq{padding:14px}.sv-help-contact{padding:16px}.sv-help-dialog{padding:18px}.sv-help-site .header{flex-wrap:wrap;gap:12px}.sv-help-site .header nav{flex-basis:100%}}
