/* The ISA manuals' one stylesheet (tools/gen-manual.py): the pages read without it */
body { max-width: 72em; margin: 0 auto; padding: 0 1em; font-family: sans-serif; line-height: 1.4; }
pre { overflow-x: auto; padding: .5em; border: 1px solid #8888; }
a.src { font-size: smaller; font-weight: normal; }
.nav, .foot, .groups { font-size: smaller; }
.bits { font-family: monospace; }
ul.cols { columns: 20em; }
ul.cols li { overflow-wrap: anywhere; }
table.regdiagram { border-collapse: collapse; border: 0; font-family: monospace; text-align: center; }
.regdiagram td { border: 0; padding: .1em .25em; min-width: 1.2em; }
.regdiagram tr.nums td { font-size: smaller; }
.regdiagram .firstrow td { border-top: 1px solid; border-bottom: 1px solid; }
.regdiagram tr.secondrow td { padding-bottom: .4em; }
.regdiagram .firstrow td.l { border-left: 1px solid; }
.regdiagram .firstrow td.r { border-right: 1px solid; }
.regdiagram .firstrow td.lr { border-left: 1px solid; border-right: 1px solid; }
.regdiagram .droppedname { font-size: smaller; font-style: italic; }
#search input { width: 100%; max-width: 30em; font-size: 1.1em; }
table.fields { border-collapse: collapse; }
.fields td, .fields th { border: 1px solid #8888; padding: .1em .5em; text-align: left; }
/* the diagrams' cells by what they are (LEGEND): pastels, deeper in the dark */
.regdiagram td.b, .legend .b { background: #dce8f7; }
.regdiagram td.f, .legend .f { background: #dcf2df; }
.regdiagram td.x, .legend .x { background: #fbecd2; }
.regdiagram td.s, .legend .s { background: #f6dbe7; }
.legend { font-size: smaller; }
.legend span { padding: 0 .4em; border: 1px solid #8886; }
@media (prefers-color-scheme: dark) {
  .regdiagram td.b, .legend .b { background: #263a52; }
  .regdiagram td.f, .legend .f { background: #24402c; }
  .regdiagram td.x, .legend .x { background: #4a3c22; }
  .regdiagram td.s, .legend .s { background: #4b2738; }
}
/* the NVN API's platforms: Switch 2's alone, the Switch's alone */
.s2, .s1 { font-size: smaller; padding: 0 .4em; border: 1px solid #8886; white-space: nowrap; }
.s2 { background: #e6dcf7; }
.s1 { background: #dce8f7; }
tr.s2row td { background: #f3eefc; }
@media (prefers-color-scheme: dark) {
  .s2 { background: #3d2f57; }
  .s1 { background: #263a52; }
  tr.s2row td { background: #2a2338; }
}
h1 .s2, h1 .s1 { font-size: .45em; vertical-align: middle; }
/* the Android API's marks on a member: native, an empty body, deprecated */
.tag { font-size: smaller; padding: 0 .4em; border: 1px solid #8886; white-space: nowrap; }
dl dt { margin-top: .3em; }
/* the driver bugs' table: its headers sort it (sort.js) */
#bugs th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; }
#bugs td { vertical-align: top; }
#bugs { font-size: 90%; }
#bugs td:nth-child(2) { min-width: 12em; }
.wide { overflow-x: auto; }
