@page {
  size: A4 landscape;
  margin: 10mm;
}

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #ffffff;
  }

  body {
    margin: 0;
    color: #142220;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif;
  }

  .app-shell {
    display: none;
  }

  .print-sheet {
    display: block;
    color: #142220;
  }

  .print-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 8mm;
    margin-bottom: 4mm;
  }

  .print-sheet__body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(84mm, 1fr);
    gap: 6mm;
    align-items: start;
  }

  .print-plan-wrap {
    border: 0.25mm solid rgba(20, 34, 32, 0.18);
    border-radius: 4mm;
    padding: 3mm;
    background: #fffef9;
  }

  #print-plan-svg {
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fffef9;
  }

  .print-side {
    display: grid;
    gap: 4mm;
  }

  .print-section {
    border: 0.25mm solid rgba(20, 34, 32, 0.16);
    border-radius: 4mm;
    padding: 3mm;
    background: #ffffff;
  }

  .print-section h3,
  .print-sheet h2 {
    margin: 0 0 2mm;
    font-family: 'Palatino Linotype', 'Book Antiqua', serif;
  }

  .print-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2mm;
    margin: 0;
  }

  .print-facts div,
  .print-cut-item,
  .print-wall-item {
    border: 0.2mm solid rgba(20, 34, 32, 0.12);
    border-radius: 3mm;
    background: #fff;
  }

  .print-facts dt,
  .print-facts dd,
  .print-meta,
  .print-cut-item,
  .print-wall-item {
    font-size: 8.2pt;
  }

  .print-meta {
    text-align: right;
    line-height: 1.45;
  }

  .print-cut-list,
  .print-wall-list {
    max-height: none;
  }

  .print-cut-list {
    display: grid;
    gap: 1.6mm;
  }

  .print-section--cuts {
    break-inside: avoid;
  }
}
