/* Suomenkieliset perusohjeet (perusohjeet.py). Valkoinen paperi, osiot numeroitu 1-10 oranssilla. */
.perusohje { max-width: 820px; display: flex; flex-direction: column; gap: 26px; line-height: 1.6; }
.perusohje p, .perusohje ul, .perusohje ol { margin: 0; }
.perusohje ul, .perusohje ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.perusohje .johdanto { color: var(--harmaa); max-width: 68ch; }
.perusohje section { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--viiva); }
.perusohje h2 { font-size: 24px; margin: 0; display: flex; gap: 12px; align-items: baseline; text-wrap: balance; }
.perusohje h2 .nro { color: var(--oranssi-2); min-width: 1.4em; font-variant-numeric: tabular-nums; }
.perusohje h3 { font-size: 18px; margin: 6px 0 0; }
.perusohje .pikakortti { background: var(--sininen); color: #fff; border-radius: 10px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.perusohje .pikakortti > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.perusohje .pikakortti h3 { margin: 0; color: var(--oranssi); }
.perusohje .pikakortti kbd { background: var(--sininen-2); border-color: rgba(255, 255, 255, .3); color: #fff; }
@media (max-width: 560px) { .perusohje .pikakortti { grid-template-columns: 1fr; } }
.perusohje .laatikko { border-radius: 8px; padding: 10px 14px; }
.perusohje .varoitus { background: #fff1e2; }
.perusohje .varoitus b:first-child { color: #8a4200; }
.perusohje .vinkki { background: #e6f0fb; }
.perusohje .vinkki b:first-child { color: #134a85; }
.perusohje .taulu { overflow-x: auto; }
.perusohje table { border-collapse: collapse; width: 100%; font-size: 15px; }
.perusohje th, .perusohje td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--viiva); vertical-align: top; }
.perusohje th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--harmaa); }
.perusohje td:first-child { white-space: nowrap; }
@media (max-width: 560px) { .perusohje td:first-child { white-space: normal; } }
.perusohje kbd { font: 600 13px system-ui, sans-serif; border: 1px solid var(--viiva); border-radius: 4px; padding: 0 5px; background: var(--tausta); }
.perusohje .lahde { font-size: 13px; color: var(--harmaa); }
.perusohje .po-tulosta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.perusohje .po-tulosteosoite { display: none; }
@media print {
  @page { margin: 14mm 12mm; }
  body { background: #fff; padding: 0; color: #000; }
  .ylapalkki, .alatunniste, .ostoslista, .po-tulosta, .tp-polku { display: none !important; }
  .talliseina { background: #fff; color: #000; padding: 0 0 6mm; }
  .talliseina h1 { color: #000; font-size: 22pt; }
  .tp-ingressi { color: #333; }
  .paperi.perusohje { box-shadow: none; padding: 0; margin: 0; max-width: none; border-radius: 0; font-size: 10.5pt; gap: 5mm; }
  .perusohje .po-tulosteosoite { display: block; font-size: 8.5pt; color: #444; }
  .perusohje .pikakortti { background: #fff; color: #000; border: 1.5px solid #17253e; }
  .perusohje .pikakortti h3 { color: #17253e; }
  .perusohje .pikakortti kbd { background: #fff; color: #000; border-color: #888; }
  .perusohje .laatikko { border: 1px solid #bbb; }
  .perusohje section { padding-top: 4mm; }
  .perusohje h2, .perusohje h3 { break-after: avoid; }
  .perusohje tr, .perusohje .laatikko, .perusohje .pikakortti, .perusohje li { break-inside: avoid; }
  .perusohje a { color: #000; text-decoration: none; }
}
