/* shukudai.css */

body {
  background-color: #eee;
  font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 11pt;
}

.error-msg {
  color: red;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: #000 1pt solid;
  margin-bottom: 1em;
}

thead {
  font-weight: bold;
  background-color: #ddd;
}

td {
  padding: 3pt;
  text-align: center;
}

thead td {
  vertical-align: bottom;
}


tbody td {
  vertical-align: top;
  border-top: #aaa 1pt solid;
  border-right: #aaa 1pt solid;
}

td.reference {
  background-color: #ddd;
  vertical-align: bottom;
}


ul.options {
  display: inline-block;
  padding: 0;
  margin: 0 20pt;
  vertical-align: top;
}

ul.options li {
  list-style-type: none;
}

dl.results {
  display: grid;
  grid-template-columns: max-content auto;
  row-gap: 0.75em;
  column-gap: 1em;
  align-items: center;
}

dl.results dt {
  grid-column-start: 1;
  font-weight: bold;
  justify-self: end;
}

dl.results dd {
  grid-column-start: 2;
  font-size: 14pt;
  margin: 0;
}

.kanji {
  font-size: 20pt;
}

.ignored {
  color: #aaa;
}

.exception {
  background-color: #ff9;
}

.exception>ruby {
  background-color: #eee;
}

.exception>ruby>rt {
  background-color: #ff9;
}

ruby>rt {
  /* Prevent furigana from being selected */
  user-select: none;
  color: #888;
}

footer {
  margin-top: 4em;
  color: #888;
  font-size: 9pt;
}