#content {
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
}

h1 {
  font-family: 'Calibri Light', Calibri, sans-serif;
  font-size: 20pt;
  color: #464646;
  margin-bottom: 4px;
}

#subtitle {
  font-size: 10pt;
  color: #767676;
}

/* Report layout */

.report-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.report-left {
  flex-shrink: 0;
}

.report-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.report-top {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: flex-start;
}

.report-section {
  flex-shrink: 0;
}

.report-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex-shrink: 0;
}

.section-title {
  font-family: Calibri, sans-serif;
  font-size: 13pt;
  font-weight: bold;
  color: #1e4e79;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #c8bfd4;
}

.section-body {
  min-height: 20px;
  font-size: 11pt;
  color: #767676;
}

/* Table - matches wiki style */

table {
  border-collapse: collapse;
  margin: 0;
}

th, td {
  border: 1px solid #a3a3a3;
  padding: 3px 8px;
  font-family: Calibri, sans-serif;
  font-size: 11pt;
  color: black;
  vertical-align: top;
  white-space: nowrap;
}

th {
  background-color: #EBE5E1;
  font-weight: bold;
  color: #1e4e79;
}

tr.grand-total td {
  background-color: #EBE5E1 !important;
}

td:not(:first-child) {
  text-align: right;
}

th.sortable {
  cursor: pointer;
  user-select: none;
  padding-right: 22px;
  position: relative;
}

th.sortable::after {
  content: "⇅";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
  font-size: 0.8em;
}

th.sortable[data-sort="asc"]::after {
  content: "▲";
  opacity: 1;
}

th.sortable[data-sort="desc"]::after {
  content: "▼";
  opacity: 1;
}

/* Per-table alternating row colors */

#command         th                      { background-color: #e2c5ff; }
#event-type      th                      { background-color: #e2c5ff; }

#os-version      td                      { background-color: #bdd7ee; color: black; }
#os-version      th                      { background-color: #1f4e78; color: white; }
#os-version      tr.grand-total td       { background-color: #1f4e78 !important; color: white; }

#os-culture      td                      { background-color: #ffe699; color: black; }
#os-culture      th                      { background-color: #806000; color: white; }
#os-culture      tr.grand-total td       { background-color: #806000 !important; color: white; }

#more-culture    td                      { background-color: #ffe699; color: black; }
#more-culture    th                      { background-color: #806000; color: white; }
#more-culture    tr.grand-total td       { background-color: #806000 !important; color: white; }

#onemore-version td                      { background-color: #c6e0b4; color: black; }
#onemore-version th                      { background-color: #375623; color: white; }
#onemore-version tr.grand-total td       { background-color: #375623 !important; color: white; }

#onenote-version td                      { background-color: #c6e0b4; color: black; }
#onenote-version th                      { background-color: #375623; color: white; }
#onenote-version tr.grand-total td       { background-color: #375623 !important; color: white; }
#unused-commands td                      { background-color: #f3f3f3; color: black; }
#unused-commands th                      { background-color: #adadad; color: white; }
#unused-commands tr.grand-total td       { background-color: #c0c0c0 !important; color: white; }
