/* Memo pages (print size at 96 dpi). Theme tokens come from the document theme. */
.memo-page { position: relative; background: #fff; color: #1d2027; font-family: var(--sb-font-body); font-size: 15px; line-height: 1.55; display: flex; flex-direction: column; overflow: hidden;
  --m: 88px; padding: 0 var(--m); box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.memo-page *, .memo-page *::before { box-sizing: border-box; }
.memo-page.memo-m-narrow { --m: 56px; } .memo-page.memo-m-wide { --m: 120px; }
.memo-top { flex: none; padding-top: calc(var(--m) * .62); }
.memo-body { flex: 1; min-height: 0; overflow: hidden; padding-top: 22px; }
.memo-bottom { flex: none; height: calc(var(--m) * .8); display: flex; align-items: center; }
.memo-foot { width: 100%; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: #6b7080; border-top: 1px solid #e3e5ea; padding-top: 10px; }
.memo-pn { margin-left: auto; font-variant-numeric: tabular-nums; }
.memo-conf-sm { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--sb-primary); }
/* Letterheads */
.memo-lh { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--sb-primary); }
.memo-logo { max-height: 52px; max-width: 180px; object-fit: contain; display: block; }
.memo-company { font-family: var(--sb-font-head); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--sb-text); line-height: 1.15; }
.memo-tag { font-size: 12px; color: #6b7080; margin-top: 2px; }
.memo-addr { margin-left: auto; text-align: right; font-size: 11.5px; color: #6b7080; max-width: 38%; }
.memo-lh-band { margin: calc(var(--m) * -.62) calc(var(--m) * -1) 0; padding: calc(var(--m) * .45) var(--m); background: var(--sb-primary); border: 0; }
.memo-lh-band .memo-company, .memo-lh-band .memo-tag, .memo-lh-band .memo-addr { color: var(--sb-on-primary); }
.memo-lh-band .memo-tag, .memo-lh-band .memo-addr { opacity: .85; }
.memo-lh-centered { flex-direction: column; text-align: center; border-bottom: 1px solid #d8dbe2; }
.memo-lh-centered .memo-addr { margin: 0; text-align: center; max-width: none; }
.memo-lh-minimal { border-bottom: 0; padding-bottom: 6px; }
.memo-lh-minimal .memo-company { font-size: 17px; color: var(--sb-primary); }
.memo-lh-sidebar { border-bottom: 0; border-left: 8px solid var(--sb-primary); padding-left: 16px; }
.memo-run { display: flex; justify-content: space-between; font-size: 11px; color: #6b7080; border-bottom: 1px solid #e3e5ea; padding-bottom: 8px; }
.memo-run span:first-child { font-weight: 700; color: var(--sb-primary); }
/* Header block */
.memo-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #d8dbe2; }
.memo-kind { font-family: var(--sb-font-head); font-weight: 800; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; color: var(--sb-text); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.memo-conf { font: 700 10px var(--sb-font-body); letter-spacing: .14em; color: #fff; background: var(--sb-primary); padding: 4px 8px; border-radius: 4px; }
.memo-fields { display: grid; gap: 6px; }
.memo-f { display: grid; grid-template-columns: 86px 1fr; gap: 12px; font-size: 14px; }
.memo-f span { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; color: #6b7080; padding-top: 3px; }
.memo-f b { font-weight: 600; }
/* Flowing text */
.sb-memo-text h1 { font-family: var(--sb-font-head); font-size: 26px; line-height: 1.2; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; }
.sb-memo-text h2 { font-family: var(--sb-font-head); font-size: 18px; line-height: 1.3; margin: 20px 0 8px; font-weight: 700; color: var(--sb-text); }
.sb-memo-text h3 { font-family: var(--sb-font-head); font-size: 15.5px; margin: 16px 0 6px; font-weight: 700; }
.sb-memo-text p { margin: 0 0 10px; }
.sb-memo-text ul, .sb-memo-text ol { margin: 0 0 12px; padding-left: 22px; }
.sb-memo-text li { margin: 0 0 4px; }
.sb-memo-text li::marker { color: var(--sb-primary); }
.sb-memo-text a { color: var(--sb-primary); }
.sb-memo-text img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 8px 0 12px; }
.sb-memo-text table.sb-table { margin: 4px 0 14px; font-size: 13.5px; }
.sb-memo-text table.sb-table th { font-size: 11px; padding: 7px 10px; border-bottom-width: 2px; }
.sb-memo-text table.sb-table td { padding: 7px 10px; border-bottom-width: 1px; border-bottom-color: #e3e5ea; }
.sb-memo-text .sb-callout, .sb-memo-text blockquote { margin: 6px 0 14px; padding: 12px 16px; border-left: 4px solid var(--sb-primary); background: var(--sb-primary-soft); border-radius: 0 8px 8px 0; }
.sb-memo-text blockquote p:last-child { margin: 0; }
.sb-memo-text hr { border: 0; border-top: 1px solid #d8dbe2; margin: 16px 0; }
.sb-memo-text .x-page-break { break-after: page; }
