/* Печатные материалы и ВПР: реальные задания на первом экране, общий язык Паркума. */
.materials-page .wrap { max-width: 1120px; }
.materials-page main { padding: clamp(20px, 4vw, 46px); overflow: hidden; }
.materials-page h1 { font-size: clamp(2rem, 4.1vw, 3.25rem); line-height: 1.07; letter-spacing: -.035em; }
[data-lp-sheet-title] { white-space: pre-line; }
.materials-page h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.02em; }
.materials-page a:focus-visible, .materials-page select:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.mat-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 50px); align-items: center; }
.mat-eyebrow { display: block; color: var(--forest); font: 500 .73rem/1.5 "IBM Plex Mono", monospace; letter-spacing: .055em; margin: 0 0 16px; }
.mat-hero .lead { margin: 18px 0 22px; max-width: 42ch; }
.mat-hero .lp-picks { max-width: none; }
.mat-hero .lp-more { margin-top: 8px; }
.mat-hero .lp-actions { margin: 16px 0 12px; }
.mat-secondary { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
.mat-promise { display: flex; gap: 8px 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 24px 0 0; font-size: .82rem; }
.mat-promise li { color: var(--forest); }
.mat-promise li::before { content: "✓"; margin-right: 6px; font-weight: 900; }
.mat-stage { position: relative; padding: 26px 14px 28px; isolation: isolate; min-width: 0; }
.mat-stage::before { content: ""; position: absolute; inset: 8px 0; background: color-mix(in srgb, var(--forest) 9%, var(--bg)); border-radius: 24px; z-index: -2; }
.mat-stage::after { content: ""; position: absolute; inset: 24px 27px; border: 1px solid var(--line); background: var(--bg); transform: rotate(-5deg); z-index: -1; border-radius: 3px; }
.mat-paper { position: relative; background: #fffefa; color: #243d31; border: 1px solid #d8dfd2; border-radius: 3px; box-shadow: 0 18px 32px #183a2514; padding: clamp(18px, 2.5vw, 28px); transform: rotate(2deg); }
.mat-paper p, .mat-paper li { color: #4f6055; }
.mat-paper__meta { display: flex; justify-content: space-between; gap: 12px; font: 500 .63rem/1.4 "IBM Plex Mono", monospace; letter-spacing: .04em; color: #617568; border-bottom: 1px solid #dce3d7; padding-bottom: 12px; }
.mat-paper h2 { font-size: 1.4rem; margin: 18px 0 6px; }
.mat-paper__note { font-size: .78rem; margin: 0 0 18px; }
.mat-equations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; font: 500 clamp(.95rem, 1.9vw, 1.2rem)/1.5 "IBM Plex Mono", monospace; padding: 12px 0 24px; }
.mat-equations span { white-space: nowrap; }
.mat-paper__foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid #dce3d7; font-size: .71rem; color: #617568; }
.mat-paper__mark { width: 31px; height: 31px; flex: none; }
.mat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0 22px; }
.mat-card { border: 1px dashed #acbaa8; min-height: 75px; padding: 10px; font: 500 1.1rem "IBM Plex Mono", monospace; text-align: center; display: grid; gap: 12px; }
.mat-card small { font-size: .7rem; transform: rotate(180deg); color: #617568; }
.mat-stage__caption { position: relative; margin: 18px 4px 0; font-size: .75rem; text-align: center; }
.mat-live-sheet { display: block; width: 100%; height: 560px; border: 1px solid #d8dfd2; border-radius: 3px; background: #fff; box-shadow: 0 12px 30px #183a2514; }
@media (max-width: 760px) { .mat-live-sheet { height: 470px; } }
.mat-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0; margin: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mat-facts b { display: block; color: var(--ink); font-size: 1.05rem; }
.mat-facts span { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: 4px; }
.material-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; }
.material-kinds li { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0; }
.material-kinds b { color: var(--ink); display: block; margin-bottom: 6px; }
.mat-bridge { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 26px; margin: 36px 0; padding: 24px; border-radius: 18px; background: var(--bg); }
.mat-bridge img { width: 100%; height: auto; display: block; border-radius: 12px; }
.mat-bridge h2 { margin-top: 0; }
.mat-bridge p { font-size: .94rem; }
.mat-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 14px; }
.mat-topic-grid article { padding: 16px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.mat-topic-grid b { display: block; font: 500 1.05rem/1.5 "IBM Plex Mono", monospace; color: var(--forest); margin-bottom: 10px; }
.mat-topic-grid span { display: block; font-size: .85rem; color: var(--ink-soft); }
.mat-syllabus { margin: 16px 0 30px; }
.mat-syllabus table { width: calc(100% - 36px); margin: 0 18px 18px; }
.mat-task { padding: 14px 0; border-bottom: 1px solid #dce3d7; }
.mat-task b { display: block; font-size: .78rem; color: #617568; margin-bottom: 5px; }
.mat-task p { font-size: .89rem; line-height: 1.5; margin: 0 0 10px; }
.mat-answer { font: 500 1rem "IBM Plex Mono", monospace; letter-spacing: .03em; }
.mat-outcome { padding: 22px; border-left: 3px solid var(--forest); background: var(--bg); border-radius: 0 14px 14px 0; }
.mat-outcome h2 { margin-top: 0; }
.mat-outcome p:last-child { margin-bottom: 0; }
.materials-page .lp-restart { margin: 32px 0; }
@media (max-width: 760px) {
  .mat-hero { grid-template-columns: 1fr; gap: 18px; }
  .mat-hero h1 { max-width: 19ch; }
  .mat-stage { max-width: 470px; width: 100%; margin: 0 auto; }
  .mat-paper { transform: rotate(1deg); }
  .mat-topic-grid { grid-template-columns: 1fr 1fr; }
  .mat-bridge { grid-template-columns: 1fr; padding: 18px; }
  .mat-facts { gap: 12px; }
  .mat-facts b { font-size: .92rem; }
  .mat-facts span { font-size: .78rem; }
}
@media (max-width: 420px) {
  .materials-page main { padding: 18px; }
  .materials-page h1 { font-size: 2rem; }
  .mat-eyebrow { font-size: .65rem; }
  .material-kinds { grid-template-columns: 1fr; }
  .mat-facts { grid-template-columns: 1fr; gap: 14px; }
  .mat-facts b { display: inline; margin-right: 5px; }
  .mat-facts span { display: inline; }
  .mat-equations { font-size: clamp(.72rem, 3.3vw, .86rem); gap: 16px 8px; }
  .mat-paper { padding: 18px; }
}
