#ghayth-consent{
  position:fixed;
  z-index:2147483000;
  inset-inline:16px;
  bottom:max(14px,env(safe-area-inset-bottom));
  max-width:920px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"copy actions" "prefs prefs";
  align-items:center;
  gap:12px 22px;
  background:#fff;
  color:#17201a;
  border:1px solid #e7e1d5;
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 16px 44px rgba(3,43,35,.16),0 2px 8px rgba(3,43,35,.06);
  font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  text-align:start;
}
#ghayth-consent .ghc-copy{grid-area:copy;min-width:0}
#ghayth-consent h3{
  margin:0 0 3px;
  color:#064e3b;
  font-size:16.5px;
  line-height:1.45;
  font-weight:850;
  letter-spacing:-.01em;
}
#ghayth-consent p{
  margin:0;
  max-width:600px;
  color:#5d6861;
  font-size:12.75px;
  line-height:1.65;
}
#ghayth-consent .ghc-links{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:5px;
  font-size:11.5px;
  line-height:1.5;
}
#ghayth-consent a{
  color:#0b604a;
  text-decoration:none;
  border-bottom:1px solid rgba(6,78,59,.28);
  font-weight:750;
}
#ghayth-consent a:hover{border-bottom-color:#064e3b}
#ghayth-consent .actions{
  grid-area:actions;
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:nowrap;
  margin:0;
}
#ghayth-consent button{
  border:1px solid #ded8cc;
  border-radius:999px;
  padding:8px 13px;
  min-height:38px;
  white-space:nowrap;
  font-size:12.75px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  background:#fff;
  color:#07513f;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
#ghayth-consent button:hover{
  background:#faf7f0;
  border-color:#cfc4ad;
}
#ghayth-consent button:active{transform:translateY(1px)}
#ghayth-consent button:focus-visible,
#ghayth-consent input:focus-visible,
#ghayth-consent a:focus-visible{
  outline:3px solid rgba(201,162,75,.42);
  outline-offset:2px;
}
#ghayth-consent button.primary{
  background:#064e3b;
  color:#fff;
  border-color:#064e3b;
  box-shadow:0 4px 12px rgba(6,78,59,.16);
}
#ghayth-consent button.primary:hover{
  background:#053f31;
  border-color:#053f31;
}
#ghayth-consent .prefs{
  grid-area:prefs;
  display:none;
  margin:1px 0 0;
  padding:10px;
  background:#fbf8f2;
  border:1px solid #eee7da;
  border-radius:13px;
}
#ghayth-consent .prefs.show{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
#ghayth-consent .prefs label{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  padding:8px 9px;
  border-radius:10px;
  background:#fff;
  border:1px solid #eee7d9;
  font-size:12px;
}
#ghayth-consent .prefs label>span{display:flex;align-items:center;gap:4px}
#ghayth-consent .prefs small{
  color:#6b746e;
  line-height:1.45;
  padding-inline-start:21px;
  font-size:11px;
}
#ghayth-consent input{accent-color:#064e3b}

@media(max-width:860px){
  #ghayth-consent{
    max-width:720px;
    grid-template-columns:1fr;
    grid-template-areas:"copy" "actions" "prefs";
    gap:10px;
  }
  #ghayth-consent .actions{justify-content:flex-start;flex-wrap:wrap}
  #ghayth-consent .prefs.show{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  #ghayth-consent{
    inset-inline:9px;
    bottom:max(9px,env(safe-area-inset-bottom));
    padding:13px;
    border-radius:16px;
    gap:9px;
  }
  #ghayth-consent h3{font-size:16px}
  #ghayth-consent p{font-size:12.5px;line-height:1.6}
  #ghayth-consent .actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  #ghayth-consent button{width:100%;padding:8px 10px}
  #ghayth-consent [data-custom]{grid-column:1/-1}
  #ghayth-consent [data-save]{grid-column:1/-1}
  #ghayth-consent .prefs.show{grid-template-columns:1fr}
}

@media(max-width:390px){
  #ghayth-consent .actions{grid-template-columns:1fr}
  #ghayth-consent [data-custom],#ghayth-consent [data-save]{grid-column:auto}
}

@media(prefers-reduced-motion:reduce){
  #ghayth-consent *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
