/* Consent choices share the same visual emphasis. */
.elroble-consent[hidden] { display: none !important; }
.elroble-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 1200;
  width: min(74rem, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
  gap: 1.25rem;
  align-items: center;
  max-height: calc(100dvh - 2.5rem);
  overflow: auto;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  color: var(--ink, #152e4b);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d7e1ed);
  border-top: 2px solid var(--gold, #c39736);
  border-radius: 1rem;
  box-shadow: 0 8px 48px #09152638;
  font-family: var(--font, Inter, Arial, sans-serif);
}
.elroble-consent h2 {
  margin: 0 0 .4rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.elroble-consent p {
  margin: 0 0 .45rem;
  color: var(--muted, #4b6177);
  font-size: .9375rem;
  line-height: 1.5;
}
.elroble-consent .elroble-consent-note { font-size: .875rem; }
.elroble-consent .elroble-consent-assurance { color: var(--ink, #152e4b); font-weight: 600; }
.elroble-consent .elroble-consent-status {
  padding: .6rem .8rem;
  background: var(--subtle, #edf2f8);
  border-radius: .5rem;
  font-size: .875rem;
}
.elroble-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 0 0 .65rem;
}
.elroble-consent-choice {
  min-height: 3rem;
  padding: .7rem 1rem;
  border: 1px solid var(--ink, #152e4b);
  border-radius: .6rem;
  background: var(--surface, #fff);
  color: var(--ink, #152e4b);
  font: inherit;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
.elroble-consent-choice:hover { background: var(--subtle, #edf2f8); }
.elroble-consent-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.elroble-consent-links a,
.elroble-consent-close,
.consent-settings {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .2em;
  font: inherit;
  font-size: .875rem;
  line-height: 1.6;
  cursor: pointer;
}
.elroble-consent-close[hidden] { display: none; }
.elroble-consent :focus-visible,
.consent-settings:focus-visible,
.elroble-consent-reminder :focus-visible { outline: 3px solid var(--gold, #c39736); outline-offset: 4px; }
.has-consent-reminder { padding-bottom: var(--consent-reminder-height, 6rem); }
.elroble-consent-reminder[hidden] { display: none !important; }
.elroble-consent-reminder {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 1100;
  width: min(74rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.25rem;
  padding: .65rem 1rem;
  color: var(--ink, #152e4b);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d7e1ed);
  border-radius: .75rem;
  box-shadow: 0 4px 18px #0915261a;
  font-family: var(--font, Inter, Arial, sans-serif);
}
.elroble-consent-reminder p { margin: 0; flex: 1 1 14rem; font-size: .875rem; line-height: 1.5; }
.elroble-consent-reminder-button {
  border: 1px solid var(--line, #d7e1ed);
  border-radius: .5rem;
  padding: .55rem .85rem;
  min-height: 2.75rem;
  color: inherit;
  background: var(--surface, #fff);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.elroble-consent-reminder-button:hover { background: var(--subtle, #edf2f8); }
.elroble-consent-reminder a {
  color: inherit;
  font-size: .875rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (max-width: 560px) {
  .elroble-consent {
    inset: auto .75rem .75rem;
    width: calc(100% - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    padding: 1rem;
  }
  .elroble-consent-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .elroble-consent-reminder { inset: auto .75rem .75rem; width: calc(100% - 1.5rem); gap: .5rem .8rem; }
  .elroble-consent-reminder p { flex-basis: 100%; }
}
@media (max-width: 780px) {
  .elroble-consent { grid-template-columns: 1fr; gap: .65rem; }
  .elroble-consent-copy p:last-child { margin-bottom: 0; }
}
