/* ULTRA/PUMP - Mobile-first ULTRA styling */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { font-family: 'IBM Plex Mono', monospace; background: #f5f5f4; color: #1e1e1e; }

.ultra-header { background: #f5f5f4; border-bottom: 1px solid #ccc; padding: 12px 16px; }
.ultra-breadcrumb { font-size: 12px; color: #666; }
.ultra-breadcrumb a { color: #d73a49; text-decoration: underline; }
.ultra-breadcrumb a:hover { color: #c03041; }
.path-separator { margin: 0 5px; color: #888; }

.ultra-main { padding: 16px; }
.welcome-header { margin-bottom: 16px; text-align: center; }
.welcome-title { font-size: 22px; color: #d73a49; margin: 6px 0; }
.terminal-prompt { color: #d73a49; font-size: 12px; }
.terminal-command { font-size: 12px; color: #444; }

/* Weeks strip - horizontal scroll on mobile */
.weeks-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.week-pill { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #ddd; background: #f8f8f8; border-radius: 4px; font-size: 12px; color: #1e1e1e; cursor: pointer; text-transform: uppercase; }
.week-pill:hover { background: #eaeaea; border-color: #d73a49; }
.week-pill.active { border-color: #d73a49; background: #fff; color: #c03041; }

/* Week container */
.week-container { display: grid; gap: 12px; }
.day-card { border: 1px solid #ccc; border-radius: 8px; background: #fff; overflow: hidden; }
.day-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #f8f8f8; border-bottom: 1px solid #eee; }
.day-title { font-weight: 700; color: #d73a49; font-size: 14px; }
.day-meta { font-size: 12px; color: #666; }

.day-body { padding: 10px 12px; display: grid; gap: 8px; }
.exercise { border-left: 3px solid #e0e0df; padding-left: 10px; }
.exercise-title { font-weight: 600; font-size: 14px; }
.exercise-meta { font-size: 12px; color: #666; }

.superset { border: 1px dashed #ccc; border-left: 3px solid #d73a49; padding: 10px; border-radius: 6px; background: #fff; }
.superset-label { font-size: 12px; color: #d73a49; margin-bottom: 6px; font-weight: 600; }
.superset-items { display: grid; gap: 8px; }

.off-day { border: 1px dashed #ccc; padding: 14px; text-align: center; color: #666; background: #fafafa; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { display: inline-block; padding: 2px 6px; font-size: 12px; background: #e0e0df; border-radius: 3px; }

/* Info cards */
.pump-info, .pump-landing { display: grid; gap: 12px; margin-top: 16px; }
.info-card { border: 1px solid #ccc; border-radius: 8px; background: #fff; overflow: hidden; }
.info-title { padding: 10px 12px; background: #f8f8f8; border-bottom: 1px solid #eee; color: #d73a49; font-weight: 700; font-size: 14px; }
.info-body { padding: 10px 12px; }
.info-body ul { padding-left: 16px; display: grid; gap: 6px; font-size: 14px; }

/* Overview grid */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.overview-card { display: block; padding: 10px 12px; background: #f8f8f8; border: 1px solid #ddd; border-radius: 4px; color: #1e1e1e; text-decoration: none; }
.overview-card:hover { background: #eaeaea; border-color: #d73a49; }
.overview-title { font-weight: 700; color: #d73a49; font-size: 14px; }
.overview-desc { font-size: 12px; color: #666; }

/* Linked exercise titles */
.exercise-title { color: #d73a49; text-decoration: none; cursor: pointer; font-weight: 600; }
.exercise-title:hover { text-decoration: underline; }
a.exercise-title { color: inherit; }
a.exercise-title:visited { color: inherit; }

/* Larger screens - add columns if space allows */
@media (min-width: 640px) {
  .week-container { grid-template-columns: 1fr 1fr; }
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .week-container { grid-template-columns: 1fr 1fr 1fr; }
  .welcome-title { font-size: 24px; }
  .overview-grid { grid-template-columns: repeat(4, 1fr); }
}
