/* FVD - CSS COMPLETO | ESCALAS COMPACTAS */

body.fvd-visual {
  --fvd-header-height: 76px;
  --fvd-red: #bf202c;
  --fvd-line: #dbe1e7;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.fvd-visual #main-content {
  margin: 0;
  background-image: none;
}
body.fvd-visual #main-content > .wrapper {
  padding: 0;
  margin: 0;
}
body.fvd-visual .site-min-height {
  height: 100vh;
}
body.fvd-visual #fvd_container {
  position: relative;
  width: 100%;
}
body.fvd-visual #fvd_container > .fvd {
  top: 0;
  left: 0;
  width: 100%;
}
body.fvd-visual .fvd-visual-header {
  box-sizing: border-box;
  height: var(--fvd-header-height);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 174px 12px 24px;
  background: var(--fvd-red);
  color: #fff;
  border-bottom: 3px solid rgba(0, 0, 0, 0.12);
  text-align: left;
  position: relative;
  z-index: 20;
}
body.fvd-visual .fvd-visual-header > i {
  font-size: 26px;
  width: 32px;
  text-align: center;
  flex: 0 0 32px;
}
body.fvd-visual .fvd-visual-header h1 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.4px;
}
body.fvd-visual .fvd-visual-header p {
  margin: 5px 0 0;
  color: #fff;
  opacity: 0.85;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
body.fvd-visual .plogopreventech_container {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 30;
}
body.fvd-visual .plogopreventech {
  filter: brightness(0) invert(1);
}
body.fvd-visual #fvd_container > .fvd > .scroll-auto {
  box-sizing: border-box;
  margin-top: 0 !important;
  height: calc(100vh - var(--fvd-header-height));
  padding: 18px 14px 28px;
  vertical-align: top;
  scrollbar-width: thin;
  scrollbar-color: #aab5c0 transparent;
}
body.fvd-visual ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
body.fvd-visual ::-webkit-scrollbar-track {
  box-shadow: none;
  background: transparent;
}
body.fvd-visual ::-webkit-scrollbar-thumb {
  background: #aab5c0;
  border-radius: 6px;
}
body.fvd-visual #fvd_bombeiros .bomb-wrapper {
  vertical-align: top;
  margin-left: 7px;
  margin-right: 7px;
}
body.fvd-visual .lock-box {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.13);
}
body.fvd-visual .lock-wrapper h1 {
  font-weight: 700;
  letter-spacing: 0.2px;
}
body.fvd-visual .estado {
  border-radius: 5px;
  line-height: 1.35;
}
body.fvd-visual .viatura-wrapper {
  border: 0;
  border-radius: 8px;
  margin: 7px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}
body.fvd-visual .viatura-wrapper .pro-img-box,
body.fvd-visual .viatura-wrapper .hoverimg {
  border-radius: 8px;
}
body.fvd-visual .texto_header_container {
  border-radius: 8px 8px 0 0;
}
body.fvd-visual .texto_header_desc {
  margin-left: 10px;
  letter-spacing: 0.2px;
}
body.fvd-visual .texto_header_time {
  padding-right: 10px;
}
body.fvd-visual .texto_bottom_container {
  border-radius: 0 0 8px 8px;
}
body.fvd-visual .dropdown-menu {
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
}
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table {
  margin-bottom: 14px;
}
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table #header {
  background: #fff;
  color: #233344 !important;
}
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table th {
  border-radius: 8px;
  border: 1px solid var(--fvd-line);
}
body.fvd-visual .fvd-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding: 12px;
}
body.fvd-visual .fvd-header .fvd-center,
body.fvd-visual .fvd-header .fvd-logo {
  display: none;
}
body.fvd-visual .fvd-left {
  padding-left: 0;
  gap: 20px;
  justify-content: center;
}
body.fvd-visual .fvd-box {
  gap: 16px;
}
body.fvd-visual .fvd-box .fvd-label,
body.fvd-visual .fvd-box .fvd-label-int {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: #526374;
}
body.fvd-visual .fvd-cnt {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}
body.fvd-visual .fvd-cnt i {
  font-size: 19px;
  color: #647688;
}
body.fvd-visual .fvd-group--externos {
  border-left: 1px solid var(--fvd-line);
  padding-left: 20px;
  margin-left: 0;
}
body.fvd-visual .ocorrencia {
  margin: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;
}
body.fvd-visual .section-heading {
  background: #263849;
  font-size: 20px;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px;
  margin: 0 8px 12px;
}
body.fvd-visual .ext-strip {
  border-radius: 4px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper {
  margin: 0 0 16px !important;
  top: 0 !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
  background: #fff !important;
  color: #263849 !important;
  font-size: 20px !important;
  padding: 12px !important;
  border: 1px solid var(--fvd-line);
  border-radius: 8px !important;
}
body.fvd-visual .lock-box-equipa,
body.fvd-visual .lock-box-equipa-2cols {
  background: #304354;
  padding: 14px;
  border-radius: 8px;
  margin: 7px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
}
body.fvd-visual .lock-box-equipa > div:first-child,
body.fvd-visual .lock-box-equipa-2cols > div:first-child {
  margin-bottom: 12px;
}
body.fvd-visual #fvd_informacoes .agile-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
body.fvd-visual #fvd_informacoes .agile-list > li {
  box-sizing: border-box;
  padding: 20px;
  border-left-width: 5px !important;
  border-top-width: 1px !important;
  border-right-width: 1px !important;
  border-bottom-width: 1px !important;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  text-align: left;
}
body.fvd-visual #fvd_informacoes .agile-list > li > b {
  display: block;
  font-size: 22px !important;
}
body.fvd-visual #fvd_informacoes .agile-list > li > span {
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body.fvd-visual #fvd_informacoes .agile-detail {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
}
body.fvd-visual #fvd_pro #page-wrapper > .page-heading {
  display: none !important;
}
body.fvd-visual #fvd_pro .product-desc {
  border-radius: 0 0 8px 8px;
}
body.fvd-visual #fvd_pro .ibox {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
}
body.fvd-visual #fvd_pro .table > tbody > tr > td {
  border-color: rgba(0, 0, 0, 0.12);
}
body.fvd-visual .modal-content {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
body.fvd-visual .modal-body {
  border-radius: 10px;
  padding: 20px;
}
@media (max-width: 1100px) {
  body.fvd-visual .fvd-left {
    flex-wrap: wrap;
    gap: 12px;
  }
  body.fvd-visual .fvd-header {
    font-size: 18px;
  }
  body.fvd-visual .fvd-box {
    gap: 12px;
  }
  body.fvd-visual .fvd-int,
  body.fvd-visual .fvd-ext {
    width: auto;
    min-width: 0;
  }
  body.fvd-visual .fvd-int .fvd-box,
  body.fvd-visual .fvd-ext .fvd-box {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: auto;
  }
  body.fvd-visual .fvd-box .fvd-label-int,
  body.fvd-visual .fvd-box .fvd-label {
    width: auto;
  }
}
@media (max-width: 750px) {
  body.fvd-visual {
    --fvd-header-height: 68px;
    overflow: hidden;
  }
  body.fvd-visual .fvd-visual-header {
    padding: 10px 125px 10px 14px;
    gap: 10px;
  }
  body.fvd-visual .fvd-visual-header h1 {
    font-size: 20px;
  }
  body.fvd-visual .fvd-visual-header p {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  body.fvd-visual .fvd-visual-header > i {
    font-size: 22px;
    flex-basis: 24px;
    width: 24px;
  }
  body.fvd-visual .plogopreventech_container {
    right: 12px;
    top: 23px;
    width: 100px;
    height: 29px;
  }
  body.fvd-visual .plogopreventech {
    width: 100px;
    height: 29px;
    background-size: 100px 29px;
  }
  body.fvd-visual #fvd_container > .fvd > .scroll-auto {
    padding: 12px 6px 20px;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  body.fvd-visual .fvd-left {
    flex-direction: column;
  }
  body.fvd-visual .fvd-group--externos {
    border-left: 0;
    padding-left: 0;
  }
  body.fvd-visual .fvd-cnt {
    font-size: 21px;
  }
  body.fvd-visual .lock-box-equipa-2cols {
    min-width: 0;
    max-width: calc(100% - 14px);
    overflow-x: auto;
  }
  body.fvd-visual .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}
@media (max-width: 420px) {
  body.fvd-visual .fvd-visual-header h1 {
    font-size: 17px;
  }
  body.fvd-visual .fvd-visual-header p {
    font-size: 8px;
  }
  body.fvd-visual .fvd-box {
    gap: 8px;
  }
}
@media (max-width: 420px) {
  body.fvd-visual #fvd_pro .fvd-visual-header h1 {
    font-size: 14px;
  }
}
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table,
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table table {
  margin: 0 !important;
}
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias > table th {
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.fvd-visual #fvd_ocorrencias .fvd-header {
  position: absolute;
  top: 0;
  left: 370px;
  right: 174px;
  width: auto;
  height: var(--fvd-header-height);
  box-sizing: border-box;
  z-index: 25;
  padding: 10px 12px;
  color: #fff;
}
body.fvd-visual #fvd_ocorrencias .fvd-left {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 18px;
}
body.fvd-visual #fvd_ocorrencias .fvd-box {
  gap: 12px;
}
body.fvd-visual #fvd_ocorrencias .fvd-box .fvd-label,
body.fvd-visual #fvd_ocorrencias .fvd-box .fvd-label-int,
body.fvd-visual #fvd_ocorrencias .fvd-cnt,
body.fvd-visual #fvd_ocorrencias .fvd-cnt i {
  color: #fff;
}
body.fvd-visual #fvd_ocorrencias .fvd-group--externos {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 18px;
}
@media (max-width: 1399px) {
  body.fvd-visual #fvd_ocorrencias {
    --fvd-header-height: 132px;
  }
  body.fvd-visual #fvd_ocorrencias > .fvd-visual-header {
    align-items: flex-start;
    padding-top: 14px;
  }
  body.fvd-visual #fvd_ocorrencias > .fvd-visual-header > i {
    margin-top: 9px;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-header {
    top: 70px;
    left: 14px;
    right: 14px;
    height: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}
@media (max-width: 750px) {
  body.fvd-visual #fvd_ocorrencias {
    --fvd-header-height: 166px;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-header {
    top: 66px;
    height: 96px;
    padding: 8px 0;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-left {
    flex-direction: column;
    gap: 10px;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-group--externos {
    border-left: 0;
    padding-left: 0;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-cnt {
    font-size: 21px;
  }
  body.fvd-visual #fvd_ocorrencias .fvd-box {
    gap: 12px;
  }
}
body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 340px;
  right: 174px;
  width: auto !important;
  height: var(--fvd-header-height) !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 25;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 12px !important;
  font-size: 20px !important;
  line-height: 1.3;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > .lock-wrapper
  > div
  > strong {
  display: inline-block;
  margin-left: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 900px) {
  body.fvd-visual #fvd_equipas {
    --fvd-header-height: 116px;
  }
  body.fvd-visual #fvd_equipas > .fvd-visual-header {
    align-items: flex-start;
    padding-top: 14px;
  }
  body.fvd-visual #fvd_equipas > .fvd-visual-header > i {
    margin-top: 7px;
  }
  body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper {
    top: 68px !important;
    left: 14px;
    right: 14px;
    height: 44px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
    font-size: 18px !important;
  }
}
body.fvd-visual .fvd-status-columns {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  align-items: start;
  gap: 0;
  min-height: 100%;
  text-align: left;
}
body.fvd-visual .fvd-status-group {
  min-width: 0;
  padding: 0 16px 16px;
}
body.fvd-visual .fvd-status-others {
  border-left: 1px solid #aab5c0;
  min-height: 100%;
}
body.fvd-visual .fvd-status-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 8px 10px;
  background: #fff;
  color: #263849;
  border: 0;
  border-bottom: 1px solid #dbe1e7;
  border-radius: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
body.fvd-visual .fvd-status-title > i {
  display: none;
}
body.fvd-visual .fvd-status-items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
  min-width: 0;
}
body.fvd-visual .fvd-status-items > .bomb-wrapper,
body.fvd-visual .fvd-status-items > .viatura-wrapper {
  flex-shrink: 0;
}
body.fvd-visual .fvd-status-items:empty::after {
  content: "Sem elementos neste grupo.";
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 22px 16px;
  border-radius: 6px;
  background: #fff;
  color: #647688;
  font-size: 15px;
  text-align: center;
}
@media (max-width: 750px) {
  body.fvd-visual .fvd-status-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.fvd-visual .fvd-status-group {
    padding: 0 6px 12px;
  }
  body.fvd-visual .fvd-status-others {
    border-left: 0;
    border-top: 1px solid #aab5c0;
    padding-top: 20px;
  }
  body.fvd-visual .fvd-status-title {
    font-size: 18px;
  }
}
@media (min-width: 751px) {
  body.fvd-visual #fvd_bombeiros > .scroll-auto,
  body.fvd-visual #fvd_viaturas > .scroll-auto {
    overflow: hidden !important;
  }
  body.fvd-visual .fvd-status-columns {
    height: 100%;
    min-height: 0;
    align-items: stretch;
  }
  body.fvd-visual .fvd-status-group {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }
  body.fvd-visual .fvd-status-title {
    flex: 0 0 auto;
  }
  body.fvd-visual .fvd-status-items {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 8px;
    box-sizing: border-box;
  }
}
@media (max-width: 750px) {
  body.fvd-visual .fvd-status-items {
    max-height: 55vh;
    overflow-y: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
}
body.fvd-visual .plogopreventech_container {
  display: block !important;
}
body.fvd-visual .fvd-status-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0 0 14px;
  padding: 3px 0 7px;
  color: #101820;
  background: #fff;
}
body.fvd-visual .fvd-status-heading .fvd-status-title {
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101820;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
body.fvd-visual .fvd-status-heading .fvd-status-title > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  flex: 0 0 30px;
  border: 2px solid #86b6b7;
  border-radius: 5px;
  background: #277e80;
  color: #fff;
  font-size: 14px;
}
body.fvd-visual .fvd-status-service .fvd-status-title > i {
  background: #ce3037;
  border-color: #e99599;
}
body.fvd-visual .fvd-status-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
body.fvd-visual .fvd-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #263238;
  border-radius: 20px;
  color: #101820;
  background: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
}
body.fvd-visual .fvd-status-rule {
  flex: 1 1 30px;
  min-width: 24px;
  height: 1px;
  margin-left: 6px;
  background: #a1a8ad;
}
@media (max-width: 750px) {
  body.fvd-visual .fvd-status-heading .fvd-status-title {
    font-size: 18px;
  }
}
body.fvd-visual #fvd_bombeiros,
body.fvd-visual #fvd_viaturas {
  
}
body.fvd-visual .fvd-status-heading {
  background: transparent;
}
body.fvd-visual .fvd-status-items {
  gap: 10px;
}
body.fvd-visual .fvd-person-card,
body.fvd-visual .fvd-vehicle-card {
  box-sizing: border-box;
  flex: 0 1 280px;
  width: 280px;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 7px;
  box-shadow: 0 3px 10px rgba(31, 51, 73, 0.08);
  color: #111827;
  text-align: left;
}
body.fvd-visual .fvd-person-card {
  display: flex;
  padding: 5px;
  gap: 5px;
  min-height: 110px;
}
body.fvd-visual .fvd-person-photo {
  position: relative;
  flex: 0 0 94px;
  width: 94px;
}
body.fvd-visual .fvd-person-photo > img {
  display: block;
  width: 100%;
  height: 100px;
  object-position: center top;
  border: 3px solid var(--state);
  border-radius: 6px;
  box-sizing: border-box;
}
body.fvd-visual .fvd-person-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 9px);
  left: 0;
  padding: 9px 12px;
  width: max-content;
  max-width: 280px;
  background: #26323e;
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 3px 9px #0002;
  z-index: 40;
  pointer-events: none;
}
body.fvd-visual .fvd-person-photo:hover .fvd-person-tooltip,
body.fvd-visual .fvd-person-photo:focus .fvd-person-tooltip {
  display: block;
  bottom: auto;
  top: 4px;
  left: 4px;
}
body.fvd-visual .fvd-person-details {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.fvd-visual .fvd-person-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 0 10px;
  min-height: 64px;
}
body.fvd-visual .fvd-person-identity strong {
  font:
    800 20px/1 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -2px;
}
body.fvd-visual .fvd-person-identity img {
  display: block;
  width: 42px;
  height: 46px;
  object-fit: contain;
  border-radius: 2px;
}
body.fvd-visual .fvd-person-state {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--state);
  color: #fff;
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.25;
  min-height: 35px;
  box-sizing: border-box;
}
body.fvd-visual .fvd-person-state i {
  font-size: 19px;
  flex: none;
}
body.fvd-visual .fvd-person-state span {
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-state-fora .fvd-person-state,
body.fvd-visual .fvd-state-fora .fvd-vehicle-state {
  color: #263443;
}
body.fvd-visual .fvd-state-fora .fvd-person-photo > img {
  border-color: #adbac7;
}
body.fvd-visual .fvd-vehicle-card {
  overflow: hidden;
}
body.fvd-visual .fvd-vehicle-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  min-height: 34px;
  box-sizing: border-box;
}
body.fvd-visual .fvd-vehicle-title strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-vehicle-title time {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
body.fvd-visual .fvd-vehicle-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1.78;
  background: #e5e9ed;
}
body.fvd-visual .fvd-vehicle-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.fvd-visual .fvd-vehicle-state {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--state);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 6px #0002;
}
body.fvd-visual .fvd-vehicle-state i {
  font-size: 16px;
}
body.fvd-visual .fvd-vehicle-incident {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  background: var(--state);
  color: #fff;
}
body.fvd-visual .fvd-vehicle-incident > i {
  font-size: 20px;
}
body.fvd-visual .fvd-vehicle-incident > div {
  min-width: 0;
}
body.fvd-visual .fvd-vehicle-incident strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
}
body.fvd-visual .fvd-vehicle-incident span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-vehicle-crew {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  min-height: 30px;
  font-size: 11px;
  color: #475569;
}
body.fvd-visual .fvd-vehicle-crew > i {
  font-size: 15px;
}
body.fvd-visual .fvd-crew-slides {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-crew-slides [hidden] {
  display: none !important;
}
body.fvd-visual .fvd-crew-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 48px;
}
body.fvd-visual .fvd-crew-dots b {
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background: #b9c4cf;
}
body.fvd-visual .fvd-crew-dots b.active {
  background: var(--state);
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-card {
  flex-basis: 280px;
  width: 280px;
  min-height: 94px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-photo {
  flex-basis: 76px;
  width: 76px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-photo > img {
  height: 84px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-identity {
  min-height: 49px;
  gap: 12px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-identity strong {
  font-size: 20px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-identity img {
  width: 32px;
  height: 36px;
}
body.fvd-visual[data-bombeiros-size="pequeno"] .fvd-person-state {
  font-size: 12px;
  padding: 8px;
}
body.fvd-visual[data-viaturas-size="pequeno"] .fvd-vehicle-card {
  flex-basis: 200px;
  width: 200px;
}
@media (max-width: 420px) {
  body.fvd-visual .fvd-person-card,
  body.fvd-visual .fvd-vehicle-card {
    flex-basis: 100%;
    width: 100%;
  }
  body.fvd-visual .fvd-person-identity {
    gap: 10px;
    padding: 0 5px;
  }
  body.fvd-visual .fvd-person-identity strong {
    font-size: 20px;
  }
  body.fvd-visual .fvd-person-state {
    font-size: 12px;
    padding: 8px;
  }
}
body.fvd-visual .fvd-vehicle-horizontal {
  padding: 5px;
  width: 310px;
  flex-basis: 310px;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-main {
  display: flex;
  gap: 5px;
  min-height: 100px;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-photo {
  flex: 0 0 94px;
  width: 94px;
  height: 100px;
  aspect-ratio: auto;
  box-sizing: border-box;
  border: 3px solid var(--state);
  border-radius: 6px;
  overflow: hidden;
  background: #f1f4f6;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-title {
  flex: 1;
  min-height: 64px;
  padding: 4px 10px;
  gap: 3px;
  background: transparent;
  color: #111827;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-title strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-title time {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  margin-left: auto;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-state {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 3px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-state i {
  font-size: 19px;
  flex: none;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-state span {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-incident {
  padding: 7px 6px 3px;
  background: transparent;
  color: #475569;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-incident > i {
  font-size: 13px;
  color: var(--state);
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-incident > span {
  font-size: 12px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-crew {
  padding: 6px;
  border-top: 1px solid #edf0f3;
  margin-top: 5px;
}
body.fvd-visual .fvd-state-fora.fvd-vehicle-horizontal .fvd-vehicle-photo {
  border-color: #adbac7;
}
body.fvd-visual[data-viaturas-size="pequeno"] .fvd-vehicle-horizontal {
  width: 285px;
  flex-basis: 285px;
}
body.fvd-visual[data-viaturas-size="pequeno"]
  .fvd-vehicle-horizontal
  .fvd-vehicle-main {
  min-height: 84px;
}
body.fvd-visual[data-viaturas-size="pequeno"]
  .fvd-vehicle-horizontal
  .fvd-vehicle-photo {
  flex-basis: 76px;
  width: 76px;
  height: 84px;
}
body.fvd-visual[data-viaturas-size="pequeno"]
  .fvd-vehicle-horizontal
  .fvd-vehicle-title {
  min-height: 49px;
  padding: 3px 8px;
}
body.fvd-visual[data-viaturas-size="pequeno"]
  .fvd-vehicle-horizontal
  .fvd-vehicle-title
  strong {
  font-size: 20px;
}
body.fvd-visual[data-viaturas-size="pequeno"]
  .fvd-vehicle-horizontal
  .fvd-vehicle-state {
  font-size: 12px;
  padding: 8px;
}
@media (max-width: 420px) {
  body.fvd-visual .fvd-vehicle-horizontal,
  body.fvd-visual[data-viaturas-size="pequeno"] .fvd-vehicle-horizontal {
    flex-basis: 100%;
    width: 100%;
  }
  body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-title {
    padding: 3px 6px;
  }
  body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-title strong {
    font-size: 20px;
  }
  body.fvd-visual .fvd-vehicle-horizontal .fvd-vehicle-state {
    font-size: 12px;
    padding: 8px;
  }
}
body.fvd-visual #fvd_bombeiros .fvd-person-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
body.fvd-visual #fvd_bombeiros .fvd-person-identity > strong {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
body.fvd-visual #fvd_bombeiros .fvd-person-identity > img {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0;
  object-fit: contain;
}
body.fvd-visual .fvd-status-columns.fvd-status-only-others {
  grid-template-columns: minmax(0, 1fr);
}
body.fvd-visual
  .fvd-status-columns.fvd-status-only-others
  > .fvd-status-service {
  display: none;
}
body.fvd-visual .fvd-status-columns.fvd-status-only-service {
  grid-template-columns: minmax(0, 1fr);
}
body.fvd-visual
  .fvd-status-columns.fvd-status-only-service
  > .fvd-status-others {
  display: none;
}

/* CRONOLOGIA DAS ESCALAS */

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline {
  --fvd-timeline-label-width: 210px;
  --fvd-timeline-line: #dbe1e7;
  margin: 4px 8px 22px;
  padding: 16px;
  overflow-x: auto;
  color: #263849;
  text-align: left;
  background: #fff;
  border: 1px solid var(--fvd-line, #dbe1e7);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-width: 850px;
  margin-bottom: 12px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-heading
  > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-heading
  strong {
  font-size: 20px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-heading span,
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-heading
  small {
  color: #687987;
  font-size: 13px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-ruler,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-row-head {
  display: grid;
  grid-template-columns: var(--fvd-timeline-label-width) minmax(640px, 1fr);
  gap: 12px;
  min-width: 850px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-ruler {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--fvd-timeline-line);
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-hours,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-lane {
  position: relative;
  min-width: 640px;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(8.333333% - 1px),
    var(--fvd-timeline-line) calc(8.333333% - 1px),
    var(--fvd-timeline-line) 8.333333%
  );
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-hours {
  height: 30px;
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 100% 100%;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-hours
  > span {
  position: absolute;
  top: 5px;
  transform: translateX(-50%);
  color: #687987;
  font-size: 11px;
  white-space: nowrap;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-hours
  > span:first-child {
  transform: none;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-hours
  > .fvd-timeline-last-hour {
  right: 0;
  left: auto;
  transform: none;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-row {
  padding: 10px 0 12px;
  border-bottom: 1px solid #edf0f3;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-row-head {
  min-height: 46px;
  align-items: center;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-label
  > strong {
  color: #263849;
  font-size: 16px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-label > span,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-station {
  color: #687987;
  font-size: 12px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-station {
  font-weight: 700;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-lane {
  height: 38px;
  overflow: visible;
  border-radius: 5px;
  background-color: #f4f6f8;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-bar {
  position: absolute;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 22px;
  height: 28px;
  overflow: hidden;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: #bf202c;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-continuation {
  color: #9b2630;
  background: #f7dadd;
  border: 1px dashed #bf202c;
  box-shadow: none;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-people {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 7px;
  grid-column: 2;
  min-height: 44px;
  margin: 8px 0 0 calc(var(--fvd-timeline-label-width) + 12px);
  padding: 8px;
  background: #f7f8fa;
  border: 1px solid #edf0f3;
  border-radius: 7px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person {
  flex: 0 0 208px;
  box-sizing: border-box;
  width: 208px !important;
  margin: 0 !important;
  text-align: left;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-person
  .lock-box {
  box-sizing: border-box;
  min-height: 48px;
  height: auto !important;
  padding: 6px !important;
  border-radius: 6px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-rank {
  flex: 0 0 25px;
  width: 25px;
  max-height: 30px;
  object-fit: contain;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-photo {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-identity {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-identity
  strong {
  color: #fff;
  font-size: 15px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-service {
  padding: 3px 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: #f60;
  border-radius: 4px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-role {
  margin: 3px 0 0 41px;
  font-size: 11px;
  text-align: left;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-empty {
  align-self: center;
  color: #687987;
  font-size: 12px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-unmapped {
  margin: 12px 0 0;
  padding: 12px;
  background: #f7f8fa;
  border: 1px solid #edf0f3;
  border-radius: 7px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-unmapped-title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 700px) {
  body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline {
    margin-right: 4px;
    margin-left: 4px;
    padding: 12px;
  }
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-unmapped
  > strong {
  display: block;
  margin-bottom: 8px;
  color: #263849;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-unmapped-group
  + .fvd-timeline-unmapped-group {
  margin-top: 12px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-unmapped-group
  > div:first-child {
  color: #263849;
  font-size: 13px;
}
body.fvd-visual #fvd_equipas > .scroll-auto {
  box-sizing: border-box;
  height: calc(100vh - var(--fvd-header-height)) !important;
  margin-top: 0 !important;
  padding: 18px 14px 28px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline {
  --fvd-timeline-label-width: 180px;
  box-sizing: border-box;
  min-width: 0;
  overflow: visible;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-heading,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-ruler,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-row-head {
  min-width: 0;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-ruler,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-row-head {
  grid-template-columns: var(--fvd-timeline-label-width) minmax(0, 1fr);
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-hours,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-lane {
  min-width: 0;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-people {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  width: calc(100% - var(--fvd-timeline-label-width) - 12px);
  min-height: 44px;
  height: auto;
  max-height: none;
  margin: 8px 0 0 calc(var(--fvd-timeline-label-width) + 12px);
  padding: 8px;
  overflow: visible;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person {
  flex: 0 1 208px;
  box-sizing: border-box;
  width: 208px !important;
  max-width: 100%;
  min-width: 160px;
  margin: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-person
  .lock-box {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  height: auto !important;
  padding: 5px 7px !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dbe1e7;
  border-left: 4px solid var(--card-accent, #bf202c);
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(31, 51, 73, 0.08);
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person-main {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  gap: 7px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-photo {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: cover;
  border: 1px solid #dbe1e7;
  border-radius: 50%;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-rank {
  flex: 0 0 25px;
  width: 25px;
  max-height: 30px;
  object-fit: contain;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 5px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-identity
  > strong {
  min-width: 0;
  overflow: hidden;
  color: #263849;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-role {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 7px;
  color: var(--role-color, #526374) !important;
  background: #eef2f5;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-service {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: #bf202c;
  background: #fff0f1;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.2;
}
@media (max-width: 700px) {
  body.fvd-visual #fvd_equipas > .scroll-auto {
    padding: 12px 6px 20px;
  }
  body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline {
    --fvd-timeline-label-width: 105px;
    margin-right: 4px;
    margin-left: 4px;
    padding: 10px;
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    .fvd-timeline-heading
    small {
    display: none;
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    .fvd-timeline-hours
    > span {
    font-size: 9px;
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    .fvd-timeline-hours
    > span:nth-child(even):not(:last-child) {
    display: none;
  }
  body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person {
    flex-basis: 175px;
  }
}

/* ESCALAS DIARIAS - CARTOES COMPACTOS */
body.fvd-visual #mylist_filter_Container_fvd_equipas {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 12px;
  box-sizing: border-box;
  padding: 16px 14px 32px !important;
  text-align: left !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols) {
  --fvd-grupo-accent: #bf202c;
  position: relative !important;
  display: flex !important;
  flex: 0 0 268px;
  flex-direction: column;
  box-sizing: border-box;
  width: 268px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 7px !important;
  vertical-align: top;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid #dce4ed;
  border-top: 3px solid var(--fvd-grupo-accent);
  border-radius: 10px !important;
  box-shadow: 0 4px 13px rgba(28, 48, 68, 0.1);
  overflow: hidden;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols):has(
    > div:first-child .fa-cog
  ) {
  --fvd-grupo-accent: #397e97;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-box-equipa-2cols {
  display: grid !important;
  flex-basis: 548px;
  width: 548px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 0 5px !important;
  padding: 10px 11px !important;
  background: #304354;
  border-bottom: 1px solid #253648;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > .lock-box-equipa-2cols
  > div:first-child {
  grid-column: 1 / -1;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  :is(table, tbody) {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td {
  display: block;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  border: 0;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td:empty {
  display: none !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td:first-child {
  flex: 1 1 auto;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td
  > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  font-size: 14px !important;
  line-height: 1.25;
  font-weight: 700 !important;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td:first-child
  > span {
  color: #fff !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td
  > span
  > i {
  flex: none;
  font-size: 14px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > div:first-child
  td:not(:first-child)
  > span {
  flex-shrink: 0;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 11px !important;
  white-space: nowrap;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper {
  position: relative !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  max-width: none;
  height: auto !important;
  margin: 2px 8px !important;
  padding: 0 !important;
  text-align: left !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 6px;
  row-gap: 0;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 40px;
  margin: 0 !important;
  padding: 3px 7px 3px 10px !important;
  border: 1px solid #dbe3ec;
  border-radius: 6px !important;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.91),
    rgba(255, 255, 255, 0.91)
  ) !important;
  box-shadow: 0 1px 3px rgba(34, 52, 70, 0.04) !important;
  text-align: left !important;
  transition: box-shadow 0.18s ease;
  overflow: visible;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background-color: inherit;
  border-radius: 6px 0 0 6px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper:hover
  > .lock-box {
  box-shadow: 0 3px 9px rgba(31, 51, 73, 0.13) !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child {
  display: contents !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child
  :is(table, tbody) {
  display: contents !important;
  border: 0;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child
  tr {
  display: contents !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child
  td {
  display: block;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child
  td:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 34px !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > :is(.lock-box-equipa, .lock-box-equipa-2cols)
  > .bomb-wrapper
  > .lock-box
  > div:first-child
  td:first-child
  > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 32px;
  margin: 0 !important;
  padding: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  img.popovers {
  display: block;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #e9eef7;
  box-shadow: 0 0 0 1px #c8d5e3;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  td:first-child:has(img#patente)
  > div::before {
  content: "";
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid #cbd9ed;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #648dd1 0 5px, transparent 5.5px),
    radial-gradient(
      ellipse 15px 11px at 50% 92%,
      #648dd1 0 10px,
      transparent 10.5px
    ),
    #e8f0fb;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  img#patente {
  position: absolute !important;
  top: 5px !important;
  right: 7px !important;
  left: auto !important;
  width: 15px !important;
  height: 26px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 1px !important;
  object-fit: contain;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper:has(img#patente)
  .lock-box
  > div:first-child
  td:nth-child(2) {
  padding-right: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper:has(img#patente)
  .lock-box
  > div:first-child
  td:nth-child(3) {
  margin-right: 15px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:first-child
  td:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:first-child
  td:nth-child(2)
  > div {
  margin: 0 !important;
  padding: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:first-child
  td:nth-child(2)
  span {
  display: block;
  max-width: 100%;
  color: #20354b !important;
  font-size: 14px !important;
  line-height: 1.15;
  font-weight: 600 !important;
  overflow-wrap: anywhere;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:first-child
  td:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / 3;
  max-width: 78px;
  margin-left: auto;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .bomb-wrapper .estado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 78px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 1px solid #f6cda8 !important;
  border-radius: 4px !important;
  background: #fff2e7 !important;
  color: #a84b0d !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
  box-shadow: none !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .estado
  > span {
  color: #a84b0d !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .estado::before {
  content: "\f111";
  flex: 0 0 auto;
  margin-right: 4px;
  color: #ee7929;
  font: 7px FontAwesome;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .estado:empty::after {
  content: "ServiÃ§o";
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:nth-child(2) {
  display: block;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:nth-child(2)
  :is(table, tbody, tr) {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .lock-box
  > div:nth-child(2)
  td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .bomb-wrapper .funcoes {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 !important;
  padding: 1px 5px !important;
  background: #edf2f7;
  border-radius: 3px;
  font-size: 10px !important;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .bomb-wrapper
  .funcoes
  strong {
  font-weight: 600 !important;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > .lock-box-equipa-2cols
  > .bomb-wrapper {
  min-width: 0;
  margin-left: 5px !important;
  margin-right: 5px !important;
}

/* BOMBEIROS DA CRONOLOGIA MAIS COMPACTOS */

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person {
  flex: 0 1 180px;
  width: 180px !important;
  min-width: 145px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-person
  .lock-box {
  min-height: 40px;
  padding: 4px 6px !important;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person-main {
  min-height: 30px;
  gap: 6px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-photo {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}
body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  .fvd-timeline-identity
  > strong {
  font-size: 13px;
}

/* RESPONSIVIDADE */

@media (max-width: 700px) {
  body.fvd-visual #mylist_filter_Container_fvd_equipas {
    justify-content: center;
    padding: 12px 8px 24px !important;
    gap: 10px;
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    > :is(.lock-box-equipa, .lock-box-equipa-2cols) {
    flex: 0 1 min(100%, 390px);
    width: min(100%, 390px) !important;
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    > .lock-box-equipa-2cols {
    grid-template-columns: minmax(0, 1fr);
  }
  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    > .lock-box-equipa-2cols
    > div:first-child {
    grid-column: 1;
  }
  body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-person {
    flex-basis: 170px;
    min-width: 140px;
  }
}
@media (max-width: 420px) {
  body.fvd-visual #fvd_equipas > .fvd-visual-header p {
    max-width: 185px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.fvd-visual #mylist_filter_Container_fvd_equipas .bomb-wrapper .lock-box {
    transition: none;
  }
}

/* ===============================================================
   FVD - VIATURAS FORA DE SERVICO: FOTO TOTAL + FAIXA DE ESTADO
   Regra exclusiva: #fvd_viaturas_restantes
   Mantem os cartoes em servico como estavam (horizontal).
   Atributo de tamanho recebido do PHP: grande / pequeno.
   Pequeno corresponde ao tamanho normal configurado.
   =============================================================== */

/* Normal: compacto. A fotografia ocupa toda a largura do cartao. */
body.fvd-visual #fvd_viaturas_restantes {
  --fvd-restantes-width: 118px;
  --fvd-restantes-label-font: 12px;
  --fvd-restantes-label-height: 32px;
  --fvd-restantes-gap: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  gap: var(--fvd-restantes-gap);
}

/* Grande: maior imagem e faixa, sem alterar os cartoes em servico. */
body.fvd-visual[data-viaturas-size="grande"] #fvd_viaturas_restantes {
  --fvd-restantes-width: 136px;
  --fvd-restantes-label-font: 15px;
  --fvd-restantes-label-height: 41px;
  --fvd-restantes-gap: 11px;
}

/* Cartao vertical: sem margens nem espacos interiores. */
body.fvd-visual
  #fvd_viaturas_restantes
  > .fvd-vehicle-card.fvd-vehicle-horizontal {
  position: relative;
  display: flex;
  flex: 0 0 var(--fvd-restantes-width) !important;
  flex-direction: column;
  box-sizing: border-box;
  width: var(--fvd-restantes-width) !important;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe6ed;
  border-radius: 10px;
  background: #e8edf2;
  box-shadow: 0 2px 8px rgba(30, 48, 66, 0.1);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.18s ease;
}

body.fvd-visual
  #fvd_viaturas_restantes
  > .fvd-vehicle-card.fvd-vehicle-horizontal:hover {
  box-shadow: 0 5px 14px rgba(30, 48, 66, 0.17);
}

/* Disposicao: imagem por cima, faixa com nome por baixo. */
body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  gap: 0;
}

/* Area de imagem ocupa 100% da largura e e quadrada. */
body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-photo {
  position: relative;
  display: block;
  flex: 0 0 auto !important;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e8edf2;
  overflow: hidden;
}

/* A foto ou imagem por defeito preenche totalmente a area. */
body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-photo > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover;
  object-position: center;
}

body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-details {
  display: flex;
  flex: 0 0 auto !important;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0;
}

/* Faixa inferior do nome: texto centrado e branco. */
body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-title {
  display: flex;
  flex: 0 0 auto !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--fvd-restantes-label-height) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 5px !important;
  gap: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: #738194 !important;
  color: #fff !important;
  text-align: center;
}

body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-title strong {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: #fff !important;
  font-size: var(--fvd-restantes-label-font) !important;
  font-weight: 600 !important;
  line-height: 1.17;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

/* Disponivel: faixa verde. */
body.fvd-visual
  #fvd_viaturas_restantes
  .fvd-state-disponivel
  .fvd-vehicle-title {
  background: #369749 !important;
}

/* INOP (reparacao, inactivo, abatido): faixa vermelha. */
body.fvd-visual
  #fvd_viaturas_restantes
  .fvd-state-indisponivel
  .fvd-vehicle-title {
  background: #dc3835 !important;
}

/* Estado nao identificado: faixa cinzenta, sem atribuir um falso estado. */
body.fvd-visual #fvd_viaturas_restantes .fvd-state-fora .fvd-vehicle-title {
  background: #67788a !important;
}

/* Mantem o texto de estado acessivel sem mostrar outra faixa. */
body.fvd-visual #fvd_viaturas_restantes .fvd-vehicle-state {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 360px) {
  body.fvd-visual #fvd_viaturas_restantes {
    --fvd-restantes-gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fvd-visual
    #fvd_viaturas_restantes
    > .fvd-vehicle-card.fvd-vehicle-horizontal {
    transition: none;
  }
}

/* ================================================================
   FVD | OCORRENCIAS ATIVAS - CARTOES COMPACTOS
   Apenas apresentacao. Nao altera JS, PHP, queries ou outros paineis.
   A cor da faixa superior continua a vir de element.background_header.
   ================================================================ */

body.fvd-visual #fvd_ocorrencias {
  --oco-gap: 12px;
  --oco-card-width: 292px;
  --oco-ink: #15243d;
  --oco-muted: #596b80;
  --oco-orange: #171717;
}

/* O scroll fica no painel geral, nao em cada lista de ocorrencias. */
body.fvd-visual #mylist_filter_Container_fvd_ocorrencias {
  box-sizing: border-box;
  height: calc(100vh - var(--fvd-header-height)) !important;
  padding: 14px 14px 30px !important;
  margin-top: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  text-align: left !important;
  -webkit-overflow-scrolling: touch;
}

body.fvd-visual #fvd_ocorrencias :is(.layout-desktop, .layout-mobile) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  overflow: visible !important;
}

/* Na versao desktop, remover apenas a tabela que repartia a lista
   em metades de largura fixa. A divisao entre normais e
   significativas continua a existir, em blocos a toda a largura. */
body.fvd-visual #fvd_ocorrencias .layout-desktop > table,
body.fvd-visual #fvd_ocorrencias .layout-desktop > table > tbody,
body.fvd-visual #fvd_ocorrencias .layout-desktop > table > tbody > tr {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
}

body.fvd-visual #fvd_ocorrencias .layout-desktop > table > tbody > tr > td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  vertical-align: top;
}

/* Evitar scroll interno das caixas table_height (geradas pelo JS). */
body.fvd-visual #fvd_ocorrencias .table_height {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0;
}

/* Grelha fluida, 5 colunas num ecran grande com espaco suficiente. */
body.fvd-visual #fvd_ocorrencias .container_divs {
  display: grid !important;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, var(--oco-card-width)), 1fr)
  );
  align-content: start;
  align-items: start;
  justify-items: stretch;
  column-gap: var(--oco-gap);
  row-gap: var(--oco-gap);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 16px;
}

body.fvd-visual #fvd_ocorrencias .container_divs > .container_ocorrencia {
  display: block;
  position: relative;
  float: none !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.fvd-visual
  #fvd_ocorrencias
  .container_divs
  > .container_ocorrencia
  > .ocorrencia {
  position: relative;
  display: block;
  float: none !important;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 0 5px;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(32, 52, 74, 0.09) !important;
  overflow: hidden;
  text-align: left;
  transition: box-shadow 0.15s ease;
}

body.fvd-visual
  #fvd_ocorrencias
  .container_divs
  > .container_ocorrencia
  > .ocorrencia:hover {
  box-shadow: 0 6px 18px rgba(32, 52, 74, 0.14) !important;
}

/* Repor tabela do proprio card, sem estilos globais do cabecalho. */
body.fvd-visual #fvd_ocorrencias .container_ocorrencia > .ocorrencia > table {
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
  color: var(--oco-ink) !important;
  font-size: 13px !important;
  font-weight: 500;
}

body.fvd-visual
  #fvd_ocorrencias
  .container_ocorrencia
  > .ocorrencia
  > table
  > tbody
  > tr
  > td {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  vertical-align: top;
  border: none;
}

/* ================================================================
   CABECALHO DO CARD
   O bloco original mantem o background-color dinamico.
   Um gradiente branco so cobre a area abaixo da hora/data.
   ================================================================ */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"] {
  position: relative;
  display: grid !important;
  grid-template-columns: 37px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--oco-ink) !important;
  background-image: linear-gradient(
    to bottom,
    transparent 0 31px,
    #fff 31px
  ) !important;
  border-radius: 9px 9px 0 0 !important;
  overflow: hidden;
  text-align: left !important;
}

/* Hora e data: faixa compacta com a cor original da ocorrencia. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="display:flex"] {
  display: flex !important;
  grid-column: 1 / -1;
  grid-row: 1;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box;
  width: 100%;
  height: 31px;
  min-height: 31px;
  margin: 0 !important;
  padding: 5px 10px;
  color: #fff !important;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="display:flex"]
  > div {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: auto !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="display:flex"]
  > div:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0 !important;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="display:flex"]
  i {
  padding: 0 5px 0 0 !important;
  font-size: 13px !important;
}

/* Ocorrencias em que o endpoint nao fornece hora. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]:not(:has(> div[style*="display:flex"])) {
  grid-template-rows: auto;
  background: #fff !important;
}

/* Icone da ocorrencia. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="float:left"] {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  align-items: flex-start;
  justify-content: center;
  float: none !important;
  box-sizing: border-box;
  width: 37px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 10px 0 0 7px !important;
  text-align: center;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="float:left"]
  .fa-bullhorn {
  padding: 0 !important;
  color: var(--oco-orange) !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="padding-left:55px"] {
  display: block;
  grid-column: 2;
  grid-row: 2;
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
  padding: 8px 9px 9px 3px !important;
  color: var(--oco-ink) !important;
  text-align: left !important;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="padding-left:55px"]
  > div {
  position: static !important;
  top: auto !important;
  box-sizing: border-box;
  max-width: 100%;
  height: auto !important;
  margin: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Numero da ocorrencia. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="padding-left:55px"]
  > div:first-child {
  color: #11213f !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.13;
  letter-spacing: -0.35px;
}

body.fvd-visual #fvd_ocorrencias .ocorrencia .fa-map-marker {
  color: var(--oco-orange) !important;
  font-size: 14px !important;
}

/* Classificacao, destacada num pequeno indicador. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="padding-left:55px"]
  > div:nth-child(2) {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 4px 0 !important;
  padding: 3px 9px;
  border-radius: 14px;
  /* background: #fff0da; */
  /* color: #a34c09 !important; */
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.24 !important;
}

/* Localidade/morada, se estiver presente. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:first-child
  > td
  > div[style*="min-height:"]
  > div[style*="padding-left:55px"]
  > div:nth-child(3) {
  display: block;
  margin-top: 5px !important;
  color: #50647b !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  font-weight: 500;
}

/* Estado de alerta extra: conservar a cor recebida e reduzir o espaco. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  > table
  > tbody
  > tr:not(:first-child):has(> td > div[style*="background-color:"])
  > td
  > div {
  display: inline-block;
  max-width: calc(100% - 16px);
  margin: 3px 8px !important;
  padding: 3px 8px !important;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

/* ================================================================
   CONTADORES DE MEIOS - 2 INTERNOS + 3 EXTERNOS
   Mantidos os 5 valores originais e a ordem do endpoint.
   ================================================================ */
body.fvd-visual #fvd_ocorrencias .ocorrencia .ext-strip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  gap: 4px !important;
  max-width: 100%;
  margin: 5px 1px 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--oco-ink) !important;
  vertical-align: middle;
}

body.fvd-visual #fvd_ocorrencias .ocorrencia .ext-strip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  box-sizing: border-box;
  min-width: 0;
  height: 25px;
  margin: 0;
  padding: 3px 5px;
  border: 1px solid #edf0f4;
  border-radius: 5px;
  background: #f1f4f8;
  color: #25354c !important;
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 800;
  white-space: nowrap;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .ext-strip
  > span
  > :is(i, .icon-sm),
body.fvd-visual #fvd_ocorrencias .ocorrencia .ext-strip > span > span.icon-sm {
  position: static !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  color: var(--oco-orange) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body.fvd-visual #fvd_ocorrencias .ocorrencia .ext-divider {
  box-sizing: border-box;
  width: calc(100% - 18px);
  height: 1px;
  margin: 5px 9px 4px !important;
  border-radius: 0;
  opacity: 0.35;
}

/* ================================================================
   VIATURAS E GUARNICAO - CODIGOS LEGIVEIS, SEM BLOQUEAR DADOS
   ================================================================ */
body.fvd-visual #fvd_ocorrencias .ocorrencia .container_viaturas {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap !important;
  align-items: stretch;
  justify-content: flex-start !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  gap: 5px !important;
  margin: 0;
  padding: 0 8px 5px;
  text-align: left;
}

body.fvd-visual #fvd_ocorrencias .ocorrencia .container_viaturas > .viatura {
  display: block;
  position: relative;
  float: none !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 5px 7px !important;
  border-radius: 6px;
  background: #f7f9fb;
  color: inherit;
  text-align: left !important;
  overflow-wrap: anywhere;
}

/* Identificador de corpo de bombeiros externo (se existir). */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="background-color"] {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #35435a;
  font-size: 10px !important;
  line-height: 1.3;
  text-align: left;
}

/* Linha do icone e nome da viatura. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:22px"] {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 23px;
  padding: 0 !important;
  gap: 6px;
  text-align: left;
  font-size: 14px !important;
  line-height: 1.2;
  font-weight: 800;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:22px"]
  > span:first-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:22px"]
  img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block;
  width: 29px;
  height: 23px !important;
  max-width: 29px !important;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:22px"]
  > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Cada bombeiro/elemento numa pequena etiqueta. */
body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:20px"] {
  position: static !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 24px;
  margin: 4px 4px 0 0 !important;
  padding: 2px 4px !important;
  gap: 3px;
  border-radius: 5px;
  background: #ecf1f6;
  color: #23344d;
  font-size: 12px !important;
  line-height: 1.2;
  vertical-align: top;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:20px"]
  > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

body.fvd-visual #fvd_ocorrencias .ocorrencia .container_viaturas .patente_oco {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block;
  width: 13px !important;
  height: 20px !important;
  min-width: 13px;
  max-width: 13px !important;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 1px;
  object-fit: contain;
}

body.fvd-visual
  #fvd_ocorrencias
  .ocorrencia
  .container_viaturas
  > .viatura
  > div[style*="font-size:20px"]
  > span:last-child {
  box-sizing: border-box;
  max-width: calc(100% - 15px);
  min-width: 0;
  margin-left: 1px !important;
  padding: 2px 4px !important;
  border-width: 0 !important;
  border-radius: 3px !important;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Titulo das ocorrencias significativas, quando existentes. */
body.fvd-visual #fvd_ocorrencias .sig-panel {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
}

body.fvd-visual #fvd_ocorrencias .sig-panel > table {
  margin: 0 0 10px !important;
}

body.fvd-visual #fvd_ocorrencias .section-heading {
  margin: 0 0 8px !important;
  padding: 8px 13px !important;
  border-left: 4px solid #bf202c;
  border-radius: 5px;
  background: #fff !important;
  color: #25384d !important;
  font-size: 16px !important;
  line-height: 1.3;
  text-align: left;
  font-weight: 600 !important;
}

/* Tablets: 2/3 colunas. Mobile: 1 coluna, sem scroll horizontal. */
@media (max-width: 1160px) {
  body.fvd-visual #fvd_ocorrencias {
    --oco-card-width: 270px;
    --oco-gap: 10px;
  }
}

@media (max-width: 750px) {
  body.fvd-visual #fvd_ocorrencias {
    --oco-card-width: 265px;
    --oco-gap: 9px;
  }

  body.fvd-visual #mylist_filter_Container_fvd_ocorrencias {
    padding: 11px 9px 24px !important;
  }
}

@media (max-width: 580px) {
  body.fvd-visual #fvd_ocorrencias {
    --oco-card-width: 100%;
  }

  body.fvd-visual #fvd_ocorrencias .container_divs {
    grid-template-columns: minmax(0, 1fr);
  }

  body.fvd-visual
    #fvd_ocorrencias
    .ocorrencia
    > table
    > tbody
    > tr:first-child
    > td
    > div[style*="min-height:"]
    > div[style*="padding-left:55px"]
    > div:first-child {
    font-size: 19px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fvd-visual
    #fvd_ocorrencias
    .container_divs
    > .container_ocorrencia
    > .ocorrencia {
    transition: none;
  }
}

/* FVD ESCALAS - ESPACAMENTO DO CABECALHO */

body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 24px;
  text-align: center;
}

body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > .lock-wrapper
  > div
  > strong {
  margin-left: 0 !important;
  white-space: nowrap;
}

body.fvd-visual
  #mylist_filter_Container_fvd_equipas
  > .lock-wrapper
  > div
  > span {
  float: none !important;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 7px 16px !important;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
    flex-wrap: wrap;
    gap: 6px 16px;
  }
}

@media (max-width: 420px) {
  body.fvd-visual #mylist_filter_Container_fvd_equipas > .lock-wrapper > div {
    gap: 4px 10px;
    padding: 0 4px !important;
    font-size: 15px !important;
  }

  body.fvd-visual
    #mylist_filter_Container_fvd_equipas
    > .lock-wrapper
    > div
    > span {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
}

/* Contraste automatico dos titulos dos grupos Bombeiros/Viaturas.
   A classe fvd-fundo-escuro e aplicada no fvd.php a partir da cor efetiva
   do fundo configurado. Nao modifica as cores dos estados nem dos cartoes. */
body.fvd-visual.fvd-fundo-escuro #fvd_bombeiros .fvd-status-heading .fvd-status-title,
body.fvd-visual.fvd-fundo-escuro #fvd_viaturas .fvd-status-heading .fvd-status-title {
  color: #fff;
}

body.fvd-visual.fvd-fundo-escuro #fvd_bombeiros .fvd-status-heading .fvd-status-rule,
body.fvd-visual.fvd-fundo-escuro #fvd_viaturas .fvd-status-heading .fvd-status-rule {
  background: rgba(255, 255, 255, 0.65);
}


/* FVD Escalas - turno real de cada equipa (codigo e horario). */
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao > .fvd-equipa-topo {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  gap: 5px 9px;
  padding: 10px 11px 8px;
  margin: 0 0 6px;
  background: #f2f6fa !important;
  border-bottom: 1px solid #e0e8f0;
  text-align: left;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-identificacao {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  min-width: 0;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-nome {
  font: 700 14px/19px Arial, Helvetica, sans-serif;
  color: #263849;
  overflow-wrap: anywhere;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-nome .fa {
  color: #3c75b3;
  margin-right: 4px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-quartel {
  color: #6d7c90;
  font: 600 10px/15px Arial, Helvetica, sans-serif;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-turno {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid #bcd9f1;
  border-radius: 5px;
  background: #eaf5ff;
  color: #135b95;
  white-space: nowrap;
  font: 600 11px/15px Arial, Helvetica, sans-serif;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-turno strong {
  font-weight: 800;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-turno small {
  color: #476b89;
  font-size: 10px;
}
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-sem-elementos {
  display: block;
  width: 100%;
  padding: 13px 10px;
  text-align: center;
  color: #72839a;
  background: #fff;
  font: 12px/17px Arial, Helvetica, sans-serif;
}


/* FVD Escalas: cabeçalho consistente; cor real do turno SOMENTE enquanto ativo. */
body.fvd-visual #mylist_filter_Container_fvd_equipas > :is(.lock-box-equipa, .lock-box-equipa-2cols):not(.fvd-turno-ativo) {
  --fvd-grupo-accent: #c6d3e2;
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo {
  --fvd-grupo-accent: var(--fvd-turno-cor, #3079d4);
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo > .fvd-equipa-topo {
  background: var(--fvd-turno-cor, #3079d4) !important;
  color: var(--fvd-turno-texto, #fff) !important;
  border-bottom-color: rgba(0, 0, 0, .14);
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo :is(.fvd-equipa-nome, .fvd-equipa-nome .fa, .fvd-equipa-quartel) {
  color: var(--fvd-turno-texto, #fff) !important;
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo .fvd-equipa-quartel {
  opacity: 1;
}

/* Manter o MESMO contraste nos nomes, icones e na etiqueta do horario.
   Em fundos claros: preto. Em fundos muito escuros: branco. */
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo .fvd-equipa-turno {
  color: var(--fvd-turno-texto, #fff) !important;
  border-color: currentColor;
  background: var(--fvd-turno-badge-bg, rgba(0, 0, 0, .14));
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-equipa-cartao.fvd-turno-ativo .fvd-equipa-turno :is(i, strong, small) {
  color: inherit !important;
  opacity: 1;
}

/* Os grupos sem turno de equipa (ex.: TST) usam o mesmo topo neutro. */
body.fvd-visual #mylist_filter_Container_fvd_equipas > :is(.lock-box-equipa, .lock-box-equipa-2cols):not(.fvd-equipa-cartao) > div:first-child {
  background: #f2f6fa !important;
  border-bottom: 1px solid #e0e8f0;
  color: #24364d;
}

body.fvd-visual #mylist_filter_Container_fvd_equipas > :is(.lock-box-equipa, .lock-box-equipa-2cols):not(.fvd-equipa-cartao) > div:first-child td:first-child > span {
  color: #24364d !important;
}

body.fvd-visual #mylist_filter_Container_fvd_equipas > :is(.lock-box-equipa, .lock-box-equipa-2cols):not(.fvd-equipa-cartao) > div:first-child td:not(:first-child) > span {
  color: #64748b !important;
  border-color: #dbe4ee;
  background: #eaf1f8;
}

body.fvd-visual #mylist_filter_Container_fvd_equipas .bomb-wrapper .funcoes,
body.fvd-visual #mylist_filter_Container_fvd_equipas .bomb-wrapper .funcoes strong,
body.fvd-visual #mylist_filter_Container_fvd_equipas .fvd-timeline-role {
    color: #263849 !important;
}