:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
html {
  height: 100%;
}
body {
  height: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 auto;
}
footer {
  text-align: center;
  margin-top: auto;
}
ul {
  list-style: none;
  padding-left: 0;
}
.ml1 { margin-left: .5rem; }
.mr1 { margin-right: .5rem; }
.ml2 { margin-left: 1rem; }
.mr2 { margin-right: 1rem; }

.pdf {
  width: 100%;
  height: 100%;
}

.login {
  width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

.flex-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.mean {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.small-input {
  padding: .1em;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.area-report {
  background-color: white;
  transform-origin: 0 0;
  display: inline-block;
}

.area-report * {
  color: rgb(50,50,50);
}

.fullscreen-wrapper {
  overflow-x: auto;
}

.fullscreen-wrapper.fullscreen {
  position: absolute;
  left: 3rem;
  right: 3rem;
  top: 10rem;
  bottom: 0;
}

.area-report h3 {
  margin-bottom: 0;
  margin-top: 0;
  width: 14rem;
}

.area-button {
  width: 2rem;
  font-size: 14px;
}

.area-button::after {
  content: '➕';
}

.area-button.active::after {
  content: '➖';
}

.area-report-row {
  display: flex;
  align-items: center;
  height: 2rem;
  width: max-content;
}

.area-report-column {
  display: inline-block;
  width: 3.5rem;
  height: 2rem;
  flex: none;
  border-right: 1px solid gray;
  text-align: center;
  vertical-align: middle;
  line-height: 2rem;
  text-decoration: none;
}

.area-report-name {
  flex: none;
  width: 12rem;
  height: 2rem;
  border-right: 1px solid gray;
  vertical-align: middle;
  line-height: 2rem;
}

.area-headers {
  display: flex;
  align-items: center;
  height: 2rem;
  width: max-content;
  background-color: white;
  margin-top: 1rem;
}

.area-headers-column {
  display: inline-block;
  width: 3.5rem;
  height: 2rem;
  flex: none;
  text-align: center;
  vertical-align: middle;
  line-height: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-orientation: sideways;
  background-color: white;
}

.area-hall .area-report-name {
  font-weight: 600;
}

.area-hall {
  display: flex;
  align-items: center;
}

.area-projects {
  display: none;
}

.area-projects.active {
  display: block;
}

.area-projects > .area-report-row {
  margin-left: 2rem;
  opacity: 0.8;
}

.area-projects > .area-report-row:first-child {
  border-top: 1px solid gray;
}

.area-notice {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.90rem;
}

dialog {
  top: 5rem;
  height: calc(100vh - 5rem);
  width: min(1200px, 100vw);
  border: 1px gray solid;
  border-radius: 5px;
}

@media (prefers-color-scheme: dark) {
  .pdf {
    filter: invert(80%);
  }
}

button {
  background-color: inherit;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
}

button:focus {
  outline:none;
  box-shadow: none;
}

.tab {
  display: flex;
}

.tab button {
  border-bottom: 2px solid var(--dark);
  opacity: 0.4;
  transition: 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}

.tab button.active {
  opacity: 1;
}

.red {
  color: red;
}
