.home-finder .panel-set .mode-tabs { margin-bottom: 20px; }
.home-finder .mode-note { margin-bottom: 0; }
.home-guess-list .feedback-box { margin: 10px 0; }

.home-section {
  position: relative;
  margin-top: var(--section-gap);
}
.home-section::before {
  position: absolute;
  inset: calc(var(--section-gap) / -2) 0 auto;
  border-top: 1px solid var(--ink);
  pointer-events: none;
  content: "";
}
.home-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.05em;
}
.home-section h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.home-lead { max-width: 64ch; margin: .8rem 0 1.55rem; color: var(--muted); font-size: 1.05rem; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(1.25rem, 5vw, 4rem); align-items: start; }
.home-steps { max-width: 65ch; margin: 0; }
.home-steps li + li { margin-top: .9rem; }
.home-steps strong { color: var(--ink); }
.home-section a { color: var(--navy); text-underline-offset: .18em; }
.home-section a:hover { text-decoration-thickness: .14em; }
.home-inline-action { margin-top: 1rem; font-weight: 800; }
.home-worked {
  margin: 0;
  padding: .1rem 0 .1rem 1.2rem;
  border-left: 3px solid var(--yellow);
}
.home-worked figcaption { font-weight: 800; font-size: .94rem; color: var(--navy); }
.home-clue-line { margin-top: .45rem; font-size: 1.2rem; font-weight: 800; }
.home-worked p { max-width: 44ch; }

.home-practice {
  --challenge-inset: clamp(1rem, 3.2vw, 1.5rem);
  border: 1px solid var(--navy);
  border-radius: .85rem;
  box-shadow: 3px 3px 0 var(--navy);
  background: var(--bluewash);
}
.home-practice-heading {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem .9rem;
  padding: .85rem var(--challenge-inset);
  border-radius: .78rem .78rem 0 0;
  background: var(--navy);
  color: var(--white);
}
.home-practice-heading time { font-size: .875rem; font-weight: 700; }
.home-practice-body { padding: var(--challenge-inset); }
.home-practice-skill {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.28rem, 2.5vw, 1.72rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.home-practice-prompt { max-width: 46ch; margin-top: .45rem; line-height: 1.52; }
.home-practice .tile-strip { gap: .4rem; margin: .9rem 0 0; }
.home-practice .tile-strip > span:not(.visually-hidden) { width: 2.5rem; height: 2.6rem; }
.home-practice .tile-strip > .tile-absent { background: var(--muted); color: var(--white); }
.home-practice .tile-strip > :is(.tile-correct, .tile-absent, .tile-present) { position: relative; padding-bottom: .36rem; }
.home-practice .tile-strip > :is(.tile-correct, .tile-absent, .tile-present)::after {
  position: absolute; inset: auto .2rem .1rem auto; font-size: .68rem; line-height: 1;
}
.home-practice .tile-strip > .tile-correct::after { content: '✓'; }
.home-practice .tile-strip > .tile-absent::after { content: '×'; }
.home-practice .tile-strip > .tile-present::after { content: '↔'; }
.home-challenge-form { margin-top: 1rem; }
.home-challenge-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; align-items: end; }
.home-challenge-controls .field { min-width: 0; }
.home-challenge-controls input { min-height: 43px; text-transform: uppercase; }
.home-challenge-controls .button { white-space: nowrap; }
.home-challenge-status { margin-top: .55rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.home-challenge-status:empty { margin-top: 0; }
.home-challenge-status.is-correct { color: #245326; }
.home-reveals { margin-top: 1rem; }
.home-reveals details { border-top: 1px solid rgba(0, 0, 128, .22); }
.home-reveals summary { padding: .65rem 0; color: var(--navy); cursor: pointer; font-weight: 800; }
.home-reveals details p { margin: 0 0 .8rem; }
.home-reveals [data-home-answer] p:first-of-type { margin-bottom: .15rem; }
.home-practice-action { border-top: 1px solid rgba(0, 0, 128, .22); font-weight: 800; }
.home-practice-action a { display: inline-block; padding-block: .65rem; }
.home-shortcuts ul { margin: .45rem 0 0; padding: 0; list-style: none; }
.home-shortcuts li { padding: .58rem 0; border-bottom: 1px solid rgba(0, 0, 128, .18); }
.home-shortcuts li > a { font-weight: 800; }
.home-shortcuts li p { margin-top: .12rem; color: var(--muted); font-size: .94rem; }
.home-preview-note { margin-top: .68rem; color: var(--muted); font-size: .87rem; }

.home-tool-list { margin: 0; padding: 0; max-width: 68rem; list-style: none; border-top: 1px solid rgba(0, 0, 128, .2); }
.home-tool-list li { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 2.45fr); gap: .4rem 1.1rem; align-items: baseline; padding: .92rem 0; border-bottom: 1px solid rgba(0, 0, 128, .2); }
.home-tool-list li p { max-width: 63ch; }
.home-reading { margin-top: 1.2rem; }
.home-reading p { max-width: 56ch; margin-top: .55rem; }
.home-word-lists { margin: .45rem 0 .85rem; padding: 0; list-style: none; }
.home-word-lists li { padding: .6rem 0; border-bottom: 1px solid rgba(0, 0, 128, .18); }
.home-word-lists li > a:first-child { font-weight: 800; }
.home-word-lists li p { margin: .15rem 0; color: var(--muted); font-size: .94rem; }

@media (max-width: 735px) {
  .home-columns { grid-template-columns: minmax(0, 1fr); }
  .home-daily-grid { row-gap: var(--section-gap); }
  .home-worked { margin-top: .2rem; }
}
@media (max-width: 535px) {
  .home-finder .panel-set .mode-tabs { margin-bottom: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-finder .mode-tabs[role="tablist"] > button { grid-column: span 2; }
  .home-finder .mode-tabs[role="tablist"] > button:nth-last-child(-n+2) { grid-column: span 3; }
  .home-tool-list li { grid-template-columns: minmax(0, 1fr); }
}

.result-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-top: 0.875rem;
}

.home-practice-archive {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

.challenge-date-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin: 1rem 0;
}

.challenge-date-picker input {
  width: auto;
}

.challenge-archive-list {
  padding-left: 1.5rem;
  line-height: 1.9;
}

.challenge-card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .home-practice .tile-strip > span:not(.visually-hidden) {
    width: 1.85rem;
    height: 2.2rem;
  }
}
