.jarvis-consent{
  position:fixed;
  inset:0;
  z-index:2147483646;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:24px;
  background:transparent;
  pointer-events:none;
}
.jarvis-consent[hidden]{display:none}
.jarvis-consent__panel{
  width:min(420px,100%);
  padding:12px 14px 10px;
  overflow:hidden;
  color:#f5f5f5;
  background:#191b1f;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.32);
  pointer-events:auto;
}
.jarvis-consent h2{margin:0 0 4px;color:#f6c51f;font-size:16px;font-weight:800;line-height:1.2}
.jarvis-consent h2:focus{outline:none}
.jarvis-consent p{margin:0;color:#cfd2d7;font-size:12.5px;line-height:1.38}
.jarvis-consent p+p{margin-top:7px}
.jarvis-consent label{display:flex;align-items:center;gap:8px;min-height:34px;padding:7px 0;color:#eceef1;font-size:12.5px;border-bottom:1px solid rgba(255,255,255,.1)}
.jarvis-consent label:last-of-type{border-bottom:0}
.jarvis-consent input[type="checkbox"]{width:16px;height:16px;margin:0;accent-color:#e5c15a}
.jarvis-consent a,.jarvis-consent a:visited{color:#f6c51f;text-decoration:underline;text-underline-offset:.18em}
.jarvis-consent a:hover{color:#fff}
.jarvis-consent a:focus-visible{outline:2px solid #e5c15a;outline-offset:2px;border-radius:3px}
.jarvis-consent__actions{display:flex;align-items:stretch;gap:6px;margin-top:10px}
.jarvis-consent button,.jarvis-consent-open{min-width:0;min-height:34px;margin:0;padding:8px 5px;color:#eceef1;background:#25282d;border:1px solid #5c6068;border-radius:8px;font:inherit;font-size:11.5px;font-weight:600;line-height:1.15;cursor:pointer}
.jarvis-consent__actions button{flex:1 1 0;white-space:nowrap}
.jarvis-consent button[data-action="accept"]{color:#17191d;background:#e5c15a;border-color:#e5c15a}
.jarvis-consent button[data-action="reject"]{color:#eceef1;background:#25282d;border-color:#5c6068}
.jarvis-consent button:hover,.jarvis-consent-open:hover{border-color:#e5c15a}
.jarvis-consent button[data-action="accept"]:hover{background:#f0cf6e}
.jarvis-consent button[data-action="reject"]:hover{background:#30343a;border-color:#7a7f88}
.jarvis-consent button:focus-visible,.jarvis-consent-open:focus-visible{outline:2px solid #e5c15a;outline-offset:2px}
.jarvis-consent-open{position:fixed;z-index:2147483645;left:12px;bottom:12px;min-height:32px;padding:7px 10px;font-size:10.5px}
.jarvis-consent:not([hidden])~.jarvis-consent-open{display:none}
.jarvis-consent--settings{align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.58);pointer-events:auto}
.jarvis-consent--settings .jarvis-consent__panel{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:14px 16px 12px;overflow-y:auto;box-shadow:0 12px 36px rgba(0,0,0,.38)}
.jarvis-consent--settings h2{font-size:17px;margin-bottom:7px}
.jarvis-consent--settings [data-jarvis-settings]>p{margin-bottom:8px}
.jarvis-consent--settings .jarvis-consent__actions button{white-space:normal;font-size:11px}
@media(max-width:576px){
  .jarvis-consent{padding:12px}
  .jarvis-consent__panel{width:100%;max-width:none;padding:11px 12px 9px}
  .jarvis-consent h2{font-size:15px}
  .jarvis-consent p{font-size:11.5px;line-height:1.35}
  .jarvis-consent p+p{margin-top:6px}
  .jarvis-consent:not(.jarvis-consent--settings) .jarvis-consent__actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}
  .jarvis-consent:not(.jarvis-consent--settings) .jarvis-consent__actions button{min-height:32px;padding:7px 5px;font-size:10.5px;white-space:normal}
  .jarvis-consent:not(.jarvis-consent--settings) .jarvis-consent__actions button[data-action="settings"]{grid-column:1/-1}
  .jarvis-consent--settings{padding:12px}
  .jarvis-consent--settings .jarvis-consent__panel{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px 14px 10px}
  .jarvis-consent--settings h2{font-size:16px}
  .jarvis-consent--settings p,.jarvis-consent--settings label{font-size:11.5px}
  .jarvis-consent--settings .jarvis-consent__actions button{font-size:10px}
}
@media(prefers-reduced-motion:no-preference){.jarvis-consent__panel{animation:jarvis-consent-in .18s ease-out}@keyframes jarvis-consent-in{from{transform:translateY(12px);opacity:.7}}}
