.kana-table .kana-ink{display:block;width:100%;max-width:109px;height:auto;margin:2px auto 8px}
.kana-table td>a{height:auto;min-height:160px;justify-content:flex-start}
.kana-table td>a>span{font-size:1.25rem}
.kana-table td{vertical-align:top}
.kana-watch{margin:0 auto 10px;min-height:36px;min-width:76px;padding:6px 10px;font-size:.8rem}
.chart-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 12px}
.chart-actions button{min-height:44px}
.chart-key{max-width:64ch}
.reference-visual{margin:26px 0}
.reference-visual img{display:block;width:100%;height:auto;border:1px solid var(--line,#d9dfd6);border-radius:12px}
.reference-visual figcaption{margin-top:12px;font-size:.85rem;line-height:1.6;color:#485c50}
.reference-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 32px}
.reference-shortcuts a{border:1px solid #b4c4b8;border-radius:20px;padding:10px 16px;line-height:1.5;color:#253b33}
@media(max-width:600px){.kana-table td>a{min-height:128px}.kana-watch{min-width:0;width:100%;font-size:.72rem;padding:7px 2px}.kana-table th{font-size:.7rem}.reference-visual{margin-left:0;margin-right:0}}
@media print{
  @page{size:A4 portrait;margin:12mm}
  body{background:#fff!important;color:#000!important}
  .site-header,.kana-reference>*:not(h1):not(.kana-table):not(.chart-key){display:none!important}
  .kana-reference{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
  .kana-reference h1{font-size:20pt!important;margin:0 0 6mm!important}
  .kana-reference .chart-key{font-size:9pt!important;line-height:1.3!important}
  .kana-table{width:100%!important;min-width:0!important;border-collapse:collapse!important}
  .kana-table tr{break-inside:avoid}
  .kana-table td,.kana-table th{padding:1mm!important}
  .kana-table td>a{display:flex!important;min-height:0!important;height:20mm!important;padding:0!important;border:0!important;text-decoration:none!important;gap:0!important}
  .kana-table td>a>span{display:none!important}
  .kana-table .kana-ink{width:15mm!important;height:15mm!important;margin:0 auto!important}
  .kana-table small{font-size:7pt!important;line-height:1.1!important}
  .kana-watch{display:none!important}
  .kana-reference::after{content:'KanjiSteps.com · Stroke paths: KanjiVG © Ulrich Apel and contributors · Adapted under CC BY-SA 3.0';display:block;font-size:7pt;margin-top:3mm}
}
