*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #eef4f6;
}

body {
  min-width: 0;
  padding: 16px;
  overflow-wrap: anywhere;
}

#wrapper {
  width: min(100%, 900px) !important;
  margin: 0 auto !important;
  overflow: hidden;
  background: #fff;
}

#header {
  width: 100% !important;
  height: auto !important;
  min-height: 88px;
  padding: 28px 24px;
  background-color: #286c78;
  background-position: center !important;
  background-size: cover !important;
}

#header h1 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.35;
  text-indent: 0 !important;
  text-shadow: 0 1px 3px rgb(0 0 0 / 60%);
}

#header h1 a {
  color: inherit;
}

#main {
  width: 100% !important;
  padding: clamp(16px, 4vw, 32px) !important;
}

img,
iframe {
  max-width: 100%;
}

.x-logo {
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.3em;
  vertical-align: -0.05em;
}

img {
  height: auto;
}

table {
  max-width: 100%;
}

table.t {
  display: block;
  width: 100% !important;
  overflow-x: auto;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 640px) {
  body {
    padding: 8px;
  }

  #header {
    min-height: 72px;
    padding: 20px 16px;
  }

  #main {
    padding: 16px !important;
  }
}
