* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  font-family: var(--font-ui);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 5%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 32rem),
    var(--bg);
  color: var(--text);
}

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

button {
  color: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.app-shell {
  width: min(100%, 960px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right))
    calc(92px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px 2px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.icon-button svg,
.bottom-nav svg,
.button svg,
.link-button svg,
.row-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.main-content {
  width: 100%;
}

.loading-state,
.empty-state {
  display: grid;
  min-height: 48vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  color: var(--text-muted);
}

.loading-state img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}

.page-head h1,
.section-head h2,
.hero-card h1,
.dialog-card h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.page-head h1 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  line-height: 1.08;
}

.page-head p,
.section-head p,
.muted,
.caption {
  color: var(--text-muted);
}

.page-head p {
  margin: 7px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 2px 14px;
}

.section-head h2 {
  font-size: 1.15rem;
}

.section-head p {
  margin: 4px 0 0;
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
  min-height: 272px;
  overflow: hidden;
  padding: 26px 24px 22px;
  border: 1px solid color-mix(in srgb, var(--secondary) 40%, var(--border));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(132deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--secondary) 25%, var(--surface))),
    var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-card::after {
  position: absolute;
  z-index: -1;
  right: -32px;
  bottom: -44px;
  width: 244px;
  height: 244px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--illustration-mint) 22%, transparent);
  content: "";
  filter: blur(1px);
}

.hero-art {
  position: absolute;
  z-index: -1;
  top: 36px;
  right: -26px;
  width: 238px;
  height: 238px;
  border-radius: 52px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  transform: rotate(-4deg);
}

html[data-theme="dark"] .hero-art {
  mix-blend-mode: screen;
  opacity: 0.5;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .hero-art {
    mix-blend-mode: screen;
    opacity: 0.5;
  }
}

.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 720;
}

.hero-card h1 {
  max-width: 65%;
  margin-top: 17px;
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  line-height: 1.03;
}

.hero-meta {
  max-width: 62%;
  margin: 9px 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-contrast);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast);
}

.button:hover {
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 24%, transparent);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button.danger {
  background: var(--danger);
  color: #fff;
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--primary);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.link-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--success);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 690;
}

.route-card,
.panel,
.exercise-card,
.catalog-card,
.journal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.route-card,
.panel {
  padding: 20px;
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(18px, 1fr));
  gap: 3px;
  margin: 20px 0 6px;
}

.route-line::before {
  position: absolute;
  top: 12px;
  right: 4%;
  left: 4%;
  height: 2px;
  background: var(--border);
  content: "";
}

.route-stop {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.route-dot {
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: transparent;
  font-size: 0.68rem;
  font-weight: 800;
}

.route-stop.completed .route-dot {
  border-color: var(--secondary);
  background: var(--secondary);
  color: #10272f;
}

.route-stop.active .route-dot {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
}

.route-stop.next .route-dot {
  border-color: var(--secondary);
}

.plan-list,
.catalog-list,
.journal-list {
  display: grid;
  gap: 11px;
}

.plan-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.order-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-elevated);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.plan-row h3,
.journal-card h3,
.catalog-card h3,
.exercise-title h2 {
  margin: 0;
  overflow-wrap: anywhere;
}

.plan-row h3 {
  font-size: 0.96rem;
  line-height: 1.25;
}

.plan-row p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.plan-load {
  max-width: 112px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(calc(100% - 16px), 760px);
  min-height: calc(72px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid var(--border);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.bottom-nav button {
  display: grid;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 5px 3px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 650;
}

.bottom-nav button[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--success);
}

.bottom-nav svg {
  width: 23px;
  height: 23px;
}

.live-status {
  position: sticky;
  z-index: 12;
  top: calc(8px + env(safe-area-inset-top));
  display: none;
  margin: 0 0 12px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-size: 0.86rem;
}

.live-status.visible {
  display: block;
}

.live-status.error {
  border-color: var(--danger);
  color: var(--danger);
}

.timer {
  margin: 8px 0 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 760;
  letter-spacing: -0.04em;
}

.active-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}

.save-state {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.save-state.error {
  color: var(--danger);
  font-weight: 700;
}

.exercise-stack {
  display: grid;
  gap: 14px;
}

.exercise-card {
  overflow: hidden;
}

.exercise-card[data-status="done"] {
  border-color: color-mix(in srgb, var(--success) 58%, var(--border));
}

.exercise-card[data-status="skipped"] {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--border));
}

.exercise-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.exercise-summary {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.exercise-order-actions {
  display: grid;
  gap: 5px;
  padding-right: 12px;
}

.exercise-order-actions button {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
}

.exercise-order-actions button:disabled {
  opacity: 0.3;
  cursor: default;
}

.exercise-order-actions svg {
  width: 17px;
  height: 17px;
}

.exercise-title h2 {
  font-size: 1rem;
  line-height: 1.3;
}

.exercise-title p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.status-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-elevated);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.exercise-card[data-status="done"] .status-mark {
  background: color-mix(in srgb, var(--success) 18%, var(--surface));
  color: var(--success);
}

.exercise-card[data-status="skipped"] .status-mark {
  background: color-mix(in srgb, var(--danger) 14%, var(--surface));
  color: var(--danger);
}

.chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform var(--motion-normal);
}

.exercise-card.expanded .chevron {
  transform: rotate(180deg);
}

.exercise-body {
  display: none;
  padding: 0 14px 16px;
  border-top: 1px solid var(--border);
}

.exercise-card.expanded .exercise-body {
  display: block;
}

.plan-box {
  margin: 14px 0;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
}

.plan-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.88rem;
}

.plan-box p {
  margin: 4px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 7px;
  margin: 13px 0;
}

.field > span,
.field > label,
.field-label {
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 690;
}

input[type="text"],
input[type="number"],
input[type="search"],
input[type="file"],
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--text-muted) 72%, transparent);
}

.set-grid {
  display: grid;
  gap: 8px;
}

.set-row {
  display: grid;
  grid-template-columns: 32px repeat(2, minmax(0, 1fr)) 44px;
  align-items: end;
  gap: 7px;
}

.set-row.no-load {
  grid-template-columns: 32px minmax(0, 1fr) 44px;
}

.set-no {
  display: grid;
  min-height: 46px;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.compact-field {
  display: grid;
  gap: 4px;
}

.compact-field span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-action {
  display: grid;
  width: 44px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--danger);
  cursor: pointer;
}

.row-action svg {
  width: 18px;
  height: 18px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 7px 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.segmented input:checked + span {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, var(--surface));
  color: var(--primary);
}

.segmented input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.check-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.check-row input {
  width: 21px;
  height: 21px;
  accent-color: var(--primary);
}

.danger-toggle input {
  accent-color: var(--danger);
}

.danger-toggle:has(input:checked) {
  border-color: color-mix(in srgb, var(--danger) 64%, var(--border));
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
  color: var(--danger);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.42fr);
  gap: 10px;
  margin-bottom: 14px;
}

.filter-row {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin: 0 -16px 16px;
  padding: 2px 16px 8px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 690;
}

.filter-button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-contrast);
}

.catalog-card,
.journal-card {
  padding: 16px;
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.catalog-card h3,
.journal-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.catalog-card p,
.journal-card p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.42;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-elevated);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.journal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.journal-stats {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.journal-stats strong {
  color: var(--text);
  font-size: 1.1rem;
}

.data-grid {
  display: grid;
  gap: 14px;
}

.panel h2 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.panel p {
  margin: 5px 0 14px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.theme-options label {
  position: relative;
}

.theme-options input {
  position: absolute;
  opacity: 0;
}

.theme-options span {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 720;
}

.theme-options input:checked + span {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  color: var(--primary);
}

.theme-options input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dialog-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: end center;
  padding: 24px 12px max(12px, env(safe-area-inset-bottom));
  background: var(--overlay);
}

.dialog-card {
  width: min(100%, 620px);
  max-height: min(88vh, 880px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dialog-card h2 {
  padding-right: 42px;
  font-size: 1.4rem;
  line-height: 1.15;
}

.dialog-card h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.dialog-card p,
.dialog-card li {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.52;
}

.dialog-card ul,
.dialog-card ol {
  padding-left: 22px;
}

.dialog-close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: -8px -8px 0 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.import-summary {
  margin-top: 14px;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
}

.import-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  margin: 0;
  font-size: 0.82rem;
}

.import-summary dt {
  color: var(--text-muted);
}

.import-summary dd {
  margin: 0;
  text-align: right;
}

.completion {
  text-align: center;
}

.completion img {
  width: 124px;
  height: 124px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.completion h1 {
  margin: 22px 0 8px;
}

.completion p {
  margin: 0 auto;
  max-width: 420px;
  color: var(--text-muted);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (min-width: 760px) {
  .app-shell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .today-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
    align-items: start;
    gap: 18px;
  }

  .today-grid .section-head {
    margin-top: 0;
  }

  .hero-card {
    min-height: 304px;
    padding: 30px;
  }

  .hero-art {
    right: 10px;
    width: 270px;
    height: 270px;
  }

  .route-card {
    grid-column: 1 / -1;
  }

  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-grid .panel:last-child {
    grid-column: 1 / -1;
  }

  .dialog-backdrop {
    place-items: center;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.05rem;
  }

  .hero-card {
    min-height: 286px;
  }

  .hero-card h1,
  .hero-meta {
    max-width: 68%;
  }

  .hero-art {
    top: 54px;
    right: -56px;
    width: 228px;
    height: 228px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: fit-content;
  }

  .hero-actions .button {
    width: 100%;
  }

  .route-line {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 16px;
  }

  .route-line::before {
    display: none;
  }

  .plan-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .plan-load {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }

  .set-row {
    grid-template-columns: 28px repeat(2, minmax(0, 1fr)) 44px;
  }

  .set-row.no-load {
    grid-template-columns: 28px minmax(0, 1fr) 44px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
