:root {
  --bg: #0d0c0b;
  --surface: #04020c;
  --surface-2: #08080a;
  --border: rgb(120, 117, 115);
  --orange: #d4622a;
  --orange-dim: rgba(212, 98, 42, 0.14);
  --green: #22c55e;
  --text: white;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Rubik", sans-serif;
  --radius: 6px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

input,
select,
button {
  font-family: inherit;
}

.screen {
  display: none;
  min-height: 100vh;
  flex-direction: column;
}
.screen.active {
  display: flex;
}

#screen-start {
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.start-bg {
  position: absolute;
  inset: 0;
}

.start-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
}

.start-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  color: var(--orange);
}

.start-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 68px;
  line-height: 0.8;
  color: var(--text);
}

#start-second-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 68px;
  color: var(--orange);
}

.start-sub {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}

.start-form {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.unit-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}

.unit-toggle:hover {
  border-color: var(--orange);
}

.unit-btn {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
}
.unit-btn.active {
  background: var(--orange);
  color: var(--bg);
}
.unit-btn:not(.active):hover {
  background: var(--surface-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
}
.form-field input,
.form-field select {
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
  appearance: none;
  width: 100%;
}
.form-field input::placeholder {
  color: whitesmoke;
}
.form-field input:focus,
.form-field select:focus,
.form-field input:hover,
.form-field select:hover {
  border-color: var(--orange);
}

.start-form:hover {
  border-color: var(--orange);
}

.btn-primary {
  width: 100%;
  margin-top: 8px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-primary:hover {
  background: #ee5b06;
}

.app-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  height: 64px;
  background: var(--surface-2);
  border-bottom: 3px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.app-nav:hover {
  border-color: var(--orange);
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0;
}
.nav-btn {
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  text-transform: uppercase;
  padding: 0 22px;
  cursor: pointer;
  position: relative;
}
.nav-btn.active {
  color: var(--text);
}
.nav-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
}
.nav-btn:hover {
  color: var(--text);
  background: gray;
}
.nav-settings {
  border-right: 1px solid var(--border);
}

.page-body {
  padding: 24px 20px 40px;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
}

.section-label {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.goal-strip {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  height: 70px;
}

.goal-strip:hover {
  border-color: var(--orange);
}

.goal-label {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--orange);
  white-space: nowrap;
}
.goal-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  min-width: 120px;
}
.goal-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-bar {
  width: 125px;
  height: 25px;
  background: var(--text);
  border-radius: 15px;
  border: 3px solid var(--text);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--orange);
  border-color: var(--orange);
  border-radius: 15px;
}

.module-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  height: 100px;
}

.module-details {
  background: var(--surface);
  border: 3px solid var(--border);
  border-top: none;
  padding: 12px 16px;
  margin-top: -8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-details:hover {
  border-color: var(--orange);
}
.module-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  color: var(--text);
}
.module-detail-row span:last-child {
  color: var(--text);
  font-weight: 600;
}
.module-card:hover {
  border-color: var(--orange);
}

.module-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  width: 80px;
  height: 80px;
}
.module-icon.shooting {
  background: rgba(247, 107, 28, 0.15);
}
.module-icon.handling {
  background: rgba(74, 158, 255, 0.15);
}
.module-icon.drilling {
  background: rgba(11, 202, 56, 0.15);
}
.module-info {
  flex: 1;
}
.module-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
}
.module-meta {
  font-size: 20px;
  color: var(--text);
  margin-top: 2px;
}

.module-status {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  padding: 4px 10px;
  border-radius: 5px;
}
.module-status.done {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}
.module-status.current {
  background: var(--orange-dim);
  color: var(--orange);
}

.onboard-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}
.onboard-dot {
  height: 15px;
  flex: 1;
  background: var(--surface-2);
  border-radius: 10px;
  overflow: hidden;
}
.onboard-dot.done,
.onboard-dot.active {
  background: var(--orange);
}
.onboard-dot.active {
  opacity: 1;
}

.onboard-dot.done {
  opacity: 0.7;
}

.onboard-progress,
.spot-grid,
.spot-total-row,
.baseline-title,
.baseline-instructions {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.spot-grid {
  justify-items: center;
}

#screen-baseline {
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.baseline-content {
  max-width: 600px;
  justify-content: center;
  width: 100%;
}
.baseline-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 10px;
}
.baseline-instructions {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 15px;
}

.spot-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.spot-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.spot-card:hover {
  border-color: var(--orange);
}

.spot-name {
  font-size: 25px;
  font-weight: 600;
  color: var(--text);
}
.spot-stepper {
  width: 95%;
}
.spot-of {
  font-size: 25px;
  color: var(--text);
}

.spot-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 45px;
  color: var(--text);
  margin-bottom: 16px;
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 80px;
}
.spot-total-row span:last-child {
  color: var(--orange);
}
.tally-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.tally-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 150px;
}

.tally-stepper:hover {
  border-color: var(--orange);
}

.tally-stepper button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  width: 50px;
  height: 50px;
  cursor: pointer;
  flex-shrink: 0;
}
.tally-stepper button:hover {
  color: var(--orange);
  background: rgba(247, 107, 28, 0.08);
}
.tally-stepper input {
  text-align: center;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  outline: none;
  padding: 0;
  height: 50px;
  width: 50px;
  margin-left: 8%;
}

.spot-card input:hover {
  border-color: var(--orange);
}

.drill-series {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.drill-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.drill-card:hover {
  border-color: var(--orange);
}
.locked-drill {
  opacity: 0.35;
}
.drill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.drill-index {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}
.drill-status {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius);
}
.drill-status.pending {
  color: var(--text);
  background: var(--surface-2);
}
.drill-status.running {
  color: var(--orange);
  background: var(--orange-dim);
}
.drill-status.done {
  color: var(--green);
  background: rgba(34, 197, 94, 0.15);
}
.drill-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 4px;
}
.drill-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
}
.drill-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drill-clock {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--orange);
  min-width: 40px;
}
.btn-timer {
  flex: 1;
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
}
.btn-timer:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-timer:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.btn-timer.running {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}
.drill-stop:not(:disabled) {
  border-color: #ef4444;
  color: #ef4444;
}
.drill-stop:not(:disabled):hover {
  background: rgba(239, 68, 68, 0.1);
}

.baseline-nav-row {
  display: flex;
  gap: 10px;
}
.btn-back {
  background: none;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
}
.btn-back:hover {
  background: var(--surface-2);
  border-color: var(--orange);
  color: var(--text);
}
.btn-primary {
  margin-top: 0;
}

#screen-results {
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.results-content {
  max-width: 650px;
  width: 95%;
}

.results-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 12px;
}
.results-sub {
  font-size: 15px;
  color: var(--text);
}
.results-section-label {
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 10px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.snapshot-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.snapshot-card:hover {
  border-color: var(--orange);
}

.snapshot-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.snapshot-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--orange);
}
.snapshot-value span {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  margin-left: 4px;
}

.drill-results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drill-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
}

.drill-result-row:hover {
  border-color: var(--orange);
}

.drill-result-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.drill-result-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
}

#enter-trainer-btn {
  margin-top: 24px;
}

.trainer-intro {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 24px;
}

.diet-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diet-row {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.diet-row:hover {
  border-color: var(--orange);
}

.diet-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 2px;
}

.diet-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.diet-input-wrap input {
  width: 75px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  text-align: center;
  padding: 8px 6px;
  outline: none;
}

.diet-input-wrap input:focus,
.diet-input-wrap input:hover {
  border-color: var(--orange);
}

.diet-pct-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.diet-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--text);
  margin-top: 4px;
}

#diet-error,
#settings-profile-error,
#settings-diet-error,
#bio-error,
#log-session-error {
  font-size: 13px;
  color: #ef4444;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  margin-top: 4px;
}

#diet-error:not(:empty),
#settings-profile-error:not(:empty),
#settings-diet-error:not(:empty),
#bio-error:not(:empty),
#log-session-error:not(:empty) {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 3px solid rgba(239, 68, 68, 0.2);
}

.settings-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 3px solid var(--border);
}

.settings-row:hover {
  border: 5px solid var(--orange);
}

.diet-settings-total-row {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
}

.settings-row-label {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.settings-row-desc {
  font-size: 12px;
  color: var(--text);
  margin-top: 2px;
}

.settings-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.settings-input-wrap input,
.settings-input-wrap select {
  width: 145px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  text-align: center;
  padding: 8px 10px;
  outline: none;
  appearance: none;
  -moz-appearance: textfield;
}
.settings-input-wrap input:focus,
.settings-input-wrap select:focus,
.settings-input-wrap input:hover,
.settings-input-wrap select:hover {
  border-color: var(--orange);
}

.settings-card .btn-primary {
  margin: 16px 18px 18px;
  width: 100%;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

.log-item-card {
  background: var(--surface);
  border: 3px solid black;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.log-item-card:hover {
  border-color: var(--orange);
}
.log-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.log-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
}
.log-item-target {
  font-size: 18px;
  color: var(--text);
}
.miss-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.miss-tag-btn {
  background: black;
  border: 3px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-size: 18px;
  padding: 6px 12px;
  cursor: pointer;
}

.miss-tag-btn:hover {
  border-color: var(--orange);
}
.miss-tag-btn.tagged {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}
.cue-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.5;
}
.cue-card strong {
  color: var(--orange);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
}

.cue-card:hover {
  border-color: var(--orange);
}

.log-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.log-input-row label {
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
}
.log-input-row input[type="number"] {
  width: 80px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  outline: none;
  padding: 8px;
}

.log-input-row input:hover,
.log-input-row input:focus {
  border-color: var(--orange);
}
.miss-tags-prompt {
  font-size: 15px;
  color: var(--text);
  margin-top: 10px;
}
.miss-tag-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: black;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  margin-top: 6px;
}

.miss-tag-counter:hover,
.miss-tag-counter button:hover {
  border-color: var(--orange);
}
.miss-tag-counter.tagged {
  border-color: var(--orange);
}
.miss-tag-label {
  font-size: 20px;
  color: var(--text);
}
.miss-tag-counter button {
  background: none;
  border: 3px solid var(--border);
  border-radius: 4px;
  width: 30px;
  height: 30px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.miss-tag-count {
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 600px) {
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
  .start-logo {
    font-size: 44px;
  }
  .start-headline,
  #start-second-headline {
    font-size: 40px;
  }
  .start-sub {
    font-size: 16px;
  }
  .unit-toggle {
    margin-bottom: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    font-size: 20px;
    padding: 0 14px;
  }
  .nav-btn {
    font-size: 14px;
    padding: 0 14px;
  }

  .app-nav {
    max-width: 100vw;
  }

  .page-body {
    padding: 16px 14px 32px;
  }
  .page-title {
    font-size: 24px;
  }
  .section-label {
    font-size: 16px;
  }

  .goal-strip {
    max-width: 100vw;
    align-items: center;
    justify-content: center;
  }
  .goal-label {
    font-size: 20px;
    margin-right: 3vw;
    margin-bottom: 0;
    margin-top: -2vw;
  }
  .goal-text {
    font-size: 15px;
    margin-top: -2vw;
  }
  .goal-progress {
    height: 10px;
  }
  #trainer-goal-pct {
    font-size: 15px;
  }

  .module-card {
    height: auto;
    max-width: 100vw;
    padding: 12px;
  }
  .module-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
  .module-name {
    font-size: 20px;
  }
  .module-meta {
    font-size: 13px;
  }
  .module-status {
    font-size: 13px;
  }
  .module-details {
    max-width: 100vw;
  }
  .module-detail-row {
    font-size: 14px;
  }

  .baseline-title {
    font-size: 22px;
  }
  .baseline-instructions {
    font-size: 15px;
  }
  .spot-name {
    font-size: 17px;
  }
  .spot-of {
    font-size: 15px;
  }
  .spot-total-row {
    font-size: 28px;
    padding: 10px 14px;
  }
  .tally-stepper {
    width: 170px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .tally-stepper input {
    text-align: center;
    margin-left: 0;
  }
  .spot-stepper {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .drill-name {
    font-size: 19px;
  }
  .drill-desc {
    font-size: 13px;
  }
  .baseline-nav-row {
    flex-direction: column-reverse;
  }
  .btn-back,
  .btn-primary {
    font-size: 18px;
    width: 100%;
    max-width: 100vw;
  }

  .results-title {
    font-size: 26px;
  }
  .results-section-label {
    font-size: 20px;
  }
  .snapshot-value {
    font-size: 22px;
  }
  .drill-result-name,
  .drill-result-time {
    font-size: 15px;
  }

  .trainer-intro {
    font-size: 16px;
  }
  .diet-name {
    font-size: 18px;
  }
  .diet-total-row {
    font-size: 20px;
  }

  .settings-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .settings-input-wrap,
  .settings-input-wrap select,
  .settings-input-wrap input {
    width: 100%;
  }
  .settings-card {
    max-width: 100vw;
  }
  .settings-row-label {
    font-size: 17px;
  }
  .diet-settings-total-row {
    align-items: center;
    font-size: 20px;
  }

  .log-item-name {
    font-size: 18px;
  }
  .log-item-card {
    max-width: 100vw;
  }
  .miss-tag-label,
  .miss-tag-btn {
    font-size: 13px;
  }
  .cue-card {
    font-size: 15px;
  }
}
