/* HospoLab Privacy & Consent */
#hlc-root { --hlc-brand: #7b1e2b; --hlc-brand-ink: #fff; --hlc-bg: #fffaf6; --hlc-ink: #2b2220; --hlc-muted: #6b5d58; --hlc-line: #ead9cf; font-size: 15px; line-height: 1.55; color: var(--hlc-ink); }
#hlc-root [hidden] { display: none !important; }
#hlc-root .hlc-banner { position: fixed !important; left: 16px; bottom: 16px; top: auto; right: auto; z-index: 2147483000; max-width: 520px; background: var(--hlc-bg); border: 1px solid var(--hlc-line); border-radius: 16px; box-shadow: 0 12px 40px rgba(60, 20, 20, .18); padding: 18px 20px; }
.hlc-title { margin: 0 0 6px; font-weight: 700; font-size: 16px; color: var(--hlc-brand); }
.hlc-body { margin: 0 0 12px; color: var(--hlc-ink); }
.hlc-body a, .hlc-small a { color: var(--hlc-brand); text-decoration: underline; }
.hlc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hlc-btn { appearance: none; border: 1.5px solid var(--hlc-brand); border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1.2; }
.hlc-primary { background: var(--hlc-brand); color: var(--hlc-brand-ink); }
.hlc-ghost { background: transparent; color: var(--hlc-brand); }
.hlc-btn:focus-visible, .hlc-switch:focus-visible, .hlc-inline-link:focus-visible, .hlc-chat-btn:focus-visible { outline: 3px solid #e6a23c; outline-offset: 2px; }
#hlc-root .hlc-dialog { position: fixed !important; inset: 0; z-index: 2147483001; background: rgba(30, 15, 15, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.hlc-panel { background: var(--hlc-bg); border-radius: 18px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.hlc-cat { display: block; border: 1px solid var(--hlc-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; cursor: pointer; }
.hlc-cat p, .hlc-desc { display: block; margin: 4px 0 0; color: var(--hlc-muted); font-size: 14px; }
.hlc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hlc-always { font-size: 13px; color: var(--hlc-muted); white-space: nowrap; }
.hlc-switch { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #cfc2bb; position: relative; cursor: pointer; flex: none; margin: 0; transition: background .15s; }
.hlc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.hlc-switch:checked { background: var(--hlc-brand); }
.hlc-switch:checked::after { transform: translateX(18px); }
.hlc-small { margin: 12px 0 0; font-size: 13px; }
.hlc-footer-link { text-align: center; margin: 0; padding: 10px 16px 18px; font-size: 13px; }
.hlc-inline-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; opacity: .8; text-decoration: underline; cursor: pointer; }
#hlc-root .hlc-chat-btn { position: fixed !important; right: 20px; bottom: 20px; left: auto; top: auto; z-index: 2147482999; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--hlc-brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(123, 30, 43, .35); cursor: pointer; }
#hlc-root .hlc-chat-ask { position: fixed !important; right: 20px; bottom: 92px; left: auto; top: auto; z-index: 2147483000; max-width: 300px; background: var(--hlc-bg); border: 1px solid var(--hlc-line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(60, 20, 20, .18); }
.hlc-chat-ask p { margin: 0 0 10px; font-size: 14px; }
#hlc-root .hlc-banner:not([hidden]) ~ .hlc-chat-btn, html.hlx-quiz-on .hlc-chat-btn, html.hlx-quiz-on .hlc-chat-ask { display: none !important; }
/* Assessment consent (inside the assessment card) */
.hlc-ac { margin: 16px 0; padding: 14px 16px; border: 1px solid #ead9cf; border-radius: 12px; background: #fffaf6; font-size: 14.5px; line-height: 1.55; text-align: left; }
.hlc-ac-row { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; cursor: pointer; }
.hlc-ac-row input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: #7b1e2b; }
.hlc-ac-row a { color: #7b1e2b; text-decoration: underline; }
.hlc-ac-note { margin: 4px 0 0; color: #6b5d58; font-size: 13.5px; }
.hlc-ac-need { margin: 8px 0 0; color: #a3122a; font-weight: 600; }
.hlc-ac-off { opacity: .55; }
@media (max-width: 600px) {
	#hlc-root .hlc-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px; }
	.hlc-actions .hlc-btn { flex: 1 1 auto; }
	#hlc-root .hlc-chat-btn { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .hlc-switch, .hlc-switch::after { transition: none; } }
