/* Orchard Trees copy: fixes needed only because the copy runs inside Etch. No design changes. */
/* 1. Etch's reset (layer etch-reset) changes browser defaults the original relies on. This layer is declared after
   etch-reset and before the original's "bricks" layer, and puts the browser defaults back, so Bricks, ACSS and the
   page CSS apply exactly as on the original. */
@layer ot-browser-defaults {
  *, :before, :after { box-sizing: revert }
  * { margin: revert }
  html { -webkit-text-size-adjust: revert; text-size-adjust: revert; scrollbar-gutter: revert }
  ul[role=list], ol[role=list], ul[class], ol[class] { list-style: revert; padding: revert }
  body { -webkit-font-smoothing: revert; flex-direction: revert; min-block-size: revert; font-family: revert; line-height: revert; display: revert }
  body main { flex-grow: revert }
  a:not([class]) { text-decoration-skip-ink: revert }
  img, picture, video, canvas, svg, a { max-inline-size: revert; height: revert; display: revert }
  input, button, textarea, select { font: revert }
  button { cursor: revert; color: revert; background-color: revert; border: revert }
  textarea:not([rows]) { min-height: revert }
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: revert }
  figure > img { inline-size: revert }
  img { block-size: revert }
}
/* 2. The layout and page wrappers are not in the original DOM: header, main, footer and the popup are children of
   <body> there (body is a flex column on the original too). display: contents puts them back in the same boxes. */
.ot-site, .ot-body { display: contents }
