* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: #101216;
  color: #eef2f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.toolbar,
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(16, 18, 22, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.status {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  color: #aeb7c5;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
}

p {
  margin: 4px 0 0;
  color: #aeb7c5;
  font-size: 13px;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

button {
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #202734;
  color: #eef2f8;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

button:hover {
  background: #2b3444;
}

button.is-off {
  color: #7e8998;
}

#viewer {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 720px) {
  .toolbar,
  .status {
    align-items: flex-start;
    flex-direction: column;
  }

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