:root {
  --ink: #f7f4ec;
  --muted: #a8b1ad;
  --paper: #080a0b;
  --panel: rgba(18, 22, 24, 0.84);
  --panel-strong: rgba(27, 32, 34, 0.94);
  --line: rgba(255, 255, 255, 0.13);
  --green: #2fe0a0;
  --green-dark: #7df5c8;
  --coral: #ff6b4a;
  --gold: #d6b15f;
  --blue: #58a6ff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(47, 224, 160, 0.18), transparent 34%),
    linear-gradient(245deg, rgba(214, 177, 95, 0.13), transparent 38%),
    linear-gradient(180deg, #111719 0%, #080a0b 48%, #050607 100%),
    var(--paper);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 22px 28px 0;
}

.app-nav {
  position: sticky;
  top: 10px;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow-x: auto;
}

.nav-tab {
  flex: 1 0 auto;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-tab.active {
  color: #07110d;
  background: linear-gradient(135deg, var(--green), #b9ffd6);
  box-shadow: 0 10px 26px rgba(47, 224, 160, 0.24);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 28px 60px;
}

.view {
  display: none;
}

.view.active {
  display: grid;
  gap: 18px;
}

.view-hint {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

#view-profile.active {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.brand-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-chip[hidden] {
  display: none;
}

.account-chip span {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.locked .app-nav {
  display: none;
}

.login-panel {
  width: min(100%, 420px);
  justify-self: center;
  margin-top: 6vh;
}

.login-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.login-error {
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #06100c;
  background: linear-gradient(135deg, var(--green), var(--gold));
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(47, 224, 160, 0.28);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-panel,
.coach-card,
.player-panel,
.workout-card,
.journal-panel,
.readiness-panel,
.completion-panel,
.calendar-panel,
.library-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.readiness-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.readiness-panel strong {
  color: var(--green-dark);
}

.readiness-grid {
  display: grid;
  gap: 10px;
}

.readiness-panel p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.form-header,
.session-heading,
.top-bar,
.player-controls,
.stat-strip,
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-header span {
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  outline: none;
}

::placeholder {
  color: rgba(247, 244, 236, 0.42);
}

select option {
  color: #111719;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 224, 160, 0.16), 0 0 28px rgba(47, 224, 160, 0.12);
}

input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}

output {
  color: var(--ink);
  font-weight: 800;
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.triple-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  min-height: 42px;
  border-radius: 7px;
  border: 0;
  font-weight: 800;
}

.primary-button {
  color: #07110d;
  background: linear-gradient(135deg, var(--green), #b9ffd6);
  padding: 0 18px;
  box-shadow: 0 14px 34px rgba(47, 224, 160, 0.22);
}

.primary-button:hover {
  background: linear-gradient(135deg, #7df5c8, #fff1b8);
}

.secondary-button,
.ghost-button,
.icon-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.secondary-button {
  padding: 0 16px;
}

.ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

.icon-button {
  width: 42px;
  flex: 0 0 42px;
  font-size: 1.3rem;
}

.coach-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.coach-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: linear-gradient(145deg, #172228, #1d6f62);
  border-radius: 8px;
}

.coach-avatar span,
.coach-avatar::before,
.coach-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #f8c8a8;
}

.coach-avatar span {
  top: 11px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

.coach-avatar::before {
  bottom: 2px;
  width: 34px;
  height: 25px;
  background: #d8efe5;
  border-radius: 12px 12px 0 0;
}

.coach-avatar::after {
  top: 7px;
  width: 22px;
  height: 9px;
  background: #2a211b;
  border-radius: 10px 10px 4px 4px;
}

.coach-card p:last-child {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.top-bar {
  align-items: end;
}

.stat-strip {
  flex-wrap: wrap;
}

.stat-strip div {
  min-width: 92px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  font-size: 1.35rem;
}

.stat-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workout-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.workout-card {
  display: grid;
  gap: 12px;
  min-height: 174px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.workout-card.active {
  outline: 0;
  border-color: rgba(47, 224, 160, 0.48);
  background: linear-gradient(180deg, rgba(47, 224, 160, 0.12), rgba(18, 22, 24, 0.86));
}

.workout-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 177, 95, 0.42);
}

.day-pill {
  width: max-content;
  padding: 5px 9px;
  color: #06100c;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.premade-pill {
  color: #1a0b06;
  background: var(--coral);
}

.premade-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.workout-card h3 {
  line-height: 1.05;
}

.workout-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.card-meta {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.player-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  min-height: 520px;
  overflow: hidden;
  border-color: rgba(47, 224, 160, 0.18);
}

.focus-stage {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  min-height: 520px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #0f1719, #172d27);
  background-size: 38px 38px;
}

.focus-exercise h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.focus-exercise p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.photo-demo {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-self: center;
  max-width: 640px;
}

.photo-frame {
  --step-x: 0%;
  --step-y: 0%;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 4;
  overflow: hidden;
  background-image: url("assets/exercise-step-sprite.png");
  background-size: 400% 600%;
  background-position: var(--step-x) var(--step-y);
  border: 1px solid rgba(21, 21, 21, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(47, 224, 160, 0.12);
}

.photo-frame.media {
  background-color: #ffffff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.photo-frame.tick {
  animation: stepFade 320ms ease;
}

@keyframes stepFade {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

.step-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  color: white;
  background: rgba(5, 8, 8, 0.76);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
}

.step-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  border: 0;
  border-radius: 50%;
}

.step-dot.active {
  background: var(--green);
}

.workout-details {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 18px;
  padding: 22px;
}

.timer-ring {
  --progress: 0deg;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: center;
  width: 200px;
  height: 200px;
  background: conic-gradient(var(--green) var(--progress), rgba(255, 255, 255, 0.12) 0deg);
  border-radius: 50%;
  position: relative;
}

.timer-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: #101416;
  border-radius: 50%;
}

.timer-ring span,
.timer-ring small {
  position: relative;
  z-index: 1;
}

.timer-ring span {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.timer-ring small {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.exercise-info {
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.exercise-info p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.progress-suggestion {
  padding-top: 8px;
  color: var(--green-dark) !important;
  font-weight: 800;
}

.exercise-list {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.exercise-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.exercise-list li.active {
  border-color: var(--green);
  background: rgba(47, 224, 160, 0.12);
}

.exercise-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: white;
  background: linear-gradient(135deg, var(--green), #178d68);
  border-radius: 50%;
  font-size: 0.8rem;
}

.exercise-list li strong {
  display: block;
}

.exercise-list span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.journal-form,
.progress-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.journal-form small,
.progress-form small {
  color: var(--muted);
  font-weight: 800;
}

.tool-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  background: rgba(214, 177, 95, 0.11);
  border: 1px solid rgba(214, 177, 95, 0.2);
  border-radius: 8px;
}

.tool-panel button {
  min-width: 88px;
}

.journal-panel,
.calendar-panel,
.library-panel,
.completion-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.completion-panel[hidden] {
  display: none;
}

.completion-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: linear-gradient(135deg, rgba(47, 224, 160, 0.14), rgba(214, 177, 95, 0.1));
}

.completion-panel p:last-child {
  margin-top: 7px;
  color: var(--muted);
}

.journal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.journal-summary {
  min-width: 86px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  text-align: center;
}

.journal-summary strong,
.journal-summary span {
  display: block;
}

.journal-summary strong {
  font-size: 1.45rem;
}

.journal-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-list {
  display: grid;
  gap: 12px;
}

.journal-empty {
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.journal-day {
  display: grid;
  gap: 8px;
}

.journal-day h3 {
  color: var(--green-dark);
  font-size: 0.92rem;
}

.journal-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.journal-entry h4 {
  margin: 0;
  font-size: 1rem;
}

.journal-entry p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.4;
}

.journal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.journal-meta span {
  padding: 5px 8px;
  color: var(--green-dark);
  background: rgba(47, 224, 160, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.delete-entry {
  align-self: start;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 7px;
  font-weight: 800;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 8px;
}

.calendar-cell {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.calendar-cell.header {
  min-height: 28px;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.calendar-cell.logged {
  color: #07110d;
  background: linear-gradient(135deg, var(--green), #b9ffd6);
  border-color: var(--green);
}

.calendar-cell.planned {
  color: var(--green-dark);
  background: rgba(47, 224, 160, 0.12);
  border-color: rgba(31, 122, 95, 0.3);
}

.calendar-cell.today {
  outline: 3px solid rgba(214, 177, 95, 0.28);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

.library-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.library-card p {
  color: var(--muted);
  line-height: 1.4;
}

.library-card .journal-meta {
  margin-top: 0;
}

.session-progress {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #b9ffd6);
  border-radius: 999px;
  transition: width 300ms ease;
}

.progress-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-stats span:first-child,
.progress-stats span:nth-child(2) {
  color: var(--green-dark);
}

.session-progress.compact {
  justify-self: center;
  width: 100%;
  max-width: 640px;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(5, 8, 8, 0.5);
}

.session-progress.compact .progress-track {
  height: 6px;
}

.session-progress.compact .progress-stats {
  justify-content: space-between;
  gap: 6px 10px;
  font-size: 0.68rem;
}

.exercise-list li.upcoming {
  opacity: 0.78;
}

.exercise-list li.complete {
  border-color: rgba(47, 224, 160, 0.5);
  background: rgba(47, 224, 160, 0.07);
}

.exercise-list li.complete b {
  color: #07110d;
  background: linear-gradient(135deg, var(--green), #b9ffd6);
}

.exercise-list li.complete strong {
  color: var(--muted);
}

.set-summary {
  display: block;
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.row-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 22px;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.switch-track {
  pointer-events: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 180ms ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.switch input:checked + .switch-track {
  background: var(--green);
  border-color: var(--green);
}

.switch input:checked + .switch-track::after {
  background: #07110d;
  transform: translateX(18px);
}

.details-toggle {
  width: max-content;
  margin-top: 10px;
  min-height: 32px;
  padding: 0 12px;
  color: var(--green-dark);
  background: rgba(47, 224, 160, 0.1);
  border: 1px solid rgba(47, 224, 160, 0.25);
  border-radius: 7px;
  font-weight: 800;
}

.journal-details {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.journal-details[hidden] {
  display: none;
}

.journal-detail-row {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.journal-detail-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.journal-detail-row em {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  #view-profile.active {
    grid-template-columns: 1fr;
  }

  .workout-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .library-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 780px) {
  .app-header {
    padding: 14px 14px 0;
  }

  .brand-row {
    grid-template-columns: 48px 1fr;
  }

  .account-chip {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .app-shell {
    padding: 14px 14px 48px;
  }

  .top-bar,
  .player-panel {
    display: grid;
  }

  .player-panel {
    grid-template-columns: 1fr;
  }

  .focus-stage {
    min-height: auto;
  }

  .workout-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip,
  .player-controls,
  .journal-header {
    justify-content: stretch;
  }

  .stat-strip div,
  .player-controls button {
    flex: 1;
  }

  .journal-entry {
    grid-template-columns: 1fr;
  }

  .exercise-list li {
    grid-template-columns: 28px 1fr;
  }

  .exercise-list .row-side {
    grid-column: 2;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .tool-panel,
  .completion-panel,
  .triple-fields,
  .library-grid {
    grid-template-columns: 1fr;
  }
}
