@import url('./ui-office-drawer.css?v=20261013');

body[data-current-area='mapa'] .admin-main {
  display: flex;
  flex-direction: column;
  max-width: none;
  height: calc(100dvh - var(--topbar-height));
  min-height: 0;
  padding: 0;
}
body[data-current-area='mapa'] .page-heading {
  display: none;
}
#office-workspace {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  background: white;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.office-toolbar,
.office-actions,
.office-live,
.office-footer,
.state-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}
.office-toolbar {
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 8px 20px;
  color: #f5f9fd;
  background: #1b4263;
  border-bottom: 1px solid #ffffff14;
}
.office-live {
  color: #d0e0ee;
  font-size: 11px;
}
.office-live-dot {
  width: 6px;
  height: 6px;
  background: #9bdec4;
  border-radius: 50%;
}
.office-live.is-stale .office-live-dot {
  background: #ad8744;
}
.office-live.is-stale::after {
  content: 'Atualização indisponível';
  color: #f4d79b;
}
.office-actions .secondary {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
  color: #f5f9fd;
  background: #ffffff08;
  border-color: #ffffff30;
}
.office-actions .secondary:hover,
.office-actions .icon-button:hover {
  background: #ffffff18;
}
.office-actions .icon-button {
  color: #d0e0ee;
}
.office-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #101a29;
}
.office-canvas iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.office-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b1c4d9;
  font-size: 12px;
  background: #101a29;
}
.office-footer {
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 8px 20px;
  background: #e4edf6;
  border-top: 1px solid var(--line);
}
.office-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.state-summary {
  flex-wrap: wrap;
  gap: 12px;
}
.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.state-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: #8897aa;
  border-radius: 50%;
}
.state-dot.working {
  background: #318166;
}
.state-dot.available {
  background: #5886aa;
}
.state-dot.attention {
  background: #c44f4f;
}
.state-dot.configuration {
  background: #ad8744;
}
