.cm-a5 { max-width:1000px; margin:24px auto; color:#1f2937; }
.cm-a5-toolbar { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.cm-a5-status { margin:12px 0; }
.cm-a5-status.is-error { color:#9b251b; font-weight:600; }
.cm-a5-viewport { position:relative; margin:0 0 24px; width:100%; }
.cm-editorial .cm-a5-page { position:relative; isolation:isolate; box-sizing:border-box; width:var(--cm-sheet-width,148mm); height:var(--cm-sheet-height,210mm); padding:7mm 8mm; background:#fff; color:#1f2937; box-shadow:0 2px 12px #0002; transform-origin:top left; font:var(--cm-a5-font,9pt)/1.23 Arial,Helvetica,sans-serif; }
.cm-a5-page *, .cm-a5-page *::before, .cm-a5-page *::after { box-sizing:border-box; }
.cm-a5-page .cm-a5-inner { height:var(--cm-sheet-inner,194mm); }
.cm-editorial .cm-a5-page .cm-sheet-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; pointer-events:none; }
.cm-editorial .cm-a5-page tbody tr:nth-child(odd) { background:var(--cm-row-color,transparent); }
.cm-editorial .cm-a5-page tbody tr:nth-child(even), .cm-editorial .cm-a5-page td { background:transparent; }
.cm-editorial .cm-a5-side img { display:block; width:18mm; height:5mm; object-fit:contain; }
.cm-a5-page .cm-a5-heading { display:flex; justify-content:space-between; align-items:baseline; gap:1em; border-bottom:2px solid #1f6f8b; padding-bottom:.45em; }
.cm-a5-page .cm-a5-heading--back { display:block; }
.cm-editorial .cm-a5-page h1 { font-size:1.85em; line-height:1.1; overflow-wrap:anywhere; }
.cm-editorial .cm-a5-page h2 { font-size:.9em; letter-spacing:.07em; margin:0 0 .45em; }
.cm-editorial .cm-a5-page h3 { font-size:1em; line-height:1.2; margin:.7em 0 .3em; }
.cm-a5-page .cm-authors { gap:.3em 1.2em; margin:.5em 0 0; }
.cm-a5-page .cm-author { white-space:nowrap; gap:.4em; }
.cm-editorial .cm-a5-page .cm-author img { width:1.5em; min-width:1.5em; max-width:1.5em; height:1.5em; }
.cm-editorial .cm-a5-page .cm-meta-row { font-size:1em; margin:.5em 0 0; gap:2em; flex-wrap:nowrap; }
.cm-a5-columns { display:grid; gap:5mm; }
.cm-a5-columns--two { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.cm-a5-classification > section { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 3mm; }
.cm-editorial .cm-a5-page .cm-a5-language { margin:.35em 0; font-size:1em; line-height:1.23; }
.cm-a5-classification h2 { display:none; }
.cm-a5-classification .cm-scale { min-width:0; }
.cm-a5-mechanics { column-count:2; column-gap:5mm; column-fill:balance; }
.cm-a5-mechanic-group { break-inside:avoid; display:flow-root; }
.cm-a5-page .cm-a5-mechanic-group h3 { margin-top:0; }
.cm-a5-mechanic-group { padding-bottom:.45em; }
.cm-editorial .cm-a5-page .cm-rule { margin-top:.8em; padding-top:.7em; border-top:1px solid #d9dee5; }
.cm-editorial .cm-a5-page .cm-mechanic { gap:.5em; margin:.35em 0; }
.cm-editorial .cm-a5-page .cm-mechanic-notes { font-size:.95em; margin:.15em 0 0; line-height:1.2; }
.cm-a5-page .cm-badge { padding:.2em .45em; border-radius:.3em; font-size:.8em; white-space:nowrap; }
.cm-a5-page .cm-scale { margin-bottom:.8em; }
.cm-a5-page .cm-a5-classification .cm-scale { margin-bottom:0; }
.cm-editorial .cm-a5-page .cm-a5-classification + .cm-rule { margin-top:.35em; padding-top:.35em; }
.cm-a5-page .cm-scale-title { gap:.5em; margin-bottom:.35em; }
.cm-a5-page .cm-scale-track { height:.65em; }
.cm-a5-page .cm-scale-point { width:.65em; }
.cm-editorial .cm-a5-page .cm-scale-desc { font-size:.95em; line-height:1.2; padding-left:1.1em; margin:.4em 0 0; }
.cm-editorial .cm-a5-page table { font-size:.95em; table-layout:auto; }
.cm-editorial .cm-a5-page th, .cm-editorial .cm-a5-page td { font-size:inherit; line-height:1.15; padding:.4em .35em; }
.cm-a5-page .cm-experience-scroll { overflow:visible; }
.cm-editorial .cm-a5-page .cm-meta { font-size:.9em; margin:.4em 0 0; line-height:1.2; }
.cm-editorial .cm-a5-page .cm-experience-scroll table { margin:0; }
.cm-editorial .cm-a5-page .cm-experience-scroll + .cm-meta { margin-top:.15em; }
.cm-editorial .cm-a5-page .cm-prose { font-size:1em; line-height:1.25; color:#374151; }
.cm-a5-page .cm-prose p { margin:0 0 .4em; }
.cm-a5-page .cm-prose ul, .cm-a5-page .cm-prose ol { padding-left:1.4em; margin:.4em 0; }
.cm-a5-page .cm-prose img { max-width:100%; height:auto; }
.cm-a5-page .cm-a5-ambient { display:block; width:100%; height:35mm; margin:.6em 0; object-fit:cover; }
.cm-a5-back-row { display:grid; grid-template-columns:minmax(0,1fr) 25mm; gap:4mm; align-items:center; }
.cm-a5-page .cm-a5-qr { display:flex; flex-direction:column; align-items:center; text-align:center; font-size:.8em; color:#1f2937; text-decoration:none; }
.cm-a5-page .cm-a5-qr img { width:20mm; height:20mm; object-fit:contain; }
.cm-a5-page .cm-a5-powered { display:block; width:25mm; height:auto; }
.cm-a5-side { position:absolute; bottom:2.5mm; right:8mm; font-size:7pt; color:#657381; }
.cm-a5-page.is-overflow { height:auto; min-height:210mm; outline:2px solid #9b251b; padding-bottom:10mm; }
.cm-a5-page.is-overflow .cm-a5-inner { height:auto; min-height:194mm; }
.cm-a5-export { position:absolute; top:0; left:-10000px; width:148mm; margin:0; }
.cm-a5-export .cm-a5-page { transform:none!important; box-shadow:none; }
@media print {
 @page { size:148mm 210mm; margin:0; }
 body:has(.cm-a5) { margin:0!important; }
 body:has(.cm-a5) * { visibility:hidden; }
 .cm-a5, .cm-a5 * { visibility:visible!important; }
 .cm-a5 { position:absolute; top:0; left:0; margin:0; }
 .cm-a5-toolbar, .cm-a5-status, .cm-preview-notice { display:none!important; }
 .cm-a5-viewport { height:auto!important; margin:0; }
 .cm-a5-page { transform:none!important; box-shadow:none!important; break-after:page; }
 .cm-a5-viewport:last-child .cm-a5-page { break-after:auto; }
}
