*{box-sizing:border-box}
:root{color-scheme:light;--ink:#172033;--navy:#1a3a6b;--muted:#596477;--line:#d7dfea;--soft:#f4f7fb}
body{margin:0;background:#f4f7fb;color:var(--ink);font:14px/1.6 Inter,Calibri,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
main{width:min(100%,1000px);margin:24px auto 60px;padding:32px 42px;background:#fff;border:1px solid var(--line);border-radius:10px}
h1,h2,h3,h4,h5{color:var(--navy);line-height:1.3;overflow-wrap:anywhere;word-break:break-word}
h1{margin:0 0 12px;font-size:30px;letter-spacing:-.02em}h2{font-size:22px;margin:34px 0 14px;padding-top:24px;border-top:2px solid var(--line)}h3{font-size:17px;margin:28px 0 8px}h4{font-size:13px;margin:17px 0 7px}h5{font-size:13px;margin:20px 0 6px}
p{margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:visible;max-height:none;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--soft);border:1px solid #e8edf4;padding:12px;border-radius:5px}
.meta{color:var(--muted);font-size:12px}
.export-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px max(16px,calc((100% - 1000px)/2));border-bottom:1px solid var(--line);background:#fff}
button{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--navy);padding:9px 14px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer}
button:hover{background:var(--soft)}button:focus-visible{outline:3px solid #91b2e3;outline-offset:2px}#export-status{font-size:12px;color:var(--muted)}
@media(max-width:620px){main{margin:0;padding:22px 16px;border:0;border-radius:0}h1{font-size:25px}h2{font-size:20px}.export-toolbar{position:static}}
@media print{@page{margin:16mm}body{background:#fff;font-size:10pt}main{margin:0;padding:0;max-width:none;width:100%;border:0;border-radius:0}.export-toolbar{display:none!important}h1{font-size:21pt}h2{font-size:16pt}h3{font-size:12pt}h1,h2,h3,h4,h5{break-after:avoid}p,pre{max-height:none!important;overflow:visible!important;white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:break-word}pre{font-size:8pt;border:0;background:none;padding:0}.meta{font-size:8pt}a{color:inherit}}
