@font-face {
  font-family: "DIN";
  src: url(./fonts/DIN-Bold.ttf) format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: "DIN";
  src: url(./fonts/DIN-Light.ttf) format("truetype");
  font-weight: light;
}
@font-face {
  font-family: "DIN";
  src: url(./fonts/DIN-Medium.ttf) format("truetype");
  font-weight: medium;
}
@font-face {
  font-family: "DIN";
  /* src: url(./fonts/DIN-Regular.ttf) format("truetype"),  replace this with next line for font change back*/
  src: url(./fonts/DIN-Regular.ttf) format("truetype"),
    url(./fonts/DIN-RegularAlternate.ttf) format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "DIN";
  src: url(./fonts/DIN-BlackAlternate.ttf) format("truetype");
  font-weight: 900;
}
@font-face {
  font-family: "Horizon";
  src: url(./fonts/Centurion-horizon.otf) format("opentype");
  font-weight: normal;
}

ul {
  list-style-type: none;
}

.gradient-custom {
  background: -webkit-linear-gradient(
    to right,
    rgba(106, 17, 203, 1),
    rgb(4, 9, 17)
  );
  background: linear-gradient(to right, rgb(0, 0, 0), rgb(0, 0, 0));
  /* Remove above and use bottom for purple -> black 
   background: linear-gradient(to right, rgb(120, 119, 182), rgb(4, 9, 17)); */
}

body {
  font-family: "DIN";
  margin: 0;
  /* margin-left: 240px; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to right, rgb(0, 0, 0), rgb(0, 0, 0));
  /* background: linear-gradient(to right, rgb(120, 119, 182), rgb(4, 9, 17)); */
}

#top {
  height: 50px;
}
#bottom {
  flex: 1;
}

.mainContent {
  flex: 1;
}
/*
@media (min-width: 991.98px) {
  main {
    padding-left: 240px;
    background-color: transparent;
    min-height: 650px;

    position: relative;
  }
}*/

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  padding: 58px 0 0;
  height: 100vh;
  overflow: hidden;
  width: 240px;
  z-index: 95;
}

.sidebar-shell {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
  padding: 0 0.85rem 0.8rem;
}

.sidebar-brand {
  flex: 0 0 auto;
}

.sidebar-brand hr {
  margin: 0.7rem 0;
  color: #ffffff;
  opacity: 1;
}

.sidebar-logo {
  display: block;
  width: 60%;
  max-height: 7.25rem;
  margin: 0 auto;
  object-fit: contain;
}

.sidebar-brand-title {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  line-height: 1.1;
}

.admin-navbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.admin-navbar-shell .navbar-nav {
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.18rem;
}

#navbar {
  min-height: 48px;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 20, 0.96);
}

#navbar .nav-link,
#navbar .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 2rem;
  border: 0;
  border-radius: 6px;
  padding: 0.34rem 0.55rem !important;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

#navbar .nav-link b,
#navbar .link-button b,
#sidebarMenu .nav-link b {
  font-weight: inherit;
}

#navbar .nav-link:hover,
#navbar .nav-link:focus,
#navbar .link-button:hover,
#navbar .link-button:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#navbar .nav-link.active {
  color: #ffffff;
  background: rgba(129, 199, 185, 0.18);
  box-shadow: inset 0 -2px 0 rgba(129, 199, 185, 0.95);
}

#navbar .vr {
  align-self: center;
  min-height: 1.2rem;
  margin: 0 0.05rem;
  opacity: 0.22;
}

.user-identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #ffffff;
  line-height: 1.12;
}

.user-identity__label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.user-identity__name,
.user-identity__meta {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-identity__name {
  font-size: 0.9rem;
  font-weight: 700;
}

.user-identity__name-link {
  color: inherit;
  text-decoration: none;
}

.user-identity__name-link:hover,
.user-identity__name-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.user-identity__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.user-identity--topbar {
  flex: 0 1 24rem;
  margin-right: auto;
}

.user-identity--sidebar {
  margin: 0.75rem 0 0;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.15rem 0.2rem;
  border-radius: 0.35rem;
  scrollbar-width: thin;
}

.sidebar-nav .nav-link {
  margin-bottom: 0.12rem;
  border-radius: 6px;
  padding: 0.44rem 0.58rem !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sidebar-guide {
  flex: 0 0 auto;
  padding: 0 0.25rem;
}

.sidebar-guide-link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sidebar-guide-link:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-footer {
  flex: 0 0 auto;
  font-size: 0.72rem;
  line-height: 1.25;
}

.sidebar-footer p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}

@media (max-height: 720px) and (min-width: 992px) {
  .sidebar {
    padding-top: 48px;
  }

  .sidebar-shell {
    gap: 0.45rem;
    padding-bottom: 0.55rem;
  }

  .sidebar-brand hr {
    margin: 0.45rem 0;
  }

  .sidebar-logo {
    width: 48%;
    max-height: 4.5rem;
  }

  .sidebar-brand-title {
    margin-top: 0.35rem;
    font-size: 0.82rem;
  }

  .sidebar-nav .nav-link {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
}
.sidebar .active {
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 3px 0 0 rgba(129, 199, 185, 0.9);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: visible;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.wrap {
  width: 97%;
  height: 900px;
  padding: 0;
  overflow: hidden;
}

.frame {
  margin-left: 20px;
  width: 100%;
  height: 100%;
  border: 0;
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);

  cursor: pointer;

  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

h3 {
  margin-top: 20px;
}

.search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

a {
  color: lightgray;
  text-decoration: none;
}

a:hover {
  color: rgb(155, 88, 155);
}

::-webkit-scrollbar {
  width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(120, 119, 182, 0.7);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 0, 221, 0.1);
}

.newtext {
  visibility: hidden;
}

.iframewrap {
  width: 400px;
  height: 600px;
  padding: 0;
  overflow: hidden;
}

.logothumbnail {
  width: 1200px;
  height: 1800px;
  border: 0;
  -ms-transform: scale(0.25);
  -moz-transform: scale(0.25);
  -o-transform: scale(0.25);
  -webkit-transform: scale(0.25);
  transform: scale(0.25);

  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

input {
  border: 1px solid black;
  border-radius: 5px;
}

.enlargeImgDiv {
  position: absolute;
  text-align: left;
  background: white;
  border: 1px solid black;
  right: 4%;
  padding: 5px;
  width: 30vw;
  z-index: 7;
}

.pulse {
  background: red;
  color: #000;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    background: red;
    color: #000;
  }
  50% {
    background: #6f2a21;
    color: #fff;
  }
  100% {
    background: red;
    color: #000;
  }
}

.overscreenhud {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  display: none;
  justify-content: center;
  align-items: center;
}

.overlaydeviceselection {
  height: 300px;
  width: 700px;
  background: white;
  margin-left: 255px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.overlayhidcontent {
  height: 400px;
  width: 800px;
  background: white;
  margin-left: 255px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  display: none;
}

.overlayaddx100 {
  height: 350px;
  width: 600px;
  background: white;
  padding-top: 20px;
  border-radius: 10px;
  position: relative;
  display: none;
}

.overlayeditx100 {
  height: 350px;
  width: 600px;
  background: white;
  padding-top: 20px;
  border-radius: 10px;
  position: relative;
  display: none;
}

.overlayadddoor {
  height: 900px;
  width: 600px;
  background: white;
  padding-top: 20px;
  border-radius: 10px;
  position: relative;
  display: none;
}

.overlayeditdoor {
  height: 900px;
  width: 600px;
  background: white;
  padding-top: 20px;
  border-radius: 10px;
  position: relative;
  display: none;
}

.overlayaddschedule {
  height: 950px;
  width: 600px;
  background: white;
  padding-top: 10px;
  border-radius: 10px;
  position: fixed;
  overflow-y: scroll;
  display: none;
}

.overlayeditschedule {
  height: 950px;
  width: 600px;
  background: white;
  padding-top: 10px;
  border-radius: 10px;
  position: fixed;
  overflow-y: scroll;
  display: none;
}

.schedule-assigned-doors {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.schedule-assigned-doors__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule-assigned-doors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.42rem;
}

.schedule-assigned-door-chip {
  display: inline-block;
  max-width: 100%;
  padding: 0.18rem 0.45rem;
  overflow: hidden;
  color: #eef6ff;
  font-size: 0.78rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
}

button.schedule-assigned-door-chip {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.schedule-assigned-door-chip--more {
  color: rgba(226, 232, 240, 0.78);
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.24);
}

.schedule-assigned-door-chip--more:hover,
.schedule-assigned-door-chip--more:focus {
  color: #ffffff;
  background: rgba(148, 163, 184, 0.24);
  border-color: rgba(203, 213, 225, 0.48);
}

.schedule-assigned-doors__empty {
  margin-top: 0.38rem;
  color: rgba(226, 232, 240, 0.56);
  font-size: 0.78rem;
}

input:read-only {
  background-color: lightgray;
}
/*
.paginationTable {
  background-color: white;
  color: black;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table {
  width: 100%;
  height: 100%;
  padding: 20px 50px;
  border-collapse: collapse;
}

td, thead{
  font-family: 'Cambria';
  cursor: pointer;
  padding: 10px 10px;
  border: 0.5px solid #606060;
  letter-spacing: 1px;
}

thead{
  font-weight: bold;
  font-size: 21px;
  background-color: darkgrey;
}

td{
  font-size: 19px;
  background-color: lightgrey;
}

tr:hover td{
  background-color: darkgrey;
  border: 1px solid black;
}

.paginationfooter{
  margin-top: 25px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
*/
.paginationbutton {
  padding: 0.45rem 0.8rem;
  color: white;
  background-color: transparent;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.55rem;
  cursor: pointer;
}

.paginationbutton.active,
.paginationbutton:hover {
  background: linear-gradient(to bottom, darkgrey 0%, black 100%);
}

.paginationbutton.disabled {
  opacity: 0.45;
  cursor: default;
}

h1 {
  font-size: 1.8rem;
  margin: 0px;
}

.kioskLbl {
  font-size: 1.2em;
  font-weight: bold;
}

.footerLogo {
  max-width: 10vw;
  max-height: 10vh;
  object-fit: contain;
}

.community-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.03);
  max-width: 32rem;
}

.community-selector-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-weight: 600;
  color: #1f1f1f;
}

.community-selector-list {
  display: grid;
  gap: 0.45rem;
  max-height: 15rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.community-selector-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #1f1f1f;
}

.community-selector-option input,
.community-selector-toggle input {
  margin: 0;
}

.mainAdmin {
  padding-left:240px;
}

.login-page {
  display: flex;
  flex-direction: column;
}

.login-header .p-3 {
  padding-bottom: 0.25rem !important;
}

.login-header .text-horizon {
  margin-bottom: clamp(1rem, 3vw, 2rem) !important;
}

.login-shell {
  padding-top: clamp(0.4rem, 1.4vw, 1rem);
  padding-bottom: clamp(0.6rem, 1.8vw, 1.25rem);
}

.login-card {
  max-width: 430px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem !important;
}

.login-card-body {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3.4vw, 2.5rem) !important;
}

.login-form-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login-form-content h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
}

.login-subtitle {
  margin-bottom: 1.25rem;
}

.login-form {
  display: grid;
  gap: 0.85rem;
}

.login-field {
  margin-bottom: 0;
}

.login-field .form-control-lg {
  min-height: 2.85rem;
  padding: 0.55rem 0.8rem;
  font-size: 1rem;
}

.login-field .form-label {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.login-error {
  margin: 0;
  color: #ff7474;
  font-size: 0.95rem;
  line-height: 1.3;
}

.login-submit {
  justify-self: center;
  min-width: 5.75rem;
  margin-top: 0.25rem;
  padding: 0.45rem 1.2rem;
  font-size: 1rem;
}

.login-forgot {
  margin: 1rem 0 0;
}

.login-footer {
  margin-top: clamp(0.9rem, 1.6vw, 1.25rem);
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(0.8rem, 1.6vw, 1.1rem);
}

.login-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.login-footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.7rem;
}

.login-footer-logo,
.login-footer-mark {
  display: block;
  object-fit: contain;
}

.login-footer-logo {
  width: clamp(3rem, 5vw, 4.1rem);
  max-height: 1.75rem;
  opacity: 0.88;
}

.login-footer-mark {
  width: clamp(2rem, 3.5vw, 2.75rem);
  max-height: 1.9rem;
  opacity: 0.46;
}

.login-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.login-footer-copy strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.15;
}

.login-footer-copy small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  line-height: 1.25;
}

.login-footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.login-footer-contact a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.18s ease;
}

.login-footer-contact a + a::before {
  content: "";
  display: inline-block;
  width: 0.22rem;
  height: 0.22rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.login-footer-contact a:hover,
.login-footer-contact a:focus {
  color: #ffffff;
}

.app-footer {
  margin-top: 2rem;
  padding: 0 1rem 1rem;
}

.app-footer-sidebar {
  margin-left: 230px;
  width: calc(100% - 230px);
}

.app-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(6px);
}

.app-footer-inner-compact {
  justify-content: space-between;
}

.app-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.app-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.app-footer-copy strong {
  font-size: 0.95rem;
  line-height: 1.15;
}

.app-footer-copy span,
.app-footer-links span,
.app-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
}

.app-footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-footer-links a:hover {
  color: #ffffff;
}

.app-footer-logo,
.app-footer-mark {
  display: block;
  object-fit: contain;
}

.app-footer-logo {
  height: 2rem;
  width: auto;
}

.app-footer-logo-sm {
  height: 1.9rem;
}

.app-footer-mark {
  height: 2.15rem;
  width: auto;
}

.app-footer-partners {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.lpr-report-shell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lpr-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lpr-live-search {
  max-width: 32rem;
}

.lpr-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.lpr-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.lpr-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #f5f5f5;
}

.lpr-filter-field span {
  font-size: 0.88rem;
  color: #d5d5d5;
}

.lpr-filter-field input,
.lpr-filter-field select {
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  color: #1d1d1d;
}

.lpr-filter-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
}

.lpr-filter-toggle input {
  min-height: auto;
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
}

.lpr-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.lpr-report-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.lpr-report-range {
  margin: 0;
  line-height: 1.55;
}

.lpr-table-card {
  padding: 0.25rem 0;
}

.lpr-report-table {
  margin-bottom: 0;
}

.print-img {
  cursor: pointer;
}

.lpr-image-viewer-open {
  overflow: hidden;
}

.lpr-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
}

.lpr-image-viewer.is-open {
  display: flex;
}

.lpr-image-viewer__dialog {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #151a20;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  outline: none;
  overflow: hidden;
}

.lpr-image-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.lpr-image-viewer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.lpr-image-viewer__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.lpr-image-viewer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.lpr-image-viewer__close:hover,
.lpr-image-viewer__close:focus {
  background: rgba(255, 255, 255, 0.18);
}

.lpr-image-viewer__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1rem;
  background: #05080c;
}

.lpr-image-viewer__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
}

.lpr-empty-row td {
  text-align: center;
  padding: 1.2rem;
  font-style: italic;
}

.paginationfooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pagination-status {
  color: #f1f1f1;
  font-size: 0.95rem;
}

.pagination-loading {
  vertical-align: middle;
  margin-right: 0.75rem;
}

.index_buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.75);
  padding: 0 0.1rem;
}

.hierarchy-shell {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.hierarchy-topbar {
  margin-bottom: 1.5rem;
  row-gap: 1rem;
}

.hierarchy-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #c5c5c5;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.hierarchy-breadcrumbs a {
  color: #e9e9e9;
}

.hierarchy-title {
  margin: 0;
}

.hierarchy-subtitle {
  margin: 0.45rem 0 0;
  color: #b5b5b5;
  max-width: 60rem;
}

.hierarchy-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.68);
}

.app-confirm-backdrop.is-open {
  display: flex;
}

.app-confirm-dialog {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #181c24;
  color: #f6f7fb;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.app-confirm-header,
.app-confirm-body,
.app-confirm-actions {
  padding: 1rem 1.15rem;
}

.app-confirm-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-confirm-eyebrow {
  margin: 0 0 0.35rem;
  color: #aab5c5;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-confirm-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.app-confirm-message {
  margin: 0;
  color: #d7dce6;
  line-height: 1.45;
}

.app-confirm-detail {
  margin: 0.7rem 0 0;
  color: #aeb8c8;
  font-size: 0.92rem;
  line-height: 1.35;
}

.app-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

.hierarchy-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 0.8rem;
}

.hierarchy-grid-community {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.9rem;
}

.hierarchy-card,
.hierarchy-detail-card,
.hierarchy-empty {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: #2e2a2bd5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hierarchy-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hierarchy-card-link {
  display: block;
  padding: 1.2rem 1.2rem 0.9rem;
  color: inherit;
  height: 100%;
}

.hierarchy-card-link:hover {
  color: inherit;
}

.hierarchy-card-link-static {
  cursor: default;
}

.hierarchy-card-eyebrow {
  color: #9db2c4;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hierarchy-card-title,
.hierarchy-detail-title {
  margin: 0;
}

.hierarchy-card-subtitle {
  margin: 0.45rem 0 0;
  color: #d0d0d0;
}

.hierarchy-card-meta {
  margin: 0.75rem 0 0;
  color: #9fb0bf;
  font-size: 0.92rem;
  word-break: break-word;
}

.hierarchy-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hierarchy-status-inline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-left: auto;
  min-width: 0;
  flex-wrap: wrap;
}

.hierarchy-card-actions,
.community-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hierarchy-card-actions,
.hierarchy-card > .community-action-row {
  padding: 0 1.2rem 1.2rem;
}

.hierarchy-card-actions-top {
  padding: 1rem 1.2rem 0;
  justify-content: flex-end;
}

.hierarchy-card-actions-top + .hierarchy-card-link,
.hierarchy-card-actions-top + .hierarchy-card-link-static {
  padding-top: 0.8rem;
}

.hierarchy-card > .community-action-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow: visible;
  min-height: 2.5rem;
}

.hierarchy-card > .community-action-row .btn {
  white-space: nowrap;
}

.hierarchy-summary-card .hierarchy-card-link,
.hierarchy-summary-card .hierarchy-card-link-static {
  padding: 0.95rem 1rem 0.72rem;
}

.hierarchy-summary-card .hierarchy-card-topline {
  gap: 0.55rem;
}

.hierarchy-summary-card .hierarchy-card-eyebrow {
  font-size: 0.74rem;
  margin-bottom: 0.22rem;
}

.hierarchy-summary-card .hierarchy-card-title {
  font-size: 1.05rem;
  line-height: 1.15;
}

.hierarchy-summary-card .hierarchy-card-subtitle {
  margin-top: 0.3rem;
  font-size: 0.86rem;
  line-height: 1.25;
}

.hierarchy-summary-card .hierarchy-card-meta {
  margin-top: 0.45rem;
  font-size: 0.82rem;
}

.hierarchy-summary-card .hierarchy-stat-row {
  gap: 0.42rem;
  margin-top: 0.68rem;
}

.hierarchy-summary-card .hierarchy-stat-pill {
  padding: 0.26rem 0.52rem;
  font-size: 0.8rem;
}

.community-card-warning {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.65rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 107, 107, 0.42);
  border-radius: 0.45rem;
  background: rgba(116, 34, 34, 0.84);
  color: #ffd6d6;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
}

.community-card-warning::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-right: 0.38rem;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.22);
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1;
}

.community-card-warning-detail {
  margin-top: 0.55rem;
}

.hierarchy-summary-card .hierarchy-card-actions,
.hierarchy-summary-card > .community-action-row {
  gap: 0.45rem;
  padding: 0 1rem 1rem;
  min-height: 0;
}

.hierarchy-controller-card .hierarchy-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: auto;
}

.hierarchy-controller-card .hierarchy-card-link {
  flex: 1 1 auto;
  height: auto;
}

.hierarchy-controller-card .hierarchy-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.25rem;
  min-width: 0;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.hierarchy-controller-card .controller-card-actions .btn:first-child {
  grid-column: 1 / -1;
  border-color: rgba(102, 214, 255, 0.45);
  background: rgba(102, 214, 255, 0.1);
  color: #f4fbff;
}

.controller-action-bar {
  justify-content: flex-end;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 68rem;
  padding: 0;
}

.controller-action-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.controller-action-group-support {
  background: rgba(102, 214, 255, 0.07);
}

.controller-action-group-maintenance {
  background: rgba(255, 255, 255, 0.06);
}

.controller-action-group-power {
  border-color: rgba(255, 193, 7, 0.34);
  background: rgba(255, 193, 7, 0.08);
}

.controller-action-group-navigation {
  background: rgba(61, 220, 151, 0.07);
}

.controller-action-label {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 0.38rem 0 0.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #adb9c9;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.controller-action-group-power .controller-action-label {
  color: #ffd27a;
}

.controller-action-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  white-space: nowrap;
}

.controller-action-bar .form-select {
  min-height: 2.15rem;
}

.controller-release-select {
  width: auto;
  min-width: 9rem;
  max-width: 11rem;
}

.controller-action-group-navigation .btn:first-of-type {
  border-color: rgba(102, 214, 255, 0.45);
  background: rgba(102, 214, 255, 0.1);
}

.hierarchy-detail-card.hierarchy-detail-card-compact {
  padding: 0.95rem 1rem;
}

.hierarchy-detail-card-compact .hierarchy-detail-header {
  gap: 0.75rem;
}

.hierarchy-detail-card-compact .hierarchy-card-eyebrow {
  font-size: 0.76rem;
  margin-bottom: 0.25rem;
}

.hierarchy-detail-card-compact .hierarchy-card-subtitle {
  margin-top: 0.28rem;
  font-size: 0.9rem;
  line-height: 1.25;
}

.hierarchy-detail-card-compact .hierarchy-card-meta {
  margin-top: 0.35rem;
  font-size: 0.84rem;
}

.hierarchy-detail-card-compact .hierarchy-stat-row {
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.hierarchy-detail-card-compact .hierarchy-stat-pill {
  padding: 0.28rem 0.55rem;
  font-size: 0.82rem;
}

.hierarchy-detail-card-compact .hierarchy-card-actions,
.hierarchy-detail-card-compact .community-action-row {
  gap: 0.45rem;
}

.hierarchy-detail-card {
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.hierarchy-device-card {
  position: relative;
}

.hierarchy-device-card .hierarchy-card-link,
.hierarchy-device-card .hierarchy-card-link-static {
  height: auto;
  padding: 0.82rem 0.95rem 0.58rem;
}

.hierarchy-device-card .hierarchy-card-actions-top {
  position: absolute;
  top: 0.72rem;
  right: 0.95rem;
  z-index: 2;
  padding: 0;
}

.hierarchy-device-card .hierarchy-card-actions-top + .hierarchy-card-link,
.hierarchy-device-card .hierarchy-card-actions-top + .hierarchy-card-link-static {
  padding-top: 0.56rem;
}

.hierarchy-device-card .hierarchy-card-eyebrow {
  font-size: 0.74rem;
  margin-bottom: 0.2rem;
}

.hierarchy-device-card .hierarchy-card-title {
  font-size: 1rem;
  line-height: 1.12;
}

.hierarchy-device-card .hierarchy-card-subtitle {
  margin-top: 0.26rem;
  font-size: 0.84rem;
  line-height: 1.22;
}

.hierarchy-device-card .hierarchy-card-actions {
  gap: 0.45rem;
  padding: 0 0.95rem 0.95rem;
}

.device-remote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.95rem 0.72rem;
  padding: 0.5rem;
  border: 1px solid rgba(102, 214, 255, 0.22);
  border-radius: 8px;
  background: rgba(102, 214, 255, 0.07);
}

.device-remote-label {
  color: #adb9c9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.device-remote-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 10rem;
  min-height: 1.9rem;
  overflow: hidden;
  padding-left: 0.48rem;
  padding-right: 0.48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.controller-action-group-support .btn {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remote-link-disabled {
  cursor: help;
  gap: 0.32rem;
  opacity: 0.62;
  pointer-events: auto;
}

.remote-link-state {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.controller-action-group-support .remote-link-state,
.device-remote-actions .remote-link-state {
  display: none;
}

.hierarchy-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hierarchy-stat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hierarchy-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ececec;
  font-size: 0.92rem;
}

.hierarchy-empty {
  padding: 1.4rem;
  color: #d5d5d5;
}

.controller-map-panel {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #1b2229;
}

.controller-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.controller-map-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
  color: #d9e1e8;
  font-size: 0.84rem;
}

.controller-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.controller-map-legend-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.14);
}

.controller-map-legend-good,
.controller-map-pin-good {
  background: #2fbf71;
}

.controller-map-legend-warning,
.controller-map-pin-warning {
  background: #f0b429;
}

.controller-map-legend-critical,
.controller-map-pin-critical {
  background: #d94c4c;
}

.controller-map-legend-unknown,
.controller-map-pin-unknown {
  background: #7f8996;
}

.controller-map {
  width: 100%;
  height: clamp(320px, 48vh, 560px);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111820;
}

.controller-map-empty,
.controller-map-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #c7d1db;
  text-align: center;
}

.controller-map .leaflet-control-attribution {
  font-size: 0.7rem;
}

.controller-map-pin-icon {
  border: 0;
  background: transparent;
}

.controller-map-pin-shell {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
}

.controller-map-pin {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  transform: rotate(45deg);
}

.controller-map-pin-group {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    0 0 0 4px rgba(255, 255, 255, 0.2);
}

.controller-map-pin-core {
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.controller-map-pin-count {
  position: absolute;
  top: -0.45rem;
  right: -0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.32rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #101820;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.34);
}

.controller-map-popup {
  display: grid;
  gap: 0.25rem;
  min-width: 13rem;
  color: #111820;
  font-family: "DIN";
}

.controller-map-popup strong {
  color: #0d1720;
  font-size: 1rem;
  line-height: 1.15;
}

.controller-map-popup span {
  color: #34414f;
  font-size: 0.82rem;
  line-height: 1.25;
}

.controller-map-popup-detail {
  margin-top: 0.2rem;
  color: #586676;
  font-size: 0.8rem;
  line-height: 1.25;
}

.controller-map-popup-group {
  min-width: 16rem;
}

.controller-map-popup-list {
  display: grid;
  gap: 0.55rem;
  max-height: 18rem;
  margin-top: 0.35rem;
  overflow-y: auto;
}

.controller-map-popup-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(17, 24, 32, 0.12);
}

.controller-map-popup-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.controller-map-popup-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.controller-map-popup-item-header strong {
  min-width: 0;
}

.controller-map-popup-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.controller-map-popup-good {
  background: #238653;
}

.controller-map-popup-warning {
  background: #9a6a00;
}

.controller-map-popup-critical {
  background: #a93434;
}

.controller-map-popup-unknown {
  background: #5b6672;
}

.controller-map-popup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.32rem 0.58rem;
  border-radius: 6px;
  background: #1e5f8f;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.1;
  text-decoration: none;
}

.controller-map-popup a:hover {
  color: #ffffff;
  background: #174d75;
}

.business-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.business-info-item {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
}

.business-info-item span {
  display: block;
  margin-bottom: 0.25rem;
  color: #9fb0bf;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.business-info-item strong {
  color: #ffffff;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.business-search-input {
  max-width: 22rem;
}

.hierarchy-device-card .hierarchy-device-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

.hierarchy-device-card .hierarchy-device-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hid-door-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.5rem;
  padding: 0 1.2rem 0.35rem;
  align-items: start;
}

.hierarchy-device-card .hid-door-list {
  gap: 0.45rem;
  padding: 0 0.95rem 0.28rem;
}

.hid-door-empty {
  margin: 0 1.2rem 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.hierarchy-device-card .hid-door-empty {
  margin: 0 0.95rem 0.28rem;
  padding: 0.58rem 0.68rem;
  font-size: 0.82rem;
}

.hid-door-item {
  position: relative;
  min-width: 0;
}

.hid-door-row {
  width: 100%;
  min-height: 3.95rem;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.2rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  background: rgba(28, 33, 36, 0.92);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}

.hid-door-row:hover,
.hid-door-menu-open .hid-door-row {
  background: rgba(37, 44, 48, 0.98);
  border-color: rgba(157, 178, 196, 0.48);
  transform: translateY(-1px);
}

.hid-door-row.hid-door-open {
  border-color: rgba(255, 212, 95, 0.5);
  background: rgba(55, 48, 33, 0.95);
}

.hid-door-row.hid-door-closed {
  border-color: rgba(110, 229, 138, 0.32);
}

.hid-door-row.hid-door-unlocked {
  box-shadow: inset 3px 0 0 rgba(110, 229, 138, 0.72);
}

.hid-door-row.hid-door-alarm {
  border-color: rgba(255, 107, 107, 0.78);
  background: rgba(67, 35, 36, 0.96);
  box-shadow: inset 3px 0 0 rgba(255, 107, 107, 0.86);
}

.hid-door-row.hid-door-pending {
  opacity: 0.74;
  cursor: wait;
}

.hid-door-icon-wrap {
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hid-door-icon-wrap img {
  max-width: 1.8rem;
  max-height: 1.8rem;
  object-fit: contain;
  transform-origin: left center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hid-door-row.hid-door-open .hid-door-icon-wrap img {
  transform: perspective(90px) rotateY(-30deg) translateX(3px);
}

.hid-door-row.hid-door-unknown .hid-door-icon-wrap img {
  opacity: 0.72;
}

.hid-door-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.hid-door-copy strong,
.hid-door-copy small,
.hid-door-status {
  overflow-wrap: anywhere;
}

.hid-door-copy strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.18;
}

.hid-door-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.25;
}

.hid-door-status {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.25;
}

.hid-door-lock-icon {
  width: 2.05rem;
  height: 2.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d0d9;
}

.hid-door-lock-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hid-lock-unlocked {
  display: none;
}

.hid-lock-unknown {
  display: none;
}

.hid-door-row.hid-door-unlocked .hid-lock-locked {
  display: none;
}

.hid-door-row.hid-door-unlocked .hid-lock-unlocked {
  display: block;
}

.hid-door-row.hid-door-unlocked .hid-door-lock-icon {
  color: #6ee58a;
}

.hid-door-row.hid-door-lock-unknown .hid-lock-locked,
.hid-door-row.hid-door-lock-unknown .hid-lock-unlocked {
  display: none;
}

.hid-door-row.hid-door-lock-unknown .hid-lock-unknown {
  display: block;
}

.hid-door-row.hid-door-lock-unknown .hid-door-lock-icon {
  color: #9da8b3;
}

.hid-door-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 10;
  width: min(14rem, 88vw);
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  background: #20262a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.hid-door-menu-open .hid-door-menu {
  display: grid;
  gap: 0.28rem;
}

.hid-door-menu button {
  width: 100%;
  min-height: 2.15rem;
  border: 0;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  padding: 0.4rem 0.55rem;
  font-size: 0.88rem;
}

.hid-door-menu button:hover {
  background: rgba(110, 229, 138, 0.18);
}

.hid-door-menu button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hid-door-notice-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  pointer-events: none;
}

.hid-door-notice {
  min-width: min(24rem, calc(100vw - 2rem));
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0.8rem 0.95rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hid-door-notice-error {
  background: rgba(113, 39, 41, 0.96);
  border-color: rgba(255, 107, 107, 0.55);
}

.hid-door-notice-warning {
  background: rgba(92, 73, 28, 0.96);
  border-color: rgba(255, 212, 95, 0.5);
}

.hid-door-notice-success {
  background: rgba(34, 84, 51, 0.96);
  border-color: rgba(110, 229, 138, 0.44);
}

.hid-door-notice-hide {
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 991.98px) {
  .mainAdmin {
    padding-left: 0;
  }

  .login-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.45rem;
  }

  .login-footer-contact {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .login-footer-mark {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .app-footer-sidebar {
    width: 100%;
    margin-left: 0;
  }

  .app-footer-inner,
  .app-footer-inner-compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .lpr-report-toolbar,
  .lpr-filter-actions,
  .paginationfooter {
    align-items: stretch;
  }

  .lpr-live-search {
    max-width: 100%;
    width: 100%;
  }

  .hierarchy-toolbar {
    justify-content: flex-start;
  }

  .hierarchy-detail-header {
    flex-direction: column;
  }

  .controller-action-bar {
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .login-footer {
    padding-inline: 0.75rem;
  }

  .login-footer-inner {
    grid-template-columns: 1fr;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0;
  }

  .login-footer-brand {
    align-items: center;
    flex-direction: row;
    gap: 0.55rem;
  }

  .login-footer-logo {
    width: 2.6rem;
    max-height: 1.5rem;
  }

  .login-footer-mark {
    display: none;
  }

  .login-footer-copy strong {
    font-size: 0.76rem;
  }

  .login-footer-copy small {
    display: none;
  }

  .login-footer-contact {
    align-items: center;
    gap: 0.5rem;
    width: auto;
  }

  .login-footer-contact a {
    justify-content: flex-start;
    flex: 0 0 auto;
    font-size: 0.75rem;
  }

  .login-footer-contact a + a::before {
    margin-right: 0.5rem;
  }

  .hid-door-list {
    grid-template-columns: 1fr;
  }

  .hid-door-row {
    grid-template-columns: 2.45rem minmax(0, 1fr) 1.45rem;
    padding: 0.58rem;
  }

  .hid-door-icon-wrap {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hid-door-menu {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
  }

  .hid-door-notice-stack {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
  }

  .hid-door-notice {
    min-width: 0;
    max-width: none;
  }

  .controller-action-group {
    width: 100%;
  }

  .controller-action-label {
    width: 100%;
    min-height: 1rem;
    padding: 0 0 0.1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .controller-action-bar .btn,
  .controller-action-bar .form-select {
    flex: 1 1 10rem;
  }
}

.community-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 5px;
}

.community-action-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
}

.community-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adff2f;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(173, 255, 47, 0.45);
  border-radius: 999px;
  background: rgba(173, 255, 47, 0.12);
  cursor: help;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.community-status-cluster {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.community-status-badge:hover {
  background: rgba(173, 255, 47, 0.2);
  border-color: rgba(173, 255, 47, 0.8);
  transform: translateY(-1px);
}

.community-status-icon,
.community-status-image {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.community-status-image {
  object-fit: contain;
}

.community-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.community-status-icon--patrol {
  color: #86f0d0;
}

.community-status-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.health-heading-line,
.health-dashboard-meta,
.health-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.health-heading-line {
  margin-bottom: 0.35rem;
}

.health-pill {
  width: 2rem;
  height: 2rem;
  min-height: 2rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3f3f3;
  font-size: 0.86rem;
  line-height: 1.15;
  white-space: nowrap;
  justify-content: center;
}

.health-pill small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.health-alerting-status {
  border: 1px solid rgba(255, 204, 102, 0.45);
  border-radius: 999px;
  color: #ffe1a3;
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
}

.health-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.08);
}

.health-status-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
}

.health-status-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.health-status-good {
  color: #6ee58a;
}

.health-status-warning {
  color: #ffd45f;
}

.health-status-warning svg path:first-child {
  fill: rgba(255, 212, 95, 0.18);
}

.health-status-critical {
  color: #ff6b6b;
}

.health-status-critical svg path:first-child {
  fill: rgba(255, 107, 107, 0.18);
}

.health-status-unknown {
  color: #c7d0d9;
}

.health-status-unknown svg path:first-child {
  fill: rgba(199, 208, 217, 0.16);
}

.health-good {
  color: #6ee58a;
  border-color: rgba(110, 229, 138, 0.32);
  background: rgba(110, 229, 138, 0.1);
}

.health-warning {
  color: #ffd45f;
  border-color: rgba(255, 212, 95, 0.34);
  background: rgba(255, 212, 95, 0.12);
}

.health-critical {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.38);
  background: rgba(255, 107, 107, 0.12);
}

.health-unknown {
  color: #c7d0d9;
  border-color: rgba(199, 208, 217, 0.28);
  background: rgba(199, 208, 217, 0.09);
}

.health-dashboard {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(42, 45, 47, 0.95), rgba(28, 29, 31, 0.95));
}

.kiosk-update-panel {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(120, 189, 255, 0.24);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(31, 39, 47, 0.96), rgba(24, 29, 34, 0.96));
  color: #f8fbff;
}

.kiosk-update-panel[hidden] {
  display: none;
}

.kiosk-update-panel.is-complete {
  border-color: rgba(110, 229, 138, 0.36);
}

.kiosk-update-panel.is-error {
  border-color: rgba(255, 107, 107, 0.42);
}

.kiosk-update-header,
.kiosk-update-meta,
.kiosk-update-steps {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.kiosk-update-header {
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.kiosk-update-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.kiosk-update-state,
.kiosk-update-step {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.kiosk-update-state {
  padding: 0.22rem 0.55rem;
  font-size: 0.78rem;
}

.kiosk-update-message {
  margin: 0 0 0.58rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.35;
}

.kiosk-update-meta {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.kiosk-update-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.kiosk-update-actions[hidden] {
  display: none;
}

.kiosk-update-meta strong {
  color: #ffffff;
  font-weight: 600;
}

.kiosk-update-step {
  position: relative;
  min-height: 1.75rem;
  padding: 0.32rem 0.62rem 0.32rem 1.45rem;
  font-size: 0.76rem;
  line-height: 1.1;
}

.kiosk-update-step::before {
  content: "";
  position: absolute;
  left: 0.58rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.kiosk-update-step.is-complete {
  color: #6ee58a;
  border-color: rgba(110, 229, 138, 0.28);
  background: rgba(110, 229, 138, 0.1);
}

.kiosk-update-step.is-active {
  color: #78bdff;
  border-color: rgba(120, 189, 255, 0.38);
  background: rgba(120, 189, 255, 0.12);
}

.kiosk-update-step.is-error {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.38);
  background: rgba(255, 107, 107, 0.12);
}

.health-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.health-dashboard-meta {
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.2;
}

.health-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 0.55rem;
}

.health-metric {
  min-height: 5.55rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.18rem;
}

button.health-metric {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
}

.health-metric[data-health-detail-tile] {
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.health-metric[data-health-detail-tile]:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.health-metric[data-health-detail-tile]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.health-metric.is-health-detail-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.health-metric-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.health-metric strong {
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.1;
}

.health-metric small {
  color: rgba(255, 255, 255, 0.72);
  min-height: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.15;
}

.health-meter {
  display: block;
  height: 0.26rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.health-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.health-dashboard-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.health-panel {
  padding: 0.58rem 0.68rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
}

.health-panel[hidden] {
  display: none;
}

.health-panel h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 0.82rem;
}

.health-issue-list,
.health-list-row {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.health-issue {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  padding: 0.36rem 0.42rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.health-issue .health-dot {
  margin-top: 0.22rem;
  flex: 0 0 auto;
}

.health-list-row {
  padding: 0.34rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.health-list-row:last-child {
  border-bottom: 0;
}

.health-list-row strong {
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.15;
}

.health-list-row span,
.health-empty-list {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
  font-size: 0.76rem;
  line-height: 1.15;
}

.health-inline-status {
  width: fit-content;
  padding: 0.12rem 0.34rem;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.1;
}

.health-sip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.38rem;
}

.health-sip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.32rem;
  min-width: 0;
  padding: 0.36rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.health-sip-row strong {
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.1;
}

.health-sip-row .health-inline-status {
  flex: 0 0 auto;
}

ul#navlist
{
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
gap: 0.35rem;
flex-wrap: wrap;
}

.guard-nav-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
flex-wrap: wrap;
margin: 4px;
}

.user-identity--guard-nav,
.user-identity--toolbar {
flex: 0 1 22rem;
padding: 0.42rem 0.58rem;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 0.45rem;
background: rgba(255, 255, 255, 0.06);
}

.user-identity--toolbar {
background: rgba(255, 255, 255, 0.05);
}

ul#navlist li
{
display: block;
width: auto;
margin: 0;
padding: 0;
}

ul#navlist li a
{
display: block;
padding: 0.34rem 0.55rem;
border-width: 1px;
border-color: #ffe #aaab9c #ccc #fff;
border-style: solid;
color: white;
text-decoration: none;
background: #565e64;
border-radius:6px;
font-size: 0.82rem;
line-height: 1.1;
white-space: nowrap;
}

ul#navlist li a:hover, ul#navlist li#active a:hover
{
background: #666e74;
}

#search-input {
  width:auto;
  padding: 2px;
}

.log-results {
  max-height: 62vh;
  overflow: auto;
  padding: 0.6rem 1rem;
  text-align: left;
}

.log-result-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.log-result-row strong {
  color: #2a3138;
  font-size: 0.84rem;
}

.log-result-row span {
  color: #111820;
  font-size: 0.88rem;
  line-height: 1.3;
}

.logs-page-shell {
  color: #f5f7fb;
}

.logs-page-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.logs-page-header h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
}

.logs-filter-panel,
.logs-table-card {
  background: #11161f;
  border: 1px solid #2f3949;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.logs-filter-grid {
  align-items: end;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
}

.logs-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}

.logs-filter-field span {
  color: #aeb8c8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logs-filter-field input,
.logs-filter-field select,
.logs-page-shell div.dt-container .dt-search input,
.logs-page-shell div.dt-container .dt-length select {
  background: #0f1218;
  border: 1px solid #3c4657;
  border-radius: 6px;
  color: #ffffff;
  min-height: 38px;
  padding: 0.45rem 0.6rem;
  width: 100%;
}

.logs-filter-actions {
  display: flex;
  gap: 0.5rem;
}

.logs-page-shell div.dt-container {
  color: #f5f7fb;
}

.logs-page-shell div.dt-container .dt-layout-row {
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
}

#applicationLogs {
  width: 100%;
}

#applicationLogs td,
#applicationLogs th {
  vertical-align: middle;
}

#applicationLogs td:last-child {
  min-width: 460px;
}

@media (max-width: 980px) {
  .logs-filter-grid {
    grid-template-columns: 1fr;
  }

  .logs-filter-actions {
    justify-content: flex-start;
  }
}

.callPulse {
  background: #6283a3;
  animation: callPulse 2s ease-in-out infinite;
}

@keyframes callPulse {
  0% {
    background: #6283a3;
  }
  50% {
    background: #212529;
  }
  100% {
    background: #6283a3;
  }
}

[class*="FBdisabled-"] {
  display:none;
}
.guard-note-alert {
  margin: 18px 0 10px;
  padding: 18px 22px;
  border: 4px solid #f6d365;
  border-radius: 14px;
  background: linear-gradient(135deg, #7a1f1f 0%, #441111 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.guard-note-alert__label {
  margin-bottom: 8px;
  color: #ffe28a;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guard-note-alert__body {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
}

.quickpass-denied-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 70px) 20px;
  color: #fff;
}

.quickpass-denied-card {
  width: min(940px, 94vw);
  padding: clamp(28px, 5vw, 54px);
  border: 6px solid #ffd447;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 71, 0.24), transparent 34%),
    linear-gradient(135deg, #8c1111 0%, #3b0707 58%, #170202 100%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  text-align: center;
}

.quickpass-denied-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffd447;
  color: #2b0505;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quickpass-denied-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.24);
}

.quickpass-denied-message {
  max-width: 780px;
  margin: 22px auto 0;
  color: #ffe88a;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.quickpass-denied-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}

.quickpass-denied-detail {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.quickpass-denied-detail span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quickpass-denied-detail strong {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.25;
}

.quickpass-denied-detail--plate strong {
  color: #ffe88a;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quickpass-denied-note {
  text-align: left;
}

.quickpass-denied-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.guard-app-frame-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(157, 178, 196, 0.16), transparent 32%),
    linear-gradient(180deg, #0b1116 0%, #06090d 100%);
}

.guard-app-shell {
  display: grid;
  grid-template-columns: minmax(340px, 26vw) minmax(0, 1fr) 0;
  gap: 0.75rem;
  min-height: 100vh;
  padding: 0.75rem;
  box-sizing: border-box;
}

.guard-sidebar-visible.guard-app-shell {
  grid-template-columns: minmax(340px, 25vw) minmax(0, 1fr) minmax(280px, 20vw);
}

.guard-app-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  background: rgba(17, 23, 30, 0.86);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.guard-app-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.gozer-lpr-action-tray {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1060;
  display: grid;
  gap: 0.65rem;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.gozer-lpr-action-card {
  pointer-events: auto;
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(110, 229, 138, 0.42);
  border-radius: 0.75rem;
  background: rgba(12, 20, 18, 0.96);
  color: #f4fff7;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.gozer-lpr-action-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #9ff0b2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gozer-lpr-action-card__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}

.gozer-lpr-action-card__plate {
  color: #ffffff;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.gozer-lpr-action-card__meta {
  color: #c6d5dc;
  font-size: 0.86rem;
  line-height: 1.3;
}

.gozer-lpr-action-card__candidates {
  display: grid;
  gap: 0.42rem;
}

.gozer-lpr-action-candidate {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(110, 229, 138, 0.34);
  border-radius: 0.55rem;
  background: rgba(110, 229, 138, 0.12);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
}

.gozer-lpr-action-candidate:hover,
.gozer-lpr-action-candidate:focus {
  background: rgba(110, 229, 138, 0.2);
  border-color: rgba(110, 229, 138, 0.6);
  outline: none;
}

.guard-workspace-page {
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.guard-workspace-page .hierarchy-detail-title {
  font-size: 1.08rem;
  line-height: 1.12;
}

.guard-workspace-page h3.hierarchy-detail-title {
  font-size: 0.96rem;
}

.guard-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.guard-page-title {
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.05;
}

.guard-page-subtitle {
  margin: 0.25rem 0 0;
  color: #b8c6d4;
  max-width: 48rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.guard-page-notice {
  margin-bottom: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.guard-page-notice--success {
  background: rgba(34, 84, 51, 0.92);
  border-color: rgba(110, 229, 138, 0.36);
}

.guard-page-notice--warning {
  background: rgba(92, 73, 28, 0.92);
  border-color: rgba(255, 212, 95, 0.36);
}

.guard-page-notice--danger {
  background: rgba(113, 39, 41, 0.92);
  border-color: rgba(255, 107, 107, 0.4);
}

.guard-selection-grid,
.guard-guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.guard-selection-card,
.guard-guest-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.guard-selection-card:hover,
.guard-guest-card:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 178, 196, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.guard-selection-card img,
.guard-guest-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.guard-selection-card strong,
.guard-guest-card strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.guard-selection-card span,
.guard-guest-card span {
  margin-top: 0.28rem;
  color: #b8c6d4;
  font-size: 0.88rem;
  line-height: 1.25;
}

.guard-resident-page {
  padding-top: 0.72rem;
}

.guard-resident-page .guard-page-header {
  margin-bottom: 0.48rem;
}

.guard-resident-page .guard-page-title {
  font-size: 1.32rem;
}

.guard-resident-page .guard-page-subtitle {
  font-size: 0.86rem;
}

.guard-resident-picker-card {
  margin-bottom: 0.58rem;
}

.guard-post-orders-card {
  margin-bottom: 0.58rem;
}

.guard-post-orders-body {
  max-height: clamp(5.5rem, 18vh, 13rem);
  overflow-y: auto;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: #edf5ff;
  font-size: 0.9rem;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.guard-post-orders-body-empty {
  color: #b8c6d4;
  font-style: italic;
}

.guard-resident-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 0.48rem;
  max-height: clamp(230px, 36vh, 390px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.2rem;
}

.guard-resident-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  grid-template-areas:
    "icon name"
    "icon phone"
    "icon address"
    "icon match";
  align-items: center;
  column-gap: 0.62rem;
  min-height: 4.05rem;
  padding: 0.55rem 0.68rem;
  border-radius: 0.75rem;
}

.guard-resident-card--preapproved-match {
  border-color: rgba(110, 229, 138, 0.62);
  background: rgba(65, 132, 82, 0.18);
  box-shadow: inset 3px 0 0 rgba(110, 229, 138, 0.8);
}

.guard-resident-card img {
  grid-area: icon;
  width: 30px;
  height: 30px;
  margin: 0;
}

.guard-resident-card strong {
  grid-area: name;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.guard-resident-card span {
  min-width: 0;
  margin-top: 0.12rem;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  line-height: 1.18;
}

.guard-resident-card span:nth-of-type(1) {
  grid-area: phone;
}

.guard-resident-card span:nth-of-type(2) {
  grid-area: address;
}

.guard-resident-match-badge {
  grid-area: match;
  justify-self: start;
  margin-top: 0.28rem;
  padding: 0.18rem 0.46rem;
  border: 1px solid rgba(110, 229, 138, 0.36);
  border-radius: 999px;
  color: #79f09a;
  background: rgba(110, 229, 138, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.guard-resident-page .guard-recent-card {
  margin-bottom: 0;
}

.guard-resident-page .guard-recent-list {
  gap: 0.42rem;
}

.guard-resident-page .guard-recent-row {
  padding: 0.48rem 0.65rem;
}

.guard-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.guard-visitor-edit-grid {
  margin-bottom: 0.75rem;
}

.guard-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guard-form-field label {
  color: #d8e3ed;
  font-size: 0.9rem;
  font-weight: 700;
}

.guard-form-field input,
.guard-form-field textarea {
  min-height: 2.7rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  color: #0e1114;
}

.guard-form-field textarea {
  min-height: 5.3rem;
  resize: vertical;
}

.guard-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.guard-section-meta {
  margin: 0;
  color: #9fb0bf;
  font-size: 0.84rem;
}

.guard-processing-layout {
  display: grid;
  gap: 0.75rem;
}

.guard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.42rem;
  margin-top: 0.35rem;
}

.guard-summary-tile {
  padding: 0.5rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}

.guard-summary-tile span {
  display: block;
  margin-bottom: 0.22rem;
  color: #9fb0bf;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guard-summary-tile strong {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.2;
}

.guard-processing-screen {
  display: grid;
  gap: 0.58rem;
}

.guard-processing-card {
  min-width: 0;
}

.guard-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.55rem;
}

.guard-media-card {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.guard-media-preview {
  aspect-ratio: 16 / 9;
  height: clamp(150px, 23vh, 240px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(28, 35, 40, 0.98), rgba(16, 20, 24, 0.98));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guard-media-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #090d11;
}

.guard-media-placeholder {
  padding: 1rem;
  text-align: center;
  color: #b8c6d4;
  font-size: 0.88rem;
  line-height: 1.35;
}

.guard-media-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.guard-media-meta span {
  color: #e6eef7;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}

.guard-media-meta .guard-plate-value {
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.guard-media-meta .btn {
  padding: 0.32rem 0.55rem;
  font-size: 0.78rem;
}

.guard-id-details {
  display: grid;
  gap: 0.28rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(8, 13, 18, 0.34);
}

.guard-id-detail-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.22;
}

.guard-id-detail-row span {
  color: #aebdcb;
  font-weight: 700;
}

.guard-id-detail-row strong {
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.guard-decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.guard-decision-grid .btn {
  min-height: 2.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.79rem;
  line-height: 1.15;
  padding: 0.55rem 0.85rem;
}

.guard-decision-grid .btn-danger {
  box-shadow: 0 12px 26px rgba(128, 24, 24, 0.24);
}

.guard-decision-grid .guard-decision-primary {
  border-color: rgba(110, 229, 138, 0.85);
  background: #238144;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(35, 129, 68, 0.26);
}

.guard-recent-card {
  margin-top: 0;
}

.guard-recent-card[data-guard-recent-source="local"] .guard-section-meta,
.guard-recent-card[data-guard-recent-source="mixed"] .guard-section-meta {
  color: #e2c37a;
}

.guard-recent-card[data-guard-recent-source="none"] .guard-section-meta {
  color: #d4a2a2;
}

.guard-recent-list {
  display: grid;
  gap: 0.65rem;
}

.guard-recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.guard-recent-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.guard-recent-main strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.guard-recent-main span {
  color: #b8c6d4;
  font-size: 0.8rem;
}

.guard-recent-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #9fb0bf;
  font-size: 0.82rem;
}

.guard-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guard-status-pill--success {
  color: #6ee58a;
  background: rgba(110, 229, 138, 0.12);
  border: 1px solid rgba(110, 229, 138, 0.28);
}

.guard-status-pill--danger {
  color: #ff8d8d;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.28);
}

.guard-status-pill--neutral {
  color: #d6dde4;
  background: rgba(214, 221, 228, 0.1);
  border: 1px solid rgba(214, 221, 228, 0.22);
}

.guard-empty-state {
  padding: 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  color: #b8c6d4;
  font-size: 0.84rem;
}

.guard-status-console {
  display: grid;
  gap: 0.4rem;
  padding: 0.42rem;
}

.guard-status-console .card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.guard-sidebar-stack {
  display: grid;
  gap: 0.45rem;
  padding: 0.5rem;
}

.guard-status-console .hierarchy-detail-card,
.guard-sidebar-stack .hierarchy-detail-card {
  margin-bottom: 0;
  padding: 0.62rem 0.7rem;
}

.guard-status-console .hierarchy-detail-title,
.guard-sidebar-stack .hierarchy-detail-title {
  font-size: 0.92rem;
  line-height: 1.08;
}

.guard-status-console .hierarchy-stat-pill,
.guard-sidebar-stack .hierarchy-stat-pill {
  padding: 0.2rem 0.48rem;
  font-size: 0.72rem;
}

.guard-sidebar-stack .guard-section-heading,
.guard-status-console .guard-section-heading {
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.guard-sidebar-stack .guard-decision-grid--sidebar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.32rem;
  margin-top: 0.2rem;
}

.guard-sidebar-stack .guard-decision-grid--sidebar .btn {
  min-height: 2rem;
  padding: 0.34rem 0.38rem;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.guard-sidebar-stack .guard-sidebar-utility-row {
  margin-top: 0.34rem;
}

.guard-sidebar-stack .guard-sidebar-utility-row .btn {
  width: 100%;
  min-height: 2rem;
  padding: 0.34rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.guard-call-card {
  padding: 0.55rem;
}

.guard-call-card.answering {
  border-color: rgba(255, 193, 7, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.24);
}

.guard-call-card .displayCommEnt,
.guard-call-card .incomingCall {
  font-size: 0.82rem;
  line-height: 1.18;
}

.guard-call-card .incomingCall p {
  margin-bottom: 0.3rem;
}

.guard-call-card .container {
  padding-left: 0;
  padding-right: 0;
}

.guard-call-card .row {
  --bs-gutter-x: 0.25rem;
  align-items: center;
}

.guard-call-card button {
  border: 0;
  background: transparent;
  padding: 0.1rem;
}

.guard-call-card button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.guard-call-card .volume {
  margin-top: 0.25rem;
  font-size: 0.78rem;
}

.guard-call-video-stack {
  position: relative;
  display: block;
  margin-top: 0.35rem;
  overflow: hidden;
  background: #05080c;
}

.guard-call-video-stack .remoteVideo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #05080c;
}

.guard-call-video-stack .localVideo {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  width: clamp(54px, 22%, 82px);
  height: auto;
  object-fit: contain;
  background: #05080c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.guard-sidebar-stack .guard-recent-list {
  gap: 0.32rem;
}

.guard-sidebar-stack .guard-empty-state {
  padding: 0.55rem 0.65rem;
}

.guard-sidebar-stack .imgcontainerimg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.9rem;
}

.guard-sidebar-stack .bottom-left {
  left: 0.65rem;
  bottom: 0.55rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: rgba(7, 11, 15, 0.72);
  -webkit-text-stroke: 0;
}

.guard-sidebar-stack .imgcontainer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(7, 11, 15, 0.72);
  min-height: 94px;
  max-height: 132px;
  cursor: zoom-in;
}

.guard-sidebar-stack .rtlog {
  max-height: 118px;
  min-height: 94px;
  padding: 0.42rem 0.55rem;
  font-size: 0.7rem;
  line-height: 1.22;
  overflow-y: auto;
}

.guard-sidebar-camera-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 5, 8, 0.86);
  backdrop-filter: blur(8px);
}

.guard-sidebar-camera-modal.is-open {
  display: flex;
}

.guard-sidebar-camera-modal__dialog {
  width: min(92vw, 960px);
  display: grid;
  gap: 0.65rem;
}

.guard-sidebar-camera-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #f7f8f9;
}

.guard-sidebar-camera-modal__title {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.guard-sidebar-camera-modal__close {
  min-width: 2.2rem;
  min-height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f8f9;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.guard-sidebar-camera-modal__frame {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.guard-sidebar-camera-modal__image {
  display: block;
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
  background: #040608;
}

.guard-sidebar-status-pill--online {
  color: #72eb97;
  border-color: rgba(110, 229, 138, 0.42);
  background: rgba(46, 126, 76, 0.36);
}

.guard-sidebar-status-pill--offline {
  color: #ffb7b7;
  border-color: rgba(255, 107, 107, 0.36);
  background: rgba(113, 39, 41, 0.3);
}

.guard-console-brand {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.guard-console-brand .hierarchy-detail-title {
  font-size: 1.15rem;
  line-height: 1;
}

.guard-console-brand .hierarchy-card-eyebrow {
  margin-bottom: 0.2rem;
}

@media (min-width: 1201px) {
  .guard-processing-screen {
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.28fr);
    align-items: start;
  }

  .guard-processing-card--summary {
    grid-column: 1;
    grid-row: 1;
  }

  .guard-processing-card--capture {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .guard-processing-card--actions {
    grid-column: 1;
    grid-row: 2;
  }

  .guard-processing-card--recent {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  [data-guard-processing] .hierarchy-detail-card {
    margin-bottom: 0;
  }
}

@media (max-width: 1200px) {
  .guard-app-shell,
  .guard-sidebar-visible.guard-app-shell {
    grid-template-columns: minmax(280px, 24vw) minmax(0, 1fr) minmax(264px, 23vw);
  }
}

@media (max-width: 1024px) {
  .guard-app-shell,
  .guard-sidebar-visible.guard-app-shell {
    grid-template-columns: minmax(220px, 25vw) minmax(0, 1fr);
  }

  .guard-app-panel--right {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .guard-app-shell,
  .guard-sidebar-visible.guard-app-shell {
    grid-template-columns: 1fr;
  }

  .gozer-lpr-action-tray {
    right: 0.6rem;
    bottom: 0.6rem;
    width: calc(100vw - 1.2rem);
  }

  .guard-app-panel--left,
  .guard-app-panel--right {
    min-height: 320px;
  }

  .guard-page-title {
    font-size: 1.3rem;
  }
}
