.bh-cookie-preferences{font:inherit;color:inherit;background:none;border:0;text-decoration:underline;cursor:pointer;margin:.5rem 0;padding:.25rem}
.bh-cookie-panel{position:fixed;z-index:10000;left:0;right:0;bottom:var(--bh-cookie-bottom-offset,0px);margin:0;padding:.8rem max(1rem,calc((100vw - 64rem)/2)) calc(.8rem + env(safe-area-inset-bottom));background:var(--paper,#fff);color:var(--ink,#171a1e);border:0;border-top:1px solid var(--line,#dcdedc);border-radius:0;box-shadow:0 -3px 18px #0002;font:inherit;text-align:left;max-height:min(55dvh,calc(var(--bh-cookie-viewport-height,100dvh) - 1rem));overflow:auto;overscroll-behavior:auto;box-sizing:border-box;display:grid;grid-template-columns:minmax(16rem,1fr) auto;gap:.35rem 1.2rem}
.bh-cookie-panel[hidden]{display:none}
.bh-cookie-panel h2{font-size:1rem;line-height:1.3;margin:0 0 .3rem;color:inherit;letter-spacing:0;text-transform:none}
.bh-cookie-panel p{font-size:.85rem;line-height:1.45;margin:0 0 .8rem;color:var(--muted,#64686e)}
.bh-cookie-panel a{color:inherit;text-decoration:underline}
.bh-cookie-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-self:center;min-width:23rem}
.bh-cookie-copy{min-width:0}.bh-cookie-copy p{margin-bottom:0}.bh-cookie-details,.bh-cookie-feedback,.bh-cookie-signal{grid-column:1/-1}
.bh-cookie-actions button,.bh-cookie-detail-actions button{flex:1 1 8rem;min-height:42px;padding:.5rem .85rem;border:1px solid var(--ink,#171a1e);border-radius:6px;background:var(--paper,#fff);color:var(--ink,#171a1e);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
.bh-cookie-actions [data-choice=accept],.bh-cookie-actions [data-choice=reject]{background:var(--ink,#171a1e);color:#fff}
.bh-cookie-actions [data-choice=preferences]{flex:0 1 auto}
.bh-cookie-actions button:hover,.bh-cookie-actions button:focus-visible{background:#20242a;color:#fff}
.bh-cookie-actions button:disabled{opacity:.6;cursor:wait}
.bh-cookie-panel button:focus-visible,.bh-cookie-panel a:focus-visible,.bh-cookie-panel input:focus-visible{outline:3px solid var(--red,#bb3f3e);outline-offset:3px}
.bh-cookie-panel [hidden]{display:none!important}
.bh-cookie-details{border-top:1px solid var(--line,#dcdedc);margin-top:1rem;padding-top:.2rem}
.bh-cookie-details label{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 0;font-size:.88rem;cursor:pointer}
.bh-cookie-details strong,.bh-cookie-details small{display:block}.bh-cookie-details small{font-size:.8rem;color:var(--muted,#64686e);margin-top:.2rem}
.bh-cookie-details input{width:1.15rem;height:1.15rem;flex-shrink:0;accent-color:var(--ink,#171a1e)}
.bh-cookie-detail-actions{display:flex;gap:.6rem;margin-top:.35rem}
.bh-cookie-panel .bh-cookie-feedback{margin:.75rem 0 0;color:#a0121e}.bh-cookie-panel .bh-cookie-signal{margin:.65rem 0 0;font-size:.8rem}
.bh-storage-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.88rem;margin:1rem 0 1.5rem}
.bh-storage-table caption{text-align:left;font-weight:600;margin-bottom:.6rem}
.bh-storage-table th,.bh-storage-table td{padding:.65rem;text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid var(--line,#dcdedc)}
.bh-storage-table th{background:var(--soft,#f3f4f3);font-weight:600}.bh-storage-table th:first-child{width:30%}
@media(max-width:760px){.bh-cookie-panel{grid-template-columns:1fr;padding:.8rem max(.9rem,env(safe-area-inset-left)) calc(.8rem + env(safe-area-inset-bottom));gap:.7rem}.bh-cookie-actions{min-width:0}.bh-cookie-panel p{font-size:.8rem}}
@media(max-width:480px){.bh-cookie-actions [data-choice=preferences]{flex:1 1 100%;border-color:#aaa}}
