@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
@namespace html url('http://www.w3.org/1999/xhtml');

:root > html|input,
:root > html|textarea {
  margin: 2px 4px;
  padding: 2px 2px 3px;
  padding-inline-start: 5px;
}

#mac html|input, #mac html|textarea {
  margin: 4px;
  padding: 0 1px;
}

textbox[multiline="true"], html|textarea {
  border: none !important;
  -moz-appearance: none !important;
  background-color: white !important;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

html|input, html|textarea {
  font: inherit;
}

html|input.empty {
  color: graytext;
}

@media (-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
  :root:not(.winxp) html|input.empty {
    font-style: italic;
  }
}

html|input.num {
  text-align: end;
}

#mac html|input.num {
  margin-inline-end: 8px;
}

#win html|input.num {
  padding: 0 !important;
}

#linux html|input.num {
  margin-inline-end: 3px;
  padding: 3px 4px;
}

html|div.plainfield {
  color: -moz-fieldtext;
  white-space: pre;
}

