.ipcg-skip {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  opacity: 0;
  pointer-events: none;
  padding: .65rem .85rem;
  color: #fff;
  background: #0f172a;
}

.ipcg-skip:focus { opacity: 1; pointer-events: auto; }

.ipcg-page-frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ipcg-site-tools {
  flex: 0 0 auto;
  padding: 1rem max(1rem, calc((100% - 68rem) / 2));
  border-top: 1px solid #e2e8f0;
  color: #334155;
  background: #f8fafc;
  text-align: left;
  font-size: .875rem;
  line-height: 1.45;
}

.ipcg-site-tools nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}

.ipcg-site-tools a,
.ipcg-site-tools summary,
.ipcg-cookie-link,
.ipcg-consent a,
.ipcg-message a { color: #0f172a; text-decoration: underline; }

.ipcg-site-tools [aria-current="page"] { font-weight: 700; }
.ipcg-site-tools details { margin-top: .6rem; }
.ipcg-site-tools summary { cursor: pointer; }
.ipcg-site-tools form { margin: .65rem 0; }
.ipcg-site-tools label { display: block; font-weight: 600; }

.ipcg-site-tools input {
  width: min(100%, 26rem);
  max-width: 100%;
  padding: .45rem .6rem;
  color: #0f172a;
  background-color: #fff;
  border: 1px solid #64748b;
  border-radius: .25rem;
  box-sizing: border-box;
}

.ipcg-site-tools [role="status"] { margin: .4rem 0; }
.ipcg-site-tools ul { padding-inline-start: 1.25rem; list-style: disc; }
.ipcg-site-tools button,
.ipcg-consent button { font: inherit; cursor: pointer; }

.ipcg-site-tools form button,
.ipcg-consent button {
  padding: .45rem .65rem;
  border: 1px solid #64748b;
  border-radius: .25rem;
  color: #0f172a;
  background-color: #fff;
  margin: .25rem .35rem 0 0;
}

.ipcg-cookie-link {
  border: 0;
  background: transparent;
  padding: 0;
}

.ipcg-consent {
  box-sizing: border-box;
  width: min(100% - 2rem, 30rem);
  margin: auto;
  padding: 1.25rem;
  color: #0f172a;
  background-color: #fff;
  border: 1px solid #64748b;
  border-radius: .5rem;
  overflow-wrap: anywhere;
}

.ipcg-consent::backdrop { background-color: rgb(15 23 42 / .5); }
.ipcg-consent h2 { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.ipcg-consent p { margin-block: .5rem; }

.ipcg-site-tools [hidden] { display: none; }
.ipcg-site-tools :focus-visible,
.ipcg-consent :focus-visible { outline: 2px solid #93500e; outline-offset: 3px; }

@media (max-width: 767px) {
  .ipcg-legal-nav > div { flex-wrap: wrap; row-gap: .75rem; }
  .ipcg-legal-nav > div > div { flex-wrap: wrap; gap: .5rem .75rem; }
  .ipcg-legal-nav > div > div > a { margin-inline: 0; }
}

.ipcg-message {
  margin: 0;
  padding: clamp(1rem, 8vw, 5rem);
  font-family: system-ui, sans-serif;
  color: #0f172a;
  background: #f8fafc;
}
