.site-legal-footer {position:fixed;width:100%;right:0;bottom:0;border:1px solid var(--border);padding:7px 5px 7px;color:var(--text);font-size:12px;}
.site-legal-footer nav, .home-legal-links {display:flex;width:295px;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-right:15px;}
.site-legal-footer a, .site-legal-footer button, .home-legal-links a {
    color: var(--c-2196f3);
    border: 0;
    outline: none;
}
.site-legal-footer button { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.site-legal-footer a:hover, .site-legal-footer button:hover, .home-legal-links a:hover { color: var(--accent2); }
.legal-public { width: min(900px, calc(100% - 32px)); margin: 30px auto 50px; }
.legal-public h1 { font-size: clamp(23px, 4vw, 32px); margin: 24px 0 12px; line-height: 1.3; }
.legal-version, .legal-editor-help { color: var(--placeholder, var(--text)); font-size: 13px; line-height: 1.5; }
.legal-document { line-height: 1.7; overflow-wrap: anywhere; }
.legal-document h2 { margin: 28px 0 10px; font-size: 19px; line-height: 1.4; }
.legal-document p, .legal-document li {
    margin: 0 0 12px;
    width: 900px;
}
.legal-draft { border-left: 4px solid #e5a000; background: color-mix(in srgb, #e5a000 12%, var(--card)); padding: 14px; margin: 20px 0; border-radius: 8px; line-height: 1.5; }
.legal-admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 15px 0 20px; }
.legal-admin-tabs a { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; color: var(--text); }
.legal-admin-tabs a[aria-current] { background: var(--accent2); color: #fff; }
.legal-editor-form h2 { font-size: 18px; margin: 0 0 10px; }
.legal-owner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 20px 0;
}
.legal-owner-grid label { display: flex; flex-direction: column; gap: 6px; }
.legal-owner-grid input { width: 100%; min-width: 0; }
.legal-editor-text-label { display: block; font-weight: 600; margin-top: 25px; }
.legal-editor-form textarea { width: 100%; min-height: 480px; resize: vertical; line-height: 1.6; margin: 10px 0 20px; }
.legal-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.crm-cookie-dialog { width: min(520px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; margin: auto; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); color: var(--text); box-shadow: 0 20px 80px #0005; }
.crm-cookie-dialog::backdrop { background: #0007; backdrop-filter: blur(4px); }
.crm-cookie-heading {
    display: flex;
    gap: 3px;
}
.crm-cookie-heading > i { font-size: 28px; color: var(--accent2); }
.crm-cookie-heading h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.crm-cookie-dialog p { font-size: 14px; line-height: 1.6; margin: 16px 0; }
.crm-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.crm-cookie-actions > button { justify-content: center; }
.crm-cookie-dialog .crm-cookie-small { font-size: 12px; color: var(--placeholder, var(--text)); margin-bottom: 0; }
@media(max-width:600px) { .legal-owner-grid { grid-template-columns: 1fr; } .crm-cookie-dialog { padding: 20px; } .crm-cookie-actions { flex-direction: column; } .home-legal-links { width: 100%; } }



/* Boxicons ShieldHalf: duotone solid, rounded, thin; local SVG masks. */
#crmCookieDialog .crm-cookie-heading > .bx-shield-half {
    position: relative !important;
    display: inline-block;
    width: 1em;
    line-height: 1;
    bottom: 3px;
}
#crmCookieDialog .crm-cookie-heading > .bx-shield-half::before { content: "" !important; position: absolute !important; inset: 0 !important; display: block !important; width: 1em !important; height: 1em !important; margin: 0 !important; padding: 0 !important; background: currentColor; opacity: 1; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m12%2C3.21c-.36%2C0-.72.08-1.06.24l-5.77%2C2.7c-.74.34-1.19%2C1.09-1.15%2C1.9.12%2C2.67%2C1.02%2C9.23%2C6.75%2C12.41.38.21.81.32%2C1.23.32V3.21Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m12%2C3.21c-.36%2C0-.72.08-1.06.24l-5.77%2C2.7c-.74.34-1.19%2C1.09-1.15%2C1.9.12%2C2.67%2C1.02%2C9.23%2C6.75%2C12.41.38.21.81.32%2C1.23.32V3.21Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
#crmCookieDialog .crm-cookie-heading > .bx-shield-half::after { content: "" !important; position: absolute !important; inset: 0 !important; display: block !important; width: 1em !important; height: 1em !important; margin: 0 !important; padding: 0 !important; background: currentColor; opacity: .4; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m18.83%2C6.14l-5.77-2.7c-.34-.16-.7-.24-1.06-.24v17.56c.43%2C0%2C.85-.11%2C1.23-.32%2C5.73-3.18%2C6.63-9.74%2C6.75-12.41.04-.81-.42-1.55-1.15-1.9Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m18.83%2C6.14l-5.77-2.7c-.34-.16-.7-.24-1.06-.24v17.56c.43%2C0%2C.85-.11%2C1.23-.32%2C5.73-3.18%2C6.63-9.74%2C6.75-12.41.04-.81-.42-1.55-1.15-1.9Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

/* Public document footer. */
body.legal-document-page { padding-bottom: 50px; }
.legal-document-page .site-legal-footer {
    position: fixed;
    width: 100%;
    right: 0;
    bottom: 0;
    border-top: 1px solid var(--border);
    padding: 7px 5px;
    background: var(--card);
    color: var(--text);
    font-size: 12px;
    z-index: 20;
}
.legal-document-page .site-legal-footer nav {display:flex;width:295px;max-width:100%;flex-wrap:wrap;justify-content:space-between;align-items:center;}
.legal-document-page .site-legal-footer a {
    color: var(--c-2196f3);
    text-decoration: none;
    border: 0;
    outline: none;
}
