/* ========================================================= Base document ========================================================= */ html { font-size: 12px; } body { margin: 0; padding: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; color: #222; background-color: #fafafa; } /* ========================================================= Structural blocks ========================================================= */ header, main, footer, section, article { display: block; padding: 1rem 1.25rem; } header { border-bottom: 1px solid #ddd; background-color: #ffffff; } footer { border-top: 1px solid #ddd; font-size: 0.875rem; color: #666; background-color: #ffffff; } /* ========================================================= Typography ========================================================= */ h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5rem 0; font-weight: 600; line-height: 1.25; } h1 { font-size: 1.75rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.15rem; } p { margin: 0 0 0.75rem 0; } small { font-size: 0.875rem; color: #555; } /* ========================================================= Lists ========================================================= */ ul, ol { margin: 0 0 1rem 1.25rem; padding: 0; } li { margin: 0.25rem 0; } /* ========================================================= Tables ========================================================= */ table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.95rem; } thead { background-color: #f0f0f0; } th, td { padding: 0.5rem 0.75rem; text-align: left; border: 1px solid #ddd; } th { font-weight: 600; } /* ========================================================= Forms ========================================================= */ form { margin-bottom: 1rem; } label { display: block; margin-bottom: 0.25rem; font-weight: 500; } input, select, textarea, button { font-family: inherit; font-size: 1rem; } input, select, textarea { width: 100%; padding: 0.4rem 0.5rem; margin-bottom: 0.75rem; border: 1px solid #ccc; border-radius: 3px; background-color: #ffffff; } textarea { resize: vertical; min-height: 4rem; } button { padding: 0.45rem 0.9rem; border: 1px solid #999; border-radius: 3px; background-color: #f5f5f5; cursor: pointer; } button:hover { background-color: #eaeaea; } /* ========================================================= Inline elements ========================================================= */ a { color: #0055aa; text-decoration: none; } a:hover { text-decoration: underline; } strong { font-weight: 600; } code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; font-size: 0.9em; background-color: #f2f2f2; padding: 0.1rem 0.25rem; border-radius: 3px; } /* ========================================================= Utility defaults (still element-based) ========================================================= */ hr { border: none; border-top: 1px solid #ddd; margin: 1rem 0; } /* ========================================================= Workout card ========================================================= */ .workout-card { display: block; padding: 1rem 1.25rem; margin-bottom: 1rem; background-color: var(--bg-soft); border: 1px solid var(--text-main); border-radius: 4px; } #content { margin: 0 auto; padding: 1rem; max-width: 40rem; }