/* Number Knights - the survey page (homeschool.html), on top of css/school.css.
   One column, easy to read: each part is a card with a numbered heading, each
   question has room around it, and the answers are one per line (short ones,
   like grades or Yes/No, are a row of chips). A bar at the top counts the
   questions answered. */
.hs-page main { max-width: 760px; margin: 0 auto; padding: 0 16px 56px; }
.hs-page .t-hero { display: block; padding: 28px 0 8px; }
.hs-page .t-hero h1 { font-size: 2rem; }
.hs-page .lead { font-size: 1.08rem; }
.hs-ticks { list-style: none; padding: 14px 16px; margin: 16px 0; background: #fff; border: 1px solid #e1e5f0; border-radius: 14px; }
.hs-ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.hs-ticks li::before { content: '✓'; position: absolute; left: 4px; top: 0; color: #1f9d55; font-weight: 900; }

.hs-form { display: flex; flex-direction: column; gap: 20px; }
/* The progress bar sticks to the top while scrolling. */
.hs-progress { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0 -2px;
  background: rgba(244, 246, 251, 0.95); backdrop-filter: blur(4px); border-bottom: 1px solid #e1e5f0; font-size: 0.9rem; color: #5b6280; }
.hs-track { flex: 1; height: 8px; border-radius: 99px; background: #e1e5f0; overflow: hidden; }
.hs-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #2557d6, #4fc3ff); transition: width .3s; }
.hs-progress span { white-space: nowrap; }

/* A part: a card with a big number and its title. */
.hs-section { border: 1px solid #e1e5f0; margin: 0; padding: 22px 24px 8px; box-shadow: 0 1px 3px rgba(27, 31, 59, 0.05); }
.hs-section legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 6px;
  font-size: 1.3rem; font-weight: 800; }
.hs-section legend + * { clear: both; }
.hs-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: #2557d6; color: #fff; font-size: 1.05rem; font-weight: 800; }
.hs-part { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6280; }
.hs-intro { color: #5b6280; margin: 4px 0 4px; }

/* A question: its wording, then the answers, with a line between questions. */
.hs-q { display: block; margin: 0; padding: 18px 0; border-top: 1px solid #eef0f6; border-radius: 0; font-weight: 400;
  transition: background .3s, box-shadow .3s; }
.hs-intro + .hs-q, .hs-section legend + .hs-q { border-top: 0; }
.hs-q.hs-missing { background: rgba(255, 196, 0, .16); box-shadow: 0 0 0 10px rgba(255, 196, 0, .16); border-radius: 8px; }
.hs-label { display: block; font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; line-height: 1.4; }
.hs-howto { display: block; margin-top: 2px; font-size: 0.82rem; font-weight: 400; color: #5b6280; }
.hs-howto.inline { display: inline; margin: 0 0 0 6px; }
.req { color: #c0392b; }
.t-card .hs-q select, .t-card .hs-q textarea { margin-top: 0; }
.hs-q textarea { width: 100%; font: inherit; min-height: 84px; }
.t-card .hs-q input.hs-short { width: 10em; margin-top: 0; }
.hs-money { display: inline-flex; align-items: center; border: 1.5px solid #c9cfe0; border-radius: 9px; background: #fff; overflow: hidden; }
.hs-money:focus-within { border-color: #2557d6; }
.hs-dollar { padding: 0 4px 0 12px; font-weight: 700; color: #5b6280; }
.t-card .hs-money input.hs-short { border: 0; padding-left: 2px; width: 8em; }
.t-card .hs-money input.hs-short:focus { outline: none; }

/* Answers: one per line, each a box you can tap anywhere on. */
.hs-opts.list { display: flex; flex-direction: column; gap: 8px; }
.hs-opts.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-card label.hs-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border: 1.5px solid #dfe3ee; border-radius: 10px;
  background: #fff; font-weight: 500; font-size: 0.98rem; cursor: pointer; transition: border-color .15s, background .15s; }
.hs-opts.chips .hs-opt { padding: 8px 14px; min-width: 56px; justify-content: center; }
.t-card label.hs-opt:hover { border-color: #9fb3ea; background: #f7f9ff; }
.t-card label.hs-opt:has(input:checked) { border-color: #2557d6; background: #eaf0ff; }
.t-card .hs-opt input { flex: none; display: inline-block; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #2557d6; cursor: pointer; }
.hs-opts.chips .hs-opt input { width: 16px; height: 16px; }

/* Ratings: one row per thing, with 1 to 5 across. */
.hs-rate { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.hs-rate th, .hs-rate td { padding: 8px 4px; }
.hs-rate thead th { text-align: center; font-size: .85em; color: #5b6280; font-weight: 700; padding-bottom: 0; }
.hs-rate .hs-rate-q { text-align: left; font-weight: 700; font-size: 1.02rem; color: #1b1f3b; }
.hs-rate tbody tr { background: #f7f8fc; }
.hs-rate tbody th { text-align: left; font-weight: 500; padding-left: 12px; border-radius: 10px 0 0 10px; }
.hs-rate tbody td:last-child { border-radius: 0 10px 10px 0; }
.hs-rate td { text-align: center; width: 2.8em; }
.t-card .hs-rate input { display: inline-block; width: 1.25em; height: 1.25em; margin: 0; padding: 0; accent-color: #2557d6; cursor: pointer; }
.hs-scale { display: flex; justify-content: space-between; margin-top: 2px; }

.hs-send { text-align: center; padding: 8px 0; }
.hs-send .btn { font-size: 1.15rem; padding: 15px 40px; border-radius: 12px; box-shadow: 0 4px 14px rgba(37, 87, 214, 0.3); }
@media (max-width: 600px) {
  .hs-page .t-hero h1 { font-size: 1.6rem; }
  .hs-section { padding: 18px 14px 4px; }
  .hs-rate tbody th { font-size: .9em; padding-left: 8px; }
  .hs-rate td { width: 2.1em; padding: 8px 1px; }
  .hs-progress span { font-size: 0.8rem; }
}

/* Scope and sequence (scope.html). */
.scope-toc { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 24px; line-height: 1.8; }
.scope-subject { margin: 32px 0 8px; }
.scope-course { margin: 0 0 16px; }
.scope-course h3 { margin: 0 0 4px; }
.scope-strands { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 20px; }
.scope-strands h4 { margin: 10px 0 2px; font-size: .95rem; }
.scope-strands ol { margin: 0; padding-left: 1.3em; }
.t-top nav a { margin-left: 12px; }
