:root {
  --bg: #070b14;
  --panel: #0d1320;
  --panel-2: #101826;
  --line: #1b2738;
  --text: #edf4fa;
  --muted: #8290a4;
  --cyan: #4ee1ce;
  --blue: #56a8ff;
  --violet: #9b83ff;
  --amber: #ffb84d;
  --red: #ff5c6c;
  --green: #5ee7a0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0, #102337 0, transparent 30%), var(--bg);
  color: var(--text);
  font:
    14px "DM Sans",
    sans-serif;
  min-height: 100vh;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.sidebar {
  position: fixed;
  z-index: 5;
  inset: 0 auto 0 0;
  width: 242px;
  background: rgba(8, 13, 23, 0.95);
  border-right: 1px solid var(--line);
  padding: 28px 18px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font: 800 15px Manrope;
  letter-spacing: 2px;
  padding: 0 10px 29px;
}
.brand small {
  display: block;
  color: #64738b;
  font: 600 8px DM Sans;
  letter-spacing: 2.4px;
  margin-top: 3px;
}
.brand-mark {
  width: 31px;
  height: 34px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  transform: skew(-7deg);
}
.brand-mark i {
  display: block;
  width: 7px;
  border-radius: 1px;
  background: linear-gradient(#78f7e7, #21a6a7);
}
.brand-mark i:nth-child(1) {
  height: 18px;
}
.brand-mark i:nth-child(2) {
  height: 28px;
}
.brand-mark i:nth-child(3) {
  height: 23px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-item {
  width: 100%;
  border: 0;
  background: none;
  color: #8996aa;
  text-align: left;
  padding: 10px 11px;
  border-radius: 9px;
  font: 500 13px DM Sans;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  text-decoration: none;
  min-height: 48px;
}
.nav-item span + * {
  pointer-events: none;
}
.nav-item:hover {
  color: #d9e4ec;
  background: #111b2a;
}
.nav-item.active {
  color: #e9ffff;
  background: linear-gradient(
    90deg,
    rgba(78, 225, 206, 0.16),
    rgba(78, 225, 206, 0.03)
  );
  box-shadow: inset 2px 0 var(--cyan);
}
.nav-item .icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  color: #8192a7;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid rgba(129, 146, 167, 0.22);
  border-radius: 6px;
}
.nav-item.active .icon {
  color: var(--cyan);
  border-color: rgba(78, 225, 206, 0.34);
  background: rgba(78, 225, 206, 0.08);
}
.nav-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.nav-copy strong,
.nav-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-copy strong {
  color: inherit;
  font-size: 12px;
  font-weight: 650;
}
.nav-copy small {
  color: #5f7188;
  font-size: 9px;
}
.nav-item:hover .nav-copy small,
.nav-item.active .nav-copy small {
  color: #8195ac;
}
.nav-item em,
.nav-item b {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
}
.nav-item em {
  color: #9aabc0;
}
.nav-item b {
  background: var(--red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 9px;
}
.nav-label {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.45px;
  color: #50637a;
  margin: 17px 11px 5px;
}
nav > .nav-label:first-child {
  margin-top: 2px;
}
#adminNavigation[hidden] {
  display: none;
}
.system-card {
  margin-top: auto;
  background: linear-gradient(145deg, #101b29, #0b131e);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
}
.system-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.system-card strong {
  font-size: 11px;
}
.system-card p,
.system-card small {
  color: #728197;
  font-size: 9px;
}
.system-card p {
  margin: 5px 0 12px;
}
.pulse,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.mini-bar,
.health-bar,
.availability {
  height: 4px;
  border-radius: 4px;
  background: #202c3d;
  overflow: hidden;
}
.mini-bar i {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--cyan);
}
.profile {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding: 17px 4px 0;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #23354b, #142133);
  color: #c9d8e7;
  font-size: 11px;
}
.profile strong,
.profile small {
  display: block;
  font-size: 10px;
}
.profile small {
  color: #647389;
  margin-top: 2px;
}
.profile button {
  margin-left: auto;
  background: #111d2c;
  border: 1px solid #26364a;
  border-radius: 5px;
  color: #aebdca;
  padding: 5px 8px;
  cursor: pointer;
  font: 600 9px "DM Sans";
}
.sidebar + main {
  margin-left: 242px;
}
main {
  padding: 30px 34px 50px;
  max-width: 1800px;
}
header {
  height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
h1,
h2 {
  font-family: Manrope;
  margin: 0;
}
h1 {
  font-size: 25px;
  letter-spacing: -0.5px;
}
.eyebrow {
  color: #617087;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin: 0 0 6px;
}
.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.realtime-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #91a0b3;
  font-size: 12px;
  white-space: nowrap;
}
.realtime-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.realtime-status.online {
  color: var(--green);
}
.realtime-status.online i {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.site-select,
.circle-btn,
.ghost,
.dots,
select {
  border: 1px solid var(--line);
  color: #b6c2d1;
  background: #0d1421;
  border-radius: 7px;
}
.site-select {
  height: 39px;
  padding: 0 14px;
  display: flex;
  gap: 9px;
  align-items: center;
  font: 500 11px DM Sans;
}
.site-select span:last-child {
  margin-left: 10px;
}
.circle-btn {
  width: 39px;
  height: 39px;
  position: relative;
}
.circle-btn b {
  position: absolute;
  right: -3px;
  top: -4px;
  background: var(--red);
  border: 2px solid var(--bg);
  font-size: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.primary {
  border: 0;
  background: var(--cyan);
  color: #041411;
  height: 39px;
  border-radius: 7px;
  padding: 0 16px;
  font: 700 11px DM Sans;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(78, 225, 206, 0.14);
}
.talk-action {
  background: linear-gradient(135deg, #56b7ff, #4ee1ce);
  white-space: nowrap;
}
.talk-card {
  text-align: center;
}
.talk-card label {
  text-align: left;
}
.talk-button {
  width: 100%;
  min-height: 128px;
  margin-top: 18px;
  border: 1px solid #37516d;
  border-radius: 14px;
  background: linear-gradient(145deg, #101d2d, #09121f);
  color: #edf8ff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  user-select: none;
  touch-action: none;
}
.talk-button span {
  color: #ff6075;
  font-size: 25px;
}
.talk-button strong {
  font-size: 13px;
  letter-spacing: 1px;
}
.talk-button small,
.talk-status {
  color: #7e91a9;
}
.talk-button.recording {
  border-color: #ff6075;
  background: rgba(255, 64, 92, 0.13);
  box-shadow: 0 0 0 5px rgba(255, 64, 92, 0.08);
}
.talk-button.recording span {
  animation: talk-pulse 0.8s infinite alternate;
}
.talk-button:disabled {
  opacity: 0.45;
}
.talk-status {
  min-height: 18px;
  margin-top: 13px;
  font-size: 11px;
}
.talk-status.error {
  color: #ff7182;
}
@keyframes talk-pulse {
  to {
    transform: scale(1.3);
    opacity: 0.45;
  }
}
.status-strip {
  min-height: 73px;
  border: 1px solid rgba(78, 225, 206, 0.18);
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    rgba(27, 94, 91, 0.2),
    rgba(11, 21, 31, 0.7)
  );
  display: flex;
  align-items: center;
  padding: 15px 18px;
  gap: 13px;
}
.shield {
  width: 39px;
  height: 39px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(78, 225, 206, 0.12);
  color: var(--cyan);
}
.shield span {
  border: 1px solid var(--cyan);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.status-strip strong {
  font-size: 12px;
}
.status-strip p {
  margin: 4px 0 0;
  color: #7e8da1;
  font-size: 10px;
}
.status-metrics {
  margin-left: auto;
  display: flex;
  gap: 29px;
}
.status-metrics span {
  font-size: 10px;
  color: #8795a8;
  display: flex;
  gap: 7px;
  align-items: center;
}
.status-metrics b {
  color: #dbe6ed;
}
.status-metrics i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.green {
  background: var(--green);
}
.blue {
  background: var(--blue);
}
.amber {
  background: var(--amber);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 14px 0;
}
.stat-card,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(15, 23, 36, 0.96),
    rgba(10, 16, 27, 0.96)
  );
  border-radius: 9px;
}
.stat-card {
  text-align: center;
  height: 151px;
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
}
.stat-head {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.stat-head small {
  font-size: 8px;
  color: #536276;
  letter-spacing: 1px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
.cyan {
  color: var(--cyan);
  background: rgba(78, 225, 206, 0.12);
}
.violet {
  color: var(--violet);
  background: rgba(155, 131, 255, 0.12);
}
.amber-bg {
  color: var(--amber);
  background: rgba(255, 184, 77, 0.12);
}
.green-bg {
  color: var(--green);
  background: rgba(94, 231, 160, 0.12);
}
.stat-card > p {
  font-size: 10px;
  color: #8391a3;
  margin: 11px 0 2px;
}
.stat-card > div:nth-child(3) {
  justify-content: center;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.stat-card strong {
  font: 700 28px Manrope;
}
.stat-card sup {
  font-size: 13px;
}
.stat-card > div span {
  font-size: 9px;
  color: #6d7b90;
}
.stat-card .up {
  color: var(--green);
}
.stat-card .down {
  color: #8593a5;
}
.people {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 16px;
}
.people i {
  width: 12px;
  height: 4px;
  background: var(--violet);
  border-radius: 3px;
}
.people .off {
  background: #293446;
}
.bars {
  height: 30px;
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 3px;
  align-items: end;
}
.bars i {
  width: 4px;
  background: #6b5638;
  border-radius: 2px;
}
.bars i:nth-child(1) {
  height: 8px;
}
.bars i:nth-child(2) {
  height: 14px;
}
.bars i:nth-child(3) {
  height: 10px;
}
.bars i:nth-child(4) {
  height: 22px;
}
.bars i:nth-child(5) {
  height: 15px;
}
.bars i:nth-child(6) {
  height: 28px;
}
.bars i:nth-child(7) {
  height: 19px;
}
.bars i:nth-child(8) {
  height: 12px;
}
.bars i:nth-child(9) {
  height: 24px;
}
.bars i:nth-child(10) {
  height: 16px;
}
.bars i:nth-child(11) {
  height: 20px;
}
.bars i:nth-child(12) {
  height: 9px;
}
.availability {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
}
.availability i {
  display: block;
  height: 100%;
  background: var(--green);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(310px, 0.75fr);
  gap: 14px;
}
.panel {
  padding: 17px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.panel-title h2 {
  font-size: 13px;
}
.panel-title p {
  margin: 4px 0 0;
  color: #6d7b8e;
  font-size: 9px;
}
.ghost {
  height: 30px;
  padding: 0 10px;
  font: 500 9px DM Sans;
  cursor: pointer;
}
.camera-panel .panel-title {
  align-items: flex-start;
  gap: 16px;
}
.content-grid.dashboard-single-column {
  grid-template-columns: minmax(0, 1fr);
}
.content-grid.dashboard-single-column > .panel {
  grid-column: 1;
}
body[data-dashboard-view="cameras"] .status-strip,
body[data-dashboard-view="cameras"] .site-overview,
body[data-dashboard-view="cameras"] .stats-grid,
body[data-dashboard-view="cameras"] .events-panel,
body[data-dashboard-view="cameras"] .bottom-grid {
  display: none;
}
body[data-dashboard-view="cameras"] .content-grid {
  margin-top: 8px;
}
.camera-wall-controls {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}
.camera-wall-controls label {
  display: grid;
  gap: 3px;
  color: #71849a;
  font-size: 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.camera-wall-controls select,
.camera-wall-controls button {
  min-height: 30px;
  border: 1px solid #253b53;
  border-radius: 5px;
  background: #0a1624;
  color: #dce9f5;
  font: 600 9px DM Sans;
}
.camera-wall-controls select {
  padding: 0 24px 0 8px;
}
.camera-wall-controls button {
  padding: 0 9px;
  cursor: pointer;
}
.camera-wall-controls button:disabled {
  cursor: default;
  opacity: 0.35;
}
#cameraWallPage {
  align-self: center;
  min-width: 27px;
  color: #8ba1b8;
  font-size: 8px;
  text-align: center;
}
.camera-grid {
  display: grid;
  grid-template-columns: repeat(var(--wall-columns, 2), minmax(0, 1fr));
  gap: 8px;
}
.camera {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #111b27;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.camera-card-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(133, 164, 194, 0.18);
  background: #111b27;
}
.camera-card-identity {
  min-width: 0;
  flex: 1;
}
.camera-card-identity strong,
.camera-card-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camera-card-identity strong {
  color: #f1f6fb;
  font-size: 11px;
}
.camera-card-identity small {
  margin-top: 2px;
  color: #8b99a7;
  font-size: 8px;
}
.camera-card-meta {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.camera-card-meta .ai-tag {
  overflow: hidden;
  max-width: 160px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(7, 25, 37, 0.9);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camera-viewport {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #111b27;
}
.camera.large {
  grid-row: auto;
}
.camera.prealarm {
  border-color: #ffc247;
  box-shadow:
    0 0 0 1px rgba(255, 194, 71, 0.3),
    0 0 18px rgba(255, 166, 39, 0.2);
  animation: prealarm-pulse 1.5s ease-in-out infinite;
}
@keyframes prealarm-pulse {
  50% {
    border-color: #fff0a3;
    box-shadow:
      0 0 0 2px rgba(255, 194, 71, 0.35),
      0 0 24px rgba(255, 166, 39, 0.32);
  }
}
.prealarm-banner {
  position: absolute;
  z-index: 4;
  top: 39px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 211, 92, 0.62);
  border-radius: 4px;
  background: rgba(111, 68, 3, 0.92);
  color: #fff1b5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.45px;
}
.prealarm-banner b {
  min-width: 26px;
  color: #fff;
  font-size: 11px;
  text-align: center;
}
.camera.preview-held {
  border-color: rgba(255, 194, 71, 0.72);
}
.preview-quality-banner {
  position: absolute;
  z-index: 4;
  top: 39px;
  left: 10px;
  right: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 211, 92, 0.62);
  border-radius: 4px;
  background: rgba(80, 57, 12, 0.94);
  color: #fff1b5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-align: center;
}
.scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #233442, #101924);
}
.scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(0, 0, 0, 0.07) 3px 4px
    ),
    linear-gradient(90deg, rgba(65, 208, 202, 0.06), transparent);
}
.scene-one {
  background: linear-gradient(135deg, #253a46, #111a22 55%, #293947);
}
.scene-two {
  background: linear-gradient(130deg, #2c3844, #10171e);
}
.scene-three {
  background: linear-gradient(130deg, #463828, #171816);
}
.desk {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: #1e2a32;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}
.screen {
  position: absolute;
  right: 10%;
  top: 25%;
  width: 22%;
  height: 27%;
  border: 4px solid #182027;
  background: #344b57;
  transform: skewY(-4deg);
}
.guard {
  position: absolute;
  left: 39%;
  bottom: 22%;
  z-index: 1;
}
.guard .head {
  width: 31px;
  height: 37px;
  border-radius: 45%;
  background: #a9836f;
  margin: auto;
}
.guard .body {
  width: 80px;
  height: 92px;
  border-radius: 28px 28px 5px 5px;
  background: linear-gradient(90deg, #132d3b, #204f5d, #102934);
}
.guard.small {
  transform: scale(0.72);
  left: 29%;
  bottom: 5%;
}
.empty-chair {
  position: absolute;
  left: 38%;
  bottom: 15%;
  width: 55px;
  height: 65px;
  border: 6px solid #242d30;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.empty-chair:after {
  content: "";
  position: absolute;
  width: 75px;
  height: 9px;
  background: #242d30;
  left: -16px;
  bottom: -9px;
}
.camera-top,
.camera-bottom {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.camera-top {
  top: 9px;
  left: calc(21% + 12px);
}
.camera-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}
.camera-top-actions .ai-tag {
  overflow: hidden;
  max-width: 145px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camera-pin {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid rgba(173, 201, 224, 0.35);
  border-radius: 4px;
  background: rgba(5, 10, 15, 0.78);
  color: #c8d8e7;
  cursor: pointer;
  font-size: 14px;
}
.camera-pin.active {
  border-color: rgba(255, 201, 72, 0.7);
  color: #ffd45f;
}
.camera-bottom {
  bottom: 8px;
  justify-content: flex-end;
}
.camera-bottom:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px -10px -8px;
  background: linear-gradient(transparent, rgba(3, 7, 10, 0.92));
}
.camera-top span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 4px 6px;
  border-radius: 3px;
  background: rgba(5, 10, 15, 0.7);
}
.rec {
  color: #eef6f7;
}
.rec i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 4px;
}
.camera.connected .rec i {
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
}
.ai-tag {
  color: var(--cyan);
}
.maintenance-tag {
  color: #ffd27a;
  border-color: rgba(255, 190, 80, 0.45);
  background: rgba(90, 57, 9, 0.78);
}
.camera-bottom strong,
.camera-bottom small {
  display: block;
}
.camera-bottom strong {
  font-size: 10px;
}
.camera-bottom small {
  font-size: 7px;
  color: #8b99a7;
  margin-top: 2px;
}
.camera-bottom > span {
  font-size: 7px;
  padding: 4px 6px;
  border-radius: 4px;
}
.ok {
  color: var(--green);
  background: rgba(94, 231, 160, 0.13);
}
.warn {
  color: var(--amber);
  background: rgba(255, 184, 77, 0.14);
}
.timer {
  color: var(--amber);
}
.camera-panel:fullscreen {
  overflow: auto;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: #060e19;
}
.camera-panel:fullscreen .camera-grid {
  grid-auto-rows: max(130px, calc((100vh - 125px) / var(--wall-rows, 2)));
}
.camera-panel:fullscreen .camera {
  aspect-ratio: auto;
}
.camera-panel:fullscreen .camera-viewport {
  min-height: 0;
  flex: 1;
  aspect-ratio: auto;
}
.detection-box {
  position: absolute;
  z-index: 2;
  left: 37%;
  top: 21%;
  width: 31%;
  height: 47%;
  border: 1px solid var(--cyan);
}
.detection-box span {
  position: absolute;
  bottom: 100%;
  left: -1px;
  font-size: 7px;
  background: var(--cyan);
  color: #08201e;
  padding: 2px 4px;
}
.camera.warning {
  box-shadow: inset 0 0 0 1px rgba(255, 184, 77, 0.5);
}
.events-panel {
  padding-bottom: 10px;
}
.dots {
  width: 28px;
  height: 28px;
}
.event {
  min-height: 63px;
  border-bottom: 1px solid #182334;
  display: grid;
  grid-template-columns: 34px 1fr 17px;
  gap: 9px;
  align-items: center;
}
.event-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.critical .event-icon {
  color: var(--red);
  background: rgba(255, 92, 108, 0.12);
}
.warning-event .event-icon {
  color: var(--amber);
  background: rgba(255, 184, 77, 0.12);
}
.info-event .event-icon {
  color: var(--blue);
  background: rgba(86, 168, 255, 0.12);
}
.resolved .event-icon {
  color: var(--green);
  background: rgba(94, 231, 160, 0.12);
}
.event-time {
  display: block;
  color: #536277;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.event-time i {
  font-style: normal;
  margin-left: 5px;
  padding: 2px 4px;
  border-radius: 2px;
}
.event-media-warning {
  display: inline-block;
  margin-top: 5px;
  color: #ffc66d;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.critical .event-time i {
  color: var(--red);
  background: rgba(255, 92, 108, 0.1);
}
.warning-event .event-time i {
  color: var(--amber);
  background: rgba(255, 184, 77, 0.1);
}
.info-event .event-time i {
  color: var(--blue);
  background: rgba(86, 168, 255, 0.1);
}
.resolved .event-time i {
  color: var(--green);
  background: rgba(94, 231, 160, 0.1);
}
.event strong {
  font-size: 12px;
  display: block;
  margin-top: 3px;
}
.event p {
  font-size: 10px;
  color: #657489;
  margin: 2px 0;
}
.event button {
  border: 0;
  background: none;
  color: #657489;
}
.all-events {
  width: 100%;
  height: 30px;
  margin-top: 9px;
  border: 0;
  background: none;
  color: var(--cyan);
  font: 600 9px DM Sans;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.75fr 0.75fr;
  gap: 14px;
  margin-top: 14px;
}
.activity-panel {
  min-height: 250px;
}
.panel-title select {
  font-size: 9px;
  padding: 6px 9px;
}
.chart-wrap {
  display: flex;
  height: 153px;
}
.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #4f5f74;
  font-size: 7px;
  padding: 2px 8px 20px 0;
}
.chart {
  position: relative;
  flex: 1;
}
.grid-lines {
  position: absolute;
  inset: 0 0 20px;
  background: repeating-linear-gradient(
    0deg,
    #192536 0 1px,
    transparent 1px 43px
  );
}
.chart svg {
  position: absolute;
  inset: 0 0 20px;
  width: 100%;
  height: calc(100% - 20px);
  overflow: visible;
}
.area {
  fill: url(#area);
}
.line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}
.x-axis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: #58677b;
}
.legend {
  display: flex;
  justify-content: center;
  gap: 27px;
  border-top: 1px solid #192536;
  padding-top: 12px;
}
.legend span {
  font-size: 8px;
  color: #76859a;
}
.legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
}
.legend b {
  color: #c7d2de;
  margin-left: 4px;
}
.l1 {
  background: var(--red);
}
.l2 {
  background: var(--amber);
}
.l3 {
  background: var(--cyan);
}
.l4 {
  background: var(--violet);
}
.healthy {
  font-size: 8px;
  color: var(--green);
  background: rgba(94, 231, 160, 0.1);
  padding: 5px 7px;
  border-radius: 4px;
}
.healthy i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.healthy.attention {
  color: var(--amber);
  background: rgba(255, 184, 77, 0.1);
}
.healthy.attention i {
  background: var(--amber);
}
.health-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 17px 0;
}
.health-row span,
.health-row small {
  display: block;
}
.health-row span {
  font-size: 9px;
}
.health-row small {
  font-size: 7px;
  color: #66758a;
  margin-top: 3px;
}
.health-row strong {
  font-size: 9px;
}
.health-row .health-bar {
  grid-column: 1/3;
}
.health-bar i {
  display: block;
  height: 100%;
  background: var(--cyan);
}
.health-bar.purple i {
  background: var(--violet);
}
.health-footer {
  border-top: 1px solid #192536;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #637287;
}
.health-footer strong {
  color: #aab7c5;
}
.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  background: #101b28;
  border: 1px solid rgba(94, 231, 160, 0.3);
  border-radius: 9px;
  padding: 13px 18px;
  display: flex;
  gap: 11px;
  align-items: center;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.35s;
}
.toast.show {
  transform: none;
  opacity: 1;
}
.toast > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(94, 231, 160, 0.15);
  color: var(--green);
  display: grid;
  place-items: center;
}
.toast strong {
  font-size: 11px;
}
.toast p {
  font-size: 8px;
  color: #78879a;
  margin: 3px 0 0;
}
.modal {
  position: fixed;
  z-index: 15;
  inset: 0;
  background: rgba(2, 5, 10, 0.75);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  width: min(420px, calc(100% - 30px));
  background: #0d1522;
  border: 1px solid #26364a;
  border-radius: 12px;
  padding: 25px;
  position: relative;
  transform: translateY(15px);
  transition: 0.25s;
}
.modal.open .modal-card {
  transform: none;
}
.modal-card h2 {
  margin-bottom: 20px;
}
.modal-card label {
  display: block;
  color: #8c9aae;
  font-size: 10px;
  margin: 14px 0;
}
.modal-card select,
.modal-card input {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 7px;
  padding: 0 11px;
  color: #dce6ed;
  background: #09101a;
  border: 1px solid #243246;
  border-radius: 6px;
  font-family: DM Sans;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.input-row select {
  margin-top: 7px;
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: 0;
  color: #8290a4;
  font-size: 24px;
}
.modal-submit {
  width: 100%;
  margin-top: 8px;
}
@media (max-width: 1150px) {
  .status-metrics span:nth-child(2) {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .events-panel {
    min-height: auto;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 68px;
    padding: 25px 10px;
  }
  .brand > span:last-child,
  .nav-copy,
  .nav-item em,
  .nav-item b {
    display: none;
  }
  .brand {
    padding-left: 7px;
  }
  .brand-mark {
    min-width: 31px;
  }
  .nav-item {
    justify-content: center;
    min-height: 44px;
    padding: 8px;
  }
  .nav-item .icon {
    font-size: 19px;
  }
  .nav-label,
  .system-card,
  .profile {
    display: none;
  }
  .sidebar + main {
    margin-left: 68px;
  }
  main {
    padding: 22px 14px;
  }
  header {
    height: auto;
    margin-bottom: 18px;
  }
  .header-actions .site-select,
  .header-actions .circle-btn {
    display: none;
  }
  .status-strip {
    align-items: flex-start;
  }
  .status-metrics {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .camera-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .camera.large {
    grid-row: auto;
  }
  .bottom-grid {
    display: block;
  }
  .health-panel {
    margin-top: 14px;
  }
}
@media (max-width: 510px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    display: block;
  }
  .events-panel {
    margin-top: 14px;
  }
  .activity-panel {
    display: none;
  }
  h1 {
    font-size: 22px;
  }
}
.site-overview {
  display: flex;
  gap: 9px;
  overflow: auto;
  margin: 12px 0;
  padding-bottom: 2px;
}
.site-status {
  min-width: 220px;
  flex: 1;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 9px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1623;
  color: var(--text);
  padding: 11px 12px;
  cursor: pointer;
}
.site-status > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.healthy-site > i {
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
}
.attention-site > i {
  background: var(--amber);
  box-shadow: 0 0 7px var(--amber);
}
.site-status strong,
.site-status small {
  display: block;
}
.site-status strong {
  font-size: 10px;
}
.site-status small {
  font-size: 8px;
  color: #718096;
  margin-top: 3px;
}
.site-status b {
  font-size: 7px;
  color: #91a1b4;
}
.healthy-site b {
  color: var(--green);
}
.attention-site b {
  color: var(--amber);
}
.live-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #263d4e, #101923 65%);
}
.camera-symbol {
  font-size: 45px;
  color: #6ca4b3;
  opacity: 0.65;
}
.live-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s;
}
.live-preview.loaded {
  opacity: 1;
}
.camera.warning .live-placeholder {
  background: radial-gradient(circle at 50% 45%, #493b2d, #17191a 65%);
}
:fullscreen .sidebar {
  display: none;
}
:fullscreen .sidebar + main {
  margin-left: 0;
}
:fullscreen main {
  max-width: none;
}
.login-screen {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 20%, #123047, #060a12 55%);
}
.login-screen.hidden {
  display: none;
}
.login-card {
  width: min(390px, calc(100% - 30px));
  padding: 34px;
  background: rgba(13, 21, 34, 0.96);
  border: 1px solid #25374a;
  border-radius: 14px;
  box-shadow: 0 30px 80px #0008;
}
.login-card > .brand-mark {
  margin-bottom: 18px;
}
.login-card h2 {
  font-size: 24px;
}
.login-copy {
  color: #7d8ca1;
  font-size: 11px;
  margin: 7px 0 24px;
}
.login-card label {
  display: block;
  color: #8e9caf;
  font-size: 10px;
  margin: 13px 0;
}
.login-card input {
  display: block;
  width: 100%;
  height: 43px;
  margin-top: 7px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #263549;
  background: #080f19;
  color: #e9f2f8;
  font: 12px "DM Sans";
}
.login-card .primary {
  width: 100%;
  margin-top: 8px;
}
.login-error {
  min-height: 15px;
  color: var(--red);
  font-size: 9px;
}
.event-loading {
  height: 220px;
  display: grid;
  place-items: center;
  color: #65748a;
  font-size: 10px;
}
.event-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(2, 5, 10, 0.94);
  display: grid;
  place-items: center;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.event-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.event-detail {
  width: min(1050px, 100%);
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: #0b1320;
  border: 1px solid #26364a;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  isolation: isolate;
  contain: paint;
  backface-visibility: hidden;
}
.event-detail::-webkit-scrollbar {
  width: 10px;
}
.event-detail::-webkit-scrollbar-track {
  background: #08111c;
}
.event-detail::-webkit-scrollbar-thumb {
  border: 2px solid #08111c;
  border-radius: 999px;
  background: #31445c;
}
.detail-close {
  position: absolute;
  right: 16px;
  top: 13px;
  border: 0;
  background: none;
  color: #7c8ca0;
  font-size: 24px;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 30px;
  margin-bottom: 18px;
}
.detail-header h2 {
  font-size: 21px;
}
.detail-header > div > p {
  font-size: 11px;
  color: #6f7f94;
  margin: 5px 0;
}
.detail-header .receipt-notice {
  color: #ffca72;
  font-weight: 700;
}
.detail-status {
  font-size: 10px;
  letter-spacing: 1px;
  padding: 6px 9px;
  border-radius: 4px;
  color: var(--amber);
  background: rgba(255, 184, 77, 0.12);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 20px;
}
.evidence {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #050a10;
  display: grid;
  place-items: center;
  color: #607087;
  font-size: 10px;
}
.evidence img,
.evidence video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.evidence video {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.media-play-prompt {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, transparent 25%, rgba(2, 10, 18, 0.82));
  cursor: pointer;
}
.media-play-prompt[hidden] {
  display: none;
}
.media-play-prompt span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border: 2px solid #69ead9;
  border-radius: 50%;
  color: #69ead9;
  background: rgba(5, 18, 27, 0.92);
  font-size: 24px;
}
.media-play-prompt strong {
  font-size: 15px;
}
.media-play-prompt small {
  color: #c3d1df;
  font-size: 11px;
}
.media-gap-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #ffe08a;
  border: 2px solid rgba(255, 193, 61, 0.72);
  background: rgba(29, 22, 5, 0.97);
  animation: media-gap-attention 0.8s ease-in-out infinite alternate;
}
.media-gap-overlay strong {
  font:
    700 17px "Manrope",
    sans-serif;
}
.media-gap-overlay span {
  color: #ffd76d;
  font-size: 12px;
}
@keyframes media-gap-attention {
  from {
    box-shadow: inset 0 0 0 0 rgba(255, 193, 61, 0.08);
  }
  to {
    box-shadow: inset 0 0 42px 6px rgba(255, 193, 61, 0.28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .media-gap-overlay {
    animation: none;
  }
}
.media-chapters {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
}
.media-chapters[hidden] {
  display: none;
}
.media-chapters button {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid #263a50;
  border-radius: 7px;
  color: #bdc9d8;
  background: #0b1522;
  text-align: center;
  cursor: pointer;
}
.media-chapters button.active {
  border-color: var(--cyan);
  color: #effffc;
  background: rgba(78, 225, 206, 0.1);
}
.media-chapters button small {
  color: #71859b;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.media-chapters button strong {
  font-size: 12px;
}
.media-chapters > span {
  max-width: 150px;
  color: var(--amber);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.media-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.media-controls[hidden] {
  display: none;
}
.media-controls label,
.media-controls button,
.media-controls select {
  color: #cbd6e3;
  font: inherit;
  font-size: 11px;
}
.media-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.media-controls button,
.media-controls select {
  border: 1px solid #263a50;
  border-radius: 6px;
  background: #0f1927;
  padding: 7px 9px;
}
.media-controls button {
  cursor: pointer;
}

/* Escala operacional: leitura confortável em monitores da central. */
.brand small,
.nav-label,
.system-card p,
.system-card small,
.profile small {
  font-size: 11px;
}
.nav-item,
.profile strong,
.system-card strong {
  font-size: 13px;
}
.panel-title h2 {
  font-size: 17px;
}
.panel-title p,
.event p,
.camera small,
.site-status small,
.media-status {
  font-size: 12px;
}
.event-time,
.event-time i,
.eyebrow,
.detail-data small {
  font-size: 11px;
}
.event strong,
.detail-data strong {
  font-size: 14px;
}
.detail-description {
  font-size: 14px;
}
.ghost,
.all-events,
button,
select,
input {
  font-size: 13px;
}
.detail-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.recovery-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.recovery-summary[hidden] {
  display: none;
}
.recovery-summary > div {
  padding: 14px;
  text-align: center;
  border: 1px solid rgba(48, 214, 169, 0.28);
  border-radius: 12px;
  background: rgba(48, 214, 169, 0.08);
}
.recovery-summary small,
.recovery-summary strong {
  display: block;
}
.recovery-summary strong {
  margin-top: 5px;
  font-size: 1.05rem;
  color: #7bf2ce;
}
.calibration-review {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(66, 190, 255, 0.35);
  border-radius: 12px;
  background: rgba(28, 115, 160, 0.12);
}
.calibration-review[hidden] {
  display: none;
}
.calibration-review > small,
.calibration-review > strong {
  display: block;
  text-align: center;
}
.calibration-review > strong {
  margin: 5px 0 12px;
  color: #6dd8ff;
}
#calibrationMetrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#calibrationMetrics span {
  padding: 9px;
  border-radius: 7px;
  background: #0f1927;
  text-align: center;
  font-size: 12px;
}
.pause-action {
  background: rgba(65, 191, 159, 0.14);
  border-color: rgba(65, 191, 159, 0.35);
}
.detail-data > div {
  padding: 10px;
  background: #0f1927;
  border-radius: 6px;
}
.detail-data small,
.detail-data strong {
  display: block;
}
.detail-data small {
  color: #5e6e82;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.detail-data strong {
  font-size: 11px;
  margin-top: 4px;
}
.detail-description {
  color: #9ba9b8;
  font-size: 12px;
  line-height: 1.6;
  background: #0e1724;
  padding: 12px;
  border-left: 2px solid var(--cyan);
}
.timeline-side {
  border-left: 1px solid #1d2a3b;
  padding-left: 18px;
}
.timeline-side h3 {
  font: 700 12px Manrope;
}
.timeline {
  max-height: 210px;
  overflow: auto;
  margin: 15px 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 16px 18px;
  border-left: 1px solid #29394c;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  left: -4px;
  top: 2px;
}
.timeline-item strong,
.timeline-item small,
.timeline-item p {
  display: block;
}
.timeline-item strong {
  font-size: 11px;
}
.timeline-item small {
  color: #58687d;
  font-size: 9px;
  margin-top: 2px;
}
.timeline-item p {
  color: #8392a5;
  font-size: 10px;
  margin: 4px 0;
}
.timeline-side label {
  font-size: 10px;
  color: #728197;
}
.timeline-side textarea {
  width: 100%;
  height: 70px;
  margin-top: 6px;
  padding: 9px;
  resize: none;
  background: #08101a;
  border: 1px solid #253448;
  border-radius: 6px;
  color: #dce6ec;
  font: 10px "DM Sans";
}
.quick-response-label {
  display: block;
  margin-top: 8px;
}
.quick-response-label select {
  width: 100%;
  margin-top: 6px;
  padding: 8px 9px;
  border: 1px solid #253448;
  border-radius: 6px;
  background: #08101a;
  color: #dce6ec;
  font: 10px "DM Sans";
}
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}
.detail-actions button {
  height: 34px;
  border: 0;
  border-radius: 5px;
  background: var(--cyan);
  color: #051713;
  font: 700 10px "DM Sans";
}
.media-status {
  min-height: 18px;
  margin: 7px 2px 0;
  color: #8fa1b6;
  font-size: 10px;
  text-align: center;
}
.detail-actions .secondary {
  background: #213044;
  color: #c8d4df;
}
.detail-actions .success {
  background: var(--green);
  color: #062016;
}
.detail-actions .danger {
  background: rgba(255, 92, 108, 0.16);
  color: var(--red);
}
.scene-reference-approval {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(244, 190, 71, 0.45);
  border-radius: 6px;
  background: rgba(244, 190, 71, 0.08);
  color: #dce6ec;
  text-align: center;
}
.scene-reference-approval[hidden] {
  display: none;
}
.scene-reference-approval strong,
.scene-reference-approval p,
.scene-reference-approval small {
  display: block;
}
.scene-reference-approval p,
.scene-reference-approval small {
  margin-top: 5px;
  color: #aab8c8;
  font-size: 10px;
}
.scene-reference-approval img {
  display: block;
  width: 100%;
  margin-top: 9px;
  border-radius: 5px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050a10;
}
.scene-reference-approval > button {
  width: 100%;
  min-height: 32px;
  margin-top: 7px;
  border: 1px solid #3a4a5f;
  border-radius: 5px;
  background: #172334;
  color: #dce6ec;
}
.detail-actions .scene-reference {
  grid-column: 1 / -1;
  background: #f4be47;
  color: #281d05;
}
.detail-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
@media (max-width: 760px) {
  .event-modal {
    padding: 8px;
  }
  .event-detail {
    padding: 18px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .timeline-side {
    border-left: 0;
    border-top: 1px solid #1d2a3b;
    padding: 15px 0 0;
  }
  .detail-data {
    grid-template-columns: 1fr 1fr;
  }
}
