html.vsm-consent-open { overflow: hidden; }
.vsm-consent[hidden], .vsm-consent-reopen[hidden] { display: none !important; }
.vsm-consent { position: fixed; inset: 0; z-index: 2147483000; font-family: inherit; color: #1f2933; }
.vsm-consent__backdrop { position: absolute; inset: 0; background: rgba(10,18,14,.56); backdrop-filter: blur(2px); }
.vsm-consent__dialog { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-sizing: border-box; padding: 28px; background: #fff; border: 1px solid rgba(36,129,60,.16); border-top: 5px solid #24813c; border-radius: 16px; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.vsm-consent__brand { display: flex; align-items: center; min-height: 48px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid #e8ece9; }
.vsm-consent__logo { display: block; width: auto; max-width: min(310px, 78%); max-height: 58px; object-fit: contain; object-position: left center; }
.vsm-consent__title { margin: 0 0 10px; color: #173d24; font-size: clamp(1.35rem, 2.8vw, 1.65rem); line-height: 1.2; letter-spacing: -.015em; }
.vsm-consent__text { margin: 0 0 18px; max-width: 66ch; color: #394b40; line-height: 1.6; }
.vsm-consent__actions, .vsm-consent__preference-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.vsm-consent__preference-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
.vsm-consent__button { min-height: 46px; padding: 10px 14px; border: 2px solid #24813c; border-radius: 9px; background: #fff; color: #18592b; font: inherit; font-weight: 700; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.vsm-consent__button:hover { background: #f4faf6; transform: translateY(-1px); }
.vsm-consent__button:hover, .vsm-consent__button:focus-visible { outline: 3px solid rgba(36,129,60,.18); outline-offset: 2px; }
.vsm-consent__button--primary { background: #24813c; color: #fff; box-shadow: 0 5px 14px rgba(36,129,60,.18); }
.vsm-consent__button--primary:hover { background: #19612d; }
.vsm-consent__category { padding: 16px 0; border-top: 1px solid #d9dee3; }
.vsm-consent__category:first-child { border-top: 0; }
.vsm-consent__category p { margin: 6px 0 10px; color: #52606d; line-height: 1.5; }
.vsm-consent__toggle-row, .vsm-consent__service { display: flex; align-items: flex-start; gap: 10px; }
.vsm-consent__toggle-row { font-weight: 700; color: #173d24; }
.vsm-consent__service { margin: 10px 0 0 24px; }
.vsm-consent__service small { color: #52606d; }
.vsm-consent input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #24813c; }
.vsm-consent__privacy { margin: 16px 0 0; font-size: .92rem; }
.vsm-consent__privacy a { color: #18592b; text-underline-offset: 2px; }
.vsm-consent-reopen { position: fixed; right: 14px; bottom: 14px; z-index: 2147482000; max-width: calc(100% - 28px); padding: 9px 13px; border: 1px solid #52606d; border-radius: 999px; background: #fff; color: #1f2933; font: inherit; font-size: .86rem; cursor: pointer; box-shadow: 0 3px 14px rgba(0,0,0,.15); }
.vsm-consent__service a { color: #18592b; }
.vsm-consent-placeholder { box-sizing: border-box; width: 100%; min-height: 180px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; text-align: center; border: 1px solid #d9dee3; border-radius: 10px; background: #f7faf8; color: #1f2933; }
.vsm-consent-placeholder strong, .vsm-consent-placeholder p { flex: 0 0 100%; margin: 0; }
.vsm-consent-placeholder p { color: #52606d; }
.vsm-consent-placeholder .vsm-consent__button { min-width: 180px; }
@media (max-width: 640px) {
    .vsm-consent__dialog { bottom: 8px; width: calc(100% - 16px); max-height: calc(100vh - 16px); padding: 20px 18px; border-radius: 13px; }
    .vsm-consent__brand { margin-bottom: 14px; padding-bottom: 13px; }
    .vsm-consent__logo { max-width: 82%; max-height: 50px; }
    .vsm-consent__actions, .vsm-consent__preference-actions { grid-template-columns: 1fr; }
}
