@page { size: A4 portrait; margin: 12mm; }
body { margin: 0; background: #fff; color: #171717; font: 10pt/1.45 Arial, sans-serif; }
main { width: 186mm; margin: 0 auto; padding: 8mm 0; }
.print-controls { display: flex; align-items: center; justify-content: space-between; gap: 4mm; margin-bottom: 6mm; }
.print-controls a { color: inherit; }
.print-controls button { padding: 2.5mm; border: 0; background: #171717; color: #fff; cursor: pointer; }
.brand { margin: 0; font-size: 9pt; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 2mm 0; font-size: 22pt; line-height: 1.1; }
ol { margin: 3mm 0; padding-left: 5mm; }
.scale { box-sizing: border-box; width: 50mm; height: 2mm; margin-top: 4mm; border: 1px solid; border-top: 0; }
.scale-label { width: 50mm; margin: 0; text-align: center; font-size: 9pt; }
.rings { display: grid; grid-template-columns: repeat(6, 1fr); margin: 5mm 0; padding: 0; list-style: none; }
.rings li { display: flex; flex-direction: column; align-items: center; justify-content: end; height: 36mm; line-height: 1.35; }
.ring { display: block; box-sizing: border-box; flex: none; width: var(--diameter); height: var(--diameter); margin-bottom: 1.3mm; border: .2mm solid; border-radius: 50%; }
footer { padding-top: 2mm; border-top: 1px solid #ccc; font-size: 9pt; }
@media screen and (max-width: 748px) {
    main { margin: 0 4mm; }
    .print-controls { width: calc(100vw - 8mm); }
}
@media print {
    main { padding: 0; }
    .print-controls { display: none; }
    .rings li { break-inside: avoid; }
}
