/* Button colour #0d6e86 is a darker Dofody teal: white text on it passes WCAG AA (about 5.9:1). */
* { box-sizing: border-box; }
body { margin: 0; font: 18px/1.5 system-ui, -apple-system, "Noto Sans Malayalam", sans-serif; color: #1a1a1a; background: #f6f8f9; }
body[data-lang="en"] [lang="ml"]:not(.lang-btn), body[data-lang="ml"] [lang="en"]:not(.lang-btn) { display: none; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #dde3e6; }
.brand { margin: 0; font-weight: 700; font-size: 20px; color: #0d6e86; }
.langs { display: flex; gap: 8px; }
.lang-btn { font: inherit; font-size: 16px; padding: 8px 12px; min-height: 44px; border: 2px solid #0d6e86; background: #fff; color: #0d6e86; border-radius: 8px; }
.lang-btn[aria-pressed="true"] { background: #0d6e86; color: #fff; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
h1 { font-size: 24px; line-height: 1.3; }
h2 { font-size: 20px; }
fieldset { border: 1px solid #c9d2d6; border-radius: 8px; padding: 12px 16px; margin: 16px 0; background: #fff; }
legend { float: left; width: 100%; font-weight: 600; padding: 0; margin-bottom: 4px; }
legend + * { clear: both; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.choice input { width: 22px; height: 22px; }
.warn { background: #fff4e5; border-left: 4px solid #b25e00; padding: 10px 12px; margin: 8px 0 0; }
.btn { display: block; width: 100%; font: inherit; font-weight: 600; padding: 14px 16px; min-height: 52px; border: 0; border-radius: 10px; background: #0d6e86; color: #fff; cursor: pointer; }
.btn:focus-visible, .lang-btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
.btn-secondary { background: #fff; color: #0d6e86; border: 2px solid #0d6e86; }
.hint { font-size: 16px; color: #4a4a4a; margin: 6px 0 16px; }
.files { list-style: none; padding: 0; margin: 0 0 16px; }
.files li { background: #fff; border: 1px solid #dde3e6; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.files .name { display: block; word-break: break-all; font-size: 16px; }
.files progress { width: 100%; height: 10px; }
.files .status { font-size: 16px; font-weight: 600; }
.files .ok { color: #1e6b2e; }
.files .bad { color: #a4161a; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
.choice { font-weight: 400; margin: 0; }
input[type="text"], textarea { width: 100%; font: inherit; font-size: 18px; padding: 10px 12px; border: 1px solid #8a979c; border-radius: 8px; background: #fff; }
.consent { font-size: 15px; color: #3d3d3d; margin: 16px 0; }
.error { color: #a4161a; font-weight: 600; min-height: 1em; }
.notice { font-size: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
