@charset "UTF-8";
@property --start {
  syntax: "<color>";
  initial-value: #f0f0f0;
  inherits: false;
}
@property --end {
  syntax: "<color>";
  initial-value: rgb(80.4176470588%, 80.4176470588%, 80.4176470588%);
  inherits: false;
}
@media (prefers-color-scheme: light) {
  :root {
    --body-bg-gradient:
    	radial-gradient(ellipse 80% 50% at 0% 0%, rgba(58, 58, 58, 0.4), transparent 70%),
    	radial-gradient(ellipse 70% 50% at 100% 100%, rgba(58, 58, 58, 0.28), transparent 65%),
    	radial-gradient(circle 35vw at 25% 55%, rgba(58, 58, 58, 0.15), transparent),
    	radial-gradient(circle 28vw at 82% 35%, rgba(58, 58, 58, 0.18), transparent),
    	radial-gradient(ellipse 55% 30% at 50% 5%, rgba(58, 58, 58, 0.14), transparent 55%),
    	linear-gradient(145deg, rgb(90.1176470588%, 90.1176470588%, 90.1176470588%) 0%, rgb(82.1176470588%, 82.1176470588%, 82.1176470588%) 100%);
    --color: #151515;
    --color-secondary: #334155;
    --color-disabled: #94a3b8;
    --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
    --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
    --border: #cbd5e1;
    --border-hover: rgb(66.924916308%, 73.2855093257%, 80.9182209469%);
    --background: #f7f7f7;
    --background-secondary: #cbd5e1;
    --background-hover: #ffffff;
    --close-color: #444;
    --close-color-hover: #222;
    --close-color-active: #000;
    --close-background: rgba(102, 102, 102, 0.24);
    --close-background-hover: rgba(102, 102, 102, 0.4);
    --close-background-active: rgba(102, 102, 102, 0.6);
    --modal-border: rgb(37.1176470588%, 37.1176470588%, 37.1176470588%);
    --sheet-surface: #ffffff;
    --sheet-ink: #151515;
    --sheet-muted: #475569;
    --sheet-outline: rgba(21, 21, 21, 0.12);
    --sheet-shadow: 0 12px 32px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
    --sheet-danger: #b42318;
  }
  body::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border: 2px solid #f0f0f0;
  }
  * {
    scrollbar-color: #bbb #f0f0f0;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-gradient:
    	radial-gradient(ellipse 90% 60% at 0% 0%, rgb(11.4509803922%, 11.4509803922%, 18.5098039216%), transparent 75%),
    	radial-gradient(ellipse 80% 60% at 100% 100%, rgb(11.2%, 11.2%, 18.4156862745%), transparent 70%),
    	radial-gradient(circle 45vw at 25% 55%, rgb(10.9490196078%, 10.9490196078%, 18.3215686275%), transparent),
    	radial-gradient(circle 38vw at 82% 35%, rgb(11.2%, 11.2%, 18.4156862745%), transparent),
    	radial-gradient(ellipse 65% 40% at 50% 5%, rgb(11.2%, 11.2%, 18.4156862745%), transparent 60%),
    	#1e1e24;
    --color: #f0f0f0;
    --color-secondary: #94a3b8;
    --color-disabled: #6B5C47;
    --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
    --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
    --border: #38332c;
    --border-hover: rgb(33.1607843137%, 30.2%, 26.0549019608%);
    --background: #212121;
    --background-secondary: #38332c;
    --background-hover: #000000;
    --background-disabled: #353535;
    --close-color: #BBB;
    --close-color-hover: #DDD;
    --close-color-active: #FFF;
    --close-background: rgba(153, 153, 153, 0.24);
    --close-background-hover: rgba(153, 153, 153, 0.4);
    --close-background-active: rgba(153, 153, 153, 0.6);
    --modal-border: rgb(30.2352941176%, 30.2352941176%, 30.2352941176%);
    --sheet-surface: #26262e;
    --sheet-ink: #f0f0f0;
    --sheet-muted: #a3aec0;
    --sheet-outline: rgba(240, 240, 240, 0.14);
    --sheet-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .40);
    --sheet-danger: #ff9a8f;
  }
  body::-webkit-scrollbar-track {
    background: #1e1e1e;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #555;
    border: 2px solid #1e1e1e;
  }
  * {
    scrollbar-color: #555 #1e1e1e;
  }
}
body.light-mode {
  --body-bg-gradient:
  	radial-gradient(ellipse 80% 50% at 0% 0%, rgba(58, 58, 58, 0.4), transparent 70%),
  	radial-gradient(ellipse 70% 50% at 100% 100%, rgba(58, 58, 58, 0.28), transparent 65%),
  	radial-gradient(circle 35vw at 25% 55%, rgba(58, 58, 58, 0.15), transparent),
  	radial-gradient(circle 28vw at 82% 35%, rgba(58, 58, 58, 0.18), transparent),
  	radial-gradient(ellipse 55% 30% at 50% 5%, rgba(58, 58, 58, 0.14), transparent 55%),
  	linear-gradient(145deg, rgb(90.1176470588%, 90.1176470588%, 90.1176470588%) 0%, rgb(78.1176470588%, 78.1176470588%, 78.1176470588%) 100%);
  --color: #151515;
  --color-secondary: #334155;
  --color-disabled: #94a3b8;
  --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
  --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
  --border: #cbd5e1;
  --border-hover: rgb(66.924916308%, 73.2855093257%, 80.9182209469%);
  --background: #f7f7f7;
  --background-secondary: #cbd5e1;
  --background-hover: #ffffff;
  --background-disabled: #f1f5f9;
  --close-color: #444;
  --close-color-hover: #222;
  --close-color-active: #000;
  --close-background: rgba(102, 102, 102, 0.24);
  --close-background-hover: rgba(102, 102, 102, 0.4);
  --close-background-active: rgba(102, 102, 102, 0.6);
  --modal-border: rgb(37.1176470588%, 37.1176470588%, 37.1176470588%);
  --sheet-surface: #ffffff;
  --sheet-ink: #151515;
  --sheet-muted: #475569;
  --sheet-outline: rgba(21, 21, 21, 0.12);
  --sheet-shadow: 0 12px 32px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
  --sheet-danger: #b42318;
}
body.light-mode body::-webkit-scrollbar-track {
  background: #f0f0f0;
}
body.light-mode body::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border: 2px solid #f0f0f0;
}
body.light-mode * {
  scrollbar-color: #bbb #f0f0f0;
}

body.dark-mode {
  --body-bg-gradient:
  	radial-gradient(ellipse 90% 60% at 0% 0%, rgb(11.4509803922%, 11.4509803922%, 18.5098039216%), transparent 75%),
  	radial-gradient(ellipse 80% 60% at 100% 100%, rgb(11.2%, 11.2%, 18.4156862745%), transparent 70%),
  	radial-gradient(circle 45vw at 25% 55%, rgb(10.9490196078%, 10.9490196078%, 18.3215686275%), transparent),
  	radial-gradient(circle 38vw at 82% 35%, rgb(11.2%, 11.2%, 18.4156862745%), transparent),
  	radial-gradient(ellipse 65% 40% at 50% 5%, rgb(11.2%, 11.2%, 18.4156862745%), transparent 60%),
  	#1e1e24;
  --color: #f0f0f0;
  --color-secondary: #94a3b8;
  --color-disabled: #6B5C47;
  --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
  --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
  --border: #38332c;
  --border-hover: rgb(33.1607843137%, 30.2%, 26.0549019608%);
  --background: #212121;
  --background-secondary: #38332c;
  --background-hover: #000000;
  --background-disabled: #353535;
  --close-color: #BBB;
  --close-color-hover: #DDD;
  --close-color-active: #FFF;
  --close-background: rgba(153, 153, 153, 0.24);
  --close-background-hover: rgba(153, 153, 153, 0.4);
  --close-background-active: rgba(153, 153, 153, 0.6);
  --modal-border: rgb(30.2352941176%, 30.2352941176%, 30.2352941176%);
  --sheet-surface: #26262e;
  --sheet-ink: #f0f0f0;
  --sheet-muted: #a3aec0;
  --sheet-outline: rgba(240, 240, 240, 0.14);
  --sheet-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .40);
  --sheet-danger: #ff9a8f;
}
body.dark-mode body::-webkit-scrollbar-track {
  background: #1e1e1e;
}
body.dark-mode body::-webkit-scrollbar-thumb {
  background-color: #555;
  border: 2px solid #1e1e1e;
}
body.dark-mode * {
  scrollbar-color: #555 #1e1e1e;
}

body {
  background: var(--body-bg-gradient);
  background-attachment: fixed;
  color: var(--color);
}

#BS__popup {
  margin: 0;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
#BS__popup.removing {
  pointer-events: none;
}

.BS-popup-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.BS-popup-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(21, 21, 21, 0.55);
  overflow-x: hidden;
  overflow-y: visible;
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__popup.removing .BS-popup-iframe {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body.popup {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 56px) clamp(16px, 4vw, 48px);
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
}

#BS_popup_container {
  margin: 0;
  width: max-content;
  min-width: min(320px, 100%);
  max-width: min(94vw, 60rem);
  max-height: 92vh;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  cursor: default;
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  border: 2px solid var(--modal-border);
}

body.popup.sidebar #BS_popup_container {
  border: 0px solid var(--modal-border);
  border-left: 2px solid var(--modal-border);
}

.close-modal-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 10;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before, .close-modal-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before {
  transform: rotate(45deg);
}
.close-modal-button::after {
  transform: rotate(-45deg);
}
.close-modal-button:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
.close-modal-button:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

/* A frame that has opened a popup is no longer the layer this button would close,
   and the new layer's backdrop is only 55% opaque, so it showed through beside the
   new card as a second, unreachable close button. The child combinator is
   load-bearing: the OIDC popup's own card lives INSIDE #BS__popup and keeps its own. */
body:has(> #BS__popup) > #BS_popup_container > .close-modal-button {
  display: none;
}

#BS_popup_content {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline: clamp(16px, 4vw, 32px);
  /* Asymmetric on purpose. The block-start has to clear the close button: it
     sits at top:16px and is $close-size (40px) tall, so it occupies y 16-56px
     in the container — the old 48px was clearing it by nothing at all. The
     sidebar variant moves that button to the LEFT (see
     `body.sidebar .close-modal-button`), right over where the title starts, so
     the top can only come down a little. The block-end clears nothing and this
     box scrolls, so that is where the height is taken from. */
  padding-block: clamp(16px, 4vh, 40px) clamp(12px, 2.5vh, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Children must never push the popup wider than the screen: let them shrink,
 * and let wide tables scroll internally rather than blow out the container. */
#BS_popup_content > * {
  max-width: 100%;
  min-width: 0;
}

body.popup [class^=table] {
  max-width: 100%;
}

#BS__popup:has(.oidc-login-container) .BS-popup-outer {
  position: fixed;
  inset: 0;
  margin: 0 !important;
  padding: 0;
  background: rgba(21, 21, 21, 0.55);
  cursor: pointer;
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__popup.removing:has(.oidc-login-container) .BS-popup-outer {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.oidc-login-container {
  width: min(420px, 90vw);
  cursor: default;
}

.oidc-login-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  animation: loading-overlay-in 400ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.oidc-login-iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 0 0 12px 12px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes panel-in {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  80% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes panel-out {
  to {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
}
@media (min-width: 992px) {
  body.popup {
    padding-inline: clamp(32px, 6vw, 96px);
  }
  #BS_popup_content {
    padding-inline: clamp(32px, 6vw, 64px);
  }
}
/* Mobile only: tighten the space around the popup and its content.
 * Desktop (base + the 992px rule above) keeps its original, roomier padding. */
@media (max-width: 48rem) {
  body.popup {
    padding: clamp(8px, 2.5vh, 18px) clamp(8px, 3vw, 14px);
  }
  #BS_popup_content {
    padding-inline: clamp(12px, 4vw, 18px);
    padding-block: clamp(14px, 3vh, 22px);
    gap: 0.9rem;
  }
}
@keyframes sidebar-in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  80% {
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sidebar-out {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(100%);
  }
}
body.sidebar {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body.sidebar #BS_popup_container {
  width: max-content;
  min-width: 320px;
  max-width: 95vw;
  height: 100%;
  max-height: none;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15), -2px 0 8px rgba(0, 0, 0, 0.08);
  margin-right: -1px;
  animation: sidebar-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar.removing #BS_popup_container {
  animation: sidebar-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar .close-modal-button {
  left: 16px;
  right: auto;
}

@media (min-width: 992px) {
  body.sidebar {
    perspective: 1200px;
  }
  body.sidebar #BS_popup_container {
    transform-origin: right center;
  }
}
#BS__submenu {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__submenu .submenu-content {
  cursor: default;
  position: relative;
  /* Its own surface and ink, never the page field or --color a project may repaint. */
  width: min(20rem, 100vw - 2rem);
  max-height: min(70vh, 40rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--sheet-surface);
  color: var(--sheet-ink);
  box-shadow: var(--sheet-shadow);
  border: 1px solid var(--sheet-outline);
  font: inherit;
  letter-spacing: normal;
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing #BS__submenu .submenu-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Back (nested sheets only), title and close, in flow above the options. */
#BS__submenu .submenu-head {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0.375rem 0.375rem 0.25rem 1.25rem;
}
#BS__submenu .submenu-head:has(.submenu-back) {
  padding-left: 0.375rem;
}

#BS__submenu .submenu-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--sheet-muted);
}

#BS__submenu .submenu-head > button,
#BS__modal .modal-content > .close-modal-or-submenu {
  all: unset;
  box-sizing: border-box;
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--sheet-muted);
  cursor: pointer;
  transition: background-color 120ms cubic-bezier(0.4, 0, 0.2, 1), color 120ms cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu .submenu-head > button svg,
#BS__modal .modal-content > .close-modal-or-submenu svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
#BS__submenu .submenu-head > button:hover,
#BS__modal .modal-content > .close-modal-or-submenu:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: var(--sheet-ink);
}
#BS__submenu .submenu-head > button:active,
#BS__modal .modal-content > .close-modal-or-submenu:active {
  background: color-mix(in srgb, currentColor 16%, transparent);
}
#BS__submenu .submenu-head > button:focus-visible,
#BS__modal .modal-content > .close-modal-or-submenu:focus-visible {
  outline: 2px solid var(--sheet-ink);
  outline-offset: -2px;
  box-shadow: none !important;
}

/* The close glyph: two bars drawn by the button itself. */
#BS__submenu .submenu-head > .close-modal-or-submenu::before, #BS__submenu .submenu-head > .close-modal-or-submenu::after,
#BS__modal .modal-content > .close-modal-or-submenu::before,
#BS__modal .modal-content > .close-modal-or-submenu::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
#BS__submenu .submenu-head > .close-modal-or-submenu::before,
#BS__modal .modal-content > .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__submenu .submenu-head > .close-modal-or-submenu::after,
#BS__modal .modal-content > .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}

#BS__submenu ul {
  list-style: none;
  margin: 0;
  padding: 0 0.5rem 0.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  overflow-y: auto;
  /* Never sideways. The panel's width is fixed so it stays predictable on a
   * phone, and `overflow-y: auto` alone would compute overflow-x to `auto`
   * too, so one long option (a row menu's "Email <address>") produced a
   * horizontal scrollbar across the whole list. */
  overflow-x: hidden;
  overscroll-behavior: contain;
}

#BS__submenu li {
  margin: 0;
  min-width: 0;
}

/* Text on a state layer: the forms button's height, fill and shadow are reset. */
#BS__submenu ul button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border: 0;
  border-radius: 0.625rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  text-align: start;
  color: inherit;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 120ms cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu ul button:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
#BS__submenu ul button:active {
  background: color-mix(in srgb, currentColor 14%, transparent);
  transform: none;
}
#BS__submenu ul button {
  /* Inset, so neither the list's clip nor the next option can hide it. */
}
#BS__submenu ul button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
  box-shadow: none !important;
}
#BS__submenu ul button.is-destructive {
  color: var(--md-error, var(--sheet-danger));
}

/* One line, ellipsised (an email address cannot wrap); the full text is on the title. */
#BS__submenu .submenu-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#BS__submenu .submenu-caret {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: -0.25rem;
  fill: currentColor;
  opacity: 0.6;
}

/* BS.sheet: a form in the submenu shell. Anchored and 48rem or wider, a popover under its opener with no scrim, so
 * the page behind it stays readable and usable (BS.sheet places it through --bs-sheet-*); otherwise the modal
 * bottom sheet. */
#BS__submenu .submenu-content.bs-sheet {
  width: min(23rem, 100vw - 2rem);
  max-height: min(85dvh, 44rem);
}

#BS__submenu .bs-sheet .submenu-title {
  color: var(--sheet-ink);
  font-weight: 700;
}

#BS__submenu .bs-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

#BS__submenu.is-popover {
  display: block;
  background: transparent;
  pointer-events: none;
  animation: none;
}

#BS__submenu.is-popover .submenu-content.bs-sheet {
  position: fixed;
  top: var(--bs-sheet-top, 4rem);
  right: var(--bs-sheet-right, 1rem);
  max-height: var(--bs-sheet-max-height, calc(100dvh - 6rem));
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 22px 60px rgba(0, 0, 0, 0.28);
  animation: sheet-pop-in 160ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu.is-popover.removing .submenu-content.bs-sheet {
  animation: sheet-pop-out 120ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu.is-sheet {
  align-items: flex-end;
}

#BS__submenu.is-sheet .submenu-content.bs-sheet {
  width: 100%;
  max-width: 32rem;
  max-height: 85dvh;
  border-radius: 1.125rem 1.125rem 0 0;
  border-bottom: 0;
  animation: sheet-up 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu.is-sheet.removing .submenu-content.bs-sheet {
  animation: sheet-down 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu .bs-sheet__grab {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 0.25rem;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  background: var(--sheet-outline);
}

@keyframes sheet-pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sheet-pop-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
@keyframes sheet-down {
  to {
    transform: translateY(100%);
  }
}
#BS__modal {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__modal .modal-content {
  cursor: default;
  position: relative;
  width: max-content;
  min-width: min(320px, 100%);
  max-width: min(94vw, 34rem);
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  /* The sheet's own surface and ink, as for the submenu: never the page field. */
  border-radius: 12px;
  background: var(--sheet-surface);
  color: var(--sheet-ink);
  box-shadow: var(--sheet-shadow);
  border: 1px solid var(--sheet-outline);
  padding: clamp(24px, 5vh, 48px) clamp(24px, 5vw, 56px);
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing #BS__modal .modal-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__modal .modal-content > .close-modal-or-submenu {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

/* The first line of text keeps clear of the close button. */
#BS__modal .close-modal-or-submenu + :is(.modal-header, .modal-dialog) {
  padding-inline: 2.5rem;
}

.modal-header {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
  text-align: center;
}

.modal-dialog {
  font-family: inherit;
  font-size: clamp(1rem, 2.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.modal-options {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-options li {
  margin: 0;
}

.modal-options button {
  padding: 0.75em 1.75em;
}
.modal-options button:not(.primary):not(.cta):not(.danger) {
  color: var(--sheet-ink);
}

@media (max-width: 480px) {
  #BS__modal .modal-content {
    width: 90vw;
  }
}
/* Mobile only: tighter padding for the confirm/areYouSure modal.
 * Placed after the base rule above so it actually wins (media queries
 * add no specificity — source order decides). Desktop is unchanged. */
@media (max-width: 48rem) {
  #BS__modal .modal-content {
    padding: clamp(16px, 3.5vh, 24px) clamp(14px, 4vw, 20px);
    gap: 0.9rem;
  }
}
/* Loading Overlay — shown during requests, sits behind toasts */
#jeql__loading_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 120ms delay: fast requests never flash the overlay */
  animation: loading-overlay-in 400ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}
#jeql__loading_overlay .jeql__spinner {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  /* Spring entrance: subtle scale-up with overshoot */
  animation: spinner-entrance 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 120ms both;
  /* Faint track ring — always visible */
}
#jeql__loading_overlay .jeql__spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.07);
}
#jeql__loading_overlay .jeql__spinner {
  /* Spinning gradient arc — the comet tail */
}
#jeql__loading_overlay .jeql__spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 25%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.5) 88%, #fff 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: jeql-spin 0.9s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

@keyframes loading-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spinner-entrance {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes jeql-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Toast Container Styles */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 10000;
  pointer-events: none;
}

/* Individual Toast Styles */
.toast {
  position: relative;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 16px 16px 20px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: auto;
  /* Entrance animation */
  animation: toast-enter 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

/* Toast types */
.toast-success {
  border-left: 4px solid #10b981;
  background-color: #dbffee;
}

.toast-error {
  border-left: 4px solid #ef4444;
  background-color: #ffdfdf;
}

.toast-info {
  border-left: 4px solid #3b82f6;
  background-color: #d5fff8;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
  background-color: #fff4d0;
}

/* Exit animation */
.toast-exit {
  animation: toast-exit 0.3s forwards cubic-bezier(0.06, 0.71, 0.55, 1);
}

/* Toast loading bar */
.toast-loading-bar {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transition: width 5s linear;
}
.toast-loading-bar.decreasing {
  width: 0%;
}

.toast-success .toast-loading-bar {
  background: linear-gradient(to right, #059669, #10b981);
}

.toast-error .toast-loading-bar {
  background: linear-gradient(to right, #dc2626, #ef4444);
}

.toast-info .toast-loading-bar {
  background: linear-gradient(to right, #2563eb, #3b82f6);
}

.toast-warning .toast-loading-bar {
  background: linear-gradient(to right, #d97706, #f59e0b);
}

/* Toast message */
.toast-message {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 500;
  margin-right: 16px;
}

/* Close button */
.toast-close-button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  min-width: 0;
  padding-left: 0;
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.4);
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(21, 21, 21, 0.12);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before, .toast-close-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before {
  transform: rotate(45deg);
}
.toast-close-button::after {
  transform: rotate(-45deg);
}
.toast-close-button:hover {
  background: rgba(102, 102, 102, 0.6);
  transform: rotate(90deg);
  color: #222;
}
.toast-close-button:active {
  background: rgba(102, 102, 102, 0.8);
  transform: rotate(180deg);
  color: #000;
}

/* Animations */
@keyframes toast-enter {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes toast-exit {
  0% {
    transform: translateX(0);
    opacity: 1;
    max-height: 100px;
    margin-top: 8px;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }
}
/* Utility classes */
.no-display {
  display: none;
}

/* Named for assistive tech, not drawn. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* PDF Renderer */
#BS__renderer {
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 21, 21, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  padding: 2rem;
}
#BS__renderer .loader {
  position: relative;
  width: 120px;
  height: 120px;
}
#BS__renderer .loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: rgb(7.7450980392%, 7.7450980392%, 7.7450980392%);
  animation: spin 1.5s linear infinite;
}
#BS__renderer .loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: rgb(17.7450980392%, 17.7450980392%, 17.7450980392%);
  animation-duration: 1.75s;
  animation-direction: reverse;
}
#BS__renderer .loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: rgb(27.7450980392%, 27.7450980392%, 27.7450980392%);
  animation-duration: 2s;
}
#BS__renderer .loader-pulse {
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background-color: rgb(37.7450980392%, 37.7450980392%, 37.7450980392%);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
#BS__renderer .loader-text {
  margin-top: 2rem;
  text-align: center;
}
#BS__renderer .loader-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
#BS__renderer .loader-text p {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
#BS__renderer .progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}
#BS__renderer .progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgb(37.7450980392%, 37.7450980392%, 37.7450980392%), rgb(7.7450980392%, 7.7450980392%, 7.7450980392%));
  border-radius: 3px;
  animation: progress 6s ease-in-out infinite;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0.9;
  }
}
@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  75% {
    width: 85%;
  }
  90% {
    width: 90%;
  }
  100% {
    width: 95%;
  }
}
html {
  print-color-adjust: exact !important;
  -webkit-print-color-adjust: exact !important;
}

html body header, html body main {
  margin: 0 4%;
}
@media (min-width: 75em) {
  html body header, html body main {
    max-width: 69em;
    margin: 0 auto;
  }
}
html body img {
  max-width: unset;
}
html body #BS__toast.BS__toast-info {
  background: linear-gradient(to right, #0D4074, #0B3968);
}
html body label.search {
  position: relative;
  font-size: 16px;
  display: inline-block;
}
html body label.search img {
  position: absolute;
  top: 10px;
  left: auto;
  right: 10px;
}
html body label.search img:hover {
  cursor: pointer;
}
html body label.search input {
  width: 250px;
  height: 32px;
  background: #fcfcfc;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-style: normal;
  box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
}
html body.search-frame {
  background-color: #E8F0F7;
}
html body.search-frame .search-form {
  border: solid 1px black;
  border-radius: 10px;
  padding: 1em;
}
html body.search-frame .search-form #search_error {
  color: red;
  display: block;
}
html body.search-frame input[type=radio] + span {
  display: inline;
}
html body .logo {
  margin: 0 0 20px 0;
  padding: 0;
  height: 120px;
  position: relative;
}
html body .logo > div {
  margin: 0;
  padding: 0 20px 0 0;
  width: 50px;
  height: 100%;
  background-color: #0D4074;
  float: left;
}
html body .logo > div svg {
  margin: 80px 10px 0;
}
html body .logo > div svg path {
  stroke: white;
  fill: none;
  stroke-width: 5px;
}
html body .logo > span:first-of-type {
  max-width: 66%;
  margin: 73px 0 0 10px;
  line-height: 1.15;
  color: black;
  position: absolute;
}
html body .logo label {
  margin: 0;
  top: 0;
  right: 7em;
  position: absolute;
}
@media (max-width: 32em) {
  html body .logo label {
    left: 60px;
    right: 6.75em;
  }
  html body .logo label input {
    width: 100%;
  }
}
html body .auth-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.35em 0.6em;
  border-radius: 0.35em;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
}
html body .auth-btn svg {
  width: 1em;
  height: 1em;
}
html body .auth-btn.login {
  padding: 0.35em 0.9em;
  font-weight: 600;
}
html body.pubbl-body input[type=radio] + span {
  display: inline;
}
html body.pubbl-body .grid-container {
  flex: 1;
  display: grid;
  padding: 20px;
  gap: 20px;
}
html body.pubbl-body .grid-container div {
  margin: 0;
  border: 1px solid black;
  border-radius: 15px;
}
html body.pubbl-body .organisaties, html body.pubbl-body.organisaties > header, html body.pubbl-body.organisaties > main {
  background-color: #a6caec;
  color: black;
}
html body.pubbl-body.organisaties > main .grid-container {
  grid-template-columns: repeat(3, 1fr);
}
html body.pubbl-body.organisaties > main .grid-container div {
  background-color: #eaf2fa;
}
html body.pubbl-body.organisaties > main .grid-container div:nth-child(1) {
  grid-row: span 2;
}
html body.pubbl-body.organisaties > main .grid-container div:nth-child(2) {
  grid-column: span 2;
}
html body.pubbl-body .samenwerkingen, html body.pubbl-body.samenwerkingen > header, html body.pubbl-body.samenwerkingen > main {
  background-color: #e97132;
  color: white;
}
html body.pubbl-body.samenwerkingen > main {
  color: black;
}
html body.pubbl-body.samenwerkingen > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.samenwerkingen > main .grid-container div {
  background-color: #fbe3d6;
}
html body.pubbl-body .inkoop-mantels, html body.pubbl-body.inkoop-mantels > header, html body.pubbl-body.inkoop-mantels > main {
  background-color: #d86ecc;
  color: white;
}
html body.pubbl-body.inkoop-mantels > main .grid-container {
  grid-template-columns: repeat(1, 1fr);
}
html body.pubbl-body.inkoop-mantels > main .grid-container div {
  background-color: #f2cfee;
}
html body.pubbl-body .wetten, html body.pubbl-body.wetten > header, html body.pubbl-body.wetten > main {
  background-color: #7f7f7f;
  color: white;
}
html body.pubbl-body.wetten > main {
  color: black;
}
html body.pubbl-body.wetten > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.wetten > main .grid-container div {
  background-color: #f2f2f2;
}
html body.pubbl-body.wetten > main .grid-container div:nth-child(3) {
  grid-column: span 2;
}
html body.pubbl-body .financien, html body.pubbl-body.financien > header, html body.pubbl-body.financien > main {
  background-color: #ff0000;
  color: white;
}
html body.pubbl-body.financien > main {
  color: black;
}
html body.pubbl-body.financien > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.financien > main .grid-container div {
  background-color: #ffe5e5;
}
html body.pubbl-body .applicaties, html body.pubbl-body.applicaties > header, html body.pubbl-body.applicaties > main {
  background-color: #b4e5a2;
  color: black;
}
html body.pubbl-body.applicaties > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.applicaties > main .grid-container div {
  background-color: #eff9eb;
}
html body.pubbl-body .ict-activiteiten, html body.pubbl-body.ict-activiteiten > header, html body.pubbl-body.ict-activiteiten > main {
  background-color: #ffc000;
  color: black;
}
html body.pubbl-body.ict-activiteiten > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.ict-activiteiten > main .grid-container div {
  background-color: #fff9e5;
}
html body.pubbl-body.index > header > div {
  justify-content: center;
}
html body.pubbl-body header {
  max-width: 69em;
  background-color: #dceaf7;
}
html body.pubbl-body header div {
  margin-top: 1em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2em;
  position: relative;
}
html body.pubbl-body header div h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}
html body.pubbl-body header div input {
  border-radius: 20px;
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  padding: 9px 4px 9px 40px;
  background: white url(search-icon.svg) no-repeat 13px center;
}
html body.pubbl-body main {
  max-width: 69em;
}
html body.pubbl-body main .container {
  display: flex;
}
html body.pubbl-body main .container div {
  margin: 0;
}
html body.pubbl-body main .container .menu {
  display: flex;
  flex-direction: column;
}
html body.pubbl-body main .container .menu .menu-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5em;
}
html body.pubbl-body main .container .menu .menu-item img {
  width: 50px;
  height: 50px;
}
html body.pubbl-body main .container .menu .menu-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-left: 1em;
}
html body.pubbl-body main .container .menu .menu-item div h2, html body.pubbl-body main .container .menu .menu-item div h3 {
  margin: 0;
  text-decoration: none;
  font-style: normal;
}
html body.pubbl-body .grid-container-homepage {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
html body.pubbl-body .grid-container-homepage div {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}
html body.pubbl-body .grid-container-homepage div:first-of-type {
  grid-row: span 2;
}

html body:not(.pubbl-body):not(.popup) {
  background: unset;
  background-color: #E8F0F7;
}
html header, html main {
  max-width: 54em;
}
html input[type=text], html input[type=email],
html input[type=url], html input[type=tel],
html input[type=password], html input[type=search],
html input[type=number], html input[type=range],
html input[type=color], html input[type=date],
html input[type=time], html input[type=datetime-local],
html input[type=week], html input[type=month], html select {
  outline-color: #333;
  accent-color: #0D4074;
}
html footer {
  color: white;
  background-color: #0D4074;
}
html footer a, html footer a:visited {
  color: white;
  border-bottom: dotted 2px white;
  text-decoration: none;
}
html footer a:hover {
  background-color: #222;
}
html button, html input[type=button], html input[type=submit], html .button, html .logo-colors {
  background: #0D4074;
  color: white;
}
html button:hover, html input[type=button]:hover, html input[type=submit]:hover, html .button:hover {
  background: black;
}
html dl table {
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  table-layout: fixed;
}
html dl table th {
  min-width: 5em;
  text-align: right;
}
html [data--baton-controller=schakel-favoriet] {
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
}
html span.required {
  color: red;
}
html .control {
  font-size: normal;
  background-color: inherit;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
html .control:hover {
  cursor: pointer;
}
html .control.add {
  background-color: green;
}
html .control.delete {
  background-color: red;
}
html .tiles {
  font-size: 75%;
}
html .tiles section:hover {
  background-color: #CFD9E3;
  cursor: pointer;
}
html .tiles section:hover h3 span {
  border-color: white;
}
html .tiles .tile {
  border: solid #0D4074 0.5em;
  color: black;
  background-color: white;
  border-radius: 1em;
  max-width: 12em;
  height: 17em;
}
html .tiles .tile > span {
  text-align: end;
  display: block;
  padding-right: 0.5em;
  font-style: normal;
}
html .tiles .tile h3 {
  margin-top: 0;
}
html .tiles .tile h3 span {
  display: inline-block;
  font-size: 200%;
  font-style: normal;
  font-weight: 900;
  border-radius: 50%;
  border: solid #0D4074 0.125em;
  color: white;
  background-color: #0D4074;
  width: 2.25em;
  height: 2.25em;
  margin: 0.5em 0 0.25em;
  padding-top: 0.4em;
}
html .tiles .tile div {
  vertical-align: bottom;
}
html .tiles .tile div p {
  display: inline-block;
  padding: 0.2em 0.3em;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; /*	CSS Tricks: break-all is broken, use break-word instead	*/
  hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}
html .sql .query-tables > * {
  display: inline-block;
}
html .sql .query-tables table {
  font-family: "Courier New", Courier, monospace;
}
html .sql .query-tables table td {
  margin: 0;
  padding: 0;
  min-width: 6.1em;
  font-weight: bold;
  font-size: 100%;
}
html .sql .query-tables table .phrase {
  padding: 0.7em 0.2em;
  vertical-align: top;
  text-align: right;
}
html .sql .query-tables table select, html .sql .query-tables table textarea {
  vertical-align: top;
  font-weight: inherit;
  font-family: inherit;
}
html .sql .query-tables table select {
  display: block;
}
html .sql .query-tables table textarea {
  margin: 0;
  display: inline-block;
  resize: none;
}
html .sql .query-tables table:last-child {
  margin-right: 0;
}
html .sql .results {
  border: solid 2px gray;
  padding: 0;
  overflow-x: auto;
}
html .sql .results table {
  table-layout: fixed;
  white-space: nowrap;
  width: auto;
  margin: 0;
}
html .sql .results table td {
  max-width: 40em;
  text-align: left;
  overflow-x: hidden;
}
html .sql .results table .number {
  text-align: right;
}
html .organogram {
  background-color: #DDD;
  padding: 5px;
  border: solid gray 5px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 #2a2a2a;
}
html .hide {
  display: none;
}
html .letter-get .keyboard {
  border-collapse: collapse;
  border: solid 1px black;
}
html .letter-get .keyboard td {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
}
html .letter-get .keyboard .key {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
  border: solid 1px black;
  height: 4em;
  width: 4em;
  line-height: 4em;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  display: inline-block;
  text-align: center;
}
html .section-title {
  display: inline-block;
  font-weight: bold;
  font-size: 125%;
  max-width: 66%;
}
html .list-style-none {
  list-style-type: none;
}
html input[type=checkbox] {
  float: left;
  margin: 0.5em 0.3em 0.2em;
  outline: none;
}
html body:not(.frame--login) input[type=checkbox] + ul,
html body:not(.frame--login) input[type=checkbox] + p,
html body:not(.frame--login) input[type=checkbox] + div,
html body:not(.frame--login) input[type=checkbox] + dl,
html body:not(.frame--login) input[type=checkbox] + table {
  display: none;
}
html body:not(.frame--login) input:checked + ul,
html body:not(.frame--login) input:checked + p,
html body:not(.frame--login) input:checked + div,
html body:not(.frame--login) input:checked + dl,
html body:not(.frame--login) input:checked + table {
  display: block;
}
html meter {
  width: 100%;
}
html input[type=radio] + span {
  display: none;
}
html input[type=radio]:checked + span {
  display: inline;
}
html aside {
  color: black;
}
html aside dd a {
  display: inline-block; /* or block */
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html aside dd ul {
  margin: 0;
}
html .double-spaced a:hover, html .double-spaced button:hover {
  cursor: pointer;
}
html .index-concordance input[type=checkbox] {
  margin: 0.3rem 0.7rem;
}
html [data--baton-controller--onclick]:hover,
html tr[data--baton-controller--oncontextmenu]:hover {
  cursor: pointer;
}
html tr[data--baton-controller--onclick]:hover td:not(.favorite),
html tr[data--baton-controller--oncontextmenu]:hover td:not(.favorite) {
  background-color: black;
  color: white;
}
html tr[data--baton-controller--onclick]:hover:hover td.favorite:hover ~ td,
html tr[data--baton-controller--oncontextmenu]:hover:hover td.favorite:hover ~ td {
  background-color: initial;
  color: initial;
}
html tr[data--baton-controller--onclick]:hover td.favorite:hover,
html tr[data--baton-controller--oncontextmenu]:hover td.favorite:hover {
  background-color: black;
  color: white;
}
html li span[data--baton-controller--onclick]:hover {
  border-bottom: dotted 2px black;
}
html .horizontal {
  border-radius: 1rem;
  background-color: white;
  padding: 1rem;
}
html .horizontal .horizontal-list {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  column-gap: 1rem;
  overflow-x: auto;
  min-height: 1vh;
}
html .horizontal .horizontal-list li {
  min-width: 32%;
  border-radius: 1rem;
  border: black solid 1px;
  padding: 0 0.5rem;
}
html .board {
  display: flex;
  gap: 1em;
  max-width: 100%;
}
html .board > div {
  min-width: 32%;
  max-width: 32%;
  padding: 1em;
  border-radius: 10px;
  border: solid 1px #B3B3C1;
}
html .board .list {
  height: 50vh;
}
html .board .list > button {
  float: right;
  border-radius: 50%;
  width: 1.75em;
  height: 1.75em;
  text-align: center;
}
html .board .list ul {
  list-style-type: none;
  padding-left: 0;
  row-gap: 1rem;
  overflow-y: auto;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  height: 41vh;
}
html .board .list ul li {
  border-radius: 1rem;
  border: black solid 1px;
  padding: 0 0.5rem;
  width: 100%;
  height: fit-content;
}

.modal-options li:not(:last-child) {
  margin-bottom: 0.3em;
}

.url-display-box {
  width: 45em;
  max-width: 92vw;
  height: 28em;
}

.frame--index main > div {
  margin: 10vh 0 10vh;
  text-align: center;
}
.frame--index main > div > span {
  font-family: sans-serif;
  font-size: 10vw;
  font-weight: 900;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}
.frame--index main > div > span .red {
  color: #D52B1E;
}
.frame--index main > div > span .blue {
  color: #154273;
}
.frame--index main > div > span .white {
  color: white;
}
.frame--index main > div > span .orange {
  color: #E17000;
}
.frame--index main > div > span .green {
  color: #39870C;
}
.frame--index main > div label {
  margin: 5vh 0;
  display: block;
}
.frame--index main > div label input {
  width: 50vw;
}
.frame--index main > div label img {
  right: 22vw;
}
.frame--index main > div h1 {
  margin-bottom: 5vh;
}
.frame--index main > div ul {
  list-style: none;
}
.frame--index main > div li {
  padding: 0.15rem;
}
.frame--index main > div li span {
  cursor: pointer;
  border-bottom: dotted 2px black;
}
.frame--index main > div li span:hover {
  background-color: #CFD9E3;
}

.chart-container {
  max-width: 1100px;
  margin: 1.5rem auto;
  position: relative;
}

.chart-locked canvas {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.chart-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
}
.chart-overlay p {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0D4074;
  margin-bottom: 1rem;
}
.chart-overlay button {
  font-size: 1rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
}

.external-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}
.external-link:hover {
  opacity: 0.7;
}
.external-link .external-link-icon {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.1em;
  margin-right: 0.25em;
}

strong, .bold {
  font-weight: bold;
}

.right {
  text-align: right;
}

.nowrap {
  word-wrap: normal;
}

/*═══════════════════════════════════════════════════════════════
  DARK MODE
  Overrides hardcoded light-mode colours so pages (and the OIDC
  login popup rendered on top of them) look correct when the
  user's OS prefers dark mode.
═══════════════════════════════════════════════════════════════*/
@media (prefers-color-scheme: dark) {
  /* ── Links ────────────────────────────────────────────── */
  a {
    color: #6b9fff;
  }
  a:visited {
    color: #a78bfa;
  }
  a:hover {
    color: #93bbff;
  }
  /* ── Data-frame pages ─────────────────────────────────── */
  html body:not(.pubbl-body):not(.popup) {
    background: unset;
    background-color: #1a1f2e;
    color: #e0e0e0;
  }
  html body.search-frame {
    background-color: #1a1f2e;
  }
  html body.search-frame .search-form {
    border-color: #555;
  }
  /* Inputs */
  html input[type=text], html input[type=email],
  html input[type=url], html input[type=tel],
  html input[type=password], html input[type=search],
  html input[type=number], html input[type=range],
  html input[type=color], html input[type=date],
  html input[type=time], html input[type=datetime-local],
  html input[type=week], html input[type=month], html select {
    outline-color: #aaa;
    background-color: #2a2f3e;
    color: #e0e0e0;
    border-color: #555;
  }
  /* Search input */
  html body label.search input {
    background-color: #2a2f3e;
    border-color: #555;
    color: #e0e0e0;
    box-shadow: none;
  }
  /* Buttons: lighten hover instead of black */
  html button:hover, html input[type=button]:hover,
  html input[type=submit]:hover, html .button:hover {
    background: rgb(7.5166438668%, 37.0050159599%, 67.0715914273%);
  }
  /* Logo text */
  html body .logo > span:first-of-type {
    color: #e0e0e0;
  }
  /* ── Pubbl body (category pages) ─────────────────────── */
  html body.pubbl-body .grid-container div {
    border-color: #555;
  }
  /* Category section content areas — darken the pastel backgrounds */
  html body.pubbl-body.organisaties > main .grid-container div {
    background-color: rgb(13.4238310709%, 34.9019607843%, 56.3800904977%);
  }
  html body.pubbl-body.samenwerkingen > main {
    color: #e0e0e0;
  }
  html body.pubbl-body.samenwerkingen > main .grid-container div {
    background-color: rgb(56.8104575163%, 23.5555555556%, 5.5424836601%);
  }
  html body.pubbl-body.inkoop-mantels > main .grid-container div {
    background-color: rgb(51.9961427194%, 14.0822886532%, 47.6631308261%);
  }
  html body.pubbl-body.wetten > main {
    color: #e0e0e0;
  }
  html body.pubbl-body.wetten > main .grid-container div {
    background-color: #595959;
  }
  html body.pubbl-body.financien > main {
    color: #e0e0e0;
  }
  html body.pubbl-body.financien > main .grid-container div {
    background-color: rgb(79.8039215686%, 0%, 0%);
  }
  html body.pubbl-body.applicaties > main .grid-container div {
    background-color: rgb(30.6938159879%, 61.3876319759%, 18.4162895928%);
  }
  html body.pubbl-body.ict-activiteiten > main .grid-container div {
    background-color: rgb(79.8039215686%, 61.3876319759%, 0%);
  }
  /* Category sections with color: black → light text */
  html body.pubbl-body .organisaties,
  html body.pubbl-body.organisaties > header,
  html body.pubbl-body.organisaties > main,
  html body.pubbl-body .applicaties,
  html body.pubbl-body.applicaties > header,
  html body.pubbl-body.applicaties > main,
  html body.pubbl-body .ict-activiteiten,
  html body.pubbl-body.ict-activiteiten > header,
  html body.pubbl-body.ict-activiteiten > main {
    color: #e0e0e0;
  }
  /* Category header search input */
  html body.pubbl-body header div input {
    background-color: #2a2f3e;
    color: #e0e0e0;
  }
  /* Homepage grid */
  html body.pubbl-body .grid-container-homepage div {
    color: #e0e0e0;
  }
  /* ── Tiles ────────────────────────────────────────────── */
  html .tiles section:hover {
    background-color: #2a3448;
  }
  html .tiles .tile {
    background-color: #2a2f3e;
    color: #e0e0e0;
  }
  /* Search icon — invert the black SVG img so it's visible on dark bg */
  html body label.search img {
    filter: invert(1);
  }
  /* Pubbl header search input with background SVG icon */
  html body.pubbl-body header div input {
    background: #2a2f3e url(search-icon.svg) no-repeat 13px center;
    color: #e0e0e0;
  }
  /* ── Tables / aside / lists ───────────────────────────── */
  html aside {
    color: #e0e0e0 !important;
  }
  html tr[data--baton-controller--onclick]:hover td:not(.favorite),
  html tr[data--baton-controller--oncontextmenu]:hover td:not(.favorite) {
    background-color: #3a3f4e;
    color: #e0e0e0;
  }
  html tr[data--baton-controller--onclick]:hover td.favorite:hover,
  html tr[data--baton-controller--oncontextmenu]:hover td.favorite:hover {
    background-color: #3a3f4e;
    color: #e0e0e0;
  }
  html li span[data--baton-controller--onclick]:hover {
    border-bottom-color: #aaa;
  }
  html .horizontal {
    background-color: #2a2f3e;
  }
  html .horizontal .horizontal-list li {
    border-color: #555;
  }
  html .board > div {
    border-color: #555;
  }
  html .board > div .list ul li {
    border-color: #555;
  }
  /* ── Popups ───────────────────────────────────────────── */
  #BS_popup_container {
    background: var(--body-bg-gradient);
    border-color: #555;
  }
  /* ── Misc ─────────────────────────────────────────────── */
  html .organogram {
    background-color: #333;
    border-color: #555;
    box-shadow: 0 0 10px 0 #111;
  }
  .chart-overlay {
    background: rgba(0, 0, 0, 0.4);
  }
  /* Index page */
  .frame--index main > div li span {
    border-bottom-color: #aaa;
  }
  .frame--index main > div li span:hover {
    background-color: rgb(18.4932920537%, 25.0980392157%, 31.7027863777%);
  }
  /* SQL results */
  html .sql .results {
    border-color: #555;
  }
}

