@font-face {
  font-family: "engrezw03-mediumregular";
  src: url("engrez_w03_medium-webfont.woff2") format("woff2"), url("engrez_w03_medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* $primary-color: #096c53; */
:root {
  --primary-color: #7d9e1d;
  --primary-color-light: #8eb421;
  --primary-color-dark: #6c8819;
  --light-gray: #e0e0e0;
  --medium-gray: #d2d2d2;
  --dark-gray: #a1a1a1;
  --dark-gray-light: #aeaeae;
  --off-white: #f2f2f2;
}

#app {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
}

div.hb-label {
  margin-right: 4px;
  font-weight: 500;
  color: var(--dark-gray-light);
}

div.hb-value {
  color: black;
}

.tasks-action-panel {
  position: fixed;
  right: 3rem;
  top: 5.5rem;
  padding: 1rem;
  background-color: #aacc48cc;
  border-radius: 5px;
  z-index: 2;
}

.modal-close {
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
  background-color: rgba(10, 10, 10, 0.3);
  z-index: 10;
}

.status-green {
  color: #96a126;
}

.status-red {
  color: #cc0000;
}

.status-orange {
  color: #f57c00;
}

.sortable-header {
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  display: inline;
}

.sortable-header:hover {
  background-color: #f9fbe1;
}

.sortable-header.selected {
  background-color: #e5e9b7;
}

.hb-menu-toggle {
  position: fixed;
  top: 50%;
  left: 1px;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 2px;
  transition: left 0.3s ease, border-radius 0.3s ease;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.hb-menu-toggle.menu-visible {
  left: calc(16.666667% - 28px);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.task-payload {
  margin-top: 1rem;
  background-color: #f6f6f6;
}

.task-body {
  background-color: #f2f5e8;
}

#app > .columns > .column.is-2 {
  transition: transform 0.3s ease, margin 0.3s ease;
}

.column.is-2.hb-menu-hidden {
  transform: translateX(-100%);
  margin-right: -16.666667%;
}

.hb-content-column {
  transition: all 0.3s ease;
}

#app > .columns > .column.is-10,
#app > .columns > .column.is-12 {
  transition: width 0.3s ease, flex 0.3s ease;
}

.is-12 .hb-content-column {
  padding-left: 2rem;
}

.hb-main-wrapper > .columns {
  overflow-x: hidden;
}

.columns:has(.hb-dropdown.hb-expanded) {
  overflow: visible;
}

.hb-devices-section {
  margin-top: 1rem;
  border-radius: 10px;
  background-color: white;
}

.hb-labelled-cell {
  font-size: 0.8rem;
}

.breadcrumb a {
  color: #555555;
}

.box-mini {
  border-radius: 5px;
  padding: 0.5rem;
}

.hb-white-border {
  border: solid 2px white;
}

.hb-gray-border {
  border: solid 2px var(--dark-gray);
}

.hb-alert-color {
  color: var(--alert-color);
}

.hb-primary-color {
  color: var(--primary-color);
}

.hb-gray-bg {
  background-color: var(--dark-gray);
}

.hb-medium-gray-bg {
  background-color: var(--medium-gray);
}

.hb-text-area {
  border-radius: 5px;
  border-color: var(--primary-color-light);
  padding: 1em;
  min-height: 200px;
  width: 100%;
}

.hb-gray-box {
  padding: 1rem;
  background-color: #f2f2f2;
  border-radius: 5px;
}

.hb-color-swatch {
  margin-left: auto;
  border: 1px solid black;
  width: 20px;
  height: 20px;
}

.hb-loader {
  width: 122px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(farthest-side, var(--primary-color) 95%, #0000) 50% 1px/12px 12px no-repeat, radial-gradient(farthest-side, #0000 calc(100% - 14px), #ccc 0);
  animation: l9 2s infinite linear;
}

@keyframes l9 {
  to {
    transform: rotate(1turn);
  }
}
.hb-animating {
  display: inline-block;
  margin-left: 1rem;
  animation: fadeout 4s forwards;
}

@keyframes fadeout {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
button {
  font-family: "engrezw03-mediumregular", Arial, sans-serif;
}

.button:not(:last-child) {
  margin-right: 0.5rem;
}

.hb-stacked-bar {
  display: flex;
  width: 100%;
  height: 30px;
  border: 1px solid black;
  /* Optional: to visualize the container */
}

.hb-bar {
  height: 100%;
}

.hb-legend {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.hb-legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.hb-legend-color {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid black;
  /* Optional border for visibility */
}

.hb-legend-text {
  font-size: 14px;
}

.hb-menu-block:first-child {
  border-bottom: 2px solid var(--dark-gray-light);
  border-top: 2px solid var(--dark-gray-light);
}

.hb-menu-block {
  border-bottom: 2px solid var(--dark-gray-light);
  text-align: right;
}

.hb-menu-item {
  justify-content: flex-end;
}

.hb-interval-button {
  padding: 8px;
  border: 1px solid #cccccc;
  background-color: white;
}

.hb-interval-button:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.hb-interval-button:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.hb-interval-button.hb-active {
  background-color: #ecf1bc;
}

.hb-top-element {
  margin-top: 10px;
  padding: 2rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: white;
}

.hb-bottom-element {
  margin-bottom: 10px;
  margin-top: 1px;
  padding: 2rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: white;
}

.tag.hb-tag-orange {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 1rem;
}

.tag.hb-tag-green {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 1rem;
  background-color: var(--light-gray);
}

.tag.hb-task-open {
  background-color: #fc5437;
  color: white;
}

.tag.hb-task-scheduled {
  background-color: #ff9800;
  color: white;
}

.tag.hb-task-completed {
  background-color: #7d9e1b;
  color: white;
}

.hb-permission-group-title {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hb-permission-group {
  margin-bottom: 1rem;
}

.hb-group-header {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.hb-group-title {
  color: white;
  display: inline-flex;
  background-color: var(--primary-color);
  padding: 5px 10px 5px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  transition: all 0.1s;
}

.form-label {
  font-size: 1em;
  color: #aaa;
  display: block;
  opacity: 1;
  transform: translateY(-2.2em);
  transform-origin: 0 0;
  transition: all 0.3s;
  z-index: 1;
  padding: 5px;
}

.hb-title-cell {
  background-color: white;
  display: inline-flex;
  padding: 0.5rem 0.8rem 0.5rem 1.25rem;
  margin-top: 1rem;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 5px 5px 0 0;
}

.hb-cell {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: 0px;
  border-bottom: 1px solid var(--off-white);
  margin: 0px;
}

.hb-cell-connected {
  margin: 0px;
}

.hb-cell-disconnected {
  background-color: white;
  margin-bottom: 20px;
  margin-top: 20px;
  transition: margin-bottom 0.5s, margin-top 0.5s;
  border-radius: 10px;
}

.hb-grouping-section {
  background-color: white;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.hb-cell-collapsed {
  height: 0px;
}

.hb-cell-hidden {
  opacity: 0;
  visibility: hidden;
  max-height: 0px;
}

.hb-cell-expanded {
  max-height: 100em;
  opacity: 1;
  visibility: visible;
  transition: visibility 0s ease, max-height 1s ease, opacity 1s ease;
}

.hb-avatar {
  padding-bottom: 20px;
}

.hb-avatar input {
  display: none;
}

.hb-avatar img {
  width: 128px;
  height: 128px;
  padding: 5px;
  background: #ffffff;
  border-radius: 50%;
  -webkit-box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
}

.hb-initials {
  width: 36px;
  height: 36px;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-transform: uppercase;
  font-family: sans-serif;
}

.form-label-area {
  font-size: 1em;
  color: #aaa;
  display: block;
  opacity: 1;
  transform: translateY(-6.6em);
  transform-origin: 0 0;
  transition: all 0.3s;
  z-index: 1;
  padding: 5px 5px 5px 10px;
}

.form-control {
  background-color: rgba(0, 0, 0, 0.02);
  box-shadow: none;
  border-radius: 0px;
  border-color: #ccc;
  border-style: none none solid none;
  width: 100%;
  transition: all 0.5s;
  padding: 10px 0px 0px 10px;
  z-index: 2;
}

.form-control::placeholder {
  color: transparent;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
  border-color: orange;
}

.form-group:focus-within {
  transform: scale(1, 1);
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  transform: translateY(-3.2em) scale(0.7);
}

.form-control:focus + .form-label-area,
.form-control:not(:placeholder-shown) + .form-label-area {
  transform: translateY(-7em) scale(0.7);
}

.hb-tab {
  border-radius: 8px;
}

.hb-product-tabs {
  border-radius: 8px;
  color: black;
  background-color: white;
  margin-top: 20px;
  padding: 20px;
}

.hb-active-tab {
  background-color: #7d9e1d;
  color: white;
}

.hb-main-wrapper {
  padding-top: 70px;
}

.hb-menu-items {
  margin-top: -30px;
}

.hb-navbar span {
  border-bottom: 2px white solid;
}

.hb-navbar span.hb-nav-item-selected {
  border-bottom: 2px #7d9e1d solid;
}

.hb-menu {
  background-color: #f7f7f7;
  min-height: 100vh;
  height: 100vh;
  width: 15.666667%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 1.75rem;
}

.hb-menu-fixed {
  position: fixed;
  margin-top: 80px;
  top: 0px;
  width: 210px;
}

.hb-menu-at-footer {
  position: absolute;
  bottom: 60px;
}

.hb-chart-wrapper {
  border-radius: 8px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  background-color: #ffffff;
  padding: 10px;
}

.hb-header {
  background-color: white;
  height: 70px;
  width: 100%;
  padding: 0 60px 0 30px;
  z-index: 5;
  position: fixed;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  top: 0;
  transition: transform 0.3s ease-in-out;
  transform: translateY(0);
}

.hb-header-hidden {
  transform: translateY(-100%);
}

.hb-error {
  color: var(--alert-color);
  margin: 5px 0 15px 5px;
}

.hb-chart-title {
  background-color: #ffffff;
}

.hb-chart-wrapper .level {
  margin-bottom: 0px;
}

.hb-slider {
  justify-content: center;
  margin-top: 8px;
}

.hb-csv-section {
  padding: 30px;
  margin-top: 2px;
  border-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  background-color: #ffffff;
}

.hb-chart-tab {
  padding: 0 0 0 0;
  border-bottom: 3px solid #ffffff00;
}

.hb-chart-tab.hb-active {
  border-bottom: 3px solid #7d9e1d;
}

.hb-interval {
  padding: 0.1em 0 0.8em 0;
  border-bottom: 5px solid #ffffff00;
  margin: 0 15px 0 15px;
}

.hb-invisible-button {
  background-color: #ffffff00;
  border-color: #ffffff00;
  padding-left: 0px;
}

.hb-invisible-button:hover {
  border: none;
}

.hb-button.hb-active {
  background-color: var(--primary-color-light);
  color: white;
}

.hb-interval.hb-active {
  border-bottom: 5px solid #7d9e1d;
}

html,
body {
  font-family: "engrezw03-mediumregular", Arial, sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

input {
  font-family: "engrezw03-mediumregular", Arial, sans-serif;
}

.input:focus,
.input.is-focused,
.button:focus:not(:active),
.input:active,
.button:focus,
.button.is-focused,
.input.is-active,
.textarea:focus,
.textarea.is-focused,
.textarea:active,
.textarea.is-active {
  border-color: #ccc;
  box-shadow: none;
}

.hb-inputwrapper {
  position: relative;
  width: 100%;
  border-bottom: 2px solid #d2d2d2;
  margin-bottom: 2rem;
}

.hb-info-blob {
  font-size: 0.9rem;
}

.hb-info-blob:not(:last-child) {
  margin-bottom: 20px;
}

.hb-has-background {
  background-color: #f2f2f2;
}

.hb-has-primary-color {
  color: #7d9e1d;
}

.hb-kpi {
  padding: 20px;
  border-radius: 8px;
  background-color: white;
}

.hb-kpi-box {
  padding: 30px;
  border-bottom: 1px solid #ccc;
}

.hb-resource-section {
  margin-top: 20px;
}

.hb-kpi-row {
  margin-bottom: 10px;
}

.hb-section-title {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  max-width: 100%;
  border-top: 2px solid #bababa;
}

.hb-icon {
  color: #c8c8c8;
}

.hb-icon-wrapper {
  display: inline-grid;
  border: 1px solid;
  padding: 2px;
  border-radius: 2px;
}

.column .hb-icon-wrapper:not(:last-child) {
  margin-right: 10px;
}

.hb-icon:hover {
  color: var(--primary-color-light);
}

.hb-icon-gray {
  color: var(--dark-gray);
  background-color: #f2f2f2;
}

.hb-icon-gray:hover {
  color: var(--dark-gray-light);
}

.hb-dropdown {
  position: relative;
  /* Default z-index - normal stacking */
  z-index: 1;
}

/* When expanded, elevate the entire dropdown container above siblings */
.hb-dropdown.hb-expanded {
  /* Higher z-index to appear above sibling fields */
  z-index: 100;
}

.hb-dropdown input {
  border-radius: 0px;
}

.hb-dropdown ul {
  position: absolute;
  /* High z-index within the dropdown context */
  z-index: 10;
  list-style: none;
  -webkit-padding-start: 0px;
  background-color: #ffffff;
  width: 100%;
  /* Modern improvements */
  top: 100%;
  left: 0;
  margin-top: 2px;
  max-height: 300px;
  overflow-y: auto;
  /* Better visual separation */
  border: 2px solid #ddd;
  border-top: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  /* Performance hint */
  will-change: transform;
}

.hb-dropdown li {
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 12px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.15s ease;
}

.hb-dropdown li:last-child {
  border-bottom: none;
}

.hb-dropdown li:hover {
  background-color: #f5f5f5;
}

.hb-collapsed::after {
  border-color: #485fc7;
  right: 1.125em;
  z-index: 0;
  border: 2px solid #aaa;
  border-radius: 2px;
  border-right: 0;
  border-top: 0;
  content: " ";
  display: block;
  height: 0.625em;
  margin-top: -0.4375em;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
  transform-origin: center;
  width: 0.625em;
}

.hb-expanded::after {
  border-color: #485fc7;
  right: 1.125em;
  z-index: 0;
  border: 2px solid #aaa;
  border-radius: 2px;
  border-right: 0;
  border-top: 0;
  content: " ";
  display: block;
  height: 0.625em;
  margin-top: -0.15em;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: rotate(135deg);
  transform-origin: center;
  width: 0.625em;
}

.hb-alert-color {
  color: red;
}

.hb-rounded-background {
  border-radius: 50%;
  padding: 4px;
  background-color: var(--primary-color);
}

.hb-rounded-background:hover {
  background-color: var(--primary-color-light);
}

.hb-navbar {
  padding: 0 60px 0 30px;
  font-size: 1.2rem;
}

.hb-navbar a {
  color: #555;
}

.hb-navbar a:hover {
  color: #666;
}

.hb-button {
  background-color: var(--primary-color);
  border-color: white;
  color: white;
}

.hb-button:disabled {
  background-color: var(--primary-color);
}

.hb-button:focus {
  color: white;
}

.hb-button:hover {
  background-color: var(--primary-color-light);
  color: white;
}

.modal.is-active {
  background-color: rgba(255, 255, 255, 0);
}

.modal-background {
  background-color: rgba(10, 10, 10, 0.75);
}

.modal-content {
  background-color: white;
  position: relative;
  border-radius: 5px;
  overflow: auto;
}

.hb-modal-large {
  width: 60%;
  background-color: var(--off-white);
}

.hb-modal-xl {
  width: 80%;
}

.modal-content .box {
  padding: 30px;
}

.hb-modal-title {
  font-size: 1.3em;
  padding: 20px;
  min-height: 70px;
  background-color: var(--primary-color);
  color: white;
}

.hb-modal-subtitle {
  background-color: #647e87;
  padding: 20px;
  color: white;
}

.hb-modal-alert {
  font-size: 1.2em;
  margin-top: 10px;
  margin-bottom: 50px;
}

.hb-span-list {
  padding: 5px;
  margin: 0px 10px 0px 10px;
}

.hb-modal-property {
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-size: 1rem;
}

.hb-modal-section {
  margin-bottom: 30px;
}

.hb-tooltip {
  position: absolute;
  z-index: 10;
  left: 80px;
  top: 50px;
  width: 250px;
  background-color: lightgoldenrodyellow;
}

.hb-close {
  cursor: pointer;
}

.hb-margin-bottom {
  margin-bottom: 25px;
}

.hb-clickable {
  cursor: pointer;
}

nav.navbar {
  color: white;
  padding: 20px;
  background-color: #7d9e1d;
}

i {
  cursor: pointer;
}

td.hb-key-cell {
  vertical-align: middle;
  background-color: white;
}

td.hb-value-cell {
  background-color: white;
}

.level-item .button {
  margin-bottom: 0px;
}

.navbar-end .navbar-item:last-child {
  margin-right: 17px;
}

.navbar-burger span {
  width: 20px;
  height: 2px;
  background-color: white;
}

.navbar-burger:hover {
  background-color: #ffc55a;
}

.navbar-brand .navbar-item,
.navbar-item {
  color: white;
}

.hb-li {
  padding: 10px;
  cursor: pointer;
}

.hb-li-selected {
  padding: 10px;
  cursor: pointer;
  background-color: #c5c5c5;
}

.hb-li:hover {
  background-color: #dedede;
}

.box.hb-group {
  background-color: #e4dbcd;
}

.hb-toggle-yes,
.hb-toggle-no {
  border: 2px solid #f9f8f3;
}

.hb-selected-menu {
  font-size: 1.2rem;
  font-weight: 700;
}

.hb-selected {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.hb-selected.hb-toggle-yes,
.hb-selected.hb-toggle-no {
  background-color: #f9f8f3;
  border: 2px solid #969696;
}

.hb-entity .columns {
  border-bottom: 1px solid #d8d8d8;
}

.hb-entity .columns:last-child {
  border-bottom: 0px;
}

.hb-tight-columns .column {
  padding: 0.25rem 0.75rem 0.25rem 0.75rem;
}

.hb-toggle span {
  padding: 7px;
}

.hb-toggle {
  cursor: pointer;
}

.hb-input {
  background-color: white;
  box-shadow: none;
  border-radius: 0px;
}

.hb-push-down-small {
  margin-bottom: 5px;
}

.hb-push-down {
  margin-bottom: 10px;
}

.hb-is-fullwidth {
  width: 100%;
}

.hb-tabs .is-active {
  background-color: #ff8f00;
}

.hb-content {
  padding-top: 1px;
  padding-bottom: 1px;
  background-color: #f6ae3a;
}

.hb-content-column {
  padding: 15px;
  background-color: var(--light-gray);
  min-height: 100vh;
}

.modal-content .columns {
  margin-bottom: 0px;
}

.hb-page-title-section {
  border-radius: 5px;
  padding: 2rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
}

.hb-tabs .column {
  cursor: pointer;
}

.hb-tabs.container {
  background-color: #ffbf5a;
}

.hb-tabs .is-active {
  background-color: #ff9b00;
  margin-top: 2px;
}

.hb-tabs {
  color: white;
  background-color: #b8d593;
  padding: 10px;
}

.hb-tab-content {
  background-color: #eeece4;
  margin-top: -20px;
  margin-bottom: -20px;
}

.hb-tab-content .container {
  margin-top: 20px;
}

.hb-tab-content {
  color: black !important;
}

.is-active {
  background-color: #a3c974;
}

.input:focus,
.input.is-focused,
.input:active,
.input.is-active,
.textarea:focus,
.textarea.is-focused,
.textarea:active,
.textarea.is-active {
  border-color: var(--primary-color);
  box-shadow: none;
}

.hero.has-background {
  background: black url(/imgs/login-background.svg) center/cover;
  background-color: white;
}

.button.is-info:hover {
  background-color: var(--primary-color-light);
}

.button.is-info:is-hovered {
  background-color: var(--primary-color-light);
}

.button.is-info {
  background-color: var(--primary-color);
}

.hb-is-hidden {
  display: none;
}

.hb-submit-button {
  margin: 10px 0px 25px 0px;
  text-align: center;
  border-radius: 0px;
}

.box {
  box-shadow: none;
}

.table tr {
  background-color: #f9f8f3;
}

.table td {
  background-color: white;
}

@media (min-width: 401px) {
  .hb-smallest-only {
    display: none;
  }
}
@media (max-width: 401px) {
  .hb-is-hidden-smallest {
    display: none;
  }
}
.facility-group-section {
  margin-bottom: 2rem;
}

.segment-title {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.1em;
  color: var(--primary-color);
}

.facility-role-grid {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.grid-header {
  display: grid;
  background-color: #f5f5f5;
  border-bottom: 2px solid #ddd;
}

.facility-name-header {
  padding: 12px;
  font-weight: bold;
  border-right: 1px solid #ddd;
  display: flex;
  align-items: center;
}

.grid-header-cell {
  padding: 8px 4px;
  text-align: center;
  border-right: 1px solid #ddd;
  background-color: #f5f5f5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.grid-header-cell:last-child {
  border-right: none;
}

.grid-row {
  display: grid;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.grid-row:last-child {
  border-bottom: none;
}

.facility-name-cell {
  padding: 12px;
  font-weight: bold;
  border-right: 1px solid #ddd;
  background-color: #fafafa;
}

.grid-cell {
  padding: 8px;
  text-align: center;
  border-right: 1px solid #ddd;
  background-color: white;
}

.grid-cell:last-child {
  border-right: none;
}

.grid-cell input[type=radio] {
  margin: 0;
  cursor: pointer;
  transform: scale(1.2);
}

.grid-cell input[type=radio]:checked {
  accent-color: var(--primary-color);
}

.tm-container {
  padding: 10px;
  background-color: white;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.tm-box-inner {
  cursor: pointer;
}

.tm-box-outer {
  opacity: 0.8;
  border: 1px solid white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.tm-box-outer:hover {
  opacity: 0.9;
}

.tm-box-outer:hover,
.tm-box-outer:focus-within {
  z-index: 10;
}

.tm-label {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 5px;
  background-color: white;
  border-radius: 4px;
  font-size: 0.8rem;
}

.tm-box-outer:hover .tm-label {
  opacity: 1;
  pointer-events: auto;
}
