main.wide { max-width: 1040px; }
.apphead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.apphead h1 { font-size: 34px; }
.pill { font-size: 13px; font-weight: 600; color: #8a5a00; background: #fff1cc; border: 1px solid #f0d58a; border-radius: 999px; padding: 3px 12px; white-space: nowrap; margin-top: 30px; }
.disclosure { font-size: 14px; color: var(--muted); }
.disclosure b { color: var(--ink); }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 8px; }
.btn { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: #c0392b; }
.btn.ghost { border-style: dashed; }
.btn:disabled { opacity: 0.5; cursor: default; }
.status { font-size: 14px; color: var(--muted); }
.status.err { color: #c0392b; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 8px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.tile .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tile .v { font-size: 26px; font-weight: 600; margin-top: 4px; }
.tile .s { font-size: 12px; color: var(--muted); }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.chart { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 6px; }
.chart h3 { font-size: 14px; margin: 0 0 6px; }
.chart svg { width: 100%; height: 120px; display: block; }
.chart .axis { font-size: 10px; fill: var(--muted); }
.chart .empty { font-size: 13px; color: var(--muted); padding: 40px 0; text-align: center; }
.workouts { width: 100%; border-collapse: collapse; font-size: 14px; }
.workouts td, .workouts th { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); }
.workouts th { font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 600px) { .apphead { flex-direction: column; } .pill { margin-top: 0; } }
