:root { --navy: #14213d; --orange: #ee9000; --bg: #f6f7f9; --line: #e2e5ea; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, system-ui, sans-serif; background: var(--bg); color: #1a1a1a; }
#app { max-width: 640px; margin: 0 auto; padding: 20px 16px 96px; }
header h1 { color: var(--navy); margin: 8px 0 4px; font-size: 26px; }
#intro { color: #555; margin: 0 0 16px; }
h2 { color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 24px 0 8px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.riga { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.riga span { flex: 1; }
.riga select { min-width: 76px; padding: 9px; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.riga select.filled { border-color: var(--orange); font-weight: 600; }
#bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(246,247,249,.95); border-top: 1px solid var(--line); padding: 12px 16px; }
#bar-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
#count { color: #555; font-size: 14px; white-space: nowrap; }
#submit { flex: 1; padding: 14px; font-size: 16px; font-weight: 600; color: #fff; background: var(--orange); border: 0; border-radius: 10px; cursor: pointer; }
#submit:disabled { opacity: .55; cursor: default; }
#status { margin: 8px 0; padding: 12px 14px; border-radius: 8px; }
#status:empty { display: none; }
#status.ok { background: #e6f4ea; color: #14652b; }
#status.err { background: #fbe9e9; color: #8a1c1c; }
