/* Prose blocks share exactly the same presentation in the reader and writer. */
#memo-title{white-space:pre-wrap}
.memo-body{display:flow-root}
.memo-body img{display:block;max-width:100%;height:auto;margin:auto}
.memo-body figure{margin:30px 0}
.memo-body figcaption{font:italic 12px/1.5 Georgia,serif;color:#757575;text-align:center;margin-top:12px;min-height:20px}
.memo-body hr{margin:30px 0;border:0;border-top:1px solid #ddd}
/* Intentional empty lines: the writer fills them with a trailing <br>; keep the same height when reading. */
.memo-body p:empty::before{content:"\200b"}
.memo-body pre{background:#f5f5f4;padding:18px;overflow:auto}
.memo-body blockquote{border-left:2px solid #aaa;padding-left:20px;margin-left:0}
.memo-body mark{border-radius:0;padding:1px 0;box-decoration-break:clone}
/* Numbered margin notes: smaller inherited article type, no enclosing card. */
.memo-body{position:relative}
.memo-body sup[data-note]{font-family:inherit;font-size:10px;vertical-align:super;line-height:0;margin-left:2px}
.memo-body sup[data-note] a{text-decoration:none;color:#777;cursor:pointer}
.memo-body aside[data-type="sidenote"]{position:relative;margin:18px 0 28px;padding-left:16px;color:#666;scroll-margin-top:40px}
.memo-body aside[data-type="sidenote"]::before{content:attr(data-note);position:absolute;left:0;top:0;font-family:inherit;font-size:10px;line-height:1.5;color:#777}
.switzerland-memo .memo-body aside[data-type="sidenote"] p{font-family:inherit;font-size:13px;line-height:1.5;color:#666;margin:0 0 12px}
.memo-body aside[data-type="sidenote"] p:last-child{margin-bottom:0}
@media(min-width:1240px){
    .memo-body aside[data-type="sidenote"]{position:absolute;left:calc(100% + 48px);width:min(280px,calc((100vw - 640px)/2 - 72px));margin:0;padding-left:12px}
}

/* Compact, editable comparison tables use the article’s baby-blue highlight. */
.memo-body table{--article-table-gap:26px;width:100%;table-layout:fixed;border-collapse:collapse;margin:var(--article-table-gap) 0;background:#eaf6ff;font-family:inherit}
.memo-body :is(th,td){border:1px solid #d0e4f1;padding:12px;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.memo-body th{background:#dceffc;font-weight:600}
.switzerland-memo .memo-body :is(th,td) p{font-family:inherit;font-size:13px;line-height:1.55;margin:0 0 9px}
.switzerland-memo .memo-body :is(th,td) p:last-child{margin-bottom:0}
@media(max-width:600px){.memo-body :is(th,td){padding:9px}.switzerland-memo .memo-body :is(th,td) p{font-size:12px}}
.memo-body table tr>:first-child{width:22%}
