/* Setup worksheet: readable on screen, clean on paper */
.worksheet-page .nav { margin-left: auto; gap: 0.6rem; }
.worksheet { padding: 2rem 0 4rem; }
.worksheet h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}
.dl-line { margin: 0 0 1.75rem; color: var(--muted); }
.ws-form { max-width: none; }
.ws-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.4rem;
  margin-bottom: 1.15rem;
}
.ws-block h2 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.ws-block .hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.ws-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.ws-grid-2 label,
.ws-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.ws-grid-2 .wide { grid-column: 1 / -1; }
.ws-form input[type="text"],
.ws-form input[type="email"],
.ws-form select {
  font: inherit;
  font-weight: 500;
  color: var(--text);
  background: #111;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  width: 100%;
}
.table-wrap { overflow-x: auto; }
.ws-form table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}
.menu-table { min-width: 56rem; }
.ws-form th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.35rem 0.4rem 0.55rem;
  border-bottom: 1px solid var(--line);
}
.ws-form td { padding: 0.3rem 0.35rem; }
.ws-form tr.example input {
  background: rgba(255, 152, 0, 0.08);
  border-color: rgba(255, 152, 0, 0.35);
  color: var(--text);
}
.ws-foot {
  color: var(--faint);
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
}

@media (max-width: 700px) {
  .ws-grid-2 { grid-template-columns: 1fr; }
  .worksheet-page .nav { display: flex; }
}

@media print {
  html { color-scheme: light; }
  body {
    background: #fff !important;
    color: #111 !important;
  }
  .site-header {
    position: static;
    background: #fff;
    border-bottom: 1px solid #ccc;
    height: auto;
  }
  .no-print, .skip, .menu-btn, #nav-toggle { display: none !important; }
  .worksheet { padding-top: 0.5rem; }
  .ws-block {
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 0;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .ws-block h2, .worksheet h1, .section-kicker, .section-lead, .hint, .ws-foot, th, label {
    color: #111 !important;
  }
  .section-kicker { color: #b35c00 !important; }
  .ws-form input, .ws-form select {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #888 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .ws-form tr.example input {
    background: #fff6e8 !important;
  }
  .logo-link img { width: 3rem; height: 3rem; }
  a { color: #111 !important; text-decoration: none !important; }
  .menu-table { min-width: 0 !important; width: 100%; table-layout: fixed; }
  .menu-table th { font-size: 0.62rem; padding: 0.2rem 0.25rem 0.35rem; }
  .menu-table input { font-size: 0.7rem; padding: 0.25rem 0.3rem; }
}
