/* Lawhill consent – compact bottom-left card, no backdrop. Colours from the theme (navy #04357c, ink #0a1626). */
.lhc{position:fixed;left:20px;bottom:20px;z-index:2147483000;box-sizing:border-box;width:380px;max-width:calc(100vw - 24px);max-height:calc(100vh - 40px);overflow:auto;
  background:#fff;color:#0a1626;border:1px solid #c9d3e3;border-radius:6px;box-shadow:0 6px 24px rgba(10,22,38,.18);
  padding:18px 18px 14px;font:400 14px/1.5 Roboto,Arial,sans-serif;text-align:left}
.lhc *{box-sizing:border-box}
.lhc-title{margin:0 0 6px;font:700 16px/1.3 Roboto,Arial,sans-serif;color:#04357c;outline:none}
.lhc-text{margin:0 0 12px}
.lhc-small{font-size:13px}
.lhc-link{color:#04357c;text-decoration:underline;font-weight:500}
.lhc-row{display:flex;gap:8px;margin-bottom:6px}
.lhc .lhc-btn{font:700 14px/16px Roboto,Arial,sans-serif;cursor:pointer;border-radius:3px;margin:0;transition:background-color .15s,border-color .15s}
.lhc-main{flex:1 1 0;padding:11px 10px;background:#04357c;color:#fff;border:2px solid #04357c}
.lhc-main:hover{background:#0a1626;border-color:#0a1626}
.lhc-sec{display:block;width:100%;padding:8px;background:none;border:0;color:#04357c;text-decoration:underline;font-weight:500}
/* !important: the theme sets button{outline:0!important} */
.lhc .lhc-btn:focus-visible,.lhc .lhc-link:focus-visible,.lhc input:focus-visible+.lhc-track{outline:3px solid #d98566!important;outline-offset:2px!important}
.lhc-cats{margin:4px 0 10px}
.lhc-cat{border-top:1px solid #e3e8f0;padding:10px 0}
.lhc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lhc-cat-name{font-weight:700;cursor:pointer}
.lhc-cat-desc{margin:4px 0 0;font-size:13px;color:#33405a}
.lhc-always{font-size:12px;font-weight:500;color:#33405a}
.lhc-switch{position:relative;display:inline-flex;align-items:center;flex:none}
.lhc-switch input{position:absolute;opacity:0;width:44px;height:24px;margin:0;cursor:pointer;z-index:1}
.lhc-switch input:disabled{width:0;height:0}
.lhc-track{width:44px;height:24px;border-radius:12px;background:#8a94a6;position:relative;transition:background .15s}
.lhc-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}
.lhc-switch input:checked+.lhc-track{background:#04357c}
.lhc-switch input:checked+.lhc-track:after{transform:translateX(20px)}
/* Desktop "bar" layout: first layer = slim full-width bar aligned to the site container (1150px); settings = centred panel */
@media (min-width:768px){
  .lhc--bar.lhc--first{left:0;right:0;bottom:0;width:auto;max-width:none;border:0;border-top:1px solid #c9d3e3;border-radius:0;
    box-shadow:0 -4px 18px rgba(10,22,38,.12);padding:14px max(20px,calc((100vw - 1150px)/2 + 20px));
    display:grid;grid-template-columns:1fr auto;grid-template-areas:"title row" "text sec";column-gap:32px;align-items:center}
  .lhc--bar.lhc--first .lhc-title{grid-area:title;margin:0 0 2px}
  .lhc--bar.lhc--first .lhc-text{grid-area:text;margin:0;max-width:820px}
  .lhc--bar.lhc--first .lhc-row{grid-area:row;margin:0}
  .lhc--bar.lhc--first .lhc-main{flex:0 0 150px}
  .lhc--bar.lhc--first .lhc-sec{grid-area:sec;padding:6px 8px 0}
  .lhc--bar.lhc--first.lhc--single{grid-template-areas:"title row" "text row"}
  .lhc--bar.lhc--settings{left:50%;transform:translateX(-50%);width:560px}
}
@media (max-width:767px){
  .lhc{left:12px;right:12px;bottom:12px;width:auto;max-height:calc(100vh - 24px);padding:14px 14px 10px}
  .lhc--first .lhc-text{font-size:13px}
}
@media (prefers-reduced-motion:reduce){.lhc-track,.lhc-track:after{transition:none}}
@media print{.lhc{display:none}}
