/* Element defaults shared by every page of the cloud client. They sit below the
   components layer, so a component never loses to a bare element selector the
   way it never lost by specificity before the layers. */
@layer reset {
/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--sys-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--sys-on-surface);
  background: var(--sys-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, button, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--comp-scrollbar-thumb);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--comp-scrollbar-thumb-hover); }

/* Form controls inherit the page font; no tap flash on touch screens. */
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{ -webkit-tap-highlight-color:transparent }
}
