@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@property --start {
  syntax: "<color>";
  initial-value: #f0f0f0;
  inherits: false;
}
@property --end {
  syntax: "<color>";
  initial-value: #cdcdcd;
  inherits: false;
}
@media (prefers-color-scheme: light) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #dedede 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: #abbbce;
    --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);
    --menu-accent: rgba(102, 102, 102, 0.85);
    --modal-border: #5f5f5f;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #e1e1e1;
    --end: #a4a4a4;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #ebebeb;
    --end: #bdbdbd;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #d1d1d1;
    --end: #e6e6e6;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  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: linear-gradient(145deg, #252525 0%, #474747 100%);
    --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: #554d42;
    --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);
    --menu-accent: rgba(159, 159, 159, 0.85);
    --modal-border: #4d4d4d;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #626262;
    --end: #242424;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #484848;
    --end: #1a1a1a;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #1f1f1f;
    --end: #343434;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  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: linear-gradient(145deg, #f0f0f0 0%, #cecece 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: #abbbce;
  --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);
  --menu-accent: rgba(102, 102, 102, 0.85);
  --modal-border: #5f5f5f;
}
body.light-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #e1e1e1;
  --end: #a4a4a4;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.light-mode #BS__submenu ul button:hover {
  --start: #ebebeb;
  --end: #bdbdbd;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode #BS__submenu ul button:active {
  --start: #d1d1d1;
  --end: #e6e6e6;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
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: linear-gradient(145deg, #252525 0%, #474747 100%);
  --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: #554d42;
  --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);
  --menu-accent: rgba(159, 159, 159, 0.85);
  --modal-border: #4d4d4d;
}
body.dark-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #626262;
  --end: #242424;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.dark-mode #BS__submenu ul button:hover {
  --start: #484848;
  --end: #1a1a1a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode #BS__submenu ul button:active {
  --start: #1f1f1f;
  --end: #343434;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
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);
  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-y: auto;
}

#BS_popup_container {
  margin: 0;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  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);
}

#BS_popup_content {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(24px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@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);
  }
}
@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 0;
  overflow: hidden;
  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;
  width: 320px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  border: 2px solid var(--modal-border);
  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;
}

#BS__submenu .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  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);
}
#BS__submenu .close-modal-or-submenu::before, #BS__submenu .close-modal-or-submenu::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);
}
#BS__submenu .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__submenu .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__submenu .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__submenu .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS__submenu ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 4px;
}

#BS__submenu ul button {
  width: 100%;
  padding: 16px 48px 16px 40px;
  border: none;
  border-radius: 8px;
  font: 500 16px/1.4 "Inter", sans-serif;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--color) !important;
  margin-bottom: 4px;
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), padding-left 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms !important;
}
#BS__submenu ul button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--menu-accent);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu ul button:hover {
  padding-left: 32px;
}
#BS__submenu ul button:hover::before {
  opacity: 1;
}
#BS__submenu ul button:active::before {
  background: #BA68C8;
  opacity: 1;
}

@media (max-width: 480px) {
  #BS__submenu .submenu-content {
    width: 90vw;
  }
}
#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: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: 0 12px 40px rgba(186, 104, 200, 0.22);
  border: 2px solid var(--modal-border);
  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 .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  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);
}
#BS__modal .close-modal-or-submenu::before, #BS__modal .close-modal-or-submenu::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);
}
#BS__modal .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__modal .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__modal .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__modal .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

.modal-header {
  margin: 0;
  font: 600 clamp(1.25rem, 2.5vw, 1.75rem)/1.2 "Inter", sans-serif;
  text-align: center;
}

.modal-dialog {
  font: 400 clamp(1rem, 2.3vw, 1.125rem)/1.5 "Inter", sans-serif;
  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;
}

@media (max-width: 480px) {
  #BS__modal .modal-content {
    width: 90vw;
  }
}
/* 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;
}

/* 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: #973da7;
  animation: spin 1.5s linear infinite;
}
#BS__renderer .loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #b155c1;
  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: #c37bcf;
  animation-duration: 2s;
}
#BS__renderer .loader-pulse {
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background-color: #d4a0dc;
  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, #d4a0dc, #973da7);
  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;
}

@property --start {
  syntax: "<color>";
  initial-value: #f0f0f0;
  inherits: false;
}
@property --end {
  syntax: "<color>";
  initial-value: #cdcdcd;
  inherits: false;
}
@media (prefers-color-scheme: light) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #dedede 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: #abbbce;
    --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);
    --menu-accent: rgba(102, 102, 102, 0.85);
    --modal-border: #5f5f5f;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #e1e1e1;
    --end: #a4a4a4;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #ebebeb;
    --end: #bdbdbd;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #d1d1d1;
    --end: #e6e6e6;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  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: linear-gradient(145deg, #252525 0%, #474747 100%);
    --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: #554d42;
    --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);
    --menu-accent: rgba(159, 159, 159, 0.85);
    --modal-border: #4d4d4d;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #626262;
    --end: #242424;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #484848;
    --end: #1a1a1a;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #1f1f1f;
    --end: #343434;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  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: linear-gradient(145deg, #f0f0f0 0%, #cecece 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: #abbbce;
  --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);
  --menu-accent: rgba(102, 102, 102, 0.85);
  --modal-border: #5f5f5f;
}
body.light-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #e1e1e1;
  --end: #a4a4a4;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.light-mode #BS__submenu ul button:hover {
  --start: #ebebeb;
  --end: #bdbdbd;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode #BS__submenu ul button:active {
  --start: #d1d1d1;
  --end: #e6e6e6;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
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: linear-gradient(145deg, #252525 0%, #474747 100%);
  --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: #554d42;
  --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);
  --menu-accent: rgba(159, 159, 159, 0.85);
  --modal-border: #4d4d4d;
}
body.dark-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #626262;
  --end: #242424;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.dark-mode #BS__submenu ul button:hover {
  --start: #484848;
  --end: #1a1a1a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode #BS__submenu ul button:active {
  --start: #1f1f1f;
  --end: #343434;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
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);
  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-y: auto;
}

#BS_popup_container {
  margin: 0;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  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);
}

#BS_popup_content {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(24px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@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);
  }
}
@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 0;
  overflow: hidden;
  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;
  width: 320px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  border: 2px solid var(--modal-border);
  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;
}

#BS__submenu .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  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);
}
#BS__submenu .close-modal-or-submenu::before, #BS__submenu .close-modal-or-submenu::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);
}
#BS__submenu .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__submenu .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__submenu .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__submenu .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS__submenu ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 4px;
}

#BS__submenu ul button {
  width: 100%;
  padding: 16px 48px 16px 40px;
  border: none;
  border-radius: 8px;
  font: 500 16px/1.4 "Inter", sans-serif;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--color) !important;
  margin-bottom: 4px;
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), padding-left 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms !important;
}
#BS__submenu ul button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--menu-accent);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu ul button:hover {
  padding-left: 32px;
}
#BS__submenu ul button:hover::before {
  opacity: 1;
}
#BS__submenu ul button:active::before {
  background: #BA68C8;
  opacity: 1;
}

@media (max-width: 480px) {
  #BS__submenu .submenu-content {
    width: 90vw;
  }
}
#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: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: 0 12px 40px rgba(186, 104, 200, 0.22);
  border: 2px solid var(--modal-border);
  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 .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  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);
}
#BS__modal .close-modal-or-submenu::before, #BS__modal .close-modal-or-submenu::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);
}
#BS__modal .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__modal .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__modal .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__modal .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

.modal-header {
  margin: 0;
  font: 600 clamp(1.25rem, 2.5vw, 1.75rem)/1.2 "Inter", sans-serif;
  text-align: center;
}

.modal-dialog {
  font: 400 clamp(1rem, 2.3vw, 1.125rem)/1.5 "Inter", sans-serif;
  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;
}

@media (max-width: 480px) {
  #BS__modal .modal-content {
    width: 90vw;
  }
}
/* 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;
}

/* 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: #973da7;
  animation: spin 1.5s linear infinite;
}
#BS__renderer .loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #b155c1;
  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: #c37bcf;
  animation-duration: 2s;
}
#BS__renderer .loader-pulse {
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background-color: #d4a0dc;
  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, #d4a0dc, #973da7);
  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 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

label {
  color: var(--color);
}

button,
.btn,
input[type=button],
input[type=submit],
input[type=reset] {
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  height: 2.75rem;
  min-width: 6rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  color: #f0f0f0;
  --start: #aeaeae;
  --end: #717171;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
button:hover,
.btn:hover,
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
  --start: #b8b8b8;
  --end: #8a8a8a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button:active,
.btn:active,
input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
  --start: #9e9e9e;
  --end: #b3b3b3;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.primary, button.cta,
.btn.primary,
.btn.cta,
input[type=button].primary,
input[type=button].cta,
input[type=submit].primary,
input[type=submit].cta,
input[type=reset].primary,
input[type=reset].cta {
  color: #f0f0f0;
  --start: #b052c0;
  --end: #717171;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
button.primary:hover, button.cta:hover,
.btn.primary:hover,
.btn.cta:hover,
input[type=button].primary:hover,
input[type=button].cta:hover,
input[type=submit].primary:hover,
input[type=submit].cta:hover,
input[type=reset].primary:hover,
input[type=reset].cta:hover {
  --start: #b761c5;
  --end: #8a8a8a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.primary:active, button.cta:active,
.btn.primary:active,
.btn.cta:active,
input[type=button].primary:active,
input[type=button].cta:active,
input[type=submit].primary:active,
input[type=submit].cta:active,
input[type=reset].primary:active,
input[type=reset].cta:active {
  --start: #a141b2;
  --end: #b3b3b3;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.success,
.btn.success,
input[type=button].success,
input[type=submit].success,
input[type=reset].success {
  color: #f0f0f0;
  --start: #0e9d6d;
  --end: #717171;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
button.success:hover,
.btn.success:hover,
input[type=button].success:hover,
input[type=submit].success:hover,
input[type=reset].success:hover {
  --start: #0fb07a;
  --end: #8a8a8a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.success:active,
.btn.success:active,
input[type=button].success:active,
input[type=submit].success:active,
input[type=reset].success:active {
  --start: #0b815a;
  --end: #b3b3b3;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.warning,
.btn.warning,
input[type=button].warning,
input[type=submit].warning,
input[type=reset].warning {
  color: #f0f0f0;
  --start: #d98b09;
  --end: #717171;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
button.warning:hover,
.btn.warning:hover,
input[type=button].warning:hover,
input[type=submit].warning:hover,
input[type=reset].warning:hover {
  --start: #ec980a;
  --end: #8a8a8a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.warning:active,
.btn.warning:active,
input[type=button].warning:active,
input[type=submit].warning:active,
input[type=reset].warning:active {
  --start: #bb7808;
  --end: #b3b3b3;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.danger, button.remove-row-button,
.btn.danger,
.btn.remove-row-button,
input[type=button].danger,
input[type=button].remove-row-button,
input[type=submit].danger,
input[type=submit].remove-row-button,
input[type=reset].danger,
input[type=reset].remove-row-button {
  color: #f0f0f0;
  --start: #ed2828;
  --end: #717171;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
button.danger:hover, button.remove-row-button:hover,
.btn.danger:hover,
.btn.remove-row-button:hover,
input[type=button].danger:hover,
input[type=button].remove-row-button:hover,
input[type=submit].danger:hover,
input[type=submit].remove-row-button:hover,
input[type=reset].danger:hover,
input[type=reset].remove-row-button:hover {
  --start: #ee3b3b;
  --end: #8a8a8a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.danger:active, button.remove-row-button:active,
.btn.danger:active,
.btn.remove-row-button:active,
input[type=button].danger:active,
input[type=button].remove-row-button:active,
input[type=submit].danger:active,
input[type=submit].remove-row-button:active,
input[type=reset].danger:active,
input[type=reset].remove-row-button:active {
  --start: #e21313;
  --end: #b3b3b3;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
button.small,
.btn.small,
input[type=button].small,
input[type=submit].small,
input[type=reset].small {
  height: 2.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}
button.large,
.btn.large,
input[type=button].large,
input[type=submit].large,
input[type=reset].large {
  height: 3.25rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
button.subtle,
.btn.subtle,
input[type=button].subtle,
input[type=submit].subtle,
input[type=reset].subtle {
  background: none;
  color: #334155;
  box-shadow: none;
}
button.subtle:hover,
.btn.subtle:hover,
input[type=button].subtle:hover,
input[type=submit].subtle:hover,
input[type=reset].subtle:hover {
  background-color: #f1f5f9;
}
button.subtle:active,
.btn.subtle:active,
input[type=button].subtle:active,
input[type=submit].subtle:active,
input[type=reset].subtle:active {
  background-color: #e2e8f0;
}
button:disabled,
.btn:disabled,
input[type=button]:disabled,
input[type=submit]:disabled,
input[type=reset]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
button .icon,
.btn .icon,
input[type=button] .icon,
input[type=submit] .icon,
input[type=reset] .icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
}
button.icon-only,
.btn.icon-only,
input[type=button].icon-only,
input[type=submit].icon-only,
input[type=reset].icon-only {
  padding: 0.5rem;
  min-width: unset;
  width: 2.75rem;
}
button.icon-only .icon,
.btn.icon-only .icon,
input[type=button].icon-only .icon,
input[type=submit].icon-only .icon,
input[type=reset].icon-only .icon {
  margin-right: 0;
}

body:not(.popup) .viewport {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.75rem;
  padding: 2rem;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

.form-container {
  max-width: 640px;
  margin: 0 auto;
}

.form-section.margin {
  margin-bottom: 2rem;
}
.form-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.form-section-description {
  font-size: 0.875rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group.inline {
  display: flex;
  align-items: flex-start;
}
.form-group.inline .form-label {
  flex: 0 0 30%;
  margin-bottom: 0;
  padding-top: 0.5rem;
}
.form-group.inline .form-input-wrapper {
  flex: 1;
}
.form-group.has-error .form-label {
  color: #ef4444;
}
.form-group.has-error .form-input {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.02);
}
.form-group.has-error .form-error {
  display: block;
}

.form-row {
  display: flex;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.form-row .form-group {
  flex: 1;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.form-submit-area {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.form-submit-area.flex-end {
  justify-content: flex-end;
}
.form-submit-area.margin {
  margin-top: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: color(--color);
}
.form-label.required::after {
  content: "*";
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-label-hint {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-secondary);
  margin-top: 0.25rem;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}
.form-error.filled {
  display: block;
}

.form-input-wrapper {
  position: relative;
}

.form-input,
input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=url],
input[type=tel],
input[type=number],
input[type=date],
textarea {
  display: block;
  width: 100%;
  height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.form-input:hover,
input[type=text]:hover,
input[type=email]:hover,
input[type=password]:hover,
input[type=search]:hover,
input[type=url]:hover,
input[type=tel]:hover,
input[type=number]:hover,
input[type=date]:hover,
textarea:hover {
  border-color: var(--border-hover);
}
.form-input:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=url]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=date]:focus,
textarea:focus {
  border-color: #BA68C8;
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
  outline: none;
}
.form-input::placeholder,
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
input[type=search]::placeholder,
input[type=url]::placeholder,
input[type=tel]::placeholder,
input[type=number]::placeholder,
input[type=date]::placeholder,
textarea::placeholder {
  color: #94a3b8;
}
.form-input:disabled,
input[type=text]:disabled,
input[type=email]:disabled,
input[type=password]:disabled,
input[type=search]:disabled,
input[type=url]:disabled,
input[type=tel]:disabled,
input[type=number]:disabled,
input[type=date]:disabled,
textarea:disabled {
  background-color: var(--background-disabled);
  color: var(--text-disabled);
  cursor: not-allowed;
}
.form-input.small,
input[type=text].small,
input[type=email].small,
input[type=password].small,
input[type=search].small,
input[type=url].small,
input[type=tel].small,
input[type=number].small,
input[type=date].small,
textarea.small {
  height: 2.25rem;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}
.form-input.large,
input[type=text].large,
input[type=email].large,
input[type=password].large,
input[type=search].large,
input[type=url].large,
input[type=tel].large,
input[type=number].large,
input[type=date].large,
textarea.large {
  height: 3.25rem;
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.input-with-icon {
  position: relative;
}
.input-with-icon .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-secondary);
}
.input-with-icon .icon.icon-left {
  left: 0.75rem;
}
.input-with-icon .icon.icon-right {
  right: 0.75rem;
}
.input-with-icon .form-input.has-icon-left {
  padding-left: 2rem;
}
.input-with-icon .form-input.has-icon-right {
  padding-right: 2rem;
}

.form-select-wrapper {
  position: relative;
}
.form-select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

select,
.form-select {
  appearance: none;
  display: block;
  width: 100%;
  height: 2.75rem;
  padding: 0.5rem 0.75rem;
  padding-right: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  cursor: pointer;
}
select:hover,
.form-select:hover {
  border-color: var(--border-hover);
}
select:focus,
.form-select:focus {
  border-color: #BA68C8;
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
  outline: none;
}
select:disabled,
.form-select:disabled {
  background-color: var(--background-disabled);
  color: var(--text-disabled);
  cursor: not-allowed;
}
select.small,
.form-select.small {
  height: 2.25rem;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  padding-right: 1.5rem;
}
select.large,
.form-select.large {
  height: 3.25rem;
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
}
select option,
.form-select option {
  padding: 0.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.form-check:last-child {
  margin-bottom: 0;
}

.form-check-input {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  border: 1.5px solid var(--border);
  background-color: var(--background);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.form-check-input:hover {
  border-color: var(--border-hover);
}
.form-check-input:focus {
  border-color: #BA68C8;
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
  outline: none;
}
.form-check-input:checked {
  border-color: #BA68C8;
  background-color: #BA68C8;
}
.form-check-input:checked::after {
  opacity: 1;
}

.form-check-input[type=checkbox] {
  border-radius: 0.25rem;
}
.form-check-input[type=checkbox]::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.3rem;
  height: 0.6rem;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.form-check-input[type=radio] {
  border-radius: 9999px;
}
.form-check-input[type=radio]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: white;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--color);
  cursor: pointer;
  user-select: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-button-group .radio-button {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.radio-button-group .radio-button input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-button-group .radio-button input[type=radio]:checked + .radio-button-label {
  background-color: rgba(186, 104, 200, 0.08);
  border-color: #BA68C8;
  color: #BA68C8;
  font-weight: 500;
}
.radio-button-group .radio-button input[type=radio]:focus + .radio-button-label {
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
}
.radio-button-group .radio-button .radio-button-label {
  background-color: var(--background);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.radio-button-group .radio-button .radio-button-label:hover {
  background-color: var(--background-hover);
}

.form-switch {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.form-switch .switch-input {
  appearance: none;
  position: relative;
  width: 3rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: var(--background);
  margin-right: 0.75rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.form-switch .switch-input::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.form-switch .switch-input:checked {
  background-color: #BA68C8;
}
.form-switch .switch-input:checked::after {
  transform: translateX(1.5rem);
}
.form-switch .switch-input:focus {
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
  outline: none;
}
.form-switch .switch-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-switch .switch-label {
  font-size: 0.875rem;
  color: var(--color);
  cursor: pointer;
  user-select: none;
}

.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.375rem;
  background-color: #e2e8f0;
  border-radius: 9999px;
  outline: none;
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #BA68C8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.form-range::-webkit-slider-thumb:hover {
  background-color: #b155c1;
}
.form-range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 50%;
  background-color: #BA68C8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.form-range::-moz-range-thumb:hover {
  background-color: #b155c1;
}
.form-range:focus {
  outline: none;
}
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.2);
}
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.2);
}
.form-range:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}
.range-labels .range-label {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.form-file {
  position: relative;
}
.form-file .file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -1;
}
.form-file .file-input:focus + .file-label {
  border-color: #BA68C8;
  box-shadow: 0 0 0 3px rgba(186, 104, 200, 0.12);
}
.form-file .file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: var(--background);
  transition: all 0.25s ease;
}
.form-file .file-label:hover {
  border-color: var(--border-hover);
  background-color: var(--background-hover);
}
.form-file .file-label .file-icon {
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.form-file .file-label .file-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color);
  margin-bottom: 0.25rem;
}
.form-file .file-label .file-hint {
  font-size: 0.75rem;
  color: var(--color-secondary);
}
.form-file .file-preview {
  display: none;
  margin-top: 0.75rem;
}
.form-file .file-preview.visible {
  display: block;
}
.form-file .file-preview .file-preview-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: #f8fafc;
  border-radius: 0.5rem;
}
.form-file .file-preview .file-preview-item .file-preview-icon {
  font-size: 1.25rem;
  color: #64748b;
  margin-right: 0.5rem;
}
.form-file .file-preview .file-preview-item .file-preview-name {
  font-size: 0.875rem;
  color: var(--color);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-file .file-preview .file-preview-item .file-preview-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
  padding: 0.25rem;
}
.form-file .file-preview .file-preview-item .file-preview-remove:hover {
  color: #ef4444;
}

.form-feedback {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.form-feedback .feedback-icon {
  margin-right: 0.5rem;
  font-size: 1rem;
  flex-shrink: 0;
}
.form-feedback.feedback-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10b981;
}
.form-feedback.feedback-success .feedback-icon {
  color: #10b981;
}
.form-feedback.feedback-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
}
.form-feedback.feedback-warning .feedback-icon {
  color: #f59e0b;
}
.form-feedback.feedback-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
}
.form-feedback.feedback-error .feedback-icon {
  color: #ef4444;
}
.form-feedback.feedback-info {
  background-color: rgba(186, 104, 200, 0.1);
  border-left: 4px solid #BA68C8;
}
.form-feedback.feedback-info .feedback-icon {
  color: #BA68C8;
}

@media (max-width: 640px) {
  .form-group.inline {
    flex-direction: column;
  }
  .form-group.inline .form-label {
    flex: none;
    width: 100%;
    margin-bottom: 0.5rem;
    padding-top: 0;
  }
  .form-group.inline .form-input-wrapper {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }
  .form-row .form-group {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .form-submit-area {
    flex-direction: column;
  }
  .form-submit-area button, .form-submit-area .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .form-submit-area button:last-child, .form-submit-area .btn:last-child {
    margin-bottom: 0;
  }
}
@keyframes form-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}
@keyframes form-highlight {
  0% {
    background-color: rgba(186, 104, 200, 0.2);
  }
  100% {
    background-color: transparent;
  }
}
.input-error {
  animation: form-shake 0.4s ease-in-out;
}

.input-success {
  animation: form-highlight 1s ease-out;
}

:focus-visible {
  outline: 2px solid #BA68C8;
  outline-offset: 2px;
}

.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;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .form-check-input:focus-visible, .switch-input:focus-visible, .file-label:focus-visible {
  outline: 2px solid #BA68C8;
  outline-offset: 2px;
}

/* Progress */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.form-progress::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #BBB;
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.progress-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--background);
  border: 2px solid #BBB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.progress-text {
  font-size: 0.75rem;
  color: var(--color-secondary);
  transition: all 0.2s ease;
}

.progress-step.active .progress-marker {
  background-color: #BA68C8;
  border-color: #BA68C8;
  color: #ffffff;
}

.progress-step.active .progress-text {
  color: #BA68C8;
  font-weight: 500;
}

.progress-step.completed .progress-marker {
  background-color: #BA68C8;
  border-color: #BA68C8;
  color: #ffffff;
}

label > input:not([type=checkbox]), label > select {
  height: 4em;
  min-width: 25em;
  text-align: left;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 2em;
  padding-left: 1em;
}

.form-buttons {
  padding-bottom: 2em;
}

td > label > input:not([type=checkbox]) {
  margin-top: 0;
}

:root {
  --text-neutral: #f8f9fa;
  --text-neutral-hover: #e9ecef;
  --text-neutral-active: #dee2e6;
  --text-neutral-middling: #adb5bd;
  --text-neutral-inverted: #212529;
  --text-neutral-disabled: #6c757d;
  --text-primary: #c689d0;
  --text-primary-hover: #ce97d7;
  --text-primary-active: #d6a5de;
  --text-primary-disabled: #e0c0e8;
  --button-primary-text: #f8f9fa;
  --button-secondary-text: #f8f9fa;
  --measure: rgba(186, 104, 200, 0.56);
  --button-primary: #ba68c8;
  --button-primary-hover: #c689d0;
  --button-primary-active: #ce97d7;
  --button-primary-disabled: #d6a5de;
  --button-primary-disabled-text: #ba68c8;
  --button-secondary: #0061cc;
  --button-secondary-hover: #556aeb;
  --button-secondary-active: #6e82fe;
  --button-secondary-disabled: #8fa0ff;
  --button-secondary-disabled-text: #0061cc;
  --button-tertiary-text: #495057;
  --button-tertiary-hover-text: #0061cc;
  --button-tertiary-active-text: #0061cc;
  --button-tertiary-disabled-text: #adb5bd;
  --background-primary: #ba68c8;
  --background-primary-opaque: rgba(186, 104, 200, 0.16);
  --background-secondary-sec: #2e2e2e;
  --background-secondary-inverted: #e9ecef;
  --sidebar-menu-item-selected: rgba(73, 80, 87, 0.56);
  --sidebar-menu-item-hover: rgba(108, 117, 125, 0.56);
  --sidebar-menu-item-active: rgba(173, 181, 189, 0.56);
  --container-background-double-emphasised-opaque: rgba(33, 37, 41, 0.95);
  --container-background-double-emphasised: rgba(33, 37, 41, 0.56);
  --container-background-emphasised: rgba(52, 58, 64, 0.56);
  --container-background: rgba(73, 80, 87, 0.56);
  --container-background-opaque: #495057;
  --container-background-subtle: rgba(173, 181, 189, 0.56);
  --container-background-subtle-opaque: #6c757d;
  --container-primary-background: rgba(186, 104, 200, 0.56);
  --popup-background: #211324;
  --a-external: #556aeb;
  --a-external-hover: #6e82fe;
  --a-external-active: #8fa0ff;
  --a-external-disabled: #a8c0ff;
  --evaluation-circle: #6c757d;
  --tag: #2b3035;
  --timeline: #37414e;
  --scrollbar-background-thumb: #6c757d;
  --scrollbar-background: #212529;
  --transition-speed: 350ms;
}

:root.light-mode {
  --text-neutral: #212529;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

html,
body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) {
  margin: 0;
  padding: 0;
  min-height: 100%;
  box-sizing: border-box;
}

html body {
  background: var(--background-secondary-sec);
  background-color: var(--background-secondary-sec);
}
html body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__mitigations):not(.frame--report__coverage) {
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

@media screen {
  html > body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage)::before {
    content: "";
    position: fixed;
    left: -20vh;
    bottom: -20vh;
    width: 150vh;
    height: 150vh;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at left bottom, var(--background-primary) 0%, var(--background-secondary-sec) 50%);
    background-repeat: no-repeat;
  }
}
body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) main {
  flex: 1;
  box-sizing: border-box;
}

body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) main {
  padding-left: 2rem;
  padding-bottom: 0.8rem;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) main.padded {
  padding-right: 2rem;
}

.ball {
  position: absolute;
  border-radius: 50%;
  background-color: var(--background-primary-opaque);
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1; /* ensure they're above the background */
  will-change: transform;
}

body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__rosi):not(.frame--report__coverage) header h1:not(.skip) {
  position: fixed;
  top: 23px;
  left: 345px;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__rosi):not(.frame--report__coverage) header .header {
  position: fixed;
  top: 23px;
  left: 345px;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__rosi):not(.frame--report__coverage) header .header h1 {
  margin-top: 0;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__rosi):not(.frame--report__coverage) header .header h4 {
  margin-bottom: 0;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__rosi):not(.frame--report__coverage) header .header a {
  font-weight: 400;
  font-size: 15.5px;
  line-height: 25px;
  cursor: pointer;
}

.nowrap {
  white-space: nowrap;
}

.vw60 {
  width: 60vw;
  margin: auto;
}

.vw75 {
  width: 75vw;
  margin: auto;
}

a, span.pointer {
  text-decoration: none;
  transition: background-color var(--transition-speed) ease-in-out, color var(--transition-speed) ease-in-out;
  color: var(--text-primary);
}
a:hover, span.pointer:hover {
  color: var(--text-primary-hover);
  text-decoration: underline;
}
a:active, span.pointer:active {
  color: var(--text-primary-active);
}
a:disabled, span.pointer:disabled {
  color: var(--text-primary-disabled);
}
a.external, span.pointer.external {
  color: var(--a-external);
}
a.external:hover, span.pointer.external:hover {
  color: var(--a-external-hover);
  text-decoration: underline;
}
a.external:active, span.pointer.external:active {
  color: var(--a-external-active);
}
a.external:disabled, span.pointer.external:disabled {
  color: var(--a-external-disabled);
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

button, input[type=button], input[type=submit] {
  font-weight: 600;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 25px;
  flex: none;
  order: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  gap: 18px;
  min-width: 78px;
  height: 36px;
  background-color: var(--button-primary);
  border: none;
  border-radius: 11px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--button-primary-text);
}
button.flex-bump-down, input[type=button].flex-bump-down, input[type=submit].flex-bump-down {
  position: relative;
  top: 0.55em;
}
button span, input[type=button] span, input[type=submit] span {
  display: flex;
  align-items: center;
  gap: 5px; /* Ensures spacing between text and arrow */
}
button.circular, input[type=button].circular, input[type=submit].circular {
  min-width: 0;
  font-weight: 400;
  font-size: 1.25em;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}
button.circular span, input[type=button].circular span, input[type=submit].circular span {
  justify-content: center;
}
button.circular.space-left, input[type=button].circular.space-left, input[type=submit].circular.space-left {
  margin-left: 0.5em;
}
button.mini, input[type=button].mini, input[type=submit].mini {
  min-width: 0;
}

/* Entire scrollbar */
::-webkit-scrollbar {
  width: 12px;
  border-radius: 0 !important;
  background-color: var(--scrollbar-background);
}

/* Scrollbar track */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--scrollbar-background);
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--scrollbar-background-thumb);
}

.box {
  background-color: var(--container-background);
  border-radius: 6px;
}
.box.primary {
  background-color: var(--container-primary-background);
}
@media print {
  .box {
    background-color: white;
    border: 1px solid black;
    color: black;
  }
}

table {
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
  margin-bottom: 10px;
  margin-top: 0;
}

th {
  font-style: normal;
  font-size: inherit;
}

thead th {
  top: 0;
  z-index: 2;
  flex: 1;
  padding: 10px;
  text-align: center;
  background-color: var(--container-background-emphasised);
}

@media print {
  body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) thead th {
    background-color: white;
    border: 1px solid black;
    color: black;
  }
}
/* Rounded corners on the first and last column */
thead th:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

thead th:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

tbody td {
  flex: 1;
  padding: 10px;
  text-align: right;
  background-color: var(--container-background);
}
tbody td.textual {
  text-align: left;
}
tbody td.central {
  text-align: center;
}

@media print {
  body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) tbody td {
    background-color: white;
    border: 1px solid grey;
    color: black;
  }
}
table.no-vertical-padding tbody td {
  padding-top: 0;
  padding-bottom: 0;
}

/* Rounded corners on the first and last column */
tbody td:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

tbody td:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.scrollable-table-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}
.scrollable-table-container table {
  top: -7px;
  position: relative;
}

td.pointer {
  cursor: pointer;
}

:root {
  --text-neutral: #f8f9fa;
  --text-neutral-hover: #e9ecef;
  --text-neutral-active: #dee2e6;
  --text-neutral-middling: #adb5bd;
  --text-neutral-inverted: #212529;
  --text-neutral-disabled: #6c757d;
  --text-primary: #c689d0;
  --text-primary-hover: #ce97d7;
  --text-primary-active: #d6a5de;
  --text-primary-disabled: #e0c0e8;
  --button-primary-text: #f8f9fa;
  --button-secondary-text: #f8f9fa;
  --measure: rgba(186, 104, 200, 0.56);
  --button-primary: #ba68c8;
  --button-primary-hover: #c689d0;
  --button-primary-active: #ce97d7;
  --button-primary-disabled: #d6a5de;
  --button-primary-disabled-text: #ba68c8;
  --button-secondary: #0061cc;
  --button-secondary-hover: #556aeb;
  --button-secondary-active: #6e82fe;
  --button-secondary-disabled: #8fa0ff;
  --button-secondary-disabled-text: #0061cc;
  --button-tertiary-text: #495057;
  --button-tertiary-hover-text: #0061cc;
  --button-tertiary-active-text: #0061cc;
  --button-tertiary-disabled-text: #adb5bd;
  --background-primary: #ba68c8;
  --background-primary-opaque: rgba(186, 104, 200, 0.16);
  --background-secondary-sec: #2e2e2e;
  --background-secondary-inverted: #e9ecef;
  --sidebar-menu-item-selected: rgba(73, 80, 87, 0.56);
  --sidebar-menu-item-hover: rgba(108, 117, 125, 0.56);
  --sidebar-menu-item-active: rgba(173, 181, 189, 0.56);
  --container-background-double-emphasised-opaque: rgba(33, 37, 41, 0.95);
  --container-background-double-emphasised: rgba(33, 37, 41, 0.56);
  --container-background-emphasised: rgba(52, 58, 64, 0.56);
  --container-background: rgba(73, 80, 87, 0.56);
  --container-background-opaque: #495057;
  --container-background-subtle: rgba(173, 181, 189, 0.56);
  --container-background-subtle-opaque: #6c757d;
  --container-primary-background: rgba(186, 104, 200, 0.56);
  --popup-background: #211324;
  --a-external: #556aeb;
  --a-external-hover: #6e82fe;
  --a-external-active: #8fa0ff;
  --a-external-disabled: #a8c0ff;
  --evaluation-circle: #6c757d;
  --tag: #2b3035;
  --timeline: #37414e;
  --scrollbar-background-thumb: #6c757d;
  --scrollbar-background: #212529;
  --transition-speed: 350ms;
}

:root.light-mode {
  --text-neutral: #212529;
}

.remix-icon {
  width: 20px;
  height: 20px;
}
.remix-icon.size-large {
  width: 27px;
  height: 24px;
}
.remix-icon.size-larger {
  width: 30px;
  height: 30px;
}
.remix-icon.size-largest {
  width: 35px;
  height: 35px;
}
.remix-icon.bump-up {
  margin-bottom: 0.18em;
}

.switch-icon {
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.switch-icon.size-large {
  width: 27px;
  height: 24px;
}
.switch-icon.size-larger {
  width: 30px;
  height: 30px;
}
.switch-icon.size-largest {
  width: 35px;
  height: 35px;
}
.switch-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity var(--transition-speed) ease-in-out, fill var(--transition-speed) ease-in-out;
}
.switch-icon .line {
  opacity: 1;
}
.switch-icon .fill {
  opacity: 0;
}
.switch-icon:hover svg {
  fill: #bdc6d0;
}
.switch-icon:hover .line {
  opacity: 0;
}
.switch-icon:hover .fill {
  opacity: 1;
}
.switch-icon:active svg {
  fill: #8193a5;
}
.switch-icon:active .line {
  opacity: 0;
}
.switch-icon:active .fill {
  opacity: 1;
}

select {
  /* Reset Select */
  appearance: none;
  outline: 10px red;
  border: 0;
  box-shadow: none;
  height: unset;
  /* Personalize */
  flex: 1;
  padding: 0 1em;
  color: var(--text-neutral);
  background-color: var(--container-background);
  background-image: none;
  cursor: pointer;
}
select option.reset {
  color: var(--text-neutral);
  background-color: var(--container-background-opaque);
}

/* Remove IE arrow */
select::-ms-expand {
  display: none;
}

/* Custom Select wrapper */
.select {
  position: relative;
  display: flex;
  min-width: 12em;
  width: 12em;
  height: 2em;
  border-radius: 6px;
  border: 2px solid var(--container-background-subtle);
  overflow: hidden;
  margin-bottom: 20px;
}

/* Arrow */
.select::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 5px;
  background-color: var(--container-background-double-emphasised);
  transition: var(--transition-speed) all ease-in-out;
  pointer-events: none;
}

/* Transition */
.select:hover::after {
  color: var(--text-primary);
}

form .select {
  height: 2.5em;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

input:not([type=checkbox]):not([type=button]):not([type=submit]) {
  max-width: 12em;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
  color-scheme: dark;
  position: relative;
  display: flex;
  min-width: 12em;
  width: 12em;
  height: 2em;
  min-height: 2em;
  border-radius: 6px;
  padding: 2px;
  padding-left: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--container-background-subtle);
  background-color: var(--container-background);
  transition: var(--transition-speed) border ease-in-out;
}
input:not([type=checkbox]):not([type=button]):not([type=submit]):hover {
  border: 3px solid var(--text-primary);
}
input:not([type=checkbox]):not([type=button]):not([type=submit]):focus {
  border: 3px solid var(--text-primary-active);
  outline: none;
  box-shadow: none;
}
input:not([type=checkbox]):not([type=button]):not([type=submit]):disabled {
  border: 3px solid black;
  background-color: var(--container-background-emphasised);
  color: var(--text-neutral-disabled);
}
input:not([type=checkbox]):not([type=button]):not([type=submit]).wide {
  min-width: 17vw;
}
input:not([type=checkbox]):not([type=button]):not([type=submit])[type=datetime-local] {
  max-width: none;
  min-width: 194px;
}

textarea {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
  color-scheme: dark;
  position: relative;
  display: flex;
  min-width: 18em;
  width: 18em;
  min-height: 7em;
  border-radius: 6px;
  padding: 2px;
  padding-left: 10px;
  font-size: 0.9em;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--container-background-subtle);
  background-color: var(--container-background);
  transition: var(--transition-speed) border ease-in-out;
}
textarea:hover {
  border: 3px solid var(--text-primary);
}
textarea:focus {
  border: 3px solid var(--text-primary-active);
  outline: none;
  box-shadow: none;
}
textarea:disabled {
  border: 3px solid black;
  background-color: var(--container-background-emphasised);
  color: var(--text-neutral-disabled);
}
textarea.wide {
  min-width: 17vw;
}

input[type=file] {
  padding-bottom: 2em !important;
}

input[type=date]::-webkit-calendar-picker-indicator {
  color: white;
}

input[type=checkbox] {
  max-width: initial;
  min-width: initial;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  width: 16px;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border: 3px solid var(--container-background-subtle);
  background-color: var(--container-background);
  transition: var(--transition-speed) border ease-in-out;
}
input[type=checkbox]:hover {
  border: 3px solid var(--text-primary);
}
input[type=checkbox]:checked {
  background-color: var(--text-primary-active);
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
form {
  margin: 0 auto;
}
form p, form h2, form h3, form h4, form h5 {
  text-align: center;
  margin-bottom: 2.5em;
}
form.shake {
  animation: shake 0.5s ease;
}

form label {
  display: flex;
  margin: 0rem;
  align-items: center;
  justify-content: center;
}

form label span {
  width: 12em;
  text-align: right;
  margin-right: 1rem;
  margin-bottom: 1.4rem;
}

form label input textarea {
  margin: 0;
  box-sizing: border-box;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

form label input:not([type=checkbox]) textarea {
  flex: 1;
}

form label input[type=checkbox] {
  margin-bottom: 1.9em;
}

form label select {
  flex: 1;
  margin: 0;
  height: 120%;
  box-sizing: border-box;
}

form input[type=button],
form input[type=submit],
form button {
  display: block;
  width: 50%;
  margin: 1.5rem auto 0.5rem auto;
  margin-top: 2.5rem;
}

.field-error {
  color: salmon;
  padding-left: 12em;
  font-size: 0.85em;
}
.field-error.filled {
  margin-top: -1.7em;
}

li .tooltip-wrapper,
li .tooltip-wrapper .clipped {
  display: inline;
  vertical-align: middle;
  margin: 0;
  padding-right: 8em;
  font-size: inherit;
  line-height: inherit;
}

.logo {
  cursor: pointer;
  position: fixed;
  top: 23px;
  left: 15px;
  transform: scale(0.9);
}
.logo h2 {
  margin-top: 20px;
}

.logo-img {
  vertical-align: middle;
  height: 36px;
  margin-right: 12px;
  margin-bottom: 8px;
}

.top-right {
  position: fixed;
  top: 40px;
  right: 75px;
  display: flex; /* Aligns child elements in a row */
  align-items: center; /* Ensures vertical alignment */
  gap: 10px; /* Space between button and span */
}
.top-right span {
  display: flex;
  align-items: center;
  gap: 5px; /* Ensures spacing between text and arrow */
}
.top-right .user-settings {
  cursor: pointer;
}
.top-right .user-settings:hover {
  text-decoration: underline;
}

.user-settings {
  padding-left: 8px;
}

/* was: body:not(.popup) { main { ... } } */
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage):not(.frame--report__mitigations) main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-right: 2vw;
  padding-left: 2vw;
  padding-bottom: 0;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage):not(.frame--report__mitigations) main.separated {
  padding-top: 22px;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage):not(.frame--report__mitigations) main.extra-padded {
  padding-top: 7em;
}
body:not(.popup):not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage):not(.frame--report__mitigations) main.no-right {
  padding-left: 1vw;
  padding-right: 0;
}

/* scope viewport chrome away from the report */
body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) #BS_main > .viewport {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: unset;
  margin-bottom: 0;
  padding: unset;
  border-radius: unset;
  margin: 0.5em 0;
  margin-top: 5rem;
  padding-right: 2vw;
  padding-bottom: 2rem;
}
body:not(.frame--report__zone_compliancy):not(.frame--report__rosi):not(.frame--report__coverage) #BS_main > .viewport.vw60 {
  margin: 0.5em auto;
  margin-top: 5rem;
}

.evaluation {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 9em;
  margin: 0 auto;
}
.evaluation .date {
  text-align: center;
  margin-bottom: 4px;
}
.evaluation .circles {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 0;
  margin-bottom: 0.2em;
}
.evaluation .circles .circle {
  padding: 6px;
  width: 38px;
  height: 38px;
  background-color: var(--evaluation-circle);
  border-radius: 50%;
  margin-top: 0;
}
.evaluation .circles .circle.green {
  background-color: #34c759;
}
.evaluation .circles .circle.yellow {
  background-color: gold;
}
.evaluation .circles .circle.orange {
  background-color: #fb8c00;
}
.evaluation .circles .circle.red {
  background-color: #ff3b30;
  color: white !important;
}

.tooltip-wrapper {
  position: relative;
  min-height: 4em;
  display: flex;
  align-items: center;
}
.tooltip-wrapper::after {
  white-space: pre-line;
  content: attr(data-tooltip);
  position: absolute;
  left: 10%;
  top: 0%;
  margin-top: 4px;
  padding: 4px 8px;
  background-color: var(--container-background-double-emphasised-opaque);
  color: var(--text-neutral);
  font-size: 0.8em;
  border-radius: 6px;
  border: 2px solid var(--container-background-subtle);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease-in-out;
  z-index: 10;
}
.tooltip-wrapper:hover::after {
  opacity: 1;
}

.clipped {
  width: 25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clipped.em20 {
  width: 20em;
}

.tooltip {
  position: relative;
}
.tooltip::after {
  white-space: pre-line;
  content: attr(data-tooltip);
  position: absolute;
  left: 10%;
  top: 0%;
  margin-top: 4px;
  padding: 4px 8px;
  background-color: var(--container-background-double-emphasised-opaque);
  color: var(--text-neutral);
  font-size: 0.8em;
  border-radius: 6px;
  border: 2px solid var(--container-background-subtle);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease-in-out;
  z-index: 10;
}
.tooltip.larger::after {
  font-size: 1.2em;
}
.tooltip:hover::after {
  opacity: 1;
}

.tag {
  font-size: 0.8em;
  color: white;
  background-color: var(--tag);
  border: 1px solid var(--background-secondary-inverted);
  border-radius: 20px;
  text-align: center;
  padding: 9px;
  padding-bottom: 6px;
  padding-top: 5px;
  margin-left: 8px;
  margin-bottom: 2px;
  font-weight: 600;
  cursor: pointer;
  /* Generic tag colours below */
}
.tag.clr-green {
  border: 1px solid #6ff76f;
  color: white;
  background-color: var(--tag);
}
.tag.clr-red {
  border: 1px solid #ff6474;
  color: white;
  background-color: var(--tag);
}
.tag.clr0 {
  border: 1px solid #ffb3ba;
  color: white;
  background-color: var(--tag);
}
.tag.clr1 {
  border: 1px solid #ffdfba;
  color: white;
  background-color: var(--tag);
}
.tag.clr2 {
  border: 1px solid #ffffba;
  color: white;
  background-color: var(--tag);
}
.tag.clr3 {
  border: 1px solid #bae1ff;
  color: white;
  background-color: var(--tag);
}
.tag.clr4 {
  border: 1px solid #baffc9;
  color: white;
  background-color: var(--tag);
}
.tag.clr5 {
  border: 1px solid #d6a4f7;
  color: white;
  background-color: var(--tag);
}
.tag.clr6 {
  border: 1px solid #a2cffe;
  color: white;
  background-color: var(--tag);
}
.tag.clr7 {
  border: 1px solid #a2f9b9;
  color: white;
  background-color: var(--tag);
}
.tag.clr8 {
  border: 1px solid #ffdab9;
  color: white;
  background-color: var(--tag);
}
.tag.clr9 {
  border: 1px solid #ff9aa2;
  color: white;
  background-color: var(--tag);
}
.tag.clr10 {
  border: 1px solid #fff5ba;
  color: white;
  background-color: var(--tag);
}
.tag.clr11 {
  border: 1px solid #ffcc99;
  color: white;
  background-color: var(--tag);
}
.tag.clr12 {
  border: 1px solid #a0e7e5;
  color: white;
  background-color: var(--tag);
}
.tag.clr13 {
  border: 1px solid #cda4de;
  color: white;
  background-color: var(--tag);
}
.tag.clr14 {
  border: 1px solid #ffb3a7;
  color: white;
  background-color: var(--tag);
}
.tag.clr15 {
  border: 1px solid #a1caf1;
  color: white;
  background-color: var(--tag);
}
.tag.clr16 {
  border: 1px solid #fbaed2;
  color: white;
  background-color: var(--tag);
}
.tag.clr17 {
  border: 1px solid #b2fefa;
  color: white;
  background-color: var(--tag);
}
.tag.clr18 {
  border: 1px solid #d1f2a5;
  color: white;
  background-color: var(--tag);
}
.tag.clr19 {
  border: 1px solid #c0c8f0;
  color: white;
  background-color: var(--tag);
}
.tag.clr20 {
  border: 1px solid #ff9f80;
  color: white;
  background-color: var(--tag);
}
.tag.clr21 {
  border: 1px solid #e0b0ff;
  color: white;
  background-color: var(--tag);
}
.tag.clr22 {
  border: 1px solid #bff2e6;
  color: white;
  background-color: var(--tag);
}
.tag.clr23 {
  border: 1px solid #f3a3b0;
  color: white;
  background-color: var(--tag);
}
.tag.clr24 {
  border: 1px solid #d8a99f;
  color: white;
  background-color: var(--tag);
}
.tag.no-left {
  margin-left: 0px;
}

option {
  /* Generic tag colours below */
}
option.clr-green {
  background-color: #6ff76f;
  color: var(--text-neutral-inverted);
}
option.clr-red {
  background-color: #ff6474;
  color: var(--text-neutral-inverted);
}
option.clr-unset {
  background-color: var(--container-background-subtle-opaque);
  color: white;
}
option.clr0 {
  background-color: #ffb3ba;
  color: var(--text-neutral-inverted);
}
option.clr1 {
  background-color: #ffdfba;
  color: var(--text-neutral-inverted);
}
option.clr2 {
  background-color: #ffffba;
  color: var(--text-neutral-inverted);
}
option.clr3 {
  background-color: #bae1ff;
  color: var(--text-neutral-inverted);
}
option.clr4 {
  background-color: #baffc9;
  color: var(--text-neutral-inverted);
}
option.clr5 {
  background-color: #d6a4f7;
  color: var(--text-neutral-inverted);
}
option.clr6 {
  background-color: #a2cffe;
  color: var(--text-neutral-inverted);
}
option.clr7 {
  background-color: #a2f9b9;
  color: var(--text-neutral-inverted);
}
option.clr8 {
  background-color: #ffdab9;
  color: var(--text-neutral-inverted);
}
option.clr9 {
  background-color: #ff9aa2;
  color: var(--text-neutral-inverted);
}
option.clr10 {
  background-color: #fff5ba;
  color: var(--text-neutral-inverted);
}
option.clr11 {
  background-color: #ffcc99;
  color: var(--text-neutral-inverted);
}
option.clr12 {
  background-color: #a0e7e5;
  color: var(--text-neutral-inverted);
}
option.clr13 {
  background-color: #cda4de;
  color: var(--text-neutral-inverted);
}
option.clr14 {
  background-color: #ffb3a7;
  color: var(--text-neutral-inverted);
}
option.clr15 {
  background-color: #a1caf1;
  color: var(--text-neutral-inverted);
}
option.clr16 {
  background-color: #fbaed2;
  color: var(--text-neutral-inverted);
}
option.clr17 {
  background-color: #b2fefa;
  color: var(--text-neutral-inverted);
}
option.clr18 {
  background-color: #d1f2a5;
  color: var(--text-neutral-inverted);
}
option.clr19 {
  background-color: #c0c8f0;
  color: var(--text-neutral-inverted);
}
option.clr20 {
  background-color: #ff9f80;
  color: var(--text-neutral-inverted);
}
option.clr21 {
  background-color: #e0b0ff;
  color: var(--text-neutral-inverted);
}
option.clr22 {
  background-color: #bff2e6;
  color: var(--text-neutral-inverted);
}
option.clr23 {
  background-color: #f3a3b0;
  color: var(--text-neutral-inverted);
}
option.clr24 {
  background-color: #d8a99f;
  color: var(--text-neutral-inverted);
}
option.green {
  background-color: #34c759;
}
option.yellow {
  background-color: gold;
}
option.orange {
  background-color: #fb8c00;
}
option.red {
  background-color: #ff3b30;
  color: white !important;
}

.select select {
  /* Generic tag colours below */
}
.select select.clr-green {
  background-color: #6ff76f;
  color: var(--text-neutral-inverted);
}
.select select.clr-red {
  background-color: #ff6474;
  color: var(--text-neutral-inverted);
}
.select select.clr-unset {
  background-color: var(--container-background-subtle-opaque);
  color: white;
}
.select select.clr0 {
  background-color: #ffb3ba;
  color: var(--text-neutral-inverted);
}
.select select.clr1 {
  background-color: #ffdfba;
  color: var(--text-neutral-inverted);
}
.select select.clr2 {
  background-color: #ffffba;
  color: var(--text-neutral-inverted);
}
.select select.clr3 {
  background-color: #bae1ff;
  color: var(--text-neutral-inverted);
}
.select select.clr4 {
  background-color: #baffc9;
  color: var(--text-neutral-inverted);
}
.select select.clr5 {
  background-color: #d6a4f7;
  color: var(--text-neutral-inverted);
}
.select select.clr6 {
  background-color: #a2cffe;
  color: var(--text-neutral-inverted);
}
.select select.clr7 {
  background-color: #a2f9b9;
  color: var(--text-neutral-inverted);
}
.select select.clr8 {
  background-color: #ffdab9;
  color: var(--text-neutral-inverted);
}
.select select.clr9 {
  background-color: #ff9aa2;
  color: var(--text-neutral-inverted);
}
.select select.clr10 {
  background-color: #fff5ba;
  color: var(--text-neutral-inverted);
}
.select select.clr11 {
  background-color: #ffcc99;
  color: var(--text-neutral-inverted);
}
.select select.clr12 {
  background-color: #a0e7e5;
  color: var(--text-neutral-inverted);
}
.select select.clr13 {
  background-color: #cda4de;
  color: var(--text-neutral-inverted);
}
.select select.clr14 {
  background-color: #ffb3a7;
  color: var(--text-neutral-inverted);
}
.select select.clr15 {
  background-color: #a1caf1;
  color: var(--text-neutral-inverted);
}
.select select.clr16 {
  background-color: #fbaed2;
  color: var(--text-neutral-inverted);
}
.select select.clr17 {
  background-color: #b2fefa;
  color: var(--text-neutral-inverted);
}
.select select.clr18 {
  background-color: #d1f2a5;
  color: var(--text-neutral-inverted);
}
.select select.clr19 {
  background-color: #c0c8f0;
  color: var(--text-neutral-inverted);
}
.select select.clr20 {
  background-color: #ff9f80;
  color: var(--text-neutral-inverted);
}
.select select.clr21 {
  background-color: #e0b0ff;
  color: var(--text-neutral-inverted);
}
.select select.clr22 {
  background-color: #bff2e6;
  color: var(--text-neutral-inverted);
}
.select select.clr23 {
  background-color: #f3a3b0;
  color: var(--text-neutral-inverted);
}
.select select.clr24 {
  background-color: #d8a99f;
  color: var(--text-neutral-inverted);
}
.select select.green {
  background-color: #34c759;
}
.select select.yellow {
  background-color: gold;
}
.select select.orange {
  background-color: #fb8c00;
}
.select select.red {
  background-color: #ff3b30;
  color: white !important;
}

/* Upload box */
.upload-box {
  background-color: var(--container-background-emphasised);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  border: 2px dashed #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 160px;
  transition: all var(--transition-speed);
  padding-bottom: 2.4em;
  margin: 0;
}
.upload-box .upload-btn {
  margin: 0;
}

.upload-box.drag-over {
  border-color: var(--text-primary);
  background-color: rgba(74, 111, 255, 0.05);
}

.upload-box p {
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--text-neutral-middling);
}

ul.improvement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.improvement-list li > div {
  display: flex;
  align-items: center;
  gap: 0em;
  white-space: nowrap;
  margin: 0;
}
ul.improvement-list li > div > div {
  margin: 0;
}

.matrix-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 2em;
  /* top (horizontal) axis label */
  /* keeps the likelihood text from overlapping the grid */
  /* left (vertical) axis label */
  /* 6×6 grid : 40 px cells + 8 px gaps */
  /* row / column numbers (white on white so they “disappear” yet keep spacing) */
  /* risk cells */
}
.matrix-container div {
  margin: 0;
}
.matrix-container .axis-label.impact {
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  color: #fff;
}
.matrix-container .matrix-wrapper {
  position: relative;
}
.matrix-container .axis-label.likelihood {
  position: absolute;
  left: -0.25rem; /* move away from grid */
  top: 70%;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: left top;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
}
.matrix-container .matrix-grid {
  display: grid;
  grid-template-columns: 40px repeat(5, 40px);
  grid-template-rows: 40px repeat(5, 40px);
  gap: 8px;
}
.matrix-container .top-label,
.matrix-container .side-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff; /* same colour as background */
  user-select: none;
}
.matrix-container .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  /* severity colours */
}
.matrix-container .cell:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}
.matrix-container .cell.highlight {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 114, 255, 0.3);
}
.matrix-container .cell.selected {
  outline: 3px solid #0072ff;
  outline-offset: -3px;
}
.matrix-container .cell.green {
  background-color: #34c759;
  color: #fff;
}
.matrix-container .cell.green:hover {
  background-color: #5ad479;
}
.matrix-container .cell.yellow {
  background-color: gold;
  color: #000;
}
.matrix-container .cell.yellow:hover {
  background-color: #ffdf33;
}
.matrix-container .cell.orange {
  background-color: #fb8c00;
  color: #000;
}
.matrix-container .cell.orange:hover {
  background-color: #ffa32f;
}
.matrix-container .cell.red {
  background-color: #ff3b30;
  color: #fff;
}
.matrix-container .cell.red:hover {
  background-color: #ff6b63;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

body:not(.popup) header.project-sidebar {
  width: 280px;
  min-width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  align-self: flex-start;
  padding: 1rem;
  box-sizing: border-box;
  border-right: 2.5px solid;
  border-image: radial-gradient(#777777, rgba(153, 153, 153, 0)) 1;
}
body:not(.popup) header.project-sidebar .icons {
  font-weight: 600;
  font-family: "Inter", sans-serif;
  position: fixed;
  top: 112px;
  left: 15px;
  list-style: none;
  padding: 0;
}
body:not(.popup) header.project-sidebar .icons a {
  cursor: pointer;
  text-decoration: none;
  color: var(--color);
  display: block;
  width: 240.75px;
  height: 47px;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 2px;
  margin-top: 5px;
  padding-left: 10px;
  border-radius: 6px;
  transition: background-color var(--transition-speed) ease-in-out, color var(--transition-speed) ease-in-out;
}
body:not(.popup) header.project-sidebar .icons a span {
  position: relative;
  top: -4px;
  left: 10px;
}
body:not(.popup) header.project-sidebar .icons a:hover {
  background: var(--sidebar-menu-item-hover);
}
body:not(.popup) header.project-sidebar .icons a:active {
  background: var(--sidebar-menu-item-active);
}
body:not(.popup) header.project-sidebar .icons a.selected {
  cursor: default;
  background: var(--sidebar-menu-item-selected);
}
body:not(.popup) header.project-sidebar .icons a.selected:hover {
  background: var(--sidebar-menu-item-selected);
}
body:not(.popup) header.project-sidebar .icons a.selected:active {
  background: var(--sidebar-menu-item-selected);
}
body:not(.popup) header.project-sidebar .organization-header {
  position: fixed;
  top: 358px;
  left: 41px;
}
body:not(.popup) header.project-sidebar .link-box {
  font-weight: 400;
  font-size: 15.5px;
  line-height: 25px;
  width: 240.75px;
  height: 108px;
  position: fixed;
  padding: 6px 10px;
  margin-bottom: 8px;
}
body:not(.popup) header.project-sidebar .link-box.organization-box {
  top: 390px;
  left: 12px;
}
body:not(.popup) header.project-sidebar .link-box.resources-box {
  bottom: 95px;
  left: 12px;
}
body:not(.popup) header.project-sidebar .link-box ul {
  padding: 0;
  margin: 0;
  margin-left: 5px;
  list-style: none;
}
body:not(.popup) header.project-sidebar .link-box ul li {
  padding-top: 5px;
}
body:not(.popup) header.project-sidebar .link-box ul li a {
  display: flex;
  align-items: center;
  gap: 5px; /* Ensures spacing between text and arrow */
}
body:not(.popup) header.project-sidebar .current-project-header {
  position: fixed;
  top: 505px;
  left: 26px;
}
body:not(.popup) header.project-sidebar .current-project-box {
  font-weight: 400;
  font-size: 15.5px;
  line-height: 25px;
  width: 240.75px;
  height: 83px;
  position: fixed;
  padding-left: 15px;
  padding-right: 5px;
  padding-top: 11px;
  top: 540px;
  left: 17px;
}
body:not(.popup) header.project-sidebar .current-project-box h5 {
  margin: 0;
}
body:not(.popup) header.project-sidebar .current-project-box a {
  color: var(--text-primary-hover);
  display: flex;
  align-items: center;
  gap: 5px; /* Ensures spacing between text and arrow */
}
body:not(.popup) header.project-sidebar .resources-header {
  position: fixed;
  bottom: 215px;
  left: 26px;
}
body:not(.popup) header.project-sidebar .settings {
  font-weight: 600;
  cursor: pointer;
  position: fixed;
  bottom: 40px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 10px; /* Ensures spacing between text and arrow */
}
body:not(.popup) header.project-sidebar .settings:hover {
  text-decoration: underline;
}

.risk-header {
  margin: 0;
  text-align: left;
  margin-left: 2em;
}
.risk-header h2 {
  margin-top: 0.2em;
}

.info-container {
  margin: 0rem auto;
  padding: 0rem;
  border-bottom: 2px var(--container-background) solid;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
}
.info-container td {
  background-color: inherit;
  text-align: left;
}

.info-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  white-space: nowrap;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--text-neutral);
  border-radius: 4px;
  margin-right: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: var(--text-neutral-inverted);
  transform: scale(0.8);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.7rem;
  width: 2px;
  background-color: var(--timeline);
}
.timeline table td {
  padding-top: 0;
  padding-bottom: 0;
  background-color: inherit;
  text-align: left;
}
.timeline table th {
  font-weight: 700;
}
.timeline .timeline-entry {
  position: relative;
  margin-bottom: 2rem;
}
.timeline .timeline-entry::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--timeline);
  border: 2px solid var(--timeline);
}
.timeline .timeline-entry .entry-date {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.timeline .timeline-entry .entry-content {
  background: var(--timeline);
  padding: 1rem;
  border-radius: 0.5rem;
  padding-left: 1.5rem;
}
.timeline .timeline-entry .entry-content .entry-title {
  position: relative;
  top: 0;
  left: 0;
}
.timeline .timeline-entry .entry-content button {
  display: block;
  text-transform: lowercase;
  color: var(--button-tertiary-disabled-text);
  background: none;
  box-shadow: none;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(100%);
  margin-top: 0.8rem;
}
.timeline .improvement, .timeline .select {
  margin: 0;
}
.timeline .evaluation {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: flex-start;
  margin: 0rem 0;
}
.timeline .evaluation .ball-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-neutral);
}
.timeline .evaluation .ball-item .evaluation-ball {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background-color: var(--evaluation-circle);
}
.timeline .evaluation .ball-item .evaluation-ball.green {
  background-color: #34c759;
}
.timeline .evaluation .ball-item .evaluation-ball.yellow {
  background-color: gold;
}
.timeline .evaluation .ball-item .evaluation-ball.orange {
  background-color: #fb8c00;
}
.timeline .evaluation .ball-item .evaluation-ball.red {
  background-color: #ff3b30;
  color: white !important;
}
.timeline .evaluation .ball-item .label {
  color: var(--text-neutral);
  text-align: center;
}

.entry-content table {
  margin-bottom: 0;
}

.box {
  background-color: var(--container-background);
  border-radius: 6px;
}
.box.primary {
  background-color: var(--container-primary-background);
}
@media print {
  .box {
    background-color: white;
    border: 1px solid black;
    color: black;
  }
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.2rem;
  padding-left: 1rem;
  align-items: stretch;
}
.project-layout .right-column {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.project-layout > div {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* let the last card in a column fill leftover space */
.project-layout > div > .project-container:last-child {
  flex: 1;
  display: flex; /* so inner content can stretch */
  flex-direction: column;
}

/* optional: if the card has a .padded content wrapper, let it stretch too */
.project-layout > div > .project-container:last-child .padded {
  flex: 1;
}

.euvd-container {
  margin-left: 1rem;
}

.cell-center {
  display: flex;
  justify-content: center;
}

.project-container {
  background-color: var(--container-background);
  border-radius: 6px;
}
.project-container.primary {
  background-color: var(--container-primary-background);
}
.project-container .std-title-row {
  background-color: var(--container-background-emphasised);
}
.project-container .title-container {
  color: var(--button-tertiary-disabled-text);
  position: relative;
  top: 0;
  left: 0;
}
.project-container .title-container .title {
  margin-left: 1rem;
  padding-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.project-container .title-container .title.extra-top {
  padding-top: 0.75rem;
}
.project-container .risk-charts-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  max-width: 1200px;
  padding-bottom: 1rem;
}
.project-container .risk-charts-container .chart-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.project-container .risk-charts-container .chart-box canvas {
  max-width: 100%;
  height: auto;
}
.project-container .padded {
  padding-left: 1rem;
  padding-right: 1rem;
}
.project-container.padded-all {
  padding: 1rem;
}
.project-container.margin {
  margin-top: 1.3rem;
}

#header-table, #data-table {
  margin-top: -0.5em;
}
@media screen and (max-width: 1920px) {
  #header-table, #data-table {
    zoom: 0.945;
  }
}

.ignore-risk {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* spacing between text and button */
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h1.separated {
  margin-bottom: 30px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.0075em;
  font-feature-settings: "ss01" on;
}
h2.thin {
  font-weight: 400;
}

h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

h4 {
  font-size: 1.5em;
}
h4.neutral {
  color: var(--text-neutral-middling);
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 34.39px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--text-neutral);
  font-style: normal;
}

select {
  font-family: "Inter", sans-serif !important;
  font-size: unset;
}

body.frame--meeting {
  /* Main container */
  /* Left box - Textarea */
  /* Right section containing two stacked boxes */
  /* Top right box - Meeting details */
  /* Bottom right box - Participants */
  /* Section headings */
  /* Left box content styling */
  /* Form elements in the right boxes */
  /* Participant list styling */
  /* Add button */
  /* Form layout */
  /* Responsive adjustments */
  /* Datetime Duration Picker */
  /* Section headings */
  /* Input groups */
  /* Labels */
  /* Input styling */
  /* Number inputs with plus/minus buttons */
  /* Quick duration options */
  /* Summary section */
  /* Action buttons */
}
body.frame--meeting .layout-container {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 10.5em);
  width: 100%;
  color: #333;
  padding-bottom: 1em;
  margin-top: 3em;
}
body.frame--meeting .left-textarea {
  flex: 7;
  height: unset;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid #ddd;
  resize: none;
  min-height: 0;
  background-color: var(--container-background);
  color: var(--text-neutral);
}
body.frame--meeting .left-textarea.pointer {
  cursor: pointer;
}
body.frame--meeting .right-section {
  flex: 3;
  display: flex;
  flex-direction: column;
  margin: 10px 10px 10px 0;
}
body.frame--meeting .top-right-box {
  flex: 1;
  background-color: var(--container-background-emphasised);
  color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  padding: 15px;
  margin-top: 0;
}
body.frame--meeting .margin-top {
  margin-top: 0.5rem;
}
body.frame--meeting .bottom-right-box {
  flex: 2;
  background-color: var(--container-background-emphasised);
  color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 0;
}
body.frame--meeting .box-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}
body.frame--meeting .content-section {
  margin-bottom: 20px;
}
body.frame--meeting .section-title {
  font-weight: bold;
  margin-bottom: 10px;
}
body.frame--meeting input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}
body.frame--meeting .participant-list {
  margin-top: 15px;
}
body.frame--meeting .participant {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  margin-top: 0;
}
body.frame--meeting .participant-avatar {
  background-color: #555;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 12px;
}
body.frame--meeting .participant-name {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
body.frame--meeting .add-button {
  background-color: #9c27b0;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
body.frame--meeting .form-group {
  margin-bottom: 15px;
}
body.frame--meeting .form-label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #ccc;
}
@media (max-width: 768px) {
  body.frame--meeting .layout-container {
    flex-direction: column;
    height: auto;
  }
  body.frame--meeting .right-section {
    margin: 0 10px 10px 10px;
  }
}
body.frame--meeting .datetime-duration-picker {
  width: 100%;
  color: white;
}
body.frame--meeting .datetime-duration-picker h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0px;
  color: #ccc;
}
body.frame--meeting .datetime-duration-picker h4 {
  font-size: 13px;
  font-weight: 500;
  margin: 12px 0 8px;
  color: #ccc;
}
body.frame--meeting .datetime-group {
  padding-top: 0.4em;
}
body.frame--meeting .datetime-inputs,
body.frame--meeting .duration-inputs {
  display: flex;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
}
body.frame--meeting .datetime-input {
  margin-bottom: 0 !important;
}
body.frame--meeting .datetime-duration-row {
  display: flex;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
  margin: 0 auto;
}
body.frame--meeting .datetime-duration-row .datetime-section,
body.frame--meeting .datetime-duration-row .duration-section {
  margin-bottom: 0;
  flex: 1;
}
body.frame--meeting .input-group {
  margin-top: 0;
  margin-bottom: 0;
  flex: 1;
}
body.frame--meeting .full-width {
  width: 100%;
}
body.frame--meeting .datetime-duration-picker label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: #ccc;
  margin-top: 0;
}
body.frame--meeting .datetime-duration-picker input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  margin-bottom: 0;
}
body.frame--meeting .datetime-duration-picker input:focus {
  outline: none;
  border-color: #9c27b0;
}
body.frame--meeting input[type=number].duration-input {
  min-width: unset;
  max-width: unset;
  width: unset;
  padding-left: unset;
  margin-bottom: 0;
}
body.frame--meeting .number-input {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}
body.frame--meeting .number-input button.circular {
  margin: 0.2em;
}
body.frame--meeting .number-input input {
  flex: 1;
  text-align: center;
  border: none;
  padding: 8px 0;
  margin: 0;
  -moz-appearance: textfield;
  background: transparent;
}
body.frame--meeting .number-input input::-webkit-outer-spin-button,
body.frame--meeting .number-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body.frame--meeting .duration-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
body.frame--meeting .preset-btn {
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  font-size: 12px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}
body.frame--meeting .preset-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
body.frame--meeting .summary-section {
  margin-top: 15px;
}
body.frame--meeting .submit-section {
  margin-bottom: 0;
}
body.frame--meeting button.full-width {
  width: 100%;
}
body.frame--meeting .title-section {
  margin-top: 50px;
}
body.frame--meeting .title-section.full-width input {
  max-width: unset;
  width: 100%;
  text-align: center;
}
body.frame--meeting .summary-text {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  color: white;
  margin-top: 0px;
  text-align: center;
}
body.frame--meeting .action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 15px;
}
body.frame--meeting .cancel-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}
body.frame--meeting .cancel-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
body.frame--meeting .confirm-btn {
  background-color: #9c27b0;
  color: white;
}
body.frame--meeting .confirm-btn:hover {
  background-color: #7B1FA2;
}

body.frame--document__open {
  /* Left content area */
  /* Right sidebar */
  /* File info box */
  /* Version history box */
}
body.frame--document__open .container {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 20px;
  gap: 20px;
  margin-top: 7em;
  padding-bottom: 9em;
}
body.frame--document__open .left-textarea {
  resize: none;
  min-height: 0;
  height: unset;
  flex: 1;
  border-radius: 8px;
  color: var(--text-neutral);
  background-color: var(--container-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: inset -1px 0 0 #ddd;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent flex item from overflowing */
}
body.frame--document__open .left-textarea.empty {
  justify-content: center;
  align-items: center;
  padding: 30px;
}
body.frame--document__open .left-textarea:not(.empty) {
  overflow-y: auto;
}
body.frame--document__open .content-box {
  resize: none;
  min-height: 0;
  height: unset;
  flex: 1;
  border-radius: 8px;
  color: var(--text-neutral);
  background-color: var(--container-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: inset -1px 0 0 #ddd;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent flex item from overflowing */
}
body.frame--document__open .content-box.empty {
  justify-content: center;
  align-items: center;
  padding: 30px;
}
body.frame--document__open .content-box:not(.empty) {
  padding-top: 20px;
  padding-bottom: 0px;
  padding-left: 3em;
  padding-right: 3em;
  overflow-y: scroll;
}
body.frame--document__open .sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.frame--document__open .file-info {
  background-color: var(--container-background-emphasised);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column; /* default */
}
body.frame--document__open .file-info-buttons {
  display: flex;
  gap: 8px; /* spacing between buttons */
  margin-top: 8px;
}
body.frame--document__open .file-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  word-break: break-word;
}
body.frame--document__open .file-meta {
  font-size: 14px;
  color: var(--text-neutral-middling);
}
body.frame--document__open .version-history {
  background-color: var(--container-background-emphasised);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  margin: 0;
}
body.frame--document__open .history-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}
body.frame--document__open .version-cards {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.frame--document__open .version-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 12px;
  background-color: var(--container-background);
  transition: background-color var(--transition-speed);
}
body.frame--document__open .version-card.selected {
  background-color: var(--container-background-double-emphasised-opaque);
}
body.frame--document__open .version-card:not(.selected) {
  cursor: pointer;
}
body.frame--document__open .version-card:hover {
  background-color: var(--container-background-subtle);
}
body.frame--document__open .version-card:hover.selected {
  background-color: var(--container-background-double-emphasised-opaque);
}
body.frame--document__open .version-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
body.frame--document__open .version-meta {
  font-size: 12px;
  color: var(--text-neutral-middling);
}

@media print {
  body.frame--document__open {
    color: black;
    font-size: 90% !important;
    line-height: 1.45 !important;
    padding-top: 0 !important;
    margin: 0 !important;
  }
  body.frame--document__open h1, body.frame--document__open h2, body.frame--document__open h3, body.frame--document__open h4, body.frame--document__open h5, body.frame--document__open h6 {
    font-size: 220% !important;
  }
}
body.frame--project__requirements {
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  /* Header */
  /* Main Container */
  /* Stats Cards */
  /* Filters */
  /* Requirements Table */
  /* Icons */
  /* Responsive */
}
body.frame--project__requirements .baseline-section {
  background-color: var(--container-background);
  border-radius: 10px;
}
body.frame--project__requirements .header {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
body.frame--project__requirements .header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.frame--project__requirements .header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
body.frame--project__requirements .header h1 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--gray-900);
}
body.frame--project__requirements .header p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
body.frame--project__requirements .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}
body.frame--project__requirements .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
body.frame--project__requirements .stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
body.frame--project__requirements .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
body.frame--project__requirements .stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
body.frame--project__requirements .stat-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}
body.frame--project__requirements .stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
body.frame--project__requirements .stat-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}
body.frame--project__requirements .progress-bar {
  width: 100%;
  height: 0.5rem;
  background: var(--gray-200);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}
body.frame--project__requirements .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  transition: width 0.5s ease;
  border-radius: 9999px;
}
body.frame--project__requirements .filters-card {
  background-color: var(--container-background);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}
body.frame--project__requirements .filters-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
body.frame--project__requirements .filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
body.frame--project__requirements select, body.frame--project__requirements input[type=text] {
  padding: 0.625rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: all 0.2s;
}
body.frame--project__requirements select:focus, body.frame--project__requirements input[type=text]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(80, 70, 229, 0.1);
}
body.frame--project__requirements .search-container {
  flex: 2;
  position: relative;
  min-width: 250px;
  max-width: 500px;
}
body.frame--project__requirements .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}
body.frame--project__requirements .search-input {
  height: 3em !important;
  margin: 0 !important;
  padding-left: 2.5em !important;
  width: 100% !important;
  max-width: 500px !important;
}
body.frame--project__requirements .requirements-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
body.frame--project__requirements .baseline-header {
  background: var(--container-background-double-emphasised);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
body.frame--project__requirements .baseline-title {
  font-size: 1.125rem;
  font-weight: 600;
}
body.frame--project__requirements .baseline-stats {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-500);
}
body.frame--project__requirements .chapter {
  border-bottom: 1px solid var(--gray-100);
}
body.frame--project__requirements .chapter:last-child {
  border-bottom: none;
}
body.frame--project__requirements .chapter-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}
body.frame--project__requirements .chapter-header:hover {
  background-color: var(--gray-600);
}
body.frame--project__requirements .chapter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
body.frame--project__requirements .chevron {
  width: 1rem;
  height: 1rem;
  color: var(--gray-500);
  transition: transform 0.2s;
}
body.frame--project__requirements .chevron.expanded {
  transform: rotate(90deg);
}
body.frame--project__requirements .chapter-title {
  font-weight: 500;
}
body.frame--project__requirements .chapter-count {
  font-size: 0.875rem;
  color: var(--gray-500);
}
body.frame--project__requirements .status-dots {
  display: flex;
  gap: 0.375rem;
}
body.frame--project__requirements .status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
body.frame--project__requirements .status-dot.satisfied {
  background: var(--success);
}
body.frame--project__requirements .status-dot.partial {
  background: var(--warning);
}
body.frame--project__requirements .status-dot.not-satisfied {
  background: var(--danger);
}
body.frame--project__requirements .chapter-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.5rem; /* no bottom padding while collapsed */
  transition: max-height 300ms ease, opacity 200ms ease, padding 200ms ease;
}
body.frame--project__requirements .chapter-content.expanded {
  max-height: 10000px;
  opacity: 1;
  padding: 0 1.5rem 1.25rem;
}
body.frame--project__requirements .requirements-table {
  width: 100%;
  border-collapse: collapse;
}
body.frame--project__requirements .requirements-table th {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-bottom: 0.75rem;
}
body.frame--project__requirements .requirements-table td {
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid var(--gray-100);
}
body.frame--project__requirements .req-id {
  font-size: 0.875rem;
  font-weight: 500;
}
body.frame--project__requirements .req-name {
  font-size: 0.875rem;
}
body.frame--project__requirements .status-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}
body.frame--project__requirements .status-icon.satisfied {
  background: var(--success);
}
body.frame--project__requirements .status-icon.partial {
  background: var(--warning);
}
body.frame--project__requirements .status-icon.not-satisfied {
  background: var(--danger);
}
body.frame--project__requirements .measures {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
body.frame--project__requirements .measure-tag {
  cursor: pointer;
  margin-right: -0.3em;
  font-size: 0.65rem;
  padding: 0rem 0.4rem;
  background: var(--measure);
  border-radius: 9999px;
  font-weight: 500;
}
body.frame--project__requirements .no-measures {
  font-size: 0.75rem;
  color: var(--gray-400);
}
body.frame--project__requirements .empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--gray-500);
}
body.frame--project__requirements .empty-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--gray-400);
}
body.frame--project__requirements .icon {
  width: 1.25rem;
  height: 1.25rem;
}
body.frame--project__requirements .icon-sm {
  width: 1rem;
  height: 1rem;
}
body.frame--project__requirements .icon-xs {
  width: 0.75rem;
  height: 0.75rem;
}
@media (max-width: 768px) {
  body.frame--project__requirements .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  body.frame--project__requirements .filters-content {
    flex-direction: column;
    align-items: stretch;
  }
  body.frame--project__requirements .search-container {
    width: 100%;
  }
  body.frame--project__requirements .requirements-table {
    font-size: 0.8125rem;
  }
  body.frame--project__requirements .measure-tag {
    font-size: 0.6875rem;
  }
}

/* Project Admin styles */
body.frame--admin {
  /* design tokens (scoped so they do not leak) */
  /* ===== Layout grid ===== */
  /* ===== Column cards ===== */
  /* ===== Sticky, light headers (no heavy black bars) ===== */
  /* subtle left accent per column */
  /* ===== Lists ===== */
  /* ===== Buttons (compact + never wrap) ===== */
  /* variants */
  /* tighter on very small screens */
  /* ===== Read-only admin pills ===== */
  /* ===== Footer ===== */
}
body.frame--admin .securium-perms,
body.frame--admin .admins-readonly,
body.frame--admin .perm-footer {
  --bg: #0f1216;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --text: #eef2f7;
  --muted: #9aa4b2;
  --read: #34d399;
  --write: #60a5fa;
  --admin: #a78bfa;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --gap: 24px;
  --transition-speed: 120ms;
  color: var(--text);
}
body.frame--admin .securium-perms {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 1280px) {
  body.frame--admin .securium-perms {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}
@media (max-width: 960px) {
  body.frame--admin .securium-perms {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}
@media (max-width: 640px) {
  body.frame--admin .securium-perms {
    grid-template-columns: 1fr;
  }
}
body.frame--admin .perm-col {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  min-height: 220px;
  position: relative;
  overflow: clip;
}
body.frame--admin .perm-heading {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 4px 4px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.frame--admin .perm-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  border-radius: 6px;
}
body.frame--admin .is-none .perm-heading::before {
  background: linear-gradient(180deg, #cf7272, #cc2929);
}
body.frame--admin .is-read .perm-heading::before {
  background: linear-gradient(180deg, #34d399, #10b981);
}
body.frame--admin .is-write .perm-heading::before {
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}
body.frame--admin .is-admin .perm-heading::before {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}
body.frame--admin .perm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
body.frame--admin .perm-item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap; /* keep a single line */
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  overflow: hidden; /* name ellipsizes */
}
@media (hover: hover) {
  body.frame--admin .perm-item {
    transition: transform var(--transition-speed) ease, background var(--transition-speed) ease, border-color var(--transition-speed) ease;
  }
  body.frame--admin .perm-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
  }
}
body.frame--admin .perm-name {
  font-weight: 600;
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.frame--admin .btn {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  min-width: 4em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 6px 8px; /* compact */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap; /* never break */
  flex: 0 0 auto; /* never shrink */
  transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}
body.frame--admin .btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.frame--admin .btn:active {
  transform: translateY(1px);
}
body.frame--admin .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
body.frame--admin .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}
body.frame--admin .btn--primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.16);
}
body.frame--admin .btn--primary:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
}
body.frame--admin .btn--read {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.35);
}
body.frame--admin .btn--read:hover {
  background: rgba(52, 211, 153, 0.26);
}
body.frame--admin .btn--write {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.38);
}
body.frame--admin .btn--write:hover {
  background: rgba(96, 165, 250, 0.28);
}
body.frame--admin .btn--admin {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.38);
}
body.frame--admin .btn--admin:hover {
  background: rgba(167, 139, 250, 0.28);
}
body.frame--admin .btn--remove {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.38);
}
body.frame--admin .btn--remove:hover {
  background: rgba(248, 113, 113, 0.26);
}
@media (max-width: 640px) {
  body.frame--admin .perm-item {
    gap: 4px;
    padding: 6px 8px;
  }
  body.frame--admin .btn {
    padding: 5px 7px;
    font-size: 11px;
  }
}
body.frame--admin .admins-readonly {
  margin-top: 24px;
}
body.frame--admin .admins-readonly .pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}
body.frame--admin .admins-readonly .pill-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
body.frame--admin .admins-readonly .muted {
  color: var(--muted);
}
body.frame--admin .perm-footer {
  position: sticky;
  bottom: 0;
  margin-top: 24px;
  padding: 12px;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  justify-content: center;
}
body.frame--admin .perm-footer .btn {
  min-width: 220px;
  font-size: 14px;
  padding: 12px 16px;
}

#notes-editor * {
  min-width: revert !important;
}

html ul {
  list-style-position: inside;
}

.flex-next-to {
  display: flex;
  gap: 1em;
  align-items: center;
}

.flex-next-to-close {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
}

.flex-vertical-align {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.flex-vertical-align label {
  font-size: 100%;
}
.flex-vertical-align.gap {
  gap: 0.5em;
}

.flex-bump-down {
  position: relative;
  top: 0.9em;
}

.flex-bump-up {
  position: relative;
  top: -0.4em;
}

.pointer {
  cursor: pointer;
}

.bottom-spacing {
  margin-bottom: 0.65em;
}
.bottom-spacing.larger {
  margin-bottom: 1.25em;
}

.shitty-centralize {
  text-align: left;
  padding-left: 10em;
}

.td-force-right {
  display: flex;
  justify-content: flex-end;
}

.padded-except-bottom {
  padding-left: 2em;
  padding-right: 2em;
  padding-top: 1.5em;
}

.nodisplay {
  display: none !important;
}

#BS_popup_container {
  max-width: min(95vw, 1100px) !important;
}

.no-margin {
  margin: 0;
}

.no-margin > div {
  margin: 0;
}

.no-margin-auto {
  margin: 0 auto;
}

.reduced-margin {
  margin: 0.75em;
}

#BS_popup_content > header > h1 {
  margin: 0;
}

#BS_popup_content > main {
  margin: 0;
}

form > label > input {
  margin-top: 0 !important;
}

form > label > .select {
  margin-top: 0 !important;
}
form > label > .select select {
  padding-bottom: 0.4em;
}
form > label > .select option.divider {
  font-weight: 600;
  opacity: 0.9;
}

.grey {
  color: grey;
}

ol {
  margin-left: 3em;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-weak);
  cursor: pointer;
  user-select: none;
}

.lang-chip.selected {
  background: var(--surface-raise);
  border-color: var(--border-strong);
}

.lang-icon {
  width: 20px;
  height: 20px;
}

.lang-label {
  font-size: 0.9rem;
}

.language-strip {
  display: flex;
  gap: 0.4rem;
}

.scroll-x {
  overflow-x: auto;
}

.disclaimer-text {
  white-space: pre-wrap;
  margin: 0;
}

.two-pane {
  margin-top: 0;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.pane {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
}

.no-pad {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pane-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.75rem;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.pane-body table {
  width: 100%;
}

.euvd-section h2 {
  margin-bottom: 0.5rem;
}

.vulnerabilities-section h2 {
  margin-bottom: 0.5rem;
}

.ignore-risk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#notes-editor, #notes-viewer {
  height: unset !important;
}

#notes-viewer {
  padding: 20px;
}

@media print {
  body {
    overflow: unset !important;
    background: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #BS_main {
    background: white !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  body.frame--report__mitigations {
    background: white !important;
  }
  body.frame--report__mitigations h1, body.frame--report__mitigations h2, body.frame--report__mitigations h3, body.frame--report__mitigations h4, body.frame--report__mitigations h5 {
    color: #222222;
  }
  .vw75 {
    width: 85vw;
  }
  /* 1. Expand the report, kill the scrollbar  */
  .viewport {
    margin-top: 1em !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  /* 4. Keep table pieces together  */
  table {
    page-break-inside: auto;
  }
  thead {
    page-break-inside: avoid;
  }
  tr, th, td, .project-container {
    break-inside: avoid;
  }
  th, td, .project-container {
    page-break-inside: avoid;
  }
  /* 5. Keep headings with the content that follows */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    break-after: avoid-page;
  }
  /* 6. Scrap things that don’t belong in the PDF  */
  .no-print {
    display: none !important;
  }
  /* …and reveal anything you only want on paper  */
  .print-only {
    display: block !important;
  }
  /* 7. Remove link URLs that browsers append by default */
  a[href]::after {
    content: "" !important;
  }
  body {
    background: none !important;
  }
}

