/* Consent controls are intentionally scoped outside public/private page themes. */
#helm-cookie-consent { color-scheme: light; }
#helm-cookie-consent, #helm-cookie-consent * { box-sizing: border-box; }
#helm-cookie-consent button, #helm-cookie-consent input { font: inherit; }
#helm-cookie-consent button { cursor: pointer; }
#helm-cookie-consent :is(button,section,input) { border-radius: 0 !important; }
#helm-cookie-consent a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
#helm-cookie-consent :is(button,a,input):focus-visible { outline: 3px solid #c5a361; outline-offset: 4px; }
.helm-cookie-banner { position: fixed; inset: auto 0 0; z-index: 5100; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px; padding: 25px max(28px,calc((100vw - 1440px)/2)) max(25px,env(safe-area-inset-bottom)); background: #102b39; color: #fff; border-top: 2px solid #b99b60; box-shadow: 0 -10px 50px #06151e30; max-height: 90svh; overflow: auto; }
.helm-cookie-eyebrow { margin: 0 0 9px; font-size: 11px; font-weight: 700; letter-spacing: .17em; line-height: 1.4; color: #d7bf8d; }
.helm-cookie-copy h2 { margin: 0 0 10px; font-family: inherit; font-size: clamp(21px,2vw,27px); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.helm-cookie-copy p:not(.helm-cookie-eyebrow) { max-width: 850px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.7; color: #e1e8eb; }
.helm-cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#helm-cookie-consent .helm-cookie-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 146px; padding: 12px 18px; border: 1px solid #fff; border-radius: 0; box-shadow: none; background: #fff; color: #102b39; font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center; white-space: normal; transition: background .16s,color .16s; }
#helm-cookie-consent .helm-cookie-button:hover { background: #d7bf8d; color: #102b39; border-color: #d7bf8d; }
#helm-cookie-consent .helm-cookie-button--quiet { background: transparent; color: #fff; border-color: #78909b; }
#helm-cookie-consent .helm-cookie-button:disabled { opacity: .6; cursor: not-allowed; }
.helm-cookie-signal { margin-top: 12px !important; padding-left: 12px; border-left: 2px solid #d7bf8d; }
.helm-cookie-backdrop { position: fixed; inset: 0; z-index: 5200; display: grid; place-items: center; padding: 24px; background: #04141dcc; }
.helm-cookie-dialog { width: min(700px,100%); max-height: 90svh; overflow: auto; padding: clamp(22px,4vw,40px); background: #fff; color: #153343; border-top: 3px solid #b99b60; box-shadow: 0 20px 70px #0005; }
.helm-cookie-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.helm-cookie-dialog .helm-cookie-eyebrow { color: #765919; }
.helm-cookie-dialog h2 { margin: 0; font-family: inherit; font-size: clamp(25px,4vw,34px); font-weight: 650; line-height: 1.15; color: #102b39; }
.helm-cookie-dialog > p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: #405966; }
#helm-cookie-consent .helm-cookie-close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #c9d3d8; border-radius: 0; background: #fff; color: #102b39; box-shadow: none; font-size: 27px; line-height: 1; }
.helm-cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 0; border-top: 1px solid #d6dfe3; cursor: default; }
.helm-cookie-category strong { display: block; margin-bottom: 8px; font-size: 16px; color: #102b39; }
.helm-cookie-category span:not(.helm-cookie-required) { display: block; font-size: 14px; font-weight: 400; line-height: 1.7; color: #405966; }
.helm-cookie-required { min-width: 90px; color: #44634a; font-size: 12px; font-weight: 700; text-align: right; }
.helm-cookie-category input[type=checkbox] { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: #153343; }
.helm-cookie-dialog .helm-cookie-small { margin-top: 22px; font-size: 13px; }
.helm-cookie-dialog .helm-cookie-actions { justify-content: flex-start; padding-top: 12px; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button { border-color: #17394a; background: #17394a; color: #fff; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button--quiet { background: #fff; color: #17394a; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button:hover { background: #e9eef0; color: #102b39; }
.cookie-settings-open { overflow: hidden; }
.cookie-policy-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.cookie-policy-table :is(th,td) { padding: 16px; border: 1px solid #c8d3d9; text-align: left; vertical-align: top; overflow-wrap: anywhere; color: #254556; }
.cookie-policy-table th { background: #edf2f4; color: #102b39; font-weight: 700; }
.cookie-policy-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0; }
.cookie-policy-scroll .cookie-policy-table { min-width: 600px; }
.cookie-policy-list { padding-left: 20px; line-height: 1.8; }
@media (max-width: 1180px) { .helm-cookie-banner { grid-template-columns: 1fr; gap: 20px; } .helm-cookie-actions { justify-content: flex-start; } }
@media (max-width: 560px) { .helm-cookie-banner { padding: 20px 18px max(20px,env(safe-area-inset-bottom)); gap: 18px; } .helm-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; } #helm-cookie-consent .helm-cookie-button { min-width: 0; padding-inline: 10px; } .helm-cookie-actions .helm-cookie-button--quiet { grid-column: 1/-1; } .helm-cookie-backdrop { padding: 12px; } .helm-cookie-dialog { padding: 22px 18px; } .helm-cookie-category { gap: 14px; } .cookie-policy-table :is(th,td) { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { #helm-cookie-consent * { transition: none !important; } }

/* This layer also appears over private CRM pages and legacy public themes. */
#helm-cookie-consent .helm-cookie-banner { background: #102b39 !important; color: #fff !important; }
#helm-cookie-consent .helm-cookie-banner h2 { color: #fff !important; font-size: clamp(21px,2vw,27px) !important; line-height: 1.15 !important; }
#helm-cookie-consent .helm-cookie-banner .helm-cookie-copy p { color: #e1e8eb !important; }
#helm-cookie-consent .helm-cookie-banner .helm-cookie-copy .helm-cookie-eyebrow { color: #d7bf8d !important; }
#helm-cookie-consent .helm-cookie-banner a { color: #fff !important; }
#helm-cookie-consent .helm-cookie-dialog { background: #fff !important; color: #153343 !important; }
#helm-cookie-consent .helm-cookie-dialog :is(h2,strong) { color: #102b39 !important; }
#helm-cookie-consent .helm-cookie-dialog :is(p,span) { color: #405966 !important; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-eyebrow { color: #765919 !important; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-required { color: #44634a !important; }
#helm-cookie-consent .helm-cookie-dialog a { color: #153343 !important; }
#helm-cookie-consent .helm-cookie-button { background: #fff !important; color: #102b39 !important; border-color: #fff !important; }
#helm-cookie-consent .helm-cookie-button--quiet { background: transparent !important; color: #fff !important; border-color: #78909b !important; }
#helm-cookie-consent .helm-cookie-button:hover { background: #d7bf8d !important; color: #102b39 !important; border-color: #d7bf8d !important; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button { background: #17394a !important; color: #fff !important; border-color: #17394a !important; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button--quiet { background: #fff !important; color: #17394a !important; }
#helm-cookie-consent .helm-cookie-dialog .helm-cookie-button:hover { background: #e9eef0 !important; color: #102b39 !important; }
#helm-cookie-consent .helm-cookie-close { background: #fff !important; color: #102b39 !important; border-color: #c9d3d8 !important; }
