/* Cut plan "paper" (light, printable), shared by the app tab and cut-print.html — from the Cut Planner artifact */
.cutpaper { color: #1d2330; color-scheme: light; }
.cutpaper .summary-page, .cutpaper .sheet-page { background: #fff; border: 1px solid #d9dde3; border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.cutpaper h2 { font-size: 15px; margin: 0 0 10px; color: #1d2330; }
.cutpaper h3 { font-size: 14px; margin: 12px 0 6px; color: #1d2330; text-transform: none; letter-spacing: 0; }
.cutpaper table { border-collapse: collapse; width: auto; }
.cutpaper th, .cutpaper td { border-bottom: 1px solid #d9dde3; padding: 3px 6px; text-align: left; color: #1d2330; font-size: 12px; }
.cutpaper th { background: #eef2f7; font-weight: 600; }
.cutpaper .num { text-align: right; }
.cutpaper .stats td { font-size: 13px; border: 0; padding: 2px 6px; }
.cutpaper .stats td:first-child { font-weight: 600; white-space: nowrap; }
.cutpaper .tbl { width: 100%; margin-bottom: 10px; }
.cutpaper .plist { columns: 2 340px; font-size: 13px; }
.cutpaper .plist div { break-inside: avoid; padding: 1px 0; }
.cutpaper .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid #0003; vertical-align: -1px; margin-right: 5px; }
.cutpaper .warn { background: #fff4e5; border: 1px solid #f0c27b; border-radius: 6px; padding: 8px 12px; margin: 10px 0; font-size: 13px; }
.cutpaper .warn ul { margin: 4px 0 0 18px; padding: 0; }
.cutpaper .hint { font-size: 12px; color: #6b7280; }
.cutpaper .page-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #6b7280; border-bottom: 1px solid #d9dde3; margin-bottom: 8px; padding-bottom: 4px; grid-column: 1 / -1; }
.cutpaper .sheet-page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; }
.cutpaper .sheet-page > * { min-width: 0; }
.cutpaper .sheet-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.cutpaper .sheet-svg { width: 100%; height: 82vh; display: block; }
@media (max-width: 760px) {
  .cutpaper .sheet-page { grid-template-columns: minmax(0, 1fr); }
  .cutpaper .sheet-svg { height: auto; }
  .cutpaper .plist { columns: 1; }
  .cutpaper .cut-side { overflow-x: auto; }
}
@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cutpaper .summary-page, .cutpaper .sheet-page { border: none; padding: 0; margin: 0; border-radius: 0; }
  .cutpaper .summary-page { page-break-after: always; }
  .cutpaper .sheet-page { page-break-after: always; break-inside: avoid; grid-template-columns: 2.9in 1fr; gap: .15in; }
  .cutpaper .sheet-page:last-child { page-break-after: auto; }
  .cutpaper .cut-side table { font-size: 8.5px; margin-bottom: 6px; }
  .cutpaper .cut-side td, .cutpaper .cut-side th { padding: 1px 3px; white-space: nowrap; font-size: inherit; }
  .cutpaper .stats td { font-size: 9px; }
  .cutpaper .sheet-title { font-size: 13px; margin-bottom: 4px; }
  .cutpaper .sheet-svg { height: 9.1in; }
}
