html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: system-ui, sans-serif;
}

.app-banner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 16px;
  padding: 4px 16px;
  background: #171717;
  color: #fff;
  font-size: 14px;
}

.app-brand, .app-session {
  display: flex;
  align-items: center;
  min-width: 0;
}

.app-brand { min-height: 44px; }
.app-brand img { display: block; width: auto; height: 24px; }
.app-session { justify-content: flex-end; gap: 16px; }
.app-account { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-session-menu { flex: none; }
.app-session-menu summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 4px;
  cursor: pointer;
}

.app-session-panel {
  position: absolute;
  top: 100%;
  right: 16px;
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(28rem, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid #555;
  border-radius: 0 0 6px 6px;
  background: #171717;
  overflow-wrap: anywhere;
}

.app-banner a { color: inherit; }
.app-banner :is(a, summary, button):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.app-session-panel > a { display: flex; align-items: center; min-height: 44px; }
.app-session-panel form { margin: 0; }
.app-session-panel button {
  min-height: 44px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid #888;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.server-content { padding: 24px; }
@media (max-width: 600px) {
  .app-banner, .app-session { gap: 8px; }
  .app-brand img { height: 20px; }
  .server-content { padding: 16px; }
}
