.Xfilters,
.Xbody {
  background: #eee;
}

.Xfilters__float:not(:hover),
.Xfilters a:not(:hover),
.Xtasks a:not(:hover),
.Xfooter a:not(:hover) {
  text-decoration: none;
}

.Xfooter {
  text-align: center;
  margin-top: 1em;
  color: silver;
}

.Xfooter a:not(:hover) {
  color: gray;
}

.Xfilters {
  text-align: center;
  margin-bottom: 1em;
}

.Xfilters__float {
  position: fixed;
  z-index: 2;
  color: blue;
  text-shadow: .1em .1em white;
}

.Xfilters__float_pinned {
  color: #551A8B;
}

.Xfilters__float + .Xfilters {
  position: absolute;
  padding: .5em /*body margin-top*/ 0;
  top: 0;
  left: 0;
  right: 0;
}

.Xfilters__float_pinned + .Xfilters,
.Xfilters__float:hover + .Xfilters,
.Xfilters__float + .Xfilters:hover {
  position: fixed;
  border-bottom: .1em solid silver;
  background: linear-gradient(0deg, #eaeaea, #eee);
}

.Xfilters label {
  display: inline-block;
  margin: 0 .5em .5em 0;
}

.Xfilters label a {
  float: left;
  padding: .4em .4em 0;
}

.Xfilters label a + a {
  float: right;
}

.Xfilters select {
  display: block;
  min-width: 12em;
  height: 10em;
  border: .1em solid silver;
  margin-top: .2em;
}

.Xfilters .Xwarn, .Xfilters noscript {
  background: orange;
  padding: .1em .3em;
}

.Xempty {
  text-align: center;
  border: dashed silver;
  border-width: 0.06em 0;
  padding: .5em;
  background: #e5e5e5;
}

.Xtasks {
  border-spacing: 0;  /* border-collapse doesn't play with border-radius */
  background: white;
  box-shadow: 0 0 1em #ccc;
  border-radius: .5em;
  margin: 0 auto;
  min-width: 30em;
}

.Xtasks__group {
  background: #f1f1f1;
}

.Xtask_forced-filter:not(:hover) {
  opacity: .35;
}

.Xtasks a[title]:not(:hover) {
  text-decoration: underline dotted;
}

.Xtasks > tbody > :target > :last-child:before {
  float: right;
  content: "←";
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  color: red;
  background: white;
  border: .06em solid;
  border-radius: 100%;
}

.Xfilters label a,
.Xtask_inline > :nth-child(4) > :first-child,
.Xinfo td {
  font-family: monospace;
  color: navy;
}

.Xtasks > tbody > * > :nth-child(4) > :first-child > span {
  color: silver;
}

.Xtasks > tbody > * > :nth-child(4) :not(span) > a {
  text-decoration: underline;
}

.Xtasks > tbody > * > :nth-child(4) :not(span) > a:hover {
  text-decoration: none;
}

.Xtasks > tbody > :first-child > :first-child { border-top-left-radius: .5em; }
.Xtasks > tbody > :first-child > :last-child  { border-top-right-radius: .5em; }
.Xtasks > tbody > :last-child > :first-child  { border-bottom-left-radius: .5em; }
.Xtasks > tbody > :last-child > :last-child   { border-bottom-right-radius: .5em; }

.Xtasks > tbody > tr > * {
  border: .06em solid #ddd;
  padding: .25em .5em;
}

/* Also for [colspan]. */
.Xtasks > tbody > tr > :first-child {
  text-align: center;
}

.Xtask_prio_highest > :first-child { color: white; background: red; }
.Xtask_prio_highest > :last-child  { border-right: .18em solid red; }
.Xtask_prio_high > :first-child    { color: white; background: maroon; }
.Xtask_prio_high > :last-child     { border-right: .18em solid maroon; }
.Xtask_prio_low > :first-child     { color: white; background: gray; }
.Xtask_prio_low > :last-child      { border-right: .18em solid gray; }
.Xtask_prio_lowest > :first-child  { color: white; background: silver; }
.Xtask_prio_lowest > :last-child   { border-right: .18em solid silver; }

.Xtask_prio_highest > :first-child:before { content: "⇈"; }
.Xtask_prio_high    > :first-child:before { content: "↑"; }
.Xtask_prio_low     > :first-child:before { content: "↓"; }
.Xtask_prio_lowest  > :first-child:before { content: "⇊"; }

/* Courtesy of http://ajaxloadingimages.net. */
.Xloading {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAHgCAYAAADE5W/0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAUdSURBVHhe7ZXBbuQwDEP7/z+9Cx0ECK4d0V1Kyk75AMFpZkI+zSH9EuJ/4s8PhsptIF3AiNtlUwIaLIFyAfQsYbTcGS13Rsud0XLjFds7rRKnshaJrKRUAg0vk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3AbSBYy4XTYloMES+FwBIwsvLXdOJS3lzlrWWu546Ui5MSqwlrZKnMpaJLKSUoldOHqPwhrsf5/u04nBa/nuMzqn0tNJx4LRoXMbSpeI26EjhBCilfHXr5ePScTidond9m0Sa1GrxKmgTeIpvEUiCy6XQELtOz50slBqadzE54ns8yuQsnVoZGHUMmfdZD0ju3v/TAzNJEoEDETCzvg9OjF8Vx7PMhCJcp4k2thJtDO2fcTKRwWEEEKI3wH7X+51nn/ZH4yTcXrGT4inh56Cnr7/9Nw3soeeilayrC3IQ/Ez5HtP3/kG+pB9jnwnnhA/eugAReDp9OsT6zMQu4LTacTrld33U9aHTmdkd894euZIfGgNeArafYY894340DoZp2f8hIgPMmDnCSGEEGKW0f/tXjwiEEvbBXblbRJPm5dLPJU7ZRJIuVEigJT7/TIBn8hauvsOnV3p7iwFkViHzm1J9jmFcQmkwL7jQycLjZ+3C5SXG6fglnJnLWgtd7xopNwZLTd2v0IrVjxWLsQP+fr6C9L+WO7AiETiAAAAAElFTkSuQmCC");
  animation: hourglass 1.5s steps(15) infinite;
  width: 32px;
  height: 32px;
}
@keyframes hourglass { from { background-position: 0 0; } to { background-position: 0 -480px; } }

.Xerror {
  color: red;
}

html td.Xexpanded {
  border-color: gray;
}

.Xfind {
  float: left;
  padding-right: .5em;
}

.Xfile {
  margin: .2em 0;
}

.Xfile__launch {
  display: block;
}

.Xcode {
  border-collapse: collapse;
  line-height: 1em;
  margin-top: .4em;
  background: #f5f5f5;
}

.Xinfo tr:first-child > * { padding-top: .25em; }
.Xinfo tr:last-child > * { padding-bottom: .25em; }

.Xinfo tr > * {
  padding: 0 .5em;
}

.Xinfo th {
  vertical-align: top;
  border-right: .06em solid navy;
  color: gray;
  font-weight: normal;
  text-align: right;
}

.Xinfo th:before {
  /*
    This hides line numbers from Ctrl+C. One disadvantage is that there are no
    numbers when viewed with CSS off (in FF); this could be solved by outputting
    them directly and adding user-select: none; but in FF that causes
    indentation on the last copied incomplete line to be lost.
  */
  content: attr(data-n);
}

.Xinfo td {
  padding-left: .5em;
  white-space: pre-wrap;
}
.Xt__C > *,
.Xfilters [name="tag[]"] [value="C"],
.Xt__ID > *,
.Xfilters [name="tag[]"] [value="ID"] {
  background: #fffff2;
}

.Xt__IC > *,
.Xfilters [name="tag[]"] [value="IC"],
.Xt__O > *,
.Xfilters [name="tag[]"] [value="O"],
.Xt__RH > *,
.Xfilters [name="tag[]"] [value="RH"],
.Xt__R > *,
.Xfilters [name="tag[]"] [value="R"] {
  background: #f2f2ff;
}

.Xt__B > *,
.Xfilters [name="tag[]"] [value="B"],
.Xt__I > *,
.Xfilters [name="tag[]"] [value="I"] {
  background: #fff2f2;
}

/* COMPATIBILITY.xxx */

.Xfilters [name="group[]"] [value],
.Xfilters [name="tag[]"] [value="COMPATIBILITY"] {
  color: green;
}

.Xt__COMPATIBILITY > :first-child:before { content: "Unknown/Partial"; }

.Xt__COMPATIBILITY.Xtask_prio_high > :first-child { background: green; }
.Xt__COMPATIBILITY.Xtask_prio_high > :first-child:before { content: "Done"; }
.Xt__COMPATIBILITY.Xtask_prio_high > :last-child  { border-right-color: green; }

.Xt__COMPATIBILITY.Xtask_prio_low > :first-child { background: maroon; }
.Xt__COMPATIBILITY.Xtask_prio_low > :first-child:before { content: "Not Done"; }
.Xt__COMPATIBILITY.Xtask_prio_low > :last-child  { border-right-color: maroon; }
