/* Minimal light theme */
:root { --bg: #ffffff; --text: #0a0a0a; --muted: #666; --border: #e6e6e6; --primary: #2b6cf0; }
* { box-sizing: border-box; }
body.light { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.container { max-width: 860px; margin: 40px auto; padding: 0 16px; }
.header { text-align: center; margin-bottom: 16px; }
.header h1 { margin: 0 0 4px; font-size: 28px; }
.subtitle { margin: 0; color: var(--muted); }

.form label { display: block; margin: 8px 0; color: var(--muted); }
.row { display: flex; gap: 8px; }
input[type="text"] { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); }
button { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--primary); background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; }
button:hover { filter: brightness(1.05); }
.alert.error { margin-top: 8px; color: #b00020; }

.results { margin-top: 16px; }
.score-line { text-align: center; margin-bottom: 8px; }
.score-label { font-weight: 800; }
.score-heuristics { color: var(--muted); font-size: 13px; margin-top: 2px; }
.score-bar { width: 100%; margin-top: 6px; }
.bar-header { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 0 2px 6px; }
.bar-track { --marker-position: 0; --fill-percentage: 0; position: relative; height: 14px; width: 100%; background: #f5f7fa; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill-percentage) * 1%); background: hsl(var(--bar-hue, 0), 90%, 55%); transition: width 500ms ease, background-color 200ms linear; }
.bar-fill.hovering { transition: none; }
.bar-fill.settle { transition: width 450ms ease, background-color 200ms linear; }
.bar-marker { --x: calc(var(--marker-position) * 1%); position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); width: 8px; height: 22px; border-radius: 4px; background: #fff; border: 1px solid var(--border); transition: left 500ms ease; }
.bar-marker.hovering { transition: none; }
.bar-marker.settle { transition: left 450ms ease; }

.foot-link { text-align: center; margin-top: 12px; }
.foot-link a { color: var(--primary); text-decoration: none; }

@media (max-width: 760px) { .results { grid-template-columns: 1fr; } }


