* { box-sizing: border-box; font-family: -apple-system, system-ui, sans-serif; }
body { margin: 0; background: #f1f5f9; color: #0f172a; }
header { display: flex; justify-content: space-between; padding: 10px 14px; background: #0f172a; color: #fff; font-weight: 700; position: sticky; top: 0; }
.screen { display: none; padding: 16px; max-width: 560px; margin: 0 auto; }
.screen.active { display: block; }
h1 { font-size: 22px; margin: 8px 0 12px; }
input { width: 100%; font-size: 20px; padding: 14px; border: 2px solid #cbd5e1; border-radius: 10px; margin: 8px 0; }
button.big { width: 100%; font-size: 20px; font-weight: 800; padding: 16px; border: 0; border-radius: 12px; margin: 8px 0; background: #2563eb; color: #fff; }
button.big.go { background: #059669; }
button.big.alt { background: #e2e8f0; color: #0f172a; }
video { width: 100%; border-radius: 12px; background: #000; }
.warn { background: #fef3c7; border: 1px solid #f59e0b; padding: 12px; border-radius: 10px; margin: 10px 0; font-weight: 600; }
.comp { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; margin: 8px 0; }
.comp.covered { border-color: #059669; }
.comp .qty { float: right; font-weight: 800; }
#toast { position: fixed; bottom: 18px; left: 12px; right: 12px; padding: 14px; border-radius: 12px; background: #0f172a; color: #fff; font-weight: 700; text-align: center; z-index: 50; }
#toast.err { background: #b91c1c; }
#toast.ok { background: #047857; }
.short-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.short-row input { width: 90px; margin: 0; }
#result-box { background: #fff; border-radius: 12px; padding: 18px; font-size: 18px; }
