/* Visitor survey: invitation + dialog. Scoped to vs- classes/ids only. */
#vs-invite[hidden],#vs-consent[hidden],#vs-preferences[hidden],#vs-loading[hidden],#vs-dialog:not([open]){display:none!important}

#vs-invite.vs-invite{position:fixed;right:24px;bottom:24px;z-index:900;box-sizing:border-box;width:calc(100% - 32px);max-width:350px;padding:1.25rem 1.25rem 1.1rem;background:#0b0a10;color:rgba(255,255,255,.88);border:1px solid rgba(240,192,64,.35);border-top:2px solid #f0c040;border-radius:2px;box-shadow:0 12px 40px rgba(0,0,0,.55);font-family:'Inter',sans-serif;font-size:.875rem;line-height:1.55;text-align:left}
#vs-invite.vs-invite *{box-sizing:border-box}
#vs-invite .vs-dismiss{position:absolute;top:2px;right:2px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:transparent;border:0;color:rgba(255,255,255,.6);font:300 1.6rem/1 'Inter',sans-serif;cursor:pointer}
#vs-invite .vs-dismiss:hover{color:#fff}
#vs-invite #vs-title{margin:0 2rem .6rem 0;font-family:'Playfair Display',serif;font-weight:700;font-size:1.2rem;line-height:1.25;color:#fff;letter-spacing:.01em}
#vs-invite p{margin:0 0 .6rem;font-size:.875rem;font-weight:300;color:rgba(255,255,255,.72)}
#vs-invite .vs-actions{display:flex;flex-direction:column;gap:.5rem;margin-top:.9rem}

#vs-invite .vs-primary,#vs-invite .vs-secondary,#vs-dialog .vs-secondary{box-sizing:border-box;min-height:44px;padding:.6rem 1rem;font:500 .8rem/1.3 'Inter',sans-serif;letter-spacing:.04em;cursor:pointer;border-radius:0;text-align:center}
#vs-invite .vs-primary{background:#f0c040;color:#000;border:1px solid #f0c040;font-weight:600}
#vs-invite .vs-primary:hover{background:#ffd060;border-color:#ffd060}
#vs-invite .vs-secondary,#vs-dialog .vs-secondary{background:transparent;color:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.25)}
#vs-invite .vs-secondary:hover,#vs-dialog .vs-secondary:hover{color:#fff;border-color:rgba(255,255,255,.55)}
#vs-invite button:focus-visible,#vs-dialog button:focus-visible,#vs-dialog a:focus-visible{outline:2px solid #f0c040;outline-offset:2px}

#vs-dialog.vs-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:820px;max-height:85dvh;margin:auto;padding:0;overflow-y:auto;background:#0b0a10;color:rgba(255,255,255,.88);border:1px solid rgba(240,192,64,.35);border-radius:2px;font-family:'Inter',sans-serif;font-size:.9rem;line-height:1.6}
#vs-dialog.vs-dialog *{box-sizing:border-box}
#vs-dialog.vs-dialog::backdrop{background:rgba(0,0,0,.72)}
#vs-dialog .vs-panel-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem .75rem 1.25rem;background:#0b0a10;border-bottom:1px solid rgba(240,192,64,.3)}
#vs-dialog #vs-dialog-title{margin:0;font-family:'Playfair Display',serif;font-weight:700;font-size:1.2rem;line-height:1.25;color:#fff}
#vs-dialog .vs-close{flex:none;min-width:44px;min-height:44px;padding:.5rem .9rem;background:transparent;color:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.3);border-radius:0;font:500 .8rem 'Inter',sans-serif;cursor:pointer}
#vs-dialog .vs-close:hover{color:#fff;border-color:#f0c040}
#vs-dialog .vs-notice{margin:1rem 1.25rem 0;padding:.75rem 1rem;font-size:.85rem;color:rgba(255,255,255,.75);border-left:2px solid #f0c040;background:rgba(240,192,64,.07)}
#vs-dialog #vs-preferences{display:block;margin:.75rem 1.25rem 0}
#vs-dialog .vs-frame-host{position:relative;margin:1rem 1.25rem 0;min-height:350px;background:#fff}
#vs-dialog .vs-frame-host:empty{display:none}
#vs-dialog .vs-frame-host iframe{display:block;width:100%;height:min(550px,60dvh);min-height:350px;border:1px solid lightgrey;background:#fff}
#vs-dialog .vs-fallback{margin:.9rem 1.25rem 1.25rem;font-size:.85rem;color:rgba(255,255,255,.65)}
#vs-dialog .vs-fallback a{display:inline-block;padding:.6rem 0;color:#f0c040;text-decoration:underline}
#vs-dialog #vs-loading{margin:1rem 1.25rem 0;padding:.75rem 1rem;color:rgba(255,255,255,.75);font-size:.85rem}

@media(max-width:600px){
#vs-invite.vs-invite{right:8px;bottom:8px;left:8px;width:auto;max-width:none;padding:4px 48px 4px 6px}
#vs-invite.vs-invite[data-vs-position="top"]{top:var(--vs-safe-top,112px);bottom:auto}
#vs-invite #vs-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#vs-invite p{display:none}
#vs-invite .vs-actions{flex-direction:row;gap:6px;margin:0}
#vs-invite .vs-primary,#vs-invite .vs-secondary{min-height:44px;padding:6px;font-size:.75rem;letter-spacing:0;white-space:nowrap}
#vs-invite .vs-primary{flex:1}
#vs-invite .vs-dismiss{top:4px;right:2px}
#vs-dialog.vs-dialog{width:calc(100% - 16px)}
#vs-dialog .vs-frame-host,#vs-dialog .vs-notice,#vs-dialog .vs-fallback{margin-left:.75rem;margin-right:.75rem}
#vs-dialog #vs-preferences{margin-left:.75rem;margin-right:.75rem}
#vs-dialog #vs-dialog-title{font-size:1.05rem}
}
