html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #f8f4e9;
}
.atlas-frame {
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
}
.atlas-frame nav {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 2px 20px;
  min-height: 38px;
  border-bottom: 1px solid #b89354;
  background: #532838;
  color: #fff5e2;
}
.atlas-frame nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: inherit;
  text-decoration: none;
}
.atlas-frame nav a:hover { text-decoration: underline; }
.atlas-frame nav a:focus-visible { outline: 2px solid #e8c27a; }
.atlas-frame-context:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3d89f;
  font-size: 14px;
}
.atlas-frame-title {
  justify-self: end;
  color: #f3d89f;
  text-align: right;
  font-size: 14px;
  line-height: 1.25;
}
.atlas-frame-name { position: relative; }
.atlas-frame-name summary {
  display: flex;
  align-items: center;
  min-height: 34px;
  cursor: pointer;
  list-style: none;
}
.atlas-frame-name summary::-webkit-details-marker { display: none; }
.atlas-frame-name summary:focus-visible { outline: 2px solid #e8c27a; }
.atlas-frame-name > span {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid #b89354;
  border-radius: 5px;
  background: #532838;
  color: #fff5e2;
  white-space: nowrap;
}
.atlas-frame main { flex: 1; min-height: 0; }
.atlas-frame iframe { display: block; border: 0; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .atlas-frame nav { gap: 8px; padding-inline: 10px; font-size: 12px; }
  .atlas-frame nav a,
  .atlas-frame-name summary { min-height: 44px; }
  .atlas-frame-context:not([hidden]) { gap: 6px; font-size: 12px; }
  .atlas-frame-title { font-size: 12px; }
}
