:root{--bg: #07111f;--card: rgba(15, 23, 42, .95);--card-soft: rgba(255, 255, 255, .05);--border: rgba(255, 255, 255, .12);--muted: #94a3b8;--accent: #60a5fa;--accent-strong: #3b82f6;--danger: #fb7185}*{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}body,html,#root{min-height:100%;margin:0;background:var(--bg);color:#f8fafc}body{padding:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{max-width:760px;margin:0 auto;padding:16px 12px 40px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.topbar h1{margin:4px 0 0;font-size:1.45rem}.eyebrow{margin:0;color:var(--accent);text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:700}.search-shell{margin-bottom:12px}.search-input,.mini-input,input,select,textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:#080f1cd9;color:#f8fafc}.search-input::placeholder,.mini-input::placeholder,input::placeholder,textarea::placeholder{color:#64748b}input:focus,select:focus,textarea:focus,.search-input:focus,.mini-input:focus{outline:2px solid rgba(96,165,250,.24);border-color:var(--accent)}.card{background:linear-gradient(180deg,#ffffff0d,#ffffff08);border:1px solid var(--border);padding:14px;border-radius:18px;margin-bottom:12px;box-shadow:0 10px 30px #02081733}.card-surface{margin-top:12px;padding:12px;border-radius:14px;background:var(--card-soft);border:1px solid rgba(255,255,255,.06)}.section-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}.section-heading.compact{margin-bottom:10px}.section-heading h2,.section-heading h3{margin:0}.list{display:flex;flex-direction:column;gap:10px}.group-card{padding:10px;border-radius:14px;background:#080f1c99;border:1px solid rgba(255,255,255,.06)}.group-card-header{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}.group-title{font-weight:700}.exercise{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 8px;border-radius:12px;background:#ffffff08}.exercise-button{background:none;border:none;color:inherit;text-align:left;flex:1;padding:0}.muted{color:var(--muted);font-size:.92rem}.stats-row{margin-top:8px}.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:.8rem;background:#60a5fa2e;color:#dbeafe}.btn{border:none;border-radius:999px;padding:10px 14px;color:#f8fafc;background:#ffffff1f;transition:transform .12s ease,background .12s ease}.btn:active{transform:scale(.98)}.btn:hover{background:#fff3}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#03111f;font-weight:700}.btn-secondary{background:#60a5fa29;color:#dbeafe}.btn-danger{background:#fb718529;color:#ffe4e6}.btn-ghost{background:transparent;border:1px solid var(--border)}.btn-sm{padding:7px 10px;font-size:.9rem}.inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.inline-actions.compact{gap:6px}.field-stack{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.field-label{color:var(--muted);font-size:.84rem}.field-grow{flex:1}.field-sm{width:110px}.setrow{display:flex;gap:8px;margin:8px 0;align-items:flex-end}.entry-cta{display:flex;justify-content:space-between;gap:10px;align-items:center}.entry-card{display:flex;flex-direction:column;gap:8px}.entry-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.entry-card-header h3{margin:0}.history-group{margin-top:10px}.history-group-title{font-weight:700;color:#dbeafe;margin-bottom:8px}.history-list{display:flex;flex-direction:column;gap:8px}.history-card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px}.history-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.history-meta{color:#f8fafc;font-weight:600}.history-stats{color:var(--muted);margin-top:2px;font-size:.92rem}.comment-block{margin-top:8px;color:#e2e8f0;font-size:.95rem}.exercise-copy{color:#e2e8f0;margin:8px 0 0}textarea{resize:vertical;min-height:82px}@media (max-width: 640px){.app{padding:12px 10px 32px}.topbar,.section-heading,.entry-cta,.group-card-header,.history-card-top{flex-direction:column;align-items:flex-start}.setrow{flex-direction:column;align-items:stretch}.field-sm{width:auto}.btn,.btn-sm,.inline-actions{width:100%}.inline-actions>*{flex:1}}
