@charset "UTF-8";
h1 {
  color: #ac937d;
  font-weight: 700 !important;
}

h2 {
  color: #00a886;
  font-weight: 500 !important;
}

label.radio-inline.no-background {
  background: transparent;
  font-size: 40px;
  padding: 20px;
  border: 2px solid #193f85;
  margin: 25px 0px 25px 0px;
  font-weight: 700 !important;
  width: 100%;
  text-align: center;
  color: #193f85;
  min-height: 167px;
}

label.radio-inline.no-background:hover {
  background: #193f85;
  color: #fff;
}

label.radio-inline.no-background input {
  visibility: hidden;
  position: fixed;
}

.radio-inline .error {
  position: absolute;
  left: 0px;
  top: 32px;
  font-size: 16px;
  font-family: "Archivo Narrow", Arial, Helvetica, sans-serif;
  line-height: 25px;
}

.statement-panel-options {
  margin-bottom: 20px;
}
.statement-panel-options > .col-sm-6 {
  margin: -1px;
}

body.workshop_participant_view #m_header_nav, body.qa_event_view #m_header_nav {
  background: #fff;
  min-height: 60px !important;
  padding: 0 25px;
}
body.workshop_participant_view #m_header_nav h1, body.qa_event_view #m_header_nav h1 {
  font-weight: 400 !important;
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-right: 80px;
  text-align: left;
  width: 100%;
}
body.workshop_participant_view .statement_title, body.qa_event_view .statement_title {
  text-align: center;
  max-width: 600px;
  margin: 30px auto;
  color: #0F2D52;
}
body.workshop_participant_view .statement_title h1, body.qa_event_view .statement_title h1 {
  font-size: 3rem;
  font-weight: 500 !important;
}
body.workshop_participant_view .statement-panel-options .col-sm-6 label, body.qa_event_view .statement-panel-options .col-sm-6 label {
  background: #fff !important;
  -webkit-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 1s;
  -webkit-transition: 1s;
  padding: 50px;
  min-height: 220px !important;
  font-weight: 500 !important;
  font-size: 2.5rem !important;
  border-radius: 5px;
}
body.workshop_participant_view .statement-panel-options .col-sm-6 label:hover, body.workshop_participant_view .statement-panel-options .col-sm-6 label.active, body.qa_event_view .statement-panel-options .col-sm-6 label:hover, body.qa_event_view .statement-panel-options .col-sm-6 label.active {
  background: #6a9ac2 !important;
  color: white !important;
}
body.workshop_participant_view .submit_button .button_next, body.qa_event_view .submit_button .button_next {
  display: none;
  margin: auto;
}

@media only screen and (max-height: 1024px) {
  .submit_button .button_next {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
  }
}
@media only screen and (max-width: 1024px) {
  body.workshop_participant_view #m_header_nav {
    top: 60px;
    position: absolute;
    width: 100%;
  }
  body.workshop_participant_view #m_header_nav h1 {
    font-size: 2rem;
    margin: 20px 0;
    text-align: center;
  }
  body.workshop_participant_view .statement_title {
    margin: 60px auto 15px auto;
  }
  body.workshop_participant_view .statement_title h1 {
    font-size: 2.5rem;
  }
  body.workshop_participant_view .statement-panel-options .col-sm-6 label {
    min-height: 200px !important;
    padding: 30px;
    font-size: 2rem !important;
  }
}
@media only screen and (max-width: 575px) {
  body.workshop_participant_view .statement_title {
    margin: 30px auto 15px auto;
  }
  body.workshop_participant_view .statement_title h1 {
    font-size: 1.8rem;
  }
  body.workshop_participant_view .statement-panel-options .col-sm-6 label {
    padding: 20px;
    box-sizing: border-box;
    min-height: 40px !important;
    font-size: 1.6rem !important;
    margin: 10px 20px !important;
    width: auto;
  }
}
body .m-alert.m-alert--icon {
  color: #000000;
}

/* CSS talk bubble */
.talk-bubble {
  margin: 4px;
  margin-left: 40px;
  display: inline-block;
  position: relative;
  max-width: 800px;
  min-width: 400px;
  height: auto;
  background-color: var(--chat-bubble-color);
}

.border {
  border: 1px solid #666;
}

.round {
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
}

/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}

.tri-right.left-top:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -10px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 12px solid;
  border-color: var(--chat-bubble-color) transparent transparent transparent;
}

/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}

.tri-right.left-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -8px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 32px solid;
  border-color: transparent transparent transparent #666;
}

.tri-right.btm-left:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 0px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 22px solid;
  border-color: transparent transparent transparent lightyellow;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 30px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}

.tri-right.btm-left-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 38px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 30px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}

.tri-right.btm-right-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 38px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/*
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent lightyellow;

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -8px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}

.tri-right.btm-right:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 0px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}

.tri-right.right-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}

.tri-right.right-top:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -10px;
  top: 0px;
  bottom: auto;
  border: 12px solid;
  border-color: var(--chat-bubble-color) transparent transparent transparent;
}

/* talk bubble contents */
.talktext {
  padding: 1em;
  padding-bottom: 1px;
  text-align: left;
  line-height: 1.5em;
}

.talktext p {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

.chatwindow {
  height: 60vh;
  border: 1px solid #e0e0e0;
  border-radius: 0px;
  display: block;
  overflow: auto;
  background: #e0e0e0;
}

.chatwindow-width {
  width: 100%;
}

@media only screen and (min-width: 1280px) {
  .chatwindow-width {
    width: 40vw;
  }
}
.replyMsg {
  background-color: #e0e0e0;
  border-radius: 10px;
  padding: 8px;
  padding-left: 16px;
  position: relative;
}

.tab-content .m-form__group {
  align-items: center;
}

.modal-body .m-form__group {
  margin: 0px 0px !important;
  align-items: center;
}

.modal-body .m-form__help {
  font-size: 1em !important;
  margin: 0px 0px !important;
  padding-top: 0px;
}

.modal-body .col-12 {
  padding: 4px;
}

.dataTables_standard .col-12 {
  padding: 0px 1.1rem;
}

.modal-body {
  max-width: 100vw;
}

.modal .modal-content .modal-body {
  padding: 10px;
}

.m-form.m-form--fit .m-form__content, .m-form.m-form--fit .m-form__heading, .m-form.m-form--fit .m-form__group {
  padding-right: 15px !important;
}

@media only screen and (max-width: 1024px) {
  .modal-footer {
    justify-content: flex-start;
    padding: 8px !important;
  }
}
.disabled {
  color: #d0d0d0 !important;
}

.cke_required {
  border: 1px solid orange !important;
}

.col-xl-5 > .m-portlet {
  border-radius: 10px;
  box-shadow: 10px 10px 10px #d0d0d0;
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}

.col-xl-3 > .m-portlet {
  border-radius: 10px;
  box-shadow: 10px 10px 10px #d0d0d0;
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}

.col-xl-4 > .m-portlet {
  border-radius: 10px;
  box-shadow: 10px 10px 10px #d0d0d0;
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}

.col-lg-6 > .m-portlet {
  border-radius: 10px;
  box-shadow: 10px 10px 10px #d0d0d0;
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}

.m-portlet__head {
  padding: 0rem 1.2rem !important;
}

.m-portlet .m-portlet__head {
  min-height: 2.5rem !important;
}

.m-portlet__head-caption {
  font-size: 1.2em;
  font-weight: 500;
}

.m-portlet__body {
  padding: 0.2rem 1.2rem !important;
}

.readonly-checkbox {
  opacity: 0.5 !important;
}

.readonly-checkbox:after {
  border-color: #6a9ac2 !important;
}

.skill {
  margin-bottom: 16px;
  position: relative;
  overflow-x: hidden;
}

.skill > p {
  font-size: 14px;
  font-weight: 500;
  color: #1a1716;
  margin: 0;
}

.skill:before {
  width: 100%;
  height: 20px;
  content: "";
  display: block;
  position: absolute;
  background: #e0e0e0;
  border: 1px solid #c0c0c0;
  bottom: 0;
  border-radius: 10px;
  overflow-x: hidden;
}

.skill-bar {
  width: 100%;
  height: 20px;
  background: #6a9ac2;
  display: block;
  position: relative;
  overflow-x: hidden;
  border-radius: 10px;
}

.skill-bar span {
  position: absolute;
  top: 1px;
  color: white;
  right: 0px;
  font-size: 12px;
  padding: 0px 8px;
  font-weight: 500;
  overflow-x: hidden;
}

.skill-bar {
  position: relative;
  overflow-x: hidden;
}

.skill1 .skill-count1 {
  right: 0;
}

.skill1 {
  width: 95%;
}

.skill2 {
  width: 85%;
}

.skill2 .skill-count2 {
  right: 0;
}

.skill3 {
  width: 75%;
}

.skill3 .skill-count3 {
  right: 0;
}

.label-wrapper {
  top: -3px !important;
}

.dz-image {
  margin: auto;
}

.dz-preview {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px;
}

.filenameClass {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 120px;
  height: 24px;
}

.formbuilder-wrapper .svg-loader {
  display: flex;
  position: relative;
  align-content: space-around;
  justify-content: center;
}

.formbuilder-wrapper .loader-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  fill: none;
  stroke-width: 10px;
  stroke-linecap: round;
  stroke: #6a9ac2;
}

.formbuilder-wrapper .loader-svg.bg {
  stroke-width: 8px;
  stroke: white;
}

.formbuilder-wrapper .animate {
  stroke-dasharray: 242.6;
  animation: fill-animation 1s cubic-bezier(1, 1, 1, 1) 0s infinite;
}

.selected2 {
  background-color: #4881B1 !important;
  color: white !important;
}

@keyframes fill-animation {
  0% {
    stroke-dasharray: 40 242.6;
    stroke-dashoffset: 282.6;
  }
  50% {
    stroke-dasharray: 141.3;
    stroke-dashoffset: 141.3;
  }
  100% {
    stroke-dasharray: 40 242.6;
    stroke-dashoffset: 0;
  }
}
.row-group label {
  font-weight: 600 !important;
}

table.dataTable thead .sorting_asc:before {
  opacity: 0.6;
  bottom: 50% !important;
  content: "▲" !important;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead .sorting_asc:after {
  top: 50% !important;
  content: "▼" !important;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead .sorting_desc:before {
  bottom: 50% !important;
  content: "▲" !important;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead .sorting_desc:after {
  top: 50% !important;
  content: "▼" !important;
  opacity: 0.6;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead .sorting:before {
  top: 50% !important;
  content: "▼" !important;
  opacity: 0.6;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead .sorting:after {
  bottom: 50% !important;
  content: "▲" !important;
  opacity: 0.6;
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

.m-subheader__title {
  color: #000104 !important;
}

div.definition_matrix td {
  border: 1px solid black;
  font-size: 1em;
}

div.definition_matrix th {
  border: 1px solid black;
  font-size: 1em;
}

div.definition_matrix td {
  text-align: left;
  vertical-align: top;
  padding: 8px 8px;
}

div.definition_matrix th {
  text-align: center;
  padding: 8px 8px;
}

.m-subheader {
  background: #fafafa !important;
}

.m-content {
  background: #fafafa !important;
}

.m-portlet {
  border: 1px solid #e5e7eb;
  border-radius: 5px !important;
}

.m-wrapper {
  background: #fafafa !important;
}

.select2-selection {
  border-bottom-left-radius: 0.25rem !important;
  border-top-left-radius: 0.25rem !important;
}

.m-select {
  border-bottom-left-radius: 0.25rem !important;
  border-top-left-radius: 0.25rem !important;
}

.m-footer {
  --bg-footer-height: 3em;
  background: #fafafa !important;
  height: var(--bg-footer-height) !important;
  min-height: var(--bg-footer-height) !important;
  max-height: var(--bg-footer-height) !important;
  padding-top: 0.35em !important;
  padding-bottom: 0.35em !important;
  box-sizing: border-box;
}

.m-footer .m-container,
.m-footer .m-stack {
  height: 100%;
}

.m-footer .m-footer__copyright {
  font-size: 0.8rem;
  line-height: 1.2;
}

@media (min-width: 1025px) {
  /* Keep content clear of the fixed 3em footer (Metronic zeroes this when push+fixed) */
  .m-footer--fixed .m-body,
  .m-footer--fixed.m-footer--push .m-body {
    padding-bottom: 3em !important;
  }
  .m-footer--fixed .m-content {
    padding-bottom: 3em !important;
  }
  /* Sidebar sits beside/over footer strip — match V3 (footer starts after aside) */
  .m-footer--fixed.m-footer--push.m-aside-left--enabled .m-footer {
    left: 255px;
  }
  .m-footer--fixed.m-footer--push.m-aside-left--enabled.m-aside-left--minimize .m-footer {
    left: 78px;
  }
  .m-footer--fixed.m-aside-left--hide .m-footer {
    left: 0;
  }
  .m-footer--push.m-aside-left--enabled:not(.m-footer--fixed) .m-aside-right,
  .m-footer--push.m-aside-left--enabled:not(.m-footer--fixed) .m-wrapper {
    margin-bottom: 3em !important;
  }
  .m-footer--push.m-aside-left--enabled:not(.m-footer--fixed) .m-footer {
    margin-top: -3em !important;
  }
}
@media (max-width: 1024px) {
  .m-footer {
    height: auto !important;
    max-height: none !important;
    min-height: 3em !important;
  }
}
/* BGL-3185: V3 shell — fill space above footer (no gap under iframe) */
body:has(#iframeBattlegroundV3) {
  overflow: hidden;
  height: 100vh;
}

body:has(#iframeBattlegroundV3) .m-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body:has(#iframeBattlegroundV3) .m-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

body:has(#iframeBattlegroundV3) .m-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0 !important;
}

body:has(#iframeBattlegroundV3) .m-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
}

body:has(#iframeBattlegroundV3) #iframeBattlegroundV3 {
  display: block;
  width: 100%;
  height: 100% !important;
  border: none;
}

body:has(#iframeBattlegroundV3) .m-footer {
  flex: 0 0 3em;
  margin-top: 0 !important;
}

/* BGL-3185: V2 pages — static footer at bottom; scroll inside m-content */
body.m-footer--fixed:not(:has(#iframeBattlegroundV3)) {
  overflow: hidden;
  height: 100vh;
}

body.m-footer--fixed:not(:has(#iframeBattlegroundV3)) .m-page {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body.m-footer--fixed:not(:has(#iframeBattlegroundV3)) .m-body {
  height: 100vh;
  overflow: hidden;
}

body.m-footer--fixed:not(:has(#iframeBattlegroundV3)) .m-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0 !important;
}

body.m-footer--fixed:not(:has(#iframeBattlegroundV3)) .m-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* Metronic also pads m-body for the fixed footer; avoid doubling */
  padding-bottom: 0.75rem !important;
}

.btn {
  font-family: roboto !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__heading .m-menu__link-text,
.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text {
  color: white !important;
}

.m-aside-menu .m-menu__nav .m-menu__item > .m-menu__link:hover {
  background: #00a886;
  color: #ffffff;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--open > .m-menu__link .m-menu__link-icon {
  color: #000104 !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text {
  color: #ffffff !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item:not(.m-menu__item--parent):not(.m-menu__item--open):not(.m-menu__item--expanded):not(.m-menu__item--active):hover > .m-menu__link .m-menu__link-text {
  color: #ffffff !important;
}

.m-menu__heading:hover > .m-menu__link-text,
.m-menu__heading:hover > .m-menu__link-icon,
.m-menu__link:hover > .m-menu__link-text,
.m-menu__link:hover > .m-menu__link-icon {
  color: white !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item:hover > .m-menu__link .m-menu__ver-arrow {
  color: white !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__heading .m-menu__link-icon,
.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-icon {
  color: white !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text,
.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item > .m-menu__link .m-menu__link-text,
.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
  font-size: 14px !important;
}

.col-form-label {
  text-align: right;
  vertical-align: middle;
}

.dataTable tr:hover .cell__string th, .dataTable tr:hover .cell__string td {
  background: #00a886;
}

.dataTable tr:hover .cell__string table,
.dataTable tr .cell__string table {
  border: 1px solid white;
  vertical-align: top;
  width: 100%;
}

.dataTable tr .cell__string[data-attribute_key=old_value],
.dataTable tr .cell__string[data-attribute_key=new_value] {
  vertical-align: top;
}

.dataTable tr:hover .cell__string table th,
.dataTable tr .cell__string table th,
.dataTable tr:hover .cell__string table td,
.dataTable tr .cell__string table td {
  width: 50%;
}

.dataTable tr:hover .cell__string a {
  color: white;
}

.dropdown-menu1 .dropdown-item {
  padding: 8px 8px;
}

.dropdown-menu1 .dropdown-item span i {
  padding-left: 8px;
}

.e-toolbar-items {
  height: auto !important;
}

.e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn,
.e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended.e-toolbar-pop .e-toolbar-item .e-tbar-btn {
  border: none !important;
}

.e-richtexteditor .e-dlg-content .e-radio:checked + label::before {
  border-color: #00a886;
}

.e-richtexteditor .e-dlg-content .e-radio:checked + label::after {
  background-color: #00a886;
  border-color: #00a886;
  color: #00a886;
}

.e-richtexteditor .e-btn.e-flat.e-primary:focus {
  color: #fff;
  background-color: #00a886;
}

.e-richtexteditor .e-btn.e-flat.e-primary, .e-richtexteditor .e-btn.e-flat.e-primary:hover {
  color: #fff;
  background-color: #00a886;
}

.e-richtexteditor .e-input-group:not(.e-float-icon-left):not(.e-float-input).e-input-focus::before, .e-input-group:not(.e-float-icon-left):not(.e-float-input).e-input-focus::after, .e-input-group.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap::before, .e-input-group.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap::after, .e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input).e-input-focus::before, .e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input).e-input-focus::after, .e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap::before, .e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap::after, .e-float-input.e-input-group:not(.e-float-icon-left).e-input-focus .e-float-line::before, .e-float-input.e-input-group:not(.e-float-icon-left).e-input-focus .e-float-line::after, .e-float-input.e-input-group.e-float-icon-left.e-input-focus .e-input-in-wrap .e-float-line::before, .e-float-input.e-input-group.e-float-icon-left.e-input-focus .e-input-in-wrap .e-float-line::after, .e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left).e-input-focus .e-float-line::before, .e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left).e-input-focus .e-float-line::after, .e-float-input.e-control-wrapper.e-input-group.e-float-icon-left.e-input-focus .e-input-in-wrap .e-float-line::before, .e-float-input.e-control-wrapper.e-input-group.e-float-icon-left.e-input-focus .e-input-in-wrap .e-float-line::after, .e-filled.e-float-input.e-input-group.e-float-icon-left.e-input-focus .e-float-line::before, .e-filled.e-float-input.e-input-group.e-float-icon-left.e-input-focus .e-float-line::after, .e-filled.e-float-input.e-control-wrapper.e-input-group.e-float-icon-left.e-input-focus .e-float-line::before, .e-filled.e-float-input.e-control-wrapper.e-input-group.e-float-icon-left.e-input-focus .e-float-line::after {
  background: #00a886;
}

/* To change font color for toolbar icon */
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon:not(.e-caret),
.e-richtexteditor .e-toolbar-item .e-icon-btn,
.e-richtexteditor .e-control,
.e-richtexteditor .e-toolbar-item .e-icon-btn:active {
  font-size: 12px !important;
}

.e-richtexteditor button:not([class=close]) {
  border: none !important;
}

.e-richtexteditor .e-toolbar .e-toolbar-items.e-toolbar-multirow {
  margin-left: 0;
}

.e-btn.e-flat.e-primary, .e-css.e-btn.e-flat.e-primary {
  background: #00a886 !important;
  color: white !important;
}

.e-richtexteditor h1 {
  color: black !important;
}

.e-richtexteditor h2 {
  color: black !important;
}

a.page-link:hover {
  background: #ac937d !important;
}

.e-richtexteditor {
  border: 0 !important;
  padding: 0 !important;
}

.inject .e-rte-image {
  max-width: 100% !important;
}

.select2-results__group {
  background: none !important;
  color: #ac937d !important;
  font-size: 1.25em !important;
  font-weight: bold !important;
  padding-bottom: 0 !important;
}

.select2-results__option {
  padding-bottom: 2px !important;
  padding-top: 2px !important;
}

.btn-autoplay-auto {
  background: #00a886 !important;
}

.btn-autoplay-manual {
  background: #ac937d !important;
  color: white !important;
}

.btn-from-participant {
  background: #5e8a8a !important;
  color: white !important;
  border: #5e8a8a !important;
}

.dt-button-collection .dropdown-menu {
  max-height: 300px;
  overflow-x: auto;
}

.dropdown-menu > li > a.active, .dropdown-menu > .dropdown-item.active,
.dt-button-collection .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

.dt-button-collection .dropdown-menu > .dropdown-item.active {
  background: #00a886 !important;
}

.btn-ai {
  background: #ff57be;
}

.aiAssist-response-icon {
  background: url("/img/raidar-ai-small.png");
  width: 24px;
}

.ai-dlg-header .e-dlg-header-content {
  background: #ff57be;
  color: #fff;
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
}

#aiDialog {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.ai-dlg-header .e-dlg-header {
  color: #fff;
}

.ai-dlg-header .e-dlg-closeicon-btn {
  color: #fff;
}

.ai-dlg-header .e-suggestion-list li {
  background: #ff57be;
  color: #fff !important;
  text-wrap: auto !important;
}

.e-stop-response .e-btn-active {
  background: #ed2052;
}

.m-switch-on {
  color: #00a886;
  font-weight: bold;
}

.m-switch-off {
  color: #ed2052;
}

.m-datatable__row:hover .m-switch-on,
.m-datatable__row:hover .m-switch-off {
  color: #ffffff;
}

.e-dialog .e-btn.e-dlg-closeicon-btn:active span, .e-dialog .e-btn.e-dlg-closeicon-btn span {
  color: white !important;
}

.general_info .m-alert__text,
.general_info .m-alert__icon {
  color: #5e8a8a;
}

#aiDialog .e-tbar-btn-text {
  color: rgba(0, 0, 0, 0.87);
}

#aiDialog .e-aiassistview .e-view-header .e-toolbar .e-toolbar-item.e-active .e-tbar-btn:hover .e-icons,
#aiDialog .e-aiassistview .e-view-header .e-toolbar .e-toolbar-item.e-active .e-tbar-btn .e-icons {
  color: rgba(0, 0, 0, 0.54);
}

#aiDialog .e-aiassistview .e-view-header .e-toolbar-item.e-active::after {
  background-color: #00a886;
  height: 0;
}

#aiDialog .e-dlg-content {
  padding: 0 !important;
}

.e-richtexteditor .e-dlg-content {
  flex: 0 1 auto !important;
}

.role_category {
  position: relative;
  font-size: 1.1em;
  font-weight: bold;
  color: #5e8a8a;
  padding-bottom: 8px;
}

.role_category::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  border-bottom: 1px solid #c0c0c0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000104;
}

.select2-container--default .select2-selection--single .select2-selection__rendered[aria-readonly] {
  color: #6f727d;
}

/*
 * Global RAiDAR Chat launcher — a floating orb, bottom-right of the viewport.
 *
 * BGL-3624 moved this out of the footer. As a footer link it was only reachable
 * once you had scrolled to the bottom of the page and looked for it among the
 * other footer actions; as a fixed orb it is in the same place on every screen.
 *
 * The geometry is published as custom properties because the chat panel has to
 * clear the orb: the two are positioned from the same numbers rather than from
 * two magic values that drift apart.
 *
 * #FF57BE is RAiDAR pink and is reserved for RAiDAR. Nothing else in the app
 * uses it, which is what makes the orb read as "the assistant" at a glance.
 */
:root {
  --raidar-orb-size: 3.5rem;
  --raidar-orb-margin: 1.5rem;
  --raidar-orb-clearance: 0.5rem;
  /* Vertical space the orb occupies, for anything that must sit above it. */
  --raidar-orb-reserve: calc(
    var(--raidar-orb-margin) + var(--raidar-orb-size) + var(--raidar-orb-clearance)
  );
}

.global-raidar-chat-orb {
  position: fixed;
  right: var(--raidar-orb-margin);
  bottom: var(--raidar-orb-margin);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--raidar-orb-size);
  height: var(--raidar-orb-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff57be;
  color: #fff;
  cursor: pointer;
  /*
   * Below the chat host (100001) so an open panel is never behind its own
   * launcher, and above page furniture. Datatable paginations and the fixed
   * footer scroll under it rather than fighting it.
   */
  z-index: 100000;
  box-shadow: 0 0.125rem 0.375rem rgba(15, 23, 42, 0.18), 0 0.5rem 1.25rem rgba(217, 54, 156, 0.32);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.global-raidar-chat-orb:hover,
.global-raidar-chat-orb:focus-visible {
  background: #eb4aad;
  transform: scale(1.06);
  box-shadow: 0 0.1875rem 0.5rem rgba(15, 23, 42, 0.22), 0 0.75rem 1.75rem rgba(217, 54, 156, 0.4);
}

.global-raidar-chat-orb:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.global-raidar-chat-orb:active {
  background: #d9369c;
  transform: scale(0.97);
}

/* The orb is decoration around one glyph; the accessible name is on the button. */
.global-raidar-chat-orb__glyph {
  width: 1.625rem;
  height: 1.625rem;
  fill: currentColor;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .global-raidar-chat-orb {
    transition: background 0.15s ease;
  }
  .global-raidar-chat-orb:hover,
  .global-raidar-chat-orb:focus-visible,
  .global-raidar-chat-orb:active {
    transform: none;
  }
}
.global-raidar-chat-host {
  position: fixed;
  right: 1rem;
  /* Sit above the orb rather than above the footer it used to launch from. */
  bottom: var(--raidar-orb-reserve);
  /* Wide enough for the full header toolbar; further tabs use the More menu */
  width: min(30vw, 100vw - 2rem);
  height: 70dvh;
  max-height: calc(100dvh - var(--raidar-orb-reserve) - 1.5rem);
  /* Above modals (1050+), SweetAlert (10000), CK balloons (100000), etc. */
  z-index: 100001;
  /* px, not rem: Metronic sets a 13px root, so 0.75rem lands at 9.75px. */
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  /* One soft lift (BGL-3560). Three stacked shadows read as a modal. */
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.1);
  /* prevent native CSS resize grip (bottom-right) */
  resize: none;
}

.global-raidar-chat-host[hidden] {
  display: none !important;
}

.global-raidar-chat-host #global-raidar-chat-ui,
.global-raidar-chat-host .e-chat-ui {
  width: 100%;
  height: 100%;
}

.global-raidar-chat-host .e-chat-ui #scrollDownButton {
  display: none !important;
}

/* Higher specificity than Syncfusion `.e-chat-ui .e-chat-header` (#3f51b5) */
/*
 * BGL-3560: the header was a saturated pink slab. The pink is the accent,
 * not the ground - the RAiDAR mark below carries the brand and the bar
 * itself is app chrome, same move that fixed the footer launcher in
 * BGL-3559.
 */
.global-raidar-chat-host .e-chat-ui .e-chat-header {
  position: relative;
  background: #fff !important;
  color: #1a1a1a !important;
  border-color: #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  padding: 8px 12px !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-toolbar,
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-toolbar-items,
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn {
  background: transparent !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn {
  background: transparent !important;
}

/* BGL-4022: the whole header is the title bar; only its buttons opt out. */
.global-raidar-chat-host--float .global-raidar-chat-drag-handle,
.global-raidar-chat-host--float .global-raidar-chat-drag-handle .e-chat-toolbar,
.global-raidar-chat-host--float .global-raidar-chat-drag-handle .e-toolbar-items {
  cursor: move;
  user-select: none;
  touch-action: none;
}

.global-raidar-chat-host--float .global-raidar-chat-drag-handle .e-toolbar-item,
.global-raidar-chat-host--float .global-raidar-chat-drag-handle .e-tbar-btn {
  cursor: pointer;
}

.global-raidar-chat-host .global-raidar-chat-refresh-icon,
.global-raidar-chat-host .global-raidar-chat-settings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #6f727d;
  font-size: 1.5rem;
  line-height: 1;
  transform-origin: center;
}

.global-raidar-chat-host .global-raidar-chat-settings-icon {
  transition: transform 0.25s ease;
}

.global-raidar-chat-host .global-raidar-chat-refresh-icon svg,
.global-raidar-chat-host .global-raidar-chat-settings-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

/* Keep Feedback compact so every header action remains visible at minimum width. */
.global-raidar-chat-host .e-toolbar-item.global-raidar-chat-feedback {
  margin-right: 0.25rem;
}

.global-raidar-chat-host .e-toolbar-item.global-raidar-chat-feedback .e-tbar-btn {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.global-raidar-chat-host .global-raidar-chat-feedback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  color: #6f727d !important;
  background: rgba(253, 242, 248, 0.14) !important;
  border: 1px dashed rgba(111, 114, 125, 0.65) !important;
  border-radius: 50%;
  box-shadow: none !important;
  line-height: 1;
  cursor: pointer;
}

.global-raidar-chat-host .global-raidar-chat-feedback-btn:hover,
.global-raidar-chat-host .global-raidar-chat-feedback-btn:focus {
  color: #ff57be !important;
  background: rgba(253, 242, 248, 0.24) !important;
  border-color: #ff57be !important;
}

.global-raidar-chat-host .global-raidar-chat-feedback-btn > i {
  color: inherit !important;
  font-size: 1rem;
  line-height: 1;
}

.global-raidar-chat-host .global-raidar-chat-refresh.is-refreshing .global-raidar-chat-refresh-icon {
  animation: global-raidar-chat-refresh-spin 0.6s ease-in-out;
}

@keyframes global-raidar-chat-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .global-raidar-chat-host .global-raidar-chat-refresh.is-refreshing .global-raidar-chat-refresh-icon {
    animation: none;
    opacity: 0.55;
  }
}
.global-raidar-chat-host--float.is-dragging .global-raidar-chat-drag-handle,
.global-raidar-chat-host--float.is-dragging .global-raidar-chat-drag-handle *,
body.global-raidar-chat-is-dragging {
  cursor: grabbing !important;
  user-select: none;
}

/* Embedded frames would otherwise take the pointer mid-drag. */
body.global-raidar-chat-is-dragging iframe {
  pointer-events: none !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-btn-icon,
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-icon {
  color: #6f727d !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-text {
  color: #1a1a1a !important;
}

/* Each header control gets its own hit area, tinting pink on hover. */
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn {
  border-radius: 999px !important;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn:hover {
  background: #fff0f8 !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn:hover .e-btn-icon {
  color: #ff57be !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn:hover .global-raidar-chat-refresh-icon,
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-tbar-btn:hover .global-raidar-chat-settings-icon {
  color: #ff57be;
}

/* Match V3 `headerIconCss="... !flex"` — vertical align logo with title.
   Syncfusion sets display:flex then later overrides to inline-block. */
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-right: 0.1rem !important;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-icon.global-raidar-chat-header-logo {
  /* 32px is the SVG's own width/height, so the RAIDAR wordmark inside it
     renders at native scale rather than resampled. */
  width: 32px;
  height: 32px;
  font-size: 0;
  line-height: 0;
  /* Syncfusion rounds header icons; keep the square logo intact. */
  border-radius: 0 !important;
  flex-shrink: 0;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-icon.global-raidar-chat-header-logo::before {
  content: none !important;
  display: none !important;
}

/*
 * The logo ships as a single fill="#FF57BE", so against the white header it
 * needs no filter at all. It was previously inverted to survive the pink
 * ground (BGL-3560).
 */
.global-raidar-chat-host .global-raidar-chat-header-logo__img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/*
 * Keep the 32×32 logo at its native size. The circular shell must be at
 * least 32√2 (~45px) wide so border-radius: 50% does not clip the corners.
 */
.global-raidar-chat-host .e-chat-ui .e-message-icon {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  background-color: #ff57be !important;
  color: #fdf2f8;
}

.global-raidar-chat-host .e-chat-ui .e-message-icon img {
  width: 2rem;
  height: 2rem;
  /* Syncfusion also rounds the img; keep the logo square inside the shell. */
  border-radius: 0 !important;
  object-fit: contain;
  object-position: center;
  padding: 0;
  box-sizing: content-box;
  background-color: transparent;
  /* Logo SVG is brand pink; invert to white on the pink avatar shell. */
  filter: brightness(0) invert(1);
}

.global-raidar-chat-host .e-chat-ui .e-left:not(.e-message-item-template) {
  padding-left: 3.5rem;
}

/* BGL-3560: message bubbles.
   Syncfusion ships a flat #f5f5f5 fill at 4px for both sides, so the user and
   RAiDAR read as the same voice. Nothing here needs !important - the only
   !important Syncfusion declares anywhere near a message is the toolbar's
   height, so ordinary specificity wins.
   px not rem: Metronic's root is 13px. */
.global-raidar-chat-host .e-chat-ui .e-message-content {
  padding: 9px 12px;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  /* Not white. The pane behind is #fff, so a white bubble measured 1.0 against
     it and the only thing left drawing the edge was a 1.22:1 border - the shape
     disappeared. The two voices are already separated by the pink on the user's
     side, so RAiDAR keeps a neutral fill; it just moves off Syncfusion's warm
     #f5f5f5 onto something cooler that sits with the rest of the pane. */
  background: #f4f5f7;
  color: #1f2430;
  font-size: 13px;
  line-height: 1.45;
}

/* RAiDAR's own side has to be named explicitly. Syncfusion's
   `.e-chat-ui .e-left .e-message-content` is 0,3,0 - exactly the same weight as
   the rule above - and it is declared in a blade <style> block, which the
   document loads after bog.css. Same specificity, later wins, so the shorter
   selector silently lost and only the fill stayed grey while padding and radius
   applied. Naming .e-left takes it to 0,4,0. */
.global-raidar-chat-host .e-chat-ui .e-left .e-message-content {
  background: #f4f5f7;
  color: #1f2430;
}

/* Syncfusion also paints hover, focus and active on the left bubble - #e0e0e0
   and #bdbdbd, from the same grey it used for the fill. Left alone, pointing at
   one of RAiDAR's answers flashed it grey. These hold the bubble still and move
   only the border. */
.global-raidar-chat-host .e-chat-ui .e-left .e-message-content:hover,
.global-raidar-chat-host .e-chat-ui .e-left .e-message-content:focus,
.global-raidar-chat-host .e-chat-ui .e-left .e-message-content:active {
  border-color: #d3d7de;
  background: #f4f5f7;
  color: #1f2430;
}

/* The user's own messages carry the accent, as a tint rather than a fill - the
   pink is the accent here, not the wallpaper. */
.global-raidar-chat-host .e-chat-ui .e-right .e-message-content {
  border-color: #f7d6ea;
  background: #fdf2f8;
  color: #1f2430;
}

.global-raidar-chat-host .e-chat-ui .e-right .e-message-content:hover,
.global-raidar-chat-host .e-chat-ui .e-right .e-message-content:focus,
.global-raidar-chat-host .e-chat-ui .e-right .e-message-content:active {
  border-color: #f0b8dc;
  background: #fdf2f8;
  color: #1f2430;
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-text {
  margin-left: 0 !important;
  padding-top: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.global-raidar-chat-host .e-message-header {
  color: #ff57be !important;
}

/* The date separator chip ("September 14, 2026"). Syncfusion ships it at
   border-radius 2px, which reads as a square tab against the pill-shaped
   conversation tabs and the 12px message bubbles either side of it. 999px
   matches the tabs and the empty-state suggestion pills - this is the same
   kind of element as those, a small standalone label, not a panel.

   Scoped through .e-timebreak: `.e-timestamp` is also the class on the
   per-message times above each bubble, which are bare text with no chip and
   must not pick up a radius. */
.global-raidar-chat-host .e-chat-ui .e-timebreak .e-timestamp {
  border-radius: 999px;
}

/* V3 uses Syncfusion `e-icons e-resizer` (\eb05). Glyph may be missing from the V2 icon subset. */
.global-raidar-chat-host .e-icons.e-resizer::before {
  content: "\eb05";
  font-family: "e-icons";
}

/* Float mode: three corner grips — the Syncfusion glyph defaults to SE. */
.global-raidar-chat-host--float .global-raidar-chat-resize-handle {
  position: absolute;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  user-select: none;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1;
}

.global-raidar-chat-host--float .global-raidar-chat-resize-handle--top-left {
  top: 0.25rem;
  left: 0.25rem;
  color: #fff;
  cursor: nwse-resize;
  transform: rotate(180deg);
}

.global-raidar-chat-host--float .global-raidar-chat-resize-handle--bottom-left {
  bottom: 0.25rem;
  left: 0.25rem;
  cursor: nesw-resize;
  transform: rotate(90deg);
}

.global-raidar-chat-host--float .global-raidar-chat-resize-handle--bottom-right {
  bottom: 0rem;
  right: 0.25rem;
  cursor: nwse-resize;
}

body.global-raidar-chat-is-resizing-float-bottom-left {
  cursor: nesw-resize !important;
  user-select: none;
}

body.global-raidar-chat-is-resizing-float-top-left,
body.global-raidar-chat-is-resizing-float-bottom-right {
  cursor: nwse-resize !important;
  user-select: none;
}

body.global-raidar-chat-is-resizing-float iframe {
  pointer-events: none;
}

/* Keep the restored top-left grip clear of the header logo. */
.global-raidar-chat-host--float .e-chat-ui .e-chat-header .e-header-icon {
  margin-left: 0.35rem;
}

/* Match V3 input handle: text-neutral-500 !text-[.65rem] */
.global-raidar-chat-host .global-raidar-chat-input-resize-handle {
  position: absolute;
  top: 0.125rem;
  right: 0.1875rem;
  z-index: 1000;
  opacity: 0.7;
  user-select: none;
  cursor: n-resize;
  transform: rotate(270deg);
  font-size: 0.65rem;
  color: #737373;
  line-height: 1;
}

/*
 * BGL-3560: the empty state was one grey sentence stranded in a very large
 * blank area. It now leads with the mark and a heading.
 */
.global-raidar-chat-host .global-raidar-chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 22px;
  text-align: center;
  font-size: 12.5px;
  color: #6f727d;
}

.global-raidar-chat-host .global-raidar-chat-empty__mark {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.global-raidar-chat-host .global-raidar-chat-empty__title {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.global-raidar-chat-host .global-raidar-chat-empty__hint {
  margin: 0;
  max-width: 250px;
  font-size: 12.5px;
  color: #6f727d;
}

/* BGL-3560: suggested prompts. px throughout - Metronic sets a 13px root, so
   rem here would come out around five sixths of the intended size. */
.global-raidar-chat-host .global-raidar-chat-empty__prompts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 250px;
  margin-top: 16px;
}

.global-raidar-chat-host .global-raidar-chat-empty__prompt {
  padding: 7px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #4a4d57;
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease, background-color 0.12s ease;
}

.global-raidar-chat-host .global-raidar-chat-empty__prompt:hover {
  border-color: #ff57be;
  background: #fdf2f8;
  color: #c0267e;
}

/* Metronic declares the a/button outline with !important, so the focus ring has
   to answer it specifically rather than relying on the default. */
.global-raidar-chat-host .global-raidar-chat-empty__prompt:focus-visible {
  outline: 2px solid #ff57be !important;
  outline-offset: 2px;
}

.global-raidar-chat-host .text-raidar {
  color: #ff57be;
}

.global-raidar-chat-host .global-raidar-chat-typing {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.875rem;
  color: #737373;
  font-weight: normal;
  padding: 0 0.5rem;
  animation: global-raidar-chat-pulse 1.4s ease-in-out infinite;
}

.global-raidar-chat-host .global-raidar-chat-typing__icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

@keyframes global-raidar-chat-pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
/*
 * BGL-3560: Syncfusion wins the border here with its own theme rule, hence
 * the !important. The pink focus ring replaces the old sliding accent line
 * as the primary focus signal.
 */
.global-raidar-chat-host .global-raidar-chat-footer.e-footer {
  position: relative;
  border: 1px solid #d4d4d4 !important;
  border-radius: 18px !important;
  transition: border-color 0.12s ease;
}

.global-raidar-chat-host .global-raidar-chat-footer.e-footer:focus-within {
  border-color: #ff57be !important;
}

.global-raidar-chat-host .global-raidar-chat-composer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.35rem 0.65rem 0;
  min-height: 1.35rem;
}

.global-raidar-chat-host .global-raidar-chat-active-settings {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0.1rem 0.2rem;
  border: none;
  border-radius: 0.2rem;
  background: transparent;
  color: #737373;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
}

.global-raidar-chat-host .global-raidar-chat-active-settings:hover,
.global-raidar-chat-host .global-raidar-chat-active-settings:focus {
  color: #ff57be;
  background: rgba(255, 87, 190, 0.08);
  outline: none;
}

.global-raidar-chat-host .global-raidar-chat-active-settings:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.global-raidar-chat-host .global-raidar-chat-msg-meta {
  margin: 0 0 0.2rem;
  /* #6f727d preserves readable contrast for this small supporting text. */
  color: #6f727d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.global-raidar-chat-host .global-raidar-chat-effort-toggle {
  position: absolute;
  left: 0.35rem;
  /* Align to the composer row (below an open effort panel). */
  bottom: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: #737373;
  cursor: pointer;
  line-height: 1;
}

.global-raidar-chat-host .global-raidar-chat-effort-toggle:hover,
.global-raidar-chat-host .global-raidar-chat-effort-toggle:focus,
.global-raidar-chat-host .global-raidar-chat-effort-toggle.is-open {
  color: #ff57be;
  background: rgba(255, 87, 190, 0.08);
  outline: none;
}

.global-raidar-chat-host .global-raidar-chat-effort-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.global-raidar-chat-host .global-raidar-chat-effort-toggle .la {
  font-size: 1.5rem;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.25s ease;
}

.global-raidar-chat-host .global-raidar-chat-effort-toggle.is-open .la {
  transform: rotate(90deg);
}

/*
 * In-flow panel at the top of the footer so it stays inside the GRC host
 * even when the host uses overflow: hidden.
 */
.global-raidar-chat-host .global-raidar-chat-effort-popover {
  position: relative;
  z-index: 3;
  margin: 0.4rem 0.4rem 0;
  padding: 0.5rem 0.65rem 0.55rem;
  border: 1px solid #e8e8e8;
  border-radius: 0.35rem;
  background: #fafafa;
  box-sizing: border-box;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover[hidden] {
  display: none !important;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover-title-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  margin-bottom: 0.25rem;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #525252;
  line-height: 1.25;
  min-width: 0;
}

.global-raidar-chat-host .global-raidar-chat-settings-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #525252;
  line-height: 1.2;
}

.global-raidar-chat-host .global-raidar-chat-settings-section {
  margin-bottom: 0.55rem;
}

.global-raidar-chat-host .global-raidar-chat-settings-section:last-child {
  margin-bottom: 0;
}

.global-raidar-chat-host .global-raidar-chat-settings-section > .global-raidar-chat-settings-section-label {
  display: block;
  margin-bottom: 0.3rem;
}

.global-raidar-chat-host .global-raidar-chat-model-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 18rem;
}

.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group {
  flex: 1 1 auto;
  min-width: 0;
}

/* Render the model dropdown as a bordered box rather than the default
   Material bottom-line, matching the app's other filterable pickers. */
.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper,
.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper.e-input-focus {
  border: 1px solid #d4d4d4 !important;
  border-radius: 0.375rem !important;
  padding: 0 0.5rem;
}

.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper::before,
.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper::after {
  display: none !important;
}

.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper:hover:not(.e-disabled),
.global-raidar-chat-host .global-raidar-chat-model-ddl.e-input-group.e-control-wrapper.e-input-focus {
  border-color: #ff57be !important;
}

/* BGL-3716: the second line inside the field.

   The rules above hide Syncfusion's Material underline and move the focus cue
   onto the WRAPPER as a pink border. That leaves the inner <input> with no
   author focus ring at all, so the browser draws its own, and on Windows that
   ring follows the system accent colour - reported as a green box inside the
   pink one, dark green on white and bright green on the dark panel because
   Chrome adapts the ring to the colour-scheme.

   Confirmed by elimination, not by guessing at the hue: no stylesheet in the
   repo draws a green border or outline on this control. The only two
   green-on-focus rules are scoped to .e-excelfilter / .e-checkboxfilter, and
   the Syncfusion Material theme has no green anywhere on .e-input-focus.

   Suppressed here rather than in bg-dark.css because it is not a dark-mode
   defect - it is drawn in both modes and was simply less obvious on white.
   Border, outline and box-shadow all go, so the wrapper's pink is the only box
   drawn. That pink IS the focus indicator and is present for pointer and
   keyboard alike (EJ2 adds .e-input-focus on focus, not on :focus-visible), so
   nothing is lost by removing the UA ring. */
.global-raidar-chat-host .global-raidar-chat-model-ddl .e-input,
.global-raidar-chat-host .global-raidar-chat-model-ddl .e-input:focus,
.global-raidar-chat-model-ddl.e-popup .e-filter-parent .e-input,
.global-raidar-chat-model-ddl.e-popup .e-filter-parent .e-input:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Syncfusion mounts the popup under <body>, so this cannot be scoped through
   the chat host. Reserve 3rem for its filter and scroll the remaining list. */
.global-raidar-chat-model-ddl.e-popup .e-content.e-dropdownbase {
  height: auto !important;
  max-height: 15rem !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.global-raidar-chat-model-ddl.e-popup .global-raidar-chat-model-option {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-raidar-chat-host .global-raidar-chat-model-refresh {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid #d4d4d4;
  border-radius: 0.375rem;
  background: #fff;
  color: #8a8a8a;
  cursor: pointer;
  line-height: 1;
}

.global-raidar-chat-host .global-raidar-chat-model-refresh:hover,
.global-raidar-chat-host .global-raidar-chat-model-refresh:focus {
  color: #ff57be;
  outline: none;
}

.global-raidar-chat-host .global-raidar-chat-model-refresh:disabled {
  cursor: default;
}

.global-raidar-chat-host .global-raidar-chat-model-refresh.is-refreshing svg {
  animation: global-raidar-chat-model-refresh-spin 0.8s linear infinite;
}

@keyframes global-raidar-chat-model-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.global-raidar-chat-host .global-raidar-chat-effort-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #8a8a8a;
  cursor: help;
  line-height: 1;
}

.global-raidar-chat-host .global-raidar-chat-effort-help .la {
  font-size: 0.85rem;
  line-height: 1;
}

.global-raidar-chat-host .global-raidar-chat-effort-help:hover,
.global-raidar-chat-host .global-raidar-chat-effort-help:focus {
  color: #ff57be;
  outline: none;
}

.global-raidar-chat-host .global-raidar-chat-effort-help-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  width: max-content;
  max-width: min(14.5rem, 100vw - 2rem);
  padding: 0.45rem 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.3rem;
  background: #1f2937;
  color: #f9fafb;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.global-raidar-chat-host .global-raidar-chat-effort-help:hover + .global-raidar-chat-effort-help-tip,
.global-raidar-chat-host .global-raidar-chat-effort-help:focus + .global-raidar-chat-effort-help-tip,
.global-raidar-chat-host .global-raidar-chat-effort-help:focus-visible + .global-raidar-chat-effort-help-tip {
  opacity: 1;
  visibility: visible;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: #737373;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.global-raidar-chat-host .global-raidar-chat-effort-popover-close:hover,
.global-raidar-chat-host .global-raidar-chat-effort-popover-close:focus {
  color: #171717;
  background: #f3f4f6;
  outline: none;
}

/* Slider + tick labels share one column so ticks stay under the track as the panel resizes. */
.global-raidar-chat-host .global-raidar-chat-effort-control {
  width: 100%;
  max-width: 16rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.global-raidar-chat-host .global-raidar-chat-effort-slider {
  width: 100%;
  margin: 0;
  padding: 0;
  accent-color: #ff57be;
  cursor: pointer;
  height: 1.25rem;
}

.global-raidar-chat-host .global-raidar-chat-effort-slider:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.global-raidar-chat-host .global-raidar-chat-effort-ticks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  font-size: 0.65rem;
  color: #8a8a8a;
  line-height: 1.2;
  pointer-events: none;
}

.global-raidar-chat-host .global-raidar-chat-effort-ticks span:nth-child(1) {
  text-align: left;
}

.global-raidar-chat-host .global-raidar-chat-effort-ticks span:nth-child(2) {
  text-align: center;
}

.global-raidar-chat-host .global-raidar-chat-effort-ticks span:nth-child(3) {
  text-align: right;
}

.global-raidar-chat-host .global-raidar-chat-input-wrap {
  display: block;
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
  /* Leave space for the effort gear on the left and send on the right. */
  padding: 0.5rem 1.75rem 0.5rem 1.85rem;
  position: relative;
}

.global-raidar-chat-host .global-raidar-chat-input-wrap.e-input-group textarea.e-input.global-raidar-chat-textarea,
.global-raidar-chat-host textarea.global-raidar-chat-textarea {
  /* Match V3 `!ml-2` + Syncfusion footer textarea padding (chat-ui CSS may not load on V2) */
  margin-left: 0.5rem !important;
  padding: 0.375rem 0.625rem !important;
  width: calc(100% - 0.5rem);
  resize: none !important;
  border: none;
  outline: none;
  box-shadow: none;
  min-height: 2.25rem;
  box-sizing: border-box;
}

.global-raidar-chat-host .accent-line {
  background: #ff57be;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0.125rem;
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.global-raidar-chat-host .global-raidar-chat-textarea:focus ~ .accent-line {
  width: 100%;
}

/* Syncfusion themes this glyph to a grey, so the brand colour needs
   !important to land (BGL-3560). */
.global-raidar-chat-host .global-raidar-chat-send {
  position: absolute;
  right: 0.25rem;
  bottom: 0.65rem;
  transform: none;
  cursor: pointer;
  color: #ff57be !important;
}

.global-raidar-chat-host--float {
  border-radius: 18px;
}

.global-raidar-chat-host--right {
  top: 4.375rem;
  right: 0;
  bottom: 3em;
  left: auto;
  width: var(--global-raidar-chat-docked-width, 30vw);
  min-width: 25rem;
  max-width: min(40rem, 50vw);
  height: auto;
  max-height: none;
  border-radius: 0;
  /* The base host carries a full 1px border (BGL-3560); docked right is
     flush to the viewport, so only the inner edge should show. */
  border: 0;
  border-left: 1px solid #e5e7eb;
  box-shadow: -0.25rem 0.25rem 0.75rem rgba(15, 23, 42, 0.14), -1rem 0.5rem 2.5rem rgba(15, 23, 42, 0.18);
}

/* Docked-right pushes page content only; header & footer stay full-width */
body.global-raidar-chat-docked-right .m-wrapper {
  margin-right: var(--global-raidar-chat-docked-width, 30vw);
}

body.global-raidar-chat-is-resizing-width {
  cursor: ew-resize !important;
  user-select: none;
}

body.global-raidar-chat-is-resizing-width iframe {
  pointer-events: none;
}

.global-raidar-chat-host--bottom {
  top: auto;
  right: 0;
  /* Sit flush above the fixed 3em footer — never cover it */
  bottom: 3em;
  /* left is set in JS to the content column (.m-wrapper), not over the aside */
  left: 0;
  width: auto;
  height: var(--global-raidar-chat-docked-height, 35vh);
  min-height: 32vh;
  max-height: 42vh;
  border-radius: 0;
  /* As above: docked bottom keeps only its top edge. */
  border: 0;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -0.25rem 0.75rem rgba(15, 23, 42, 0.14), 0 -1rem 2.5rem rgba(15, 23, 42, 0.18);
}

/*
 * Docked-bottom: footer stays fixed at the viewport bottom.
 * Content-column height is applied in JS (measured px) because Metronic’s
 * flex shell ignores percentage calc() on .m-wrapper.
 */
body.global-raidar-chat-docked-bottom .m-footer {
  bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  transform: none !important;
}

body.global-raidar-chat-is-resizing-height {
  cursor: ns-resize !important;
  user-select: none;
}

body.global-raidar-chat-is-resizing-height iframe {
  pointer-events: none;
}

body.route--raidar-chat .m-content {
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  /* Clear the fixed APP_ENV badge (top: 70px; line-height: 2.2em) */
  padding-top: 2.2em;
  /* Align with the APP_ENV badge left edge (left: 0) */
  padding-left: 0;
  padding-right: 0;
}

.global-raidar-chat-page {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.global-raidar-chat-host--full-page {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  z-index: auto;
  border-radius: 0;
  /* Full page is the page - no frame of its own (BGL-3560). */
  border: 0;
  box-shadow: none;
}

.global-raidar-chat-host--full-page > .global-raidar-chat-resize-handle {
  display: none;
}

/* Docked-bottom: the complete top edge is the height resize target. */
.global-raidar-chat-host--bottom > .global-raidar-chat-height-resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 0.75rem;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

.global-raidar-chat-host--bottom > .global-raidar-chat-height-resize-handle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: #cbd5e1;
  transition: background 0.15s ease;
}

.global-raidar-chat-host--bottom > .global-raidar-chat-height-resize-handle::after {
  content: "";
  position: absolute;
  top: 0.4375rem;
  left: 50%;
  width: min(20rem, 100% - 2rem);
  height: 0.0625rem;
  background: #fff;
  filter: drop-shadow(0 0 0.0625rem rgba(15, 23, 42, 0.8));
  transform: translateX(-50%);
  transition: width 0.15s ease;
}

.global-raidar-chat-host--bottom > .global-raidar-chat-height-resize-handle:hover::before,
body.global-raidar-chat-is-resizing-height .global-raidar-chat-height-resize-handle::before {
  background: #94a3b8;
}

.global-raidar-chat-host--bottom > .global-raidar-chat-height-resize-handle:hover::after,
body.global-raidar-chat-is-resizing-height .global-raidar-chat-height-resize-handle::after {
  width: min(24rem, 100% - 2rem);
}

.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-icon,
.global-raidar-chat-host .e-chat-ui .e-chat-header .e-header-text {
  transform: translateX(-0.75rem);
}

.global-raidar-chat-host .global-raidar-chat-width-resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0.75rem;
  height: 100%;
  cursor: ew-resize;
  touch-action: none;
}

.global-raidar-chat-host .global-raidar-chat-width-resize-handle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.125rem;
  height: 100%;
  background: #cbd5e1;
  transition: background 0.15s ease;
}

.global-raidar-chat-host .global-raidar-chat-width-resize-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.4375rem;
  width: 0.0625rem;
  height: min(20rem, 100% - 2rem);
  background: #64748b;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 0.0625rem rgba(255, 255, 255, 0.8));
  transition: height 0.15s ease;
}

.global-raidar-chat-host .global-raidar-chat-width-resize-handle:hover::before,
body.global-raidar-chat-is-resizing-width .global-raidar-chat-width-resize-handle::before {
  background: #94a3b8;
}

.global-raidar-chat-host .global-raidar-chat-width-resize-handle:hover::after,
body.global-raidar-chat-is-resizing-width .global-raidar-chat-width-resize-handle::after {
  height: min(24rem, 100% - 2rem);
  background: #475569;
}

.global-raidar-chat-host .e-chat-ui {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.global-raidar-chat-host .e-chat-ui .e-chat-content {
  flex: 1 1 auto;
  min-height: 0;
}

.global-raidar-chat-host .global-raidar-chat-settings .la {
  font-size: 1rem;
}

.global-raidar-chat-host .global-raidar-chat-settings.is-open .global-raidar-chat-settings-icon {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .global-raidar-chat-host .global-raidar-chat-settings-icon,
  .global-raidar-chat-host .global-raidar-chat-effort-toggle .la {
    transition: none;
  }
}
.global-raidar-chat-tab-bar {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 0.25rem;
  min-height: 2.5rem;
  padding: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.global-raidar-chat-tabs {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
}

/* BGL-3560: pill tabs. The widths stay fixed - overflow measurement
   depends on a stable preferred width - only the skin changes. */
.global-raidar-chat-tab {
  display: flex;
  /* No flex-shrink: overflow measurement needs a stable preferred width */
  flex: 0 0 9.25rem;
  align-items: center;
  gap: 2px;
  width: 9.25rem;
  max-width: 9.25rem;
  padding: 4px 4px 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #6f727d;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.global-raidar-chat-tab:hover {
  background: #fafafa;
  color: #1a1a1a;
}

.global-raidar-chat-tab:focus-visible,
.global-raidar-chat-more:focus-visible,
.global-raidar-chat-add:focus-visible,
.global-raidar-chat-tab-close:focus-visible,
.global-raidar-chat-tab-rename:focus-visible,
.global-raidar-chat-settings-item:focus-visible,
.global-raidar-chat-overflow-switch:focus-visible,
.global-raidar-chat-overflow-close:focus-visible,
.global-raidar-chat-load-more-button:focus-visible {
  outline: 0.125rem solid #ff57be;
  outline-offset: -0.125rem;
}

.global-raidar-chat-tab.is-active {
  background: #fff0f8;
  border-color: #ffd0ec;
  color: #d9369c;
  font-weight: 600;
}

.global-raidar-chat-tab.is-renaming {
  cursor: text;
}

.global-raidar-chat-tab.is-overflowed {
  display: none;
}

.global-raidar-chat-tab-title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-raidar-chat-tab-tooltip {
  position: fixed;
  z-index: 100002;
  max-width: min(24rem, 100vw - 1rem);
  padding: 0.55rem 0.7rem;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.3);
  color: #000;
  cursor: text;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
  user-select: text;
  white-space: pre-line;
}

.global-raidar-chat-tab-tooltip[hidden] {
  display: none !important;
}

.global-raidar-chat-tab-title-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0 0.1rem;
  border: 0;
  border-bottom: 1px solid #ff57be;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  outline: none;
}

.global-raidar-chat-tab-rename,
.global-raidar-chat-tab-close,
.global-raidar-chat-overflow-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.375rem;
  height: 1.375rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.global-raidar-chat-tab-rename {
  font-size: 0.8rem;
}

/* BGL-3560: the rename and close controls only appear on hover or on the
   active tab, so a row of chats reads as titles rather than clutter. */
.global-raidar-chat-tab .global-raidar-chat-tab-rename,
.global-raidar-chat-tab .global-raidar-chat-tab-close {
  opacity: 0;
  transition: opacity 0.12s ease;
}

.global-raidar-chat-tab:hover .global-raidar-chat-tab-rename,
.global-raidar-chat-tab.is-active .global-raidar-chat-tab-rename,
.global-raidar-chat-tab:focus-within .global-raidar-chat-tab-rename,
.global-raidar-chat-tab:hover .global-raidar-chat-tab-close,
.global-raidar-chat-tab.is-active .global-raidar-chat-tab-close,
.global-raidar-chat-tab:focus-within .global-raidar-chat-tab-close {
  opacity: 0.65;
}

.global-raidar-chat-tab .global-raidar-chat-tab-rename:hover,
.global-raidar-chat-tab .global-raidar-chat-tab-close:hover {
  opacity: 1;
}

.global-raidar-chat-tab-rename:hover,
.global-raidar-chat-tab-close:hover,
.global-raidar-chat-overflow-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.global-raidar-chat-load-more {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.global-raidar-chat-load-more[hidden] {
  display: none !important;
}

.global-raidar-chat-load-more-button {
  padding: 0.25rem 0.65rem;
  border: 1px solid #ff57be;
  border-radius: 0.2rem;
  background: #fff;
  color: #c0267e;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.global-raidar-chat-load-more-button:hover:not(:disabled) {
  background: #fff1f8;
}

.global-raidar-chat-load-more-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.global-raidar-chat-load-more-error {
  color: #b91c1c;
  font-size: 0.7rem;
}

.global-raidar-chat-load-more-error[hidden] {
  display: none !important;
}

.global-raidar-chat-more,
.global-raidar-chat-add {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 2.125rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 0.2rem;
  background: transparent;
  color: #475569;
  cursor: pointer;
}

.global-raidar-chat-more:hover,
.global-raidar-chat-add:hover {
  background: #f1f5f9;
  color: #111827;
}

.global-raidar-chat-add {
  font-size: 1.35rem;
}

.global-raidar-chat-overflow-menu,
.global-raidar-chat-settings-menu {
  position: absolute;
  z-index: 1100;
  min-width: 11.25rem;
  padding: 0.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.18);
}

.global-raidar-chat-overflow-menu[hidden],
.global-raidar-chat-settings-menu[hidden] {
  display: none !important;
}

.global-raidar-chat-overflow-menu {
  top: calc(100% - 0.1rem);
  right: 2.75rem;
  max-height: min(20rem, 50dvh);
  overflow-y: auto;
}

.global-raidar-chat-overflow-item {
  display: flex;
  align-items: center;
}

.global-raidar-chat-overflow-switch {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: #334155;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.global-raidar-chat-overflow-item:hover {
  background: #f8fafc;
}

.global-raidar-chat-settings-menu {
  top: 3rem;
  right: 0.5rem;
}

.global-raidar-chat-settings-item {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) 1.125rem;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 0.2rem;
  background: transparent;
  color: #334155;
  text-align: left;
  cursor: pointer;
}

.global-raidar-chat-settings-item:hover {
  background: #f8fafc;
}

.global-raidar-chat-settings-item:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.global-raidar-chat-settings-reset {
  margin-top: 0.35rem;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
}

.global-raidar-chat-settings-check {
  visibility: hidden;
  color: #ff57be;
}

.global-raidar-chat-settings-item.is-selected .global-raidar-chat-settings-check {
  visibility: visible;
}

.global-raidar-chat-history-status {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.125rem;
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.75rem;
}

.global-raidar-chat-history-status[hidden] {
  display: none !important;
}

.global-raidar-chat-history-retry {
  padding: 0.15rem 0.45rem;
  border: 1px solid #ff57be;
  border-radius: 0.2rem;
  background: #fff;
  color: #c0267e;
  cursor: pointer;
}

.global-raidar-chat-send.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Docking options need a wide enough viewport; hide gear + menu under 1024px. */
@media (max-width: 1023px) {
  .global-raidar-chat-host .global-raidar-chat-settings,
  .global-raidar-chat-host .e-toolbar-item.global-raidar-chat-settings,
  .global-raidar-chat-host .global-raidar-chat-settings-menu {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .global-raidar-chat-host--float {
    right: 0.5rem;
    width: calc(100vw - 1rem);
  }
  .global-raidar-chat-host--right {
    top: 3.75rem;
    max-width: min(40rem, 50vw);
  }
  .global-raidar-chat-host--bottom {
    max-height: 42vh;
  }
  .global-raidar-chat-page {
    height: 100%;
  }
  .global-raidar-chat-host--full-page {
    min-height: 0;
  }
  .global-raidar-chat-tab {
    flex-basis: 7.5rem;
    width: 7.5rem;
    max-width: 7.5rem;
  }
}
.e-chk-hidden {
  display: none !important;
  opacity: 0 !important;
}

.e-ccul-ele {
  list-style: none !important;
}

.e-ccul-ele li {
  padding-bottom: 4px !important;
}

.e-checkbox-wrapper .e-frame.e-check, .e-css.e-checkbox-wrapper .e-frame.e-check {
  background-color: #00a886 !important;
}

.e-grid .e-gridcontent .e-rowcell {
  font-size: 14px !important;
}

.e-lib.e-grid th.e-headercell[aria-sort=ascending]:not(.e-columnselection) .e-headertext, .e-lib.e-grid th.e-headercell[aria-sort=descending]:not(.e-columnselection) .e-headertext, .e-lib.e-grid th.e-headercell[aria-sort=ascending] .e-sortfilterdiv, .e-lib.e-grid th.e-headercell[aria-sort=descending] .e-sortfilterdiv,
.e-lib.e-grid .e-gridheader, .e-headercelldiv {
  font-size: 14px !important;
}

.e-lib.e-pager .e-currentitem, .e-lib.e-pager .e-currentitem:hover {
  background: #00a886 !important;
}

.e-right-shadow .e-rightfreeze.e-freezerightborder:not(.e-dragborder),
.e-rtl.e-left-shadow .e-leftfreeze.e-freezeleftborder:not(.e-dragborder) {
  box-shadow: none !important;
  border-left: 1px solid #e9e8e8 !important;
}

.e-altrow {
  background: #fafafa;
}

.e-lib.e-grid.e-lib .e-leftfreeze.e-freezeleftborder, .e-lib.e-grid .e-leftfreeze.e-freezeleftborder {
  border-right-color: #00a886 !important;
}

.e-lib.e-grid.e-lib .e-rightfreeze.e-freezerightborder, .e-lib.e-grid .e-rightfreeze.e-freezerightborder {
  border-left-color: #00a886 !important;
}

.e-headercell {
  background: #f0f0f0 !important;
  color: black !important;
  font-weight: 400 !important;
}

.e-headercell .e-headertext,
.e-headercell .e-headercelldiv,
.e-grid .e-gridheader .e-headertext {
  font-weight: 400 !important;
}

.e-headercell .e-filtermenudiv,
.e-headercell .e-sortfilterdiv,
.e-headercell .e-icons,
.e-headercell .e-icon-filter {
  color: black !important;
  font-weight: 400 !important;
}

/* The compatibility Material theme uses the same flat glyph (\e7ee) whether or
   not a column is filtered, and its icon font has no hollow funnel at all --
   every funnel in e-icons (\e251, \ea77, \e248) is solid, so an outline/fill
   pair cannot be built from glyphs. Draw the funnel from an inline SVG mask
   instead: one shared path, stroked while idle and filled once a filter is
   applied. background-color: currentColor keeps it on the theme's icon colour.

   stroke-width is 1.5 on a 24px viewBox rendered at 16px, so roughly a 1px
   outline - 2 read as heavy next to 400-weight header text. Both states carry
   the same width so the silhouette does not change size when a filter is
   applied, only its fill and colour.

   The theme sizes .e-filtermenudiv from its content (12px glyph + 6px padding =
   24px) and floats it into the header with margins tuned to that box, so a
   larger icon grows the box downward and drops below the header text. Pin the
   box at 24px and centre with flexbox: the rectangle stays exactly where the
   theme puts it and the funnel is centred in it at any size. */
.e-lib.e-grid .e-headercell .e-filtermenudiv,
.e-lib.e-grid .e-detailheadercell .e-filtermenudiv {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  box-sizing: border-box !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
}

.e-grid .e-icon-filter::before,
.e-grid-menu .e-icon-filter::before,
.e-excelfilter .e-icon-filter::before,
.e-excel-menu .e-icon-filter::before {
  content: "" !important;
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 4.5h18l-7.2 8.4v6.1l-3.6-1.8v-4.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 4.5h18l-7.2 8.4v6.1l-3.6-1.8v-4.3z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}

.e-grid .e-icon-filter.e-filtered::before,
.e-grid-menu .e-icon-filter.e-filtered::before,
.e-excelfilter .e-icon-filter.e-filtered::before,
.e-excel-menu .e-icon-filter.e-filtered::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 4.5h18l-7.2 8.4v6.1l-3.6-1.8v-4.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 4.5h18l-7.2 8.4v6.1l-3.6-1.8v-4.3z'/%3E%3C/svg%3E");
}

/* The theme tints an applied filter with the Material accent (#e3165b). Override it, but with
   $victory rather than black: an applied filter is worth noticing, and the funnel is drawn from a
   mask over background-color: currentColor, so setting the colour here recolours the shape.
   The idle funnel stays black - the state is carried by outline-versus-filled as well as colour,
   so it does not rest on the tint alone. */
.e-lib.e-grid .e-filtered::before,
.e-lib.e-grid .e-icon-filter.e-filtered::before,
.e-lib.e-excelfilter .e-filtered::before,
.e-grid-menu .e-icon-filter.e-filtered::before {
  color: #00a886 !important;
  font-weight: 400 !important;
}

.e-opacity {
  opacity: 0.2;
}

.e-grid td.e-selectionbackground {
  background-color: #a7d3d3 !important;
}

.e-grid .e-groupcaption {
  background: #00a886 !important;
}

.e-grid .e-groupcaption H2 {
  color: white;
  margin: 0;
  padding: 0;
  font-size: 1.5em !important;
}

.e-grid .e-toolbar [id*=columnchooser] {
  margin-bottom: 8px !important;
}

.e-input-group:not(.e-float-icon-left):not(.e-float-input)::before {
  background: #00a886 !important;
}

.disabled-link {
  pointer-events: none;
  color: #999;
  cursor: not-allowed;
  text-decoration: none;
  background: #e0e0e0 !important;
}

.fg-steel {
  color: #5e8a8a;
}

.bg-steel {
  background: #5e8a8a;
}

.fg-victory {
  color: #00a886;
}

.bg-victory {
  background: #00a886;
}

.fg-earth {
  color: #ac937d;
}

.bg-earth {
  background: #ac937d;
}

.fg-sky {
  color: #a7d3d3;
}

.bg-sky {
  background: #a7d3d3;
}

.fg-grass {
  color: #e6ecd1;
}

.bg-grass {
  background: #e6ecd1;
}

.fg-clarity {
  color: #fbf6ea;
}

.bg-clarity {
  background: #fbf6ea;
}

.fg-amber {
  color: #edc56e;
}

.bg-amber {
  background: #edc56e;
}

.fg-richblack {
  color: #000104;
}

.bg-richblack {
  background: #000104;
}

.bold {
  font-weight: bold;
}

/* BGL-3441: Markdown styling for RAiDAR chat replies.
 *
 * The chat renderer turns the assistant's Markdown into real HTML - headings,
 * lists, tables, blockquotes, fenced code - and those elements then inherit the
 * app's page styles. Page styles are built for a full-width document, so inside
 * a chat bubble they arrive oversized: `h2` in particular picked up the global
 * `h2 { color: #00a886; }` and rendered a one-line answer under a full-width
 * brand-green banner.
 *
 * The answer is not to strip formatting - tables, lists and code are how a
 * useful answer is often best expressed - but to give the panel its own scale.
 * Everything below is sized for a bubble rather than a page, and scoped to
 * `.global-raidar-chat-host` so no page styling changes.
 *
 * Colours stay on the brand palette: headings keep the brand hues from the
 * global rules, links and table headers use them at low weight. The problem was
 * always scale, not palette.
 */
/* --- headings: section labels, not banners ------------------------------- */
.global-raidar-chat-host h1,
.global-raidar-chat-host h2,
.global-raidar-chat-host h3,
.global-raidar-chat-host h4,
.global-raidar-chat-host h5,
.global-raidar-chat-host h6 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0.9rem 0 0.3rem;
}

.global-raidar-chat-host h1,
.global-raidar-chat-host h2 {
  font-size: 1.05rem;
}

/* A heading that opens a reply should not also push it down the bubble. */
.global-raidar-chat-host h1:first-child,
.global-raidar-chat-host h2:first-child,
.global-raidar-chat-host h3:first-child,
.global-raidar-chat-host h4:first-child,
.global-raidar-chat-host h5:first-child,
.global-raidar-chat-host h6:first-child {
  margin-top: 0;
}

/* --- prose --------------------------------------------------------------- */
.global-raidar-chat-host p {
  margin: 0 0 0.6rem;
  line-height: 1.5;
}

.global-raidar-chat-host p:last-child {
  margin-bottom: 0;
}

.global-raidar-chat-host strong {
  font-weight: 600;
}

.global-raidar-chat-host hr {
  margin: 0.8rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* --- lists --------------------------------------------------------------- */
.global-raidar-chat-host ul,
.global-raidar-chat-host ol {
  margin: 0 0 0.6rem;
  padding-left: 1.25rem;
}

.global-raidar-chat-host li {
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.global-raidar-chat-host li:last-child {
  margin-bottom: 0;
}

/* Nested lists tighten rather than repeat the outer spacing. */
.global-raidar-chat-host li > ul,
.global-raidar-chat-host li > ol {
  margin: 0.2rem 0 0;
}

/* --- tables ------------------------------------------------------------- */
/*
 * Tables have to keep working - a comparison across organisations or plans is
 * genuinely tabular and a bulleted list is a worse answer. The panel is narrow,
 * though, so cells wrap instead of overflowing. Wrapping was chosen over
 * `display: block; overflow-x: auto`, which scrolls but breaks column sizing
 * and hides content behind a scrollbar users do not always notice.
 */
.global-raidar-chat-host .global-raidar-chat-markdown-table {
  width: 100%;
  margin: 0.5rem 0 0.7rem;
  font-size: 0.85rem;
  table-layout: auto;
}

.global-raidar-chat-host .global-raidar-chat-markdown-table th,
.global-raidar-chat-host .global-raidar-chat-markdown-table td {
  padding: 0.3rem 0.45rem;
  line-height: 1.4;
  vertical-align: top;
  word-break: break-word;
}

.global-raidar-chat-host .global-raidar-chat-markdown-table th {
  background: rgba(0, 168, 134, 0.08);
  font-weight: 600;
  color: inherit;
}

/* --- code --------------------------------------------------------------- */
.global-raidar-chat-host code {
  font-size: 0.85em;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
  word-break: break-word;
}

.global-raidar-chat-host pre {
  margin: 0.5rem 0 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
  line-height: 1.45;
  overflow-x: auto;
}

/* A fenced block already has the `pre` background; doubling it looks boxed-in. */
.global-raidar-chat-host pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

/* --- quotes and links --------------------------------------------------- */
.global-raidar-chat-host blockquote {
  margin: 0.5rem 0 0.7rem;
  padding: 0.1rem 0 0.1rem 0.7rem;
  border-left: 3px solid rgba(0, 168, 134, 0.35);
  color: inherit;
  font-size: inherit;
}

.global-raidar-chat-host blockquote p:last-child {
  margin-bottom: 0;
}

.global-raidar-chat-host a {
  color: #00a886;
  text-decoration: underline;
  word-break: break-word;
}

.global-raidar-chat-host a:hover,
.global-raidar-chat-host a:focus {
  color: #00795f;
}

/* ==========================================================================
   BGL-3624: subheader breadcrumbs (see template-metronic breadcrumbs.blade)
   The trail's last crumb is the page heading, so the subheader shows a small
   muted trail of ancestors above it rather than a title beside a trail that
   repeats it. BGL-3588 moved that heading down into the subheader row proper,
   where it lines up with the bookmark and the view pills, so what this wrapper
   holds now is the trail alone. Flex keeps every crumb (chevron + label)
   atomic when the trail wraps. Hover takes the brand's interactive teal: Metronic's stock
   breadcrumb hover is its own purple (#716aca), which is not this product.
   ========================================================================== */
.bg-crumb-head {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.m-subheader__breadcrumbs.m-nav--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
}

.m-subheader__breadcrumbs.m-nav--inline > .m-nav__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.m-subheader__breadcrumbs.m-nav--inline > .m-nav__item > .m-nav__link {
  padding: 0;
}

.m-subheader__breadcrumbs .bg-crumb-sep {
  font-size: 0.85em;
  padding: 0 4px;
  opacity: 0.6;
}

html .m-subheader .m-subheader__breadcrumbs.m-nav > .m-nav__item > .m-nav__link:hover > .m-nav__link-text,
html .m-subheader .m-subheader__breadcrumbs.m-nav > .m-nav__item > .m-nav__link:focus > .m-nav__link-text {
  color: var(--bg-victory-text, #007e65);
}

/* ==========================================================================
   BGL-3624: topbar quicksearch panel
   Metronic's data-scrollable init never picks this dropdown up, so the panel
   is sized here. It is tall and wide enough to show a useful slice of results,
   the scrollbar is always drawn (overlay scrollbars only appear once the
   pointer is already inside the list), and while more rows sit below the fold
   a fade over the last rows says so. Hover is the brand's interactive teal;
   Metronic's stock list-search hover is its own purple.
   ========================================================================== */
.m-list-search .m-dropdown__wrapper {
  width: 480px;
}

.m-list-search .m-dropdown__scrollable {
  max-height: min(62vh, 620px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.m-list-search .m-dropdown__scrollable::-webkit-scrollbar {
  width: 8px;
}

.m-list-search .m-dropdown__scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.m-list-search .m-dropdown__scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 1, 4, 0.22);
  border-radius: 4px;
}

.m-list-search .m-dropdown__body {
  position: relative;
}

.m-list-search .m-dropdown__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 0;
  height: 44px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.m-list-search.bg-quicksearch--overflow .m-dropdown__body::after {
  opacity: 1;
}

.bg-quicksearch__status {
  padding: 8px 20px;
  border-top: 1px solid #ebedf2;
  font-size: 12px;
  color: #74788d;
}

.m-list-search .m-list-search__result-item {
  padding: 9px 20px;
}

html .m-list-search .m-list-search__results .m-list-search__result-item:hover,
html .m-list-search .m-list-search__results .m-list-search__result-item:focus {
  background: #f4f8f7;
}

html .m-list-search .m-list-search__results .m-list-search__result-item:hover .m-list-search__result-item-text,
html .m-list-search .m-list-search__results .m-list-search__result-item:focus .m-list-search__result-item-text,
html .m-list-search .m-list-search__results .m-list-search__result-item:hover .m-list-search__result-item-icon i,
html .m-list-search .m-list-search__results .m-list-search__result-item:focus .m-list-search__result-item-icon i,
html .m-list-search .m-list-search__result-category a:hover {
  color: var(--bg-victory-text, #007e65);
}

@media (max-width: 1024px) {
  .m-list-search .m-dropdown__wrapper {
    width: auto;
  }
}
/* Dark-mode counterparts for the quicksearch panel. bog.css loads everywhere,
   and these only apply once the shell carries html.bg-dark-mode, so they are
   inert on a build without the dark theme. */
html.bg-dark-mode .m-list-search .m-dropdown__body::after {
  background: linear-gradient(to bottom, rgba(36, 37, 40, 0), var(--bg-raised, #242528));
}

html.bg-dark-mode .m-list-search .m-dropdown__scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
}

html.bg-dark-mode .bg-quicksearch__status {
  border-top-color: var(--bg-border, #2b3230);
  color: var(--bg-ink-2, #97a19d);
}

html.bg-dark-mode .m-list-search .m-list-search__results .m-list-search__result-item:hover,
html.bg-dark-mode .m-list-search .m-list-search__results .m-list-search__result-item:focus {
  background: var(--bg-hover, #1f2523);
}

html.bg-dark-mode .m-list-search .m-list-search__results .m-list-search__result-item:hover .m-list-search__result-item-text,
html.bg-dark-mode .m-list-search .m-list-search__results .m-list-search__result-item:focus .m-list-search__result-item-text,
html.bg-dark-mode .m-list-search .m-list-search__results .m-list-search__result-item:hover .m-list-search__result-item-icon i,
html.bg-dark-mode .m-list-search .m-list-search__result-category a:hover {
  color: var(--bg-teal-text, #14be9c);
}

/* ==========================================================================
   BGL-3569: the Excel filter popup, matched to the V3 grid

   The shell grids run `filterSettings: {type: 'Excel'}` (createSfGrid in
   template-metronic app.js), so the funnel opens a dialog that is three
   components stacked - a context menu (Sort A to Z / Clear Filter / Text
   Filters), a search box, and a checkbox list - over a footer of two buttons.
   Syncfusion draws every part of it in the compatibility Material idiom:
   square dialog corners, a search field that is a baseline rule turning
   #e3165b on focus, and two SHOUTING borderless flat buttons where the app
   has a primary and a secondary. The Angular grid shows the same control in
   the app's own shapes, and this is the shell catching up with it.

   Shape only. The dark colours live in bg-dark.css, because the popup is
   drawn on both themes and only one of them is wrong about colour.

   Two things about how this is written, both of which make the difference
   between a rule that works and one that reads correctly and does nothing:

   - Everything is important-pinned. The Syncfusion theme is `require`d from
     resources/js/app.js and injected by style-loader at the END of <head>, so
     it lands after every <link> in TemplateMetronicController::head_css() and
     beats an equal-specificity rule from this file on document order alone.
   - Everything is scoped by a filter class. `.e-dialog` and `.e-btn.e-flat`
     are carried by every Syncfusion dialog in the shell - the RTE prompts, the
     column chooser, the chat settings - so a rule written on those instead of
     on `.e-excelfilter` repaints the lot.

   `.e-excel-menu` is the "Text Filters" submenu. The theme gives it its own
   z-index because it is appended to <body> rather than to the dialog, so it
   cannot be reached through a descendant selector and is named separately
   everywhere below.
   ========================================================================== */
.e-excelfilter.e-dialog,
.e-checkboxfilter.e-dialog,
.e-xlflmenu.e-dialog,
.e-excel-menu.e-contextmenu {
  border-radius: 6px !important;
}

/* The corners are carried by the two painted children rather than by
   `overflow: hidden` on the dialog: the Text Filters submenu is positioned out
   of `.e-contextmenu-container`, and clipping the dialog cuts it off. */
.e-excelfilter.e-dialog .e-dlg-content,
.e-checkboxfilter.e-dialog .e-dlg-content,
.e-xlflmenu.e-dialog .e-dlg-content {
  border-radius: 6px 6px 0 0 !important;
}

.e-excelfilter.e-dialog .e-footer-content,
.e-checkboxfilter.e-dialog .e-footer-content,
.e-xlflmenu.e-dialog .e-footer-content {
  border-radius: 0 0 6px 6px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px;
  padding: 12px 16px !important;
}

/* The search field. Material draws it as a bottom rule that turns the accent
   colour on focus - the last of the #e3165b in this popup once the funnel is
   dealt with - so it does not read as a field at rest at all. A box, like
   every other input in the app. */
.e-excelfilter .e-searchbox .e-input-group,
.e-checkboxfilter .e-searchbox .e-input-group {
  border: 1px solid #d4d4d4 !important;
  border-radius: 6px !important;
  padding-left: 8px;
}

/* Material's underline is a ::before/::after pair on the wrapper, and with a
   real border around the field it reads as a stray line under the text. */
.e-excelfilter .e-searchbox .e-input-group::before,
.e-excelfilter .e-searchbox .e-input-group::after,
.e-checkboxfilter .e-searchbox .e-input-group::before,
.e-checkboxfilter .e-searchbox .e-input-group::after {
  background: transparent !important;
}

.e-excelfilter .e-searchbox .e-input-group.e-input-focus,
.e-checkboxfilter .e-searchbox .e-input-group.e-input-focus {
  border-color: #00a886 !important;
}

/* Footer buttons. A Material flat button is uppercase, borderless and
   fill-less, so OK and Cancel arrive as two links of equal weight and the
   dialog has no primary action. */
.e-excelfilter .e-footer-content .e-btn,
.e-checkboxfilter .e-footer-content .e-btn,
.e-xlflmenu .e-footer-content .e-btn {
  border-radius: 6px !important;
  text-transform: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  min-width: 72px;
  padding: 7px 16px;
}

.e-excelfilter .e-footer-content .e-btn.e-primary,
.e-checkboxfilter .e-footer-content .e-btn.e-primary,
.e-xlflmenu .e-footer-content .e-btn.e-primary {
  background: #00a886 !important;
  border: 1px solid #00a886 !important;
  color: #ffffff !important;
}

.e-excelfilter .e-footer-content .e-btn:not(.e-primary),
.e-checkboxfilter .e-footer-content .e-btn:not(.e-primary),
.e-xlflmenu .e-footer-content .e-btn:not(.e-primary) {
  background: transparent !important;
  border: 1px solid #d4d4d4 !important;
  color: #404040 !important;
}

.e-excelfilter .e-footer-content .e-btn:not(.e-primary):hover,
.e-checkboxfilter .e-footer-content .e-btn:not(.e-primary):hover,
.e-xlflmenu .e-footer-content .e-btn:not(.e-primary):hover {
  background: #f5f5f5 !important;
}

/* The funnel beside "Clear Filter" is drawn from the same SVG mask as the one
   in the header (see the block further up), which makes it a 16px block box
   inside a span the theme sized at 36px for an icon font. Centre it the way
   `.e-filtermenudiv` is centred rather than letting it sit at the top of the
   line box. */
.e-excelfilter .e-menu-item .e-menu-icon.e-icon-filter,
.e-excel-menu .e-menu-item .e-menu-icon.e-icon-filter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
