/* Scoped styles: safe to use on the authenticated application without
   importing the general typography and layout of legal.css. */
.cookie-settings-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #075f8d;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-settings-button:hover { color: #008b5b; }
.cookie-settings-button:focus-visible,
.portal-cookie-dialog button:focus-visible,
.portal-cookie-dialog a:focus-visible {
  outline: 3px solid #008b5b;
  outline-offset: 3px;
}
.portal-cookie-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 540px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
  padding: 27px;
  color: #192a3a;
  background: #ffffff;
  border: 1px solid #dce5ea;
  border-radius: 14px;
  box-shadow: 0 20px 55px rgb(16 50 99 / 22%);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.portal-cookie-dialog::backdrop { background: rgb(7 24 42 / 60%); }
.portal-cookie-dialog h2 {
  color: #103263;
  margin: 0 0 11px;
  font-size: 1.5rem;
  line-height: 1.3;
}
.portal-cookie-dialog p { margin: 0 0 16px; }
.portal-cookie-dialog a { color: #075f8d; text-underline-offset: 3px; }
.portal-cookie-dialog a:hover { color: #008b5b; }
.portal-cookie-dialog .cookie-dialog-intro { color: #566b7b; }
.portal-cookie-dialog .cookie-category {
  border: 1px solid #dce5ea;
  border-radius: 9px;
  padding: 14px 16px;
  margin: 20px 0 18px;
}
.portal-cookie-dialog .cookie-category p { margin: 8px 0 0; font-size: .92rem; }
.portal-cookie-dialog .cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portal-cookie-dialog .cookie-category-head strong { color: #103263; }
.portal-cookie-dialog .cookie-always {
  flex: none;
  color: #087a50;
  background: #e7f7ee;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: .76rem;
  font-weight: 700;
}
.portal-cookie-dialog .cookie-close {
  display: block;
  width: 100%;
  padding: 11px 20px;
  border: 0;
  border-radius: 7px;
  background: #103263;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.portal-cookie-dialog .cookie-close:hover { background: #16477e; }
@media (max-width: 600px) {
  .portal-cookie-dialog { padding: 22px 18px; }
}
@media print {
  .portal-cookie-dialog { display: none; }
}
