/* =============================================================
   LEXUNYU — Field & Reporting Interval Sheet
   屏幕上可直接填写，打印时变成一份干净的 A4 表单。
   ============================================================= */

.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sheet-actions .lx-fbtn { min-height: 46px; padding: 0 20px; font-size: 14px; }
.sheet-note { margin: 18px 0 0; max-width: 46em; color: var(--muted);
  font-size: 14px; line-height: 1.7; }

.sheet-wrap { padding: 44px 0 clamp(80px, 7vw, 110px); background: var(--soft); }
.sheet { background: #fff; border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 52px); overflow-x: auto; }

/* ---------- head ---------- */
.sheet__head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px;
  align-items: start; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.sheet__doc { margin: 0; font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.028em; }
.sheet__sub { margin: 7px 0 0; font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.sheet__meta { display: grid; gap: 8px; min-width: 260px; }
.sheet__meta label { display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: center;
  gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
.sheet__sec { padding: 28px 0; border-bottom: 1px solid var(--line); }
.sheet__sec:last-of-type { border-bottom: 0; }
.sheet__sec h2 { display: flex; align-items: baseline; gap: 13px; margin: 0 0 6px;
  font-size: 19px; font-weight: 700; letter-spacing: -.022em; }
.sheet__sec h2 span { font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--red); }
.sheet__hint { margin: 0 0 18px; max-width: 52em; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.sheet__sec h2 + .sheet__grid, .sheet__sec h2 + .sheet__table { margin-top: 18px; }

.sheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; }
.sheet__grid label, .sheet__block { display: grid; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); }
.sheet__block { margin-top: 18px; }

/* 填写域：屏幕上是下划线，打印时仍是下划线，不像网页控件 */
.sheet input, .sheet textarea {
  width: 100%; padding: 7px 2px; border: 0; border-bottom: 1px solid #c6ccd3;
  background: transparent; outline: none;
  font-family: var(--sans, inherit); font-size: 14.5px; letter-spacing: 0;
  text-transform: none; color: var(--ink);
}
.sheet textarea { resize: vertical; line-height: 1.6; }
.sheet input:focus, .sheet textarea:focus { border-bottom-color: var(--red);
  box-shadow: 0 1px 0 0 var(--red); }
.sheet input::placeholder, .sheet textarea::placeholder { color: #aeb5bd; font-style: italic; }

/* ---------- tables ---------- */
.sheet__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet__table th { padding: 0 8px 9px; border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-align: left; }
.sheet__table td { padding: 3px 8px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.sheet__table td input { border-bottom: 0; padding: 9px 0; font-size: 14px; }
.sheet__table tr:last-child td { border-bottom: 0; }

/* ---------- sign-off ---------- */
.sheet__sign { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin-top: 20px; }
.sheet__sign > div span { display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sheet__sign > div i { display: block; height: 54px; border-bottom: 1px solid var(--ink); margin-bottom: 9px; }
.sheet__sign > div label { display: grid; gap: 5px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.sheet__foot { padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); }

/* ---------- why ---------- */
.sheet__why { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(40px,5vw,80px); }
.sheet__why h2 { margin: 10px 0 0; }
.sheet__why-body p { margin: 0 0 16px; max-width: 40em; color: var(--muted); font-size: 16px; line-height: 1.75; }
.sheet__why-body p:last-child { margin-bottom: 0; }
.sheet__why-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .sheet__head { grid-template-columns: 1fr; }
  .sheet__grid, .sheet__sign { grid-template-columns: 1fr; }
  .sheet__why { grid-template-columns: 1fr; gap: 26px; }
  .sheet__table { table-layout: auto; }
  .sheet__table th, .sheet__table td { padding-inline: 5px; font-size: 13px; }
}

/* =============================================================
   PRINT — 一张干净的 A4 表单，没有导航、没有按钮、没有网页控件感
   ============================================================= */
@media print {
  @page { size: A4; margin: 14mm 13mm; }
  html, body { background: #fff !important; }
  .no-print, .page-hero, .sheet__why, .section, header.site-header, footer { display: none !important; }
  .sheet-wrap { padding: 0 !important; background: #fff !important; }
  .sheet-wrap .container { width: 100% !important; }
  .sheet { border: 0 !important; padding: 0 !important; }
  .sheet__sec { padding: 14px 0; break-inside: avoid; }
  .sheet__table, .sheet__sign { break-inside: avoid; }
  .sheet input, .sheet textarea { border-bottom: 1px solid #999 !important; font-size: 11pt; }
  .sheet input::placeholder, .sheet textarea::placeholder { color: transparent !important; }
  .sheet__doc { font-size: 17pt; }
  .sheet__sec h2 { font-size: 12pt; }
  .sheet__hint { font-size: 8.5pt; }
  .sheet__table th { font-size: 7.5pt; }
  .sheet__foot { font-size: 7.5pt; }
}
