:root {
  --bg: #f5f6f9;
  --paper: #fff;
  --ink: #151a23;
  --muted: #536480;
  --green: #24734f;
  --green-dark: #195b3d;
  --green-light: #eef7f2;
  --line: #e8edf3;
  --soft: #f2f4f8;
  --warm: #fff7df;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  background: #edf1f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  background: none;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
g[tabindex]:focus-visible {
  outline: 3px solid #4d91ca;
  outline-offset: 3px;
}
button:active:not(:disabled) {
  filter: brightness(0.94);
}
input,
select {
  font-size: 16px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  font-weight: 750;
  margin: 3px 0 20px;
}
h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
p {
  line-height: 1.75;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 650;
}
svg {
  display: block;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.app-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0, #fdfefe 65%, #f7f9fb 100%);
  box-shadow: 0 0 40px #19354b08;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 66px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #fff, #f5f7fb);
}
.app-header h1 {
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.25;
  font-weight: 750;
}
.text-button {
  color: var(--muted);
  min-height: 44px;
  font-weight: 500;
  padding: 7px 6px;
}
.app-header .text-button {
  padding-right: 0;
  font-size: 14px;
}
.exercise-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  height: 61px;
}
.exercise-progress > span {
  font-size: 15px;
  font-weight: 600;
  color: #34425e;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.step-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex: 1;
}
.step-track:before {
  content: "";
  position: absolute;
  height: 1px;
  background: #dfe6ee;
  left: 14px;
  right: 14px;
  top: 50%;
}
.step-dot {
  padding: 0;
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid #bdcadb;
  border-radius: 50%;
  background: white;
  color: var(--muted);
  font-size: 15px;
  line-height: 30px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.step-dot:after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
}
.step-dot.current {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.step-dot.complete {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}
.step-dot.complete.current {
  background: var(--green);
  color: #fff;
}
.step-dot .icon {
  width: 20px;
  height: 20px;
}
#screen {
  padding: 19px 16px 6px;
}
#screen > h2:first-child {
  margin-top: 2px;
}
.exercise-title {
  font-size: 27px;
  font-weight: 800;
  margin: 0 2px 16px;
  line-height: 1.4;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px #253d5c02;
}
.card.flush {
  padding: 0;
  overflow: hidden;
}
.card h3 {
  margin-bottom: 12px;
  font-weight: 600;
  color: #3b4a5c;
}
.load-card {
  position: relative;
  padding: 12px 14px 10px;
}
.card-label {
  font-size: 15px;
  font-weight: 600;
}
.small-button {
  min-height: 40px;
  border: 1px solid #e0e6ee;
  border-radius: 9px;
  background: linear-gradient(#f9fafd, #f2f5f9);
  padding: 5px 13px;
  white-space: nowrap;
  font-size: 14px;
  color: #34425e;
}
.load-change {
  position: absolute;
  right: 14px;
  top: 35px;
}
.large-number {
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
  text-align: center;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.large-number small {
  font-size: 24px;
  letter-spacing: 0;
  margin-left: 7px;
  font-weight: 650;
}
.load-card .large-number {
  margin: -1px 40px 10px 0;
}
.previous {
  border-radius: 8px;
  background: #f4f6fa;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.previous span {
  margin-right: 7px;
}
.reps-card {
  padding: 14px 15px 0;
  overflow: hidden;
}
.reps-card h3 {
  font-size: 15px;
  margin-bottom: 2px;
}
.rep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 69px;
  gap: 10px;
}
.rep-row > span {
  font-size: 14px;
  white-space: nowrap;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--soft);
  padding: 0;
  font-size: 25px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: #435371;
  font-weight: 400;
}
.step-value {
  font-size: 29px;
  min-width: 46px;
  height: 48px;
  padding: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.centered {
  text-align: center;
}
.reps-card > .hint {
  margin: 2px 0 14px;
}
.list-action {
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border-top: 1px solid var(--line);
  padding: 11px 15px;
  font-size: 14px;
}
.list-action .icon {
  width: 17px;
  height: 17px;
}
.reps-card > .list-action {
  margin: 0 -15px;
  width: calc(100% + 30px);
}
.primary,
.secondary {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 650;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 11px;
  line-height: 1.5;
}
.primary {
  background: linear-gradient(110deg, #347c59, #246e4c);
  color: white;
  border: 1px solid #2c7352;
  box-shadow: inset 0 1px 0 #ffffff0d;
}
.secondary {
  background: #f0f3f8;
  color: #273650;
  border: 1px solid #e4e9f0;
}
.screen-actions {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}
.quiet-button {
  color: #75829a;
  font-size: 12px;
  min-height: 34px;
  padding: 3px;
}
.link-button {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  min-height: 40px;
  padding: 6px 0;
  text-align: left;
}
.increase-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  background: var(--green-light);
  padding: 11px 13px;
  font-size: 13px;
  color: var(--green-dark);
  margin-bottom: 13px;
  line-height: 1.5;
}
.increase-banner .icon {
  width: 22px;
  height: 22px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f2f5f9;
  color: var(--muted);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.8;
  margin: 15px 0;
}
.notice .icon {
  width: 21px;
  height: 21px;
  margin-top: 2px;
}
.notice.warm {
  background: var(--warm);
  color: #695821;
}
.rollback p {
  font-size: 12px;
  margin: 5px 0 10px;
}
.rollback .small-button {
  background: white;
  color: #5b4a20;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  background: #ffffffee;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
  z-index: 15;
}
.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-height: 51px;
  font-size: 12px;
  color: #536482;
  line-height: 1.7;
}
.bottom-nav .icon {
  width: 25px;
  height: 25px;
}
.bottom-nav button.active {
  color: var(--green);
  font-weight: 700;
}
.bottom-nav button.active:before {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 0 0 2px 2px;
}
.success-head {
  text-align: center;
  padding: 10px 0 20px;
}
.success-icon {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  color: white;
}
.success-icon .icon {
  width: 39px;
  height: 39px;
  stroke-width: 3;
}
.success-head h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 0 0 5px;
}
.success-head p {
  font-size: 14px;
  color: var(--muted);
}
.next-card {
  background: #f3f5f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.next-card h3 {
  margin-bottom: 9px;
}
.next-card > strong {
  font-size: 15px;
}
.weight-transition {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 53px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 7px 0 10px;
  font-variant-numeric: tabular-nums;
}
.weight-transition span {
  font-size: 25px;
  margin: 0 15px;
  color: #435574;
  font-weight: 400;
}
.weight-transition small {
  font-size: 20px;
  margin-left: 4px;
}
.green-note {
  padding: 8px 10px;
  border-radius: 8px;
  background: #e8f3ee;
  color: var(--green-dark);
  font-size: 13px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.next-card > .hint {
  margin: 7px 0 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 0 14px;
}
.section-title h2,
.section-title h3 {
  margin: 0;
}
.section-title h2 {
  font-size: 24px;
}
.section-title h3 {
  font-size: 16px;
}
.summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  min-height: 50px;
  width: 100%;
  text-align: left;
}
.summary-row:last-child {
  border-bottom: 0;
}
.summary-row .summary-name {
  font-size: 11px;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  letter-spacing: -0.04em;
}
.summary-row small {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
  max-width: 132px;
  line-height: 1.4;
}
.summary-row > .icon {
  width: 12px;
  height: 12px;
  color: var(--muted);
}
.status-circle {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1.3px solid #a9b6ca;
  color: var(--muted);
  font-size: 12px;
}
.status-circle.done {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.status-circle .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.split-heading,
.split-row {
  display: grid;
  grid-template-columns: 38px minmax(80px, 1fr) 148px;
  align-items: center;
  gap: 8px;
}
.split-card {
  padding: 0;
  overflow: hidden;
  margin-top: 24px;
}
.split-heading {
  background: #f2f4f9;
  padding: 12px 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.split-row {
  min-height: 80px;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
}
.set-number {
  display: grid;
  place-items: center;
  background: var(--soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
}
.split-weight {
  text-align: center;
}
.weight-small {
  min-height: 44px;
  min-width: 64px;
  padding: 3px 4px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.weight-small small {
  font-weight: 400;
}
.stepper.compact {
  gap: 1px;
  justify-content: space-between;
}
.stepper.compact .circle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  font-size: 21px;
}
.stepper.compact .step-value {
  min-width: 36px;
  font-size: 23px;
}
.intro-title {
  font-size: 26px;
  margin-bottom: 12px;
}
.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.equipment-illustration {
  height: 145px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5e8172;
  gap: 18px;
  margin-bottom: 16px;
}
.equipment-illustration .icon:first-child {
  width: 120px;
  height: 110px;
  stroke-width: 2;
}
.equipment-illustration .icon:last-child {
  width: 70px;
  height: 65px;
  transform: none;
  stroke-width: 3;
}
.intro-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.intro-row:last-child {
  border: 0;
}
.intro-row small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.intro-row .status-circle {
  width: 20px;
  height: 20px;
}
.equipment-title {
  text-align: center;
  margin: 8px 0 22px;
}
.equipment-small {
  display: grid;
  place-items: center;
  margin: 5px auto 16px;
  width: 70px;
  height: 55px;
  color: #566369;
}
.equipment-small .icon {
  width: 60px;
  height: 50px;
  stroke-width: 3;
}
.equipment-title h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.equipment-title p {
  font-size: 14px;
  color: var(--muted);
}
.field-card {
  padding: 15px;
}
.field-card label {
  font-size: 16px;
  font-weight: 650;
  display: block;
  margin-bottom: 12px;
}
.number-field {
  display: flex;
  align-items: center;
  border: 1px solid #cbd4e2;
  border-radius: 10px;
  padding: 3px 13px;
  height: 53px;
}
.number-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: none;
  font-size: 27px;
  font-weight: 550;
}
.number-field span {
  color: var(--muted);
}
.segmented {
  display: flex;
  padding: 3px;
  background: #f0f3f8;
  border-radius: 10px;
}
.segmented button {
  flex: 1;
  min-height: 40px;
  padding: 6px 10px;
  font-size: 14px;
  color: #4c5d79;
  border-radius: 8px;
  font-weight: 550;
}
.segmented .selected {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 3px #10332015;
}
.weight-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.weight-chips > span {
  padding: 9px 3px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.weight-chips small {
  margin-left: 3px;
  font-size: 10px;
  color: var(--muted);
}
.field-error {
  font-size: 13px;
  color: #a03531;
  line-height: 1.6;
}
.measurement-card {
  padding: 17px 14px;
  margin-top: 16px;
}
.measurement-card h3 {
  font-size: 15px;
}
.measurement-card h3 > span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-right: 10px;
}
.measure-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}
.measure-control .circle {
  width: 54px;
  height: 54px;
  font-size: 29px;
}
.measure-control .large-number {
  font-size: 54px;
}
.measurement-reps {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
}
.measurement-reps input {
  font-size: 52px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.04em;
  border: 0;
  background: transparent;
  width: 108px;
  text-align: center;
  padding: 0;
  min-width: 0;
}
.measurement-reps small {
  font-size: 20px;
  font-weight: 600;
}
.number-button {
  padding: 0;
}
.result-number {
  font-size: 39px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  font-weight: 700;
}
.result-number small {
  font-size: 17px;
}
.result-number > span {
  font-size: 25px;
  font-weight: 400;
  margin: 0 5px;
}
.result-card {
  background: #ecf6f1;
  padding: 18px;
  border-radius: 12px;
}
.result-card > h3 {
  color: var(--green-dark);
  font-size: 18px;
  margin-bottom: 12px;
}
.result-card .notice {
  background: #ffffff80;
  margin-bottom: 0;
}
.initial-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 67px;
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  font-size: 13px;
}
.card > .initial-row:last-child {
  border-bottom: 0;
}
.card:not(.flush) > .initial-row {
  padding-left: 0;
  padding-right: 0;
}
.initial-row > span {
  flex: 1;
}
.initial-row > .icon {
  width: 30px;
  height: 30px;
  color: #53666a;
  margin-right: 4px;
}
.initial-row strong {
  font-size: 23px;
  font-weight: 650;
  white-space: nowrap;
}
.initial-row small {
  font-size: 13px;
  margin-left: 3px;
}
.initial-row .small-button {
  padding: 3px 9px;
  min-height: 36px;
}
.initial-row > strong:last-child {
  margin-left: auto;
}
.back-button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  min-height: 40px;
  margin: -8px 0 13px;
  color: #435573;
  font-size: 14px;
}
.back-button .icon {
  width: 21px;
  height: 21px;
}
.graph-tabs {
  margin-bottom: 16px;
}
select {
  border: 1px solid #e2e7f0;
  background: #f5f7fb;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
  min-height: 40px;
  max-width: 130px;
  color: #34435d;
}
.exercise-card {
  padding: 13px;
}
.card-heading-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  padding: 0;
  text-align: left;
  min-height: 30px;
}
.card-heading-button h3 {
  font-size: 15px;
  margin: 0;
  font-weight: 700;
}
.card-heading-button > span {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.card-heading-button .icon {
  width: 15px;
  height: 15px;
}
.spark-summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  text-align: left;
  margin-top: 6px;
  padding: 0;
}
.mini-number {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.mini-number span {
  font-size: 22px;
  font-weight: 400;
  margin: 0 3px;
}
.mini-number small {
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 5px;
}
.spark {
  width: 47%;
  min-width: 120px;
  overflow: visible;
  font-variant-numeric: tabular-nums;
}
.spark.big {
  width: 100%;
  margin: 15px 0 12px;
  overflow: visible;
}
.spark text {
  font-size: 12px;
  fill: var(--muted);
}
.gridline {
  stroke: #e8edf3;
  stroke-width: 1;
}
.chart-area {
  fill: #e7f2ec;
  opacity: 0.8;
}
.chart-line {
  fill: none;
  stroke: #398063;
  stroke-width: 2;
}
.chart-dot {
  fill: #26744f;
  stroke: #26744f;
}
.trial-dot {
  fill: white;
  stroke: #7b8ba0;
  stroke-width: 1.5;
}
.exercise-card .previous {
  font-size: 11px;
  margin-top: 10px;
  padding: 7px;
}
.align-right {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 16px;
}
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 18px;
}
.stat-pair > div {
  border-radius: 9px;
  background: #f3f5f9;
  text-align: center;
  padding: 12px 5px;
}
.stat-pair span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat-pair strong {
  font-size: 31px;
  line-height: 1.3;
  font-weight: 650;
}
.stat-pair small {
  font-size: 12px;
  margin-left: 4px;
}
.section-label {
  margin: 24px 0 12px;
}
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 12px;
  min-height: 53px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}
.history-row:last-child {
  border-bottom: 0;
}
.history-row > span:first-child {
  flex: 1;
}
.history-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.history-row > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.history-row > strong > small {
  display: inline;
  margin-left: 4px;
}
.point-detail {
  padding: 11px 13px;
  background: var(--green-light);
  border-radius: 9px;
  font-size: 13px;
  display: grid;
  gap: 4px;
  margin: 8px 0;
}
.point-detail span {
  color: var(--muted);
}
.volume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.segmented.small {
  width: 155px;
}
.unit-label {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
}
.bar-chart {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 9px;
  height: 230px;
  margin: 16px 0 20px;
  border-bottom: 1px solid #d4dce6;
  background: repeating-linear-gradient(
    to top,
    #e8edf344 0,
    #e8edf344 1px,
    transparent 1px,
    transparent 44px
  );
  padding: 0 6px;
}
.bar-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  position: relative;
  font-variant-numeric: tabular-nums;
}
.bar-space {
  height: 176px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bar {
  display: block;
  min-width: 12px;
  width: 75%;
  max-width: 48px;
  background: linear-gradient(#52977a, #327754);
  border-radius: 3px 3px 0 0;
}
.bar-value {
  font-size: 9px;
  font-weight: 600;
  position: absolute;
  top: 4px;
  text-align: center;
  left: 0;
  right: 0;
}
.bar-label {
  font-size: 10px;
  color: var(--muted);
  line-height: 28px;
  text-align: center;
}
.set-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.set-table > div:first-child {
  font-size: 12px;
  background: var(--soft);
  color: var(--muted);
  border-radius: 7px;
}
.set-table > div:last-child {
  border: 0;
}
.set-table strong {
  font-size: 20px;
}
.set-table small {
  font-size: 12px;
  margin-left: 4px;
}
.day-exercise h3 {
  font-size: 17px;
}
.settings-row {
  min-height: 75px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.settings-row > .icon:first-child {
  width: 29px;
  height: 29px;
  color: var(--green);
  stroke-width: 1.7;
}
.settings-row > span {
  flex: 1;
}
.settings-row > .icon:last-child {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.settings-card > .hint {
  padding: 14px 17px;
}
.version-label {
  text-align: center;
  font-size: 11px;
  color: #8b97aa;
  margin: 24px 0;
}
.help-list .card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 10px;
}
.help-list summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 14px 12px;
  cursor: pointer;
  font-size: 14px;
  min-height: 56px;
}
.help-list summary::-webkit-details-marker {
  display: none;
}
.help-list summary strong {
  flex: 1;
}
.help-list summary > .icon {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  color: var(--muted);
}
.help-list details[open] summary > .icon {
  transform: rotate(-90deg);
}
.help-number {
  width: 28px;
  height: 28px;
  background: #8b98ac;
  color: white;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: none;
}
.help-body {
  background: var(--green-light);
  margin: 0 12px 12px;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: #435873;
}
.measurement-row {
  display: grid;
  gap: 3px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
.measurement-row:last-child {
  border: 0;
}
.measurement-row span {
  color: var(--muted);
  font-size: 14px;
}
.migration-steps > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  font-size: 14px;
  color: #435572;
}
.migration-steps > div > span {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}
.empty {
  text-align: center;
  padding: 35px 15px;
}
.empty h2 {
  font-size: 21px;
  margin: 16px 0 12px;
}
.empty p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px;
}
.empty-icon,
.error-icon,
.round-illustration {
  display: flex;
  justify-content: center;
  color: var(--green);
}
.empty-icon .icon,
.error-icon .icon,
.round-illustration .icon {
  width: 54px;
  height: 54px;
}
.error-icon {
  color: #df860c;
}
.center-block {
  text-align: center;
  padding: 20px 0;
}
.center-block h2 {
  font-size: 22px;
  margin: 20px 0 12px;
}
.center-block p {
  font-size: 14px;
  color: var(--muted);
}
.no-chart {
  font-size: 12px;
  color: var(--muted);
}
.edit-banner {
  background: #edf4fb;
  color: #3b597b;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.edit-banner .text-button {
  font-size: 11px;
  min-height: 32px;
}
.demo-banner {
  padding: 6px 12px;
  background: #fff5d7;
  font-size: 10px;
  text-align: center;
  color: #736130;
}
.storage-error {
  background: #fff1ed;
  color: #a33c28;
  padding: 15px;
  font-size: 14px;
}
.modal-open {
  overflow: hidden;
}
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: white;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 -6px 35px #10223815;
}
dialog::backdrop {
  background: #1c243a66;
  backdrop-filter: blur(1px);
}
dialog.sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  max-height: 88dvh;
  overflow: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.modal-content {
  position: relative;
  padding: 30px 20px 22px;
}
.sheet-handle {
  position: absolute;
  top: 11px;
  left: calc(50% - 20px);
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #dfe4ec;
}
.close-modal {
  position: absolute;
  right: 10px;
  top: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #28374c;
}
.close-modal .icon {
  width: 20px;
  height: 20px;
}
.modal-content > h2 {
  padding-right: 30px;
  font-size: 24px;
  margin-bottom: 14px;
}
.modal-content > .section-title {
  padding-right: 20px;
}
.modal-content > .section-title h2 {
  font-size: 21px;
}
.modal-content > .section-title span {
  font-size: 12px;
  white-space: nowrap;
}
.weight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 16px 0;
}
.weight-grid > button,
.rep-grid > button {
  min-height: 50px;
  background: var(--soft);
  border-radius: 9px;
  font-size: 21px;
  font-weight: 550;
}
.weight-grid > button.selected,
.rep-grid > button.selected {
  background: var(--green);
  color: #fff;
}
.weight-grid small {
  font-size: 14px;
}
.rep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 21px 0;
}
.rep-grid > button {
  min-height: 59px;
  font-size: 22px;
}
.custom-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--green);
  font-size: 14px;
  margin: 15px 0;
}
.custom-input input {
  width: 100px;
  border: 1px solid #c4cfdc;
  border-radius: 8px;
  padding: 10px;
  font-size: 20px;
  color: var(--ink);
  text-align: center;
}
.exercise-list-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 68px;
  width: 100%;
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 12px 10px;
}
.exercise-list-row:last-child {
  border: 0;
}
.exercise-list-row strong {
  flex: 1;
  font-size: 15px;
  letter-spacing: -0.05em;
}
.exercise-list-row > span:last-of-type {
  font-size: 14px;
  white-space: nowrap;
}
.exercise-list-row > .icon {
  width: 14px;
  height: 14px;
}
.selected-row {
  background: var(--green-light);
}
dialog.confirm-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 40px);
  max-width: 400px;
  max-height: 85dvh;
  border-radius: 13px;
  overflow: auto;
}
.confirm-dialog .modal-content {
  padding: 27px 22px 22px;
}
.confirm-dialog .modal-content > h2 {
  font-size: 22px;
}
.confirm-dialog .lead {
  font-size: 14px;
}
.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.dialog-actions button {
  font-size: 14px;
  padding: 10px 6px;
  min-height: 49px;
}
.file-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-radius: 9px;
  padding: 14px;
  margin: 22px 0;
}
.file-summary > span {
  min-width: 0;
  word-break: break-all;
  font-size: 14px;
}
.file-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
#toast {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translate(-50%, 12px);
  background: #263b32;
  color: white;
  width: calc(100% - 40px);
  max-width: 400px;
  border-radius: 10px;
  padding: 12px 16px;
  z-index: 50;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.15s,
    transform 0.15s;
  box-shadow: 0 4px 16px #182a3220;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* popover に対応したブラウザ：開いているあいだだけ表示し、dialog より上（top layer）に出る。
   ブラウザ既定の popover の見た目（中央・枠・余白）は打ち消す。 */
#toast:popover-open {
  inset: auto;
  bottom: calc(90px + env(safe-area-inset-bottom));
  left: 50%;
  margin: 0;
  border: 0;
  overflow: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
@starting-style {
  #toast:popover-open {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}
/* 2026-11-09：消す操作のボタン */
.settings-row.danger,
.settings-row.danger > .icon:first-child {
  color: #a33c28;
}
.quiet-button.danger {
  color: #a33c28;
}
.resume-note {
  margin: 0 0 12px;
}
.edit-banner > span {
  display: flex;
  gap: 4px;
  flex: none;
}
.edit-banner.quiet {
  background: var(--soft);
  color: var(--muted);
}
/* 重量の大きな数字も押せる（「変更」と同じ） */
.load-card button.large-number {
  display: block;
  width: 100%;
  margin: -1px 0 10px;
  padding: 0 40px 0 0;
  border-radius: 10px;
}
.custom-input input[type="date"] {
  width: auto;
  min-width: 160px;
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
}
.confirm-dialog .custom-input + .primary,
#record-date-form .primary {
  margin-top: 4px;
}
@media (min-width: 600px) {
  body {
    padding: 24px 0;
  }
  .app-shell {
    min-height: calc(100dvh - 48px);
    border-radius: 18px;
    overflow: hidden;
    overflow: clip; /* サンプルの帯（sticky）を効かせるため。古いブラウザは hidden のまま */
    border: 1px solid #e0e6ec;
  }
  .bottom-nav {
    border: 1px solid #e0e6ec;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
  }
  dialog.sheet {
    bottom: 18px;
    border-radius: 18px;
  }
  .app-header {
    height: 70px;
  }
  #screen {
    padding: 22px 20px 18px;
  }
}
@media (max-width: 374px) {
  .app-header {
    padding: 0 15px;
  }
  .app-header h1 {
    font-size: 20px;
  }
  .exercise-title {
    font-size: 24px;
  }
  .exercise-progress {
    padding: 12px 16px;
    gap: 15px;
  }
  #screen {
    padding-left: 12px;
    padding-right: 12px;
  }
  .stepper {
    gap: 7px;
  }
  .split-heading,
  .split-row {
    grid-template-columns: 30px minmax(65px, 1fr) 135px;
    gap: 5px;
  }
  .settings-row {
    font-size: 14px;
  }
  .exercise-list-row strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* 記録画面の「次へ」は、画面に固定せず回数のカードのすぐ下に置く（2026-11-20 app-32）。
   iOS 26 のホーム画面アプリでは、キーボードを閉じたあとなどに固定表示が画面の途中に浮き、2・3セット目の回数を押せなくなっていた。 */
.is-record #screen > .screen-actions {
  margin-top: 4px;
  gap: 2px;
}
.is-record #screen > .screen-actions > .quiet-button {
  min-height: 24px;
  font-size: 11px;
}
.is-record #screen > .screen-actions > .text-button {
  min-height: 30px;
  font-size: 12px;
}
.rep-row {
  min-height: 61px;
}
.load-card .large-number {
  font-size: 58px;
}
.split-heading,
.split-row {
  grid-template-columns: 26px minmax(118px, 1fr) 126px;
  gap: 6px;
}
.split-weight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.split-weight .circle {
  width: 40px;
  min-width: 40px;
  height: 44px;
  background: radial-gradient(
    circle at center,
    var(--soft) 18px,
    transparent 19px
  );
  font-size: 22px;
}
.split-weight .weight-small {
  background: transparent;
  min-width: 38px;
  padding: 0;
  font-size: 20px;
}
.stepper.compact .circle {
  width: 40px;
  min-width: 40px;
  height: 44px;
  background: radial-gradient(
    circle at center,
    var(--soft) 18px,
    transparent 19px
  );
}
.stepper.compact .step-value {
  min-width: 34px;
}
.bar {
  position: relative;
}
.bar-value {
  top: auto;
  bottom: 100%;
  margin-bottom: 5px;
  white-space: nowrap;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.week-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  margin: 4px 0;
}
.week-comparison > div {
  display: grid;
  gap: 3px;
  text-align: center;
}
.week-comparison span,
.week-comparison small {
  color: var(--muted);
  font-size: 11px;
}
.week-comparison strong {
  font-size: 21px;
  font-weight: 650;
}
.week-comparison strong small {
  font-size: 10px;
  font-weight: 400;
  margin-left: 4px;
}
.split-heading,
.split-row {
  grid-template-columns: 38px minmax(118px, 1fr) 126px;
}
.split-heading > span {
  white-space: nowrap;
}
.rollback-inline {
  padding: 8px 10px 10px;
  background: #fff7df;
  border-radius: 9px;
  margin-bottom: 6px;
  text-align: center;
}
.rollback-inline > span {
  font-size: 11px;
  color: #6e5b24;
  display: block;
  margin-bottom: 5px;
}
.rollback-inline > .secondary {
  font-size: 14px;
  min-height: 44px;
  background: white;
  border-color: #e3d3a8;
  color: #6a5117;
}

/* Minimal guidance and summaries; no extra daily inputs. */
.training-goal { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin:0 0 16px; padding:11px 14px; border-radius:12px; background:var(--green-light); color:var(--green-dark); }
.training-goal span { font-size:12px; }
.training-goal strong { font-size:14px; }
.load-card .card-label small { display:block; font-size:11px; font-weight:400; color:var(--muted); }
.graph-tabs button { min-width:0; font-size:13px; padding-left:5px; padding-right:5px; }
.baseline-intro > strong { font-size:32px; font-variant-numeric:tabular-nums; }
.baseline-intro > strong small { font-size:13px; margin-left:8px; font-weight:400; }
.baseline-pair { display:grid; grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); align-items:center; gap:8px; margin:20px 0 12px; }
.baseline-pair > div { display:flex; flex-direction:column; min-width:0; gap:6px; }
.baseline-pair > div > small { color:var(--muted); font-size:12px; }
.baseline-pair strong { font-size:28px; font-variant-numeric:tabular-nums; line-height:1.2; }
.baseline-pair strong small { font-size:13px; margin-left:3px; }
.baseline-pair span { font-size:13px; }
.weekly-sets-heading, .weekly-sets-row { display:grid; grid-template-columns:minmax(0,1fr) 64px 64px; gap:6px; align-items:center; }
.weekly-sets-heading { padding:12px 0 8px; color:var(--muted); font-size:11px; border-bottom:1px solid var(--line); }
.weekly-sets-row { padding:12px 0; border-bottom:1px solid var(--line); }
.weekly-sets-row strong { font-size:13px; font-weight:600; overflow-wrap:anywhere; }
.weekly-sets-row span { text-align:right; font-variant-numeric:tabular-nums; font-weight:600; }
.weekly-sets-heading span:not(:first-child) { text-align:right; }
.weekly-sets-row small { font-size:10px; margin-left:2px; color:var(--muted); font-weight:400; }

/* 12週間の時期の表示・最終テスト・レポート・ホーム画面の案内（2026-10-28） */
.phase-card {
  background: var(--green-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 12px;
  color: var(--green-dark);
}
.phase-card strong {
  display: block;
  font-size: 15px;
}
.phase-card p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink);
}
.phase-card.test {
  background: var(--warm);
}
.phase-card.test button {
  margin-top: 8px;
}
.phase-cue {
  margin: -2px 0 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.phase-links {
  margin: 0 0 8px;
  text-align: right;
}
.report-row {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.report-row:last-of-type {
  border-bottom: 0;
}
.light-weight {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}
.a2hs-steps {
  padding-left: 1.4em;
  display: grid;
  gap: 6px;
  margin: 8px 0;
}

/* 見せ方4点（2026-10-31）：ホーム画面に追加・1行のヒント・12週の進み具合・サンプル */
.app-header #brand-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.app-header:has(.install-button) h1 {
  font-size: 19px;
}
.install-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  padding: 3px 4px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.install-button .icon {
  width: 20px;
  height: 20px;
}
.install-note {
  padding: 7px 16px;
  background: var(--warm);
  color: #6b5520;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid #f1e6c4;
}
#demo:has(.sample-banner) {
  position: sticky;
  top: 0;
  z-index: 20;
}
.sample-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px 6px 16px;
  background: #fff5d7;
  color: #5f4d1d;
  font-size: 13px;
  font-weight: 650;
  border-bottom: 1px solid #f1e6c4;
}
.sample-banner .sample-exit {
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.course-card {
  padding: 12px 16px 11px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}
.course-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
}
.course-head strong {
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.course-head span {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
}
.course-bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin: 8px 0 6px;
}
.course-bar span {
  height: 7px;
  border-radius: 2px;
  background: #e3e8ee;
}
.course-bar span.phase-start {
  margin-left: 3px;
}
.course-bar span.done {
  background: var(--green);
}
.course-bar span.current {
  background: #9fcfb5;
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.course-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.today-hint {
  margin: -8px 0 12px;
  padding: 9px 12px;
  border-left: 3px solid var(--green);
  background: var(--green-light);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.install-guide h3 {
  margin: 10px 0 6px;
  font-size: 14px;
}
.install-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 8px;
}
.install-steps li {
  display: grid;
  grid-template-columns: 20px 40px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
}
.install-step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.install-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--soft);
  color: #1f6fd1;
  display: grid;
  place-items: center;
}
.install-key {
  font-size: 12px;
  font-weight: 700;
  color: #1f6fd1;
}
@media (max-width: 374px) {
  .app-header:has(.install-button) h1 {
    font-size: 16px;
  }
}
/* 2026-10-31：バックアップの最終保存日・復元前の比較 */
.settings-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.restore-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: -8px 0 14px;
}
.restore-compare > div {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
}
.restore-compare span,
.restore-compare small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.restore-compare strong {
  display: block;
  font-size: 16px;
  margin: 2px 0;
}
.copy-area {
  width: 100%;
  font: inherit;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  margin: 10px 0 14px;
}
.warmup-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ---- 2026-11-10：UI・デザインの見直し ---- */
/* 案3：12週の進み具合のカードは、記録画面では1行＋バーに折りたたむ */
.course-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.course-card .course-head {
  align-items: center;
}
.course-chevron {
  display: inline-flex;
  color: var(--muted);
  transition: transform 0.2s;
}
.course-chevron .icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}
.course-card.open .course-chevron .icon {
  transform: rotate(-90deg);
}
.course-phase {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
}
.course-card .course-bar {
  margin: 8px 0 0;
}
.course-card.open .course-bar {
  margin-bottom: 6px;
}
.course-more p {
  margin: 0;
}
.course-banner {
  margin-top: 6px !important;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark) !important;
  font-size: 13px !important;
}
.course-more .phase-links {
  margin: 6px 0 0;
}
/* 案4：今回の目安は回数のカードの中、緑の一言は重量のカードの「準備」の下 */
.reps-card .training-goal {
  margin: 0 0 10px;
  padding: 8px 12px;
}
.load-card .phase-cue,
.split-card + .phase-cue {
  margin: 6px 0 4px;
  font-size: 13px;
}
/* 案8：推移の「6 → 14kg」に、開始からの差 */
.mini-number .delta {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}
/* ---- 2026-11-10（3回目）：ダンベルの重量の一覧を直せるように・レポートのグラフ ---- */
.weight-chips.editable > button {
  padding: 9px 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.weight-chips.editable > button:active,
.weight-chips.editable > button:focus-visible {
  border-color: var(--green);
  outline: none;
}
.weight-chips.editable > .add-weight {
  border: 1px dashed var(--green);
  background: var(--paper);
  color: var(--green);
  font-weight: 700;
}
.weights-count {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.weights-note {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--warm);
  font-size: 13px;
  line-height: 1.6;
}
#eq-weight-form {
  display: grid;
  gap: 12px;
  margin: 8px 0 4px;
}
#eq-weight-form input {
  width: 7em;
  font-size: 20px;
  text-align: right;
}
.baseline-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.baseline-card h3 .delta,
.mini-number .delta {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.baseline-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.baseline-chart .spark {
  width: 100%;
}
.baseline-chart small {
  flex: none;
  font-size: 11px;
}

/* 進め方（全身・分割）2026-11-19 */
.day-switch{margin:4px 0 14px}
.day-switch>span{display:block;font-size:13px;color:var(--muted,#5d6b7a);margin-bottom:6px}
.day-switch .segmented button{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.2;padding:8px 6px;font-weight:700}
.day-switch .segmented button small{font-size:11px;font-weight:500;opacity:.85}
.plan-option{display:block;width:100%;text-align:left;border:1.5px solid #d8dee6;border-radius:14px;background:#fff;padding:14px 16px;margin:10px 0;color:inherit}
.plan-option strong{display:block;font-size:17px;margin-bottom:4px}
.plan-option span{display:block;font-size:14px;line-height:1.6;color:#4a5866}
.plan-option.selected{border-color:#2f5d4f;background:#eef5f1;box-shadow:0 0 0 1px #2f5d4f inset}
/* キーボードが出ている間は、下のメニューを隠す（iOS で、キーボードに押し上げられたまま残るのを防ぐ。app-32） */
body.keyboard-open .bottom-nav {
  display: none;
}
/* LINEの中の注意の「Safariなどで開き直す」（リンク）を、ボタンと同じ押しやすさにする（app-32） */
a.link-button {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
}
