/* FILE: public_html/assets/portal.css — huisstijl zoals de app: warme achtergrond, paars accent, goud */
:root {
	--bg: #FAF7F2; --surface: #FFFFFF; --text: #1A1A2E; --muted: #6b6b7b; --accent: #5B4FCF;
	--gold: #C8943A; --locked: #E8E4DC; --line: #e7e2d9; --danger: #b3261e;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; max-width: 720px; margin: 0 auto; }
.brand { font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.wrap { max-width: 720px; margin: 0 auto; padding: 8px 16px 140px; }
h1 { font-size: 1.5rem; margin: 8px 0 12px; }
h2 { font-size: 1.15rem; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.prog-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.prog-head img, .sess img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--locked); }
.sess { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.sess:first-of-type { border-top: 0; }
.sess-body { flex: 1; min-width: 0; }
.sess-title { font-weight: 600; }
.sess-tag { color: var(--muted); font-size: .9rem; }
.tracks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.badge { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--locked); color: var(--text); margin-left: 6px; font-weight: 500; }
.badge.free { background: #E6FFEC; }
.badge.done { background: #EEEAFF; color: var(--accent); }
button, .btn { font: inherit; cursor: pointer; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 10px 16px; min-height: 44px; }
button.ghost { background: transparent; color: var(--accent); }
button.link { background: none; border: 0; color: var(--accent); padding: 8px; min-height: 0; text-decoration: underline; }
button:disabled { opacity: .6; cursor: default; }
button.track { background: var(--surface); color: var(--accent); }
button.track.on { background: var(--accent); color: #fff; }
button.track[disabled].locked { background: var(--locked); color: var(--muted); border-color: var(--locked); }
input { font: inherit; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 4px 0 12px; }
label { display: block; font-weight: 600; }
.err { color: var(--danger); margin: 0 0 12px; }
.player { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.player > * { max-width: 720px; margin-left: auto; margin-right: auto; display: block; }
.player-info small { color: var(--muted); display: block; }
.player audio { width: 100%; margin-top: 6px; }
[hidden] { display: none !important; }
