/* Fallback styling for older browsers that do not support modern CSS
   (oklch colors / cascade layers). Modern browsers skip this entirely. */
@supports not (color: oklch(1 0 0)) {
  html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #14231a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    -webkit-text-size-adjust: 100%;
  }

  * { box-sizing: border-box; }

  h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
  h2 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
  p { margin: 0 0 10px; }

  #root, body > div { padding: 0 16px; }

  label {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    color: #55665c;
  }

  label > span { display: block; margin-bottom: 4px; }

  input, textarea, select {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cfe0d5;
    border-radius: 10px;
    background: #fff;
    color: #14231a;
    font-size: 16px;
  }

  textarea { height: auto; min-height: 90px; padding: 10px 12px; }

  button, a[role="button"] {
    display: inline-block;
    min-height: 44px;
    padding: 10px 16px;
    margin: 4px 0;
    border: 0;
    border-radius: 10px;
    background: #12a150;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  button[type="button"] {
    background: #eef5f0;
    color: #14231a;
    border: 1px solid #cfe0d5;
  }

  form > button:last-of-type,
  button[type="submit"] {
    display: block;
    width: 100%;
    background: #12a150;
    color: #fff;
  }

  a { color: #0f8a45; }

  img { max-width: 100%; height: auto; }

  table { width: 100%; border-collapse: collapse; }
  td, th { padding: 6px 8px; text-align: left; }

  footer { padding: 16px 0; font-size: 12px; color: #7a8a80; text-align: center; }
}
