html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

html {
  --form-field-outline-color: #999;
  --spacing-unit: 8px;
  --form-field-border: 1px solid var(--form-field-outline-color);
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

body > header,
body > footer {
  flex: 0 0 auto;
  background: #efefef;
  padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
}

body > main {
  flex: 1 0 auto;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2);
}

body > header {
  border-bottom: var(--form-field-border);
}

body > footer {
  border-top: var(--form-field-border);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  margin-bottom: 0;
}

fieldset {
  margin: 0;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: #eee;
  border: var(--form-field-border);
  border-radius: calc(var(--spacing-unit) / 2);
}
.btn:disabled {
  opacity: 0.5;
}
.btnSizeSm {
  padding: calc(var(--spacing-unit) / 2) calc(var(--spacing-unit));
  font-size: 0.9em;
}
.btnSizeMd {
  padding: calc(var(--spacing-unit) / 2) calc(var(--spacing-unit) * 1.5);
  font-size: 1.25em;
}
.btnWidthFull {
  display: block;
  width: 100%;
}
.btnVariantGraphic {
  padding: 0;
  width: 1.33333em;
  height: 1.33333em;
}
.btnVariantText {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.modal {
  width: 100%;
  margin-left: 20px;
  margin-right: 20px;
}
.modalHeader {
  display: flex;
  justify-content: space-between;
}

.pageTitle {
  margin: 0;
}

input {
  box-sizing: border-box;
}

.formField {
  margin: 0;
}
.formField > label {
  display: block;
  line-height: 1.5;
}
.formField input,
.formField select {
  display: block;
  width: 100%;
  font-size: 1em;
  padding: calc(var(--spacing-unit) / 2) var(--spacing-unit);
  border: var(--form-field-border);
  background-color: #fff;
}
.formField input[readonly],
.formField select[readonly] {
  background-color: #ddd;
}
.formField input[type=number][readonly],
.formField select[type=number][readonly] {
  appearance: textfield;
}
.formField input[type=number][readonly]::-webkit-inner-spin-button, .formField input[type=number][readonly]::-webkit-outer-spin-button,
.formField select[type=number][readonly]::-webkit-inner-spin-button,
.formField select[type=number][readonly]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.stack {
  display: flex;
  flex-direction: column;
}
.stack > * {
  flex: 0 0 auto;
}
.stack > * + * {
  margin-top: calc(var(--spacing-unit) * 2);
}

.actions {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
}
.actions.dirVertical {
  flex-direction: column;
}
.actions.dirHorizontal {
  flex-direction: row;
}
.actions.dirResponsive {
  flex-direction: column;
}
@media only screen and (min-width: 600px) {
  .actions.dirResponsive {
    flex-direction: row;
  }
}
.actions.variantGrouped {
  gap: 0;
}
.actions.variantGrouped > button:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.actions.variantGrouped > button + button {
  border-left: 0;
}
.actions.variantGrouped > button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.actions.variantGrouped > button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@keyframes loadingText {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loading {
  animation: 2s linear 0s loadingText;
}

.screenSetup {
  display: flex;
  flex-direction: column;
}
.counter {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 2em;
}
.counter > * {
  margin: 0;
}
.counterScore {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 3em;
  line-height: 1;
}
.counterScoreLabel {
  font-size: 0.25em;
  display: block;
}
.counterCompact {
  flex: 0 0 auto;
  text-align: left;
  font-size: 1em;
  flex-direction: row;
  align-items: center;
}
.counterCompact .counter {
  justify-content: space-between;
}
.counterCompact .counterScore {
  flex-grow: 1;
  font-size: 1.5em;
  line-height: 1;
  display: inline;
}
.counterCompact .counterScoreLabel {
  font-size: 1em;
  display: inline;
}
.counterSummary {
  margin: 0;
  padding: 0;
  display: inline flex;
  gap: calc(var(--spacing-unit) / 2);
}

.screenSetup details summary {
  font-size: 1.25em;
  position: relative;
}
.screenSetup details summary .meta {
  position: absolute;
  right: 0;
}
.screenSetup details summary.isUnnamed .label {
  color: #888;
}
.screenSetup details[open] .counterSummary {
  display: none;
}

.screenCounter {
  height: 100%;
}
.screenCounterTitle {
  text-align: center;
  text-decoration: underline;
  font-size: 1.5em;
}
.screenCounter .counter + .counter {
  margin-top: calc(var(--spacing-unit) * 2);
  padding-top: calc(var(--spacing-unit) * 2);
  border-top: 1px solid var(--form-field-outline-color);
}

/*# sourceMappingURL=styles.css.map */
