main.wide { max-width: 44rem; }
nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }
h1 { margin: 1rem 0 1.25rem; }
h2 { font-size: 1.1rem; margin: 2rem 0 .75rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .75rem; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; display: flex; flex-direction: column; }
.big { font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.label { color: var(--muted); font-size: .85rem; }

.focus { margin: 1.25rem 0 0; padding: .75rem 1rem; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 0 8px 8px 0; }

.week { display: flex; align-items: flex-end; gap: .5rem; height: 7.5rem; }
.day { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: .8rem; color: var(--muted); }
.bar { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; }
.bar.zero { background: var(--line); }
.day b { color: var(--ink); font-variant-numeric: tabular-nums; }

.trick-list { list-style: none; padding: 0; margin: 0; }
.trick-list li { border-top: 1px solid var(--line); padding: .75rem 0; }
.row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.name { font-weight: 600; }
.meta { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: 4px; background: var(--line); margin-top: .5rem; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--good); }
.meter span.low { background: var(--bad); }
.untried .name { color: var(--muted); font-weight: 500; }

button.danger { margin-top: 2rem; background: transparent; color: var(--bad); border: 2px solid var(--bad); }

h3 { font-size: 1rem; margin: 1.5rem 0 .25rem; color: var(--accent); }

h1 { margin: 0 0 1.25rem; }
.start { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .75rem; }
.start button { display: flex; flex-direction: column; gap: .15rem; align-items: flex-start; text-align: left; padding: 1rem; border-radius: 14px; font-size: 1.05rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.start button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.start .icon { font-size: 1.5rem; line-height: 1; margin-bottom: .35rem; }
.start small { font-weight: 400; font-size: .85rem; opacity: .9; }
.start button.mistakes { background: var(--bad); }
.progress-title { margin-top: 2.5rem; }

dialog { border: 1px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); padding: 1.5rem; width: min(24rem, calc(100% - 2rem)); box-shadow: 0 16px 48px rgba(0, 0, 0, .4); }
dialog::backdrop { background: rgba(0, 0, 0, .55); }
dialog h2 { margin: 0; font-size: 1.3rem; }
.picker-mode { margin: 0 0 .15rem; color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.options { display: grid; gap: .5rem; margin: 1.1rem 0; }
.options button { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.options button:hover:not(:disabled) { border-color: var(--accent); filter: none; }
.options small { color: var(--muted); font-weight: 400; }
dialog > .secondary { width: 100%; }