:root{--primary:#0a4d39;--primary-2:#0f6b5c;--primary-ink:#fff;--accent:#f2c94c;--bg:#f3f6f4;--surface:#fff;--surface-2:#eef3f0;--border:#e2e8e4;--border-strong:#d3ddd7;--text:#111827;--muted:#56645d;--action:#3a4740;--link:#0a4d39;--soft:#e3f4ec;--danger:#b91c1c;--ans-bg:#fef3c7;--ans-fg:#8a4b06;--grad:linear-gradient(135deg, #0a4d39 0%, #0f6b5c 100%);--radius:14px;--font:"Inter", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--primary:#4cc79a;--primary-ink:#06201a;--bg:#0b1310;--surface:#141f1a;--surface-2:#1b2822;--border:#24332c;--border-strong:#2c3d35;--text:#e6eee9;--muted:#9fb2a8;--action:#c3d1c9;--link:#6fd4ac;--soft:#1e3a30;--danger:#f87171;--ans-bg:#3a3011;--ans-fg:#f2c94c;--grad:linear-gradient(135deg, #06291f 0%, #0a3f38 100%);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;transition:background-color .3s,color .3s}a{color:var(--link);text-decoration:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.app-shell{flex-direction:column;max-width:640px;min-height:100%;margin:0 auto;display:flex}.page{flex:1;padding-bottom:84px}.hero{background:var(--grad);color:#fff;padding:calc(16px + env(safe-area-inset-top)) 16px 20px;border-radius:0 0 24px 24px;flex-direction:column;gap:14px;display:flex}.hero h1{color:#fff;margin:0;font-size:22px;font-weight:700}.hero .sub{color:#d7efe5;font-size:13px}.hero-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.brand{color:#fff;align-items:center;gap:10px;font-size:19px;font-weight:700;display:flex}.icon-btn-hero{color:#fff;background:#ffffff29;border:0;border-radius:22px;justify-content:center;align-items:center;min-width:44px;height:44px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.search-pill{background:var(--surface);height:48px;color:var(--muted);border-radius:24px;align-items:center;gap:10px;padding:0 16px;font-size:15px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:16px}.stack{flex-direction:column;gap:14px;display:flex}.content{flex-direction:column;gap:14px;padding:16px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.label{font-size:13px;font-weight:600}.hint{color:var(--muted);font-size:12px}.input,.select{border:1px solid var(--border-strong);background:var(--surface);height:48px;color:var(--text);border-radius:12px;width:100%;padding:0 14px;font-size:15px}.input:focus,.select:focus{border-color:var(--link);box-shadow:0 0 0 3px var(--soft);outline:none}.btn{border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.btn-primary{background:var(--grad);color:#fff}.btn-outline{background:var(--surface);color:var(--text);border:1px solid var(--border-strong)}.btn:disabled{opacity:.6;cursor:default}.btn-link{color:var(--link);background:0 0;border:0;min-height:44px;padding:8px 4px;font-weight:600}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border-strong);background:var(--surface);min-height:40px;color:var(--action);border-radius:20px;padding:0 14px;font-size:14px;font-weight:600}.chip[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-ink)}.error{color:var(--danger);font-size:13px}.notice{background:var(--soft);color:var(--link);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5}.divider{color:var(--muted);align-items:center;gap:10px;font-size:13px;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.combo-list{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-height:220px;overflow-y:auto}.combo-item{text-align:left;border:0;border-bottom:1px solid var(--border);background:0 0;width:100%;min-height:44px;padding:12px 14px;display:block}.combo-item:last-child{border-bottom:0}.tabbar{z-index:10;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0}.tabbar-inner{justify-content:space-around;align-items:center;max-width:640px;height:68px;margin:0 auto;display:flex}.tab{min-width:64px;color:var(--muted);flex-direction:column;align-items:center;gap:3px;padding:6px 0;font-size:11px;display:flex}.tab.active{color:var(--link);font-weight:600}.tab-upload{background:var(--grad);color:#fff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:32px;display:flex}.empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:32px 20px;display:flex}.empty h2{margin:0;font-size:18px}.empty p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.center-screen{justify-content:center;align-items:center;min-height:100%;padding:24px;display:flex}.spinner{border:3px solid var(--soft);border-top-color:var(--link);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.rise{animation:.45s ease-out both rise}@media (prefers-reduced-motion:reduce){.rise,.spinner{animation:none}body{transition:none}}.seg{background:var(--surface-2);border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.seg button{height:42px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;font-weight:600}.seg button[aria-selected=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0000001f}.pw-wrap{position:relative}.pw-wrap .input{box-sizing:border-box;width:100%;padding-right:52px}.pw-eye{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.pw-eye:focus-visible{outline:2px solid var(--link)}
