.consent-block {
    margin: 22px 0 8px;
    padding: 16px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    background: #f8fafd;
}
.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #33415c;
    font-size: 14px;
    line-height: 1.45;
}
.consent-check input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    accent-color: #2e5fa3;
}
.consent-block a {
    color: #2e5fa3;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.privacy-open { overflow: hidden; }
.privacy-modal[hidden] { display: none !important; }
.privacy-modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 25, 50, .68);
}
.privacy-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(84vh, 780px);
    overflow-y: auto;
    padding: 30px 34px 34px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    color: #30394b;
}
.privacy-dialog h2 {
    margin: 0 50px 6px 0;
    color: #1c2533;
    font-size: 24px;
    line-height: 1.25;
}
.privacy-version {
    margin: 0 0 22px;
    color: #798397;
    font-size: 13px;
}
.privacy-dialog h3 {
    margin: 24px 0 8px;
    color: #22376b;
    font-size: 17px;
}
.privacy-dialog p,
.privacy-dialog li {
    color: #475467;
    font-size: 14px;
    line-height: 1.58;
}
.privacy-dialog p { margin: 0 0 10px; }
.privacy-dialog ul { margin: 8px 0 12px; padding-left: 22px; }
.privacy-x {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #eef2f8;
    color: #22376b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.privacy-close {
    display: block;
    margin: 26px 0 0 auto;
    padding: 11px 24px;
    border: 0;
    border-radius: 8px;
    background: #2e5fa3;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
@media (max-width: 560px) {
    .privacy-modal { padding: 10px; }
    .privacy-dialog { max-height: 90vh; padding: 25px 20px 26px; }
    .privacy-dialog h2 { font-size: 20px; }
}
