/* --- Minimal modern CSS reset (app-friendly) ----------------------------- */

/* 1) Box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2) Remove default margins (prevents "mystery gaps") */
html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

/* 3) Base body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 4) Media elements behave predictably */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 5) Form elements inherit fonts */
input, button, textarea, select {
  font: inherit;
  font-size: 1rem;
}

/* 6) Avoid textarea overflow surprises */
textarea {
  resize: vertical;
}

/* 7) Prevent long words/URLs from breaking layouts */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8) Remove default list padding/margins when using lists as layout */
ul, ol {
  margin: 0;
  padding: 0;
}

/* Optional: remove list markers when you style your own */
ul[role="list"], ol[role="list"] {
  list-style: none;
}
