@font-face {
  font-family: Manrope;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
  font-family: Manrope;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: light;
  --ink: #1c2438;
  --line: #dfe3ed;
  --accent: #4056d8;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  max-width: 890px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 54px) 48px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.56 Manrope, Arial, sans-serif;
}

h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.material-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.material-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.material-brand img { width: 28px; height: auto; }
.material-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }

.material-tools button {
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8fb;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

main { margin-block: 36px 25px; }

h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.13;
}

.material-intro { max-width: 65ch; }
.material-intro + .material-intro { margin-top: 8px; }
.material-label { margin-bottom: 7px; font-size: 14px; font-weight: 650; }
.brief-fields { list-style: none; padding: 0; margin: 22px 0 0; }

.brief-fields li {
  min-height: 63px;
  padding: 10px 0 21px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.report-sections { display: grid; gap: 18px; margin-top: 25px; }
.report-sections h2 { margin-bottom: 3px; font-size: 19px; line-height: 1.25; }

.material-footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.material-footer p + p { margin-top: 5px; }

@page { size: A4; margin: 15mm; }

@media print {
  body { max-width: none; padding: 0; font-size: 11pt; }
  .material-header { padding-bottom: 3mm; }
  .material-brand img { width: 7mm; }
  .material-tools, .material-back { display: none; }
  main { margin-block: 6mm 5mm; }
  h1 { font-size: 24pt; }
  .brief-fields { margin-top: 4mm; }
  .brief-fields li { min-height: 13mm; border-color: #b6bcc8; padding: 2mm 0 4mm; }
  .report-sections { gap: 3mm; margin-top: 5mm; }
  .report-sections h2 { font-size: 13pt; }
  .material-footer { font-size: 10pt; }
  .report-sections section, .brief-fields li, .material-footer { break-inside: avoid; }
}
