/* ex9 cookie consent — GDPR-compliant, on-brand (Public Sans, ex9 orange #E84C2B accent) */
:root{
  --ex9-bg:#232323; --ex9-panel:#232323; --ex9-line:#6B6B6B;
  --ex9-text:#F3F3F3; --ex9-muted:#C5C3C5; --ex9-accent:#E84C2B; --ex9-accent-h:#E84C2B;
}
#ex9c, #ex9c *{box-sizing:border-box;font-family:'Public Sans',Arial,sans-serif;}
#ex9c{position:fixed;z-index:2147483000;inset:auto 0 0 0;display:flex;justify-content:center;
  padding:16px;pointer-events:none;}
#ex9c[hidden]{display:none;}
.ex9c__card{pointer-events:auto;width:100%;max-width:760px;background:var(--ex9-bg);
  border:1px solid var(--ex9-line);border-radius:0;box-shadow:0 12px 40px rgba(0,0,0,.45);
  padding:22px 24px;color:var(--ex9-text);}
.ex9c__title{font-size:16px;font-weight:700;margin:0 0 6px;}
.ex9c__text{font-size:13.5px;line-height:1.55;color:var(--ex9-muted);margin:0 0 16px;}
.ex9c__text a{color:var(--ex9-text);text-decoration:underline;}
.ex9c__row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.ex9c__spacer{flex:1 1 auto;}
.ex9c__btn{appearance:none;border:1px solid var(--ex9-line);background:transparent;color:var(--ex9-text);
  font-size:13.5px;font-weight:600;padding:10px 18px;border-radius:0;cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;}
@media (hover: hover) and (pointer: fine) { .ex9c__btn:hover {border-color:#6B6B6B;} }
.ex9c__btn:focus-visible{outline:2px solid var(--ex9-accent);outline-offset:2px;}
/* white on charcoal: readable at this size (white on ex9 orange would need 19 px bold) */
.ex9c__btn--primary{background:#fff;border-color:#fff;color:#232323;}
@media (hover: hover) and (pointer: fine) { .ex9c__btn--primary:hover {background:#C5C3C5;border-color:#C5C3C5;} }
.ex9c__link{background:none;border:none;color:var(--ex9-muted);font-size:13px;font-weight:600;
  cursor:pointer;text-decoration:underline;padding:10px 4px;}
@media (hover: hover) and (pointer: fine) { .ex9c__link:hover {color:var(--ex9-text);} }
/* preferences */
.ex9c__prefs{margin:4px 0 18px;border-top:1px solid var(--ex9-line);}
.ex9c__opt{display:flex;gap:14px;align-items:flex-start;padding:15px 0;border-bottom:1px solid var(--ex9-line);}
.ex9c__opt h4{margin:0 0 3px;font-size:13.5px;font-weight:700;}
.ex9c__opt p{margin:0;font-size:12.5px;line-height:1.5;color:var(--ex9-muted);}
.ex9c__sw{position:relative;flex:0 0 auto;width:42px;height:24px;margin-top:2px;}
.ex9c__sw input{opacity:0;width:0;height:0;position:absolute;}
.ex9c__track{position:absolute;inset:0;background:#6B6B6B;border-radius:0;transition:background .2s;cursor:pointer;}
.ex9c__track::before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;
  border-radius:50%;transition:transform .2s;}
.ex9c__sw input:checked + .ex9c__track{background:var(--ex9-accent);}
.ex9c__sw input:checked + .ex9c__track::before{transform:translateX(18px);}
.ex9c__sw input:disabled + .ex9c__track{background:var(--ex9-accent);opacity:.45;cursor:not-allowed;}
.ex9c__sw input:focus-visible + .ex9c__track{outline:2px solid var(--ex9-accent);outline-offset:2px;}
/* floating reopen button (bottom-right: Tilda's scroll-to-top arrow owns bottom-left) */
#ex9c-reopen{position:fixed;right:18px;bottom:18px;z-index:2147482000;width:44px;height:44px;
  border-radius:50%;background:var(--ex9-bg);border:1px solid var(--ex9-line);color:var(--ex9-text);
  cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.4);}
@media (hover: hover) and (pointer: fine) { #ex9c-reopen:hover {border-color:var(--ex9-accent);} }
#ex9c-reopen svg{width:21px;height:21px;}
@media (max-width:560px){
  .ex9c__card{padding:18px 16px;}
  .ex9c__row{gap:8px;}
  .ex9c__btn{flex:1 1 auto;text-align:center;}
}
