.ce-open { margin-top:26px; }
.ce-dialog { width:min(1100px,calc(100% - 64px)); max-width:none; height:calc(100dvh - 64px); max-height:none; margin:auto; padding:0; border:1px solid #c9d7e1; background:#fff; color:#263e58; overflow:auto; overscroll-behavior:contain; }
.ce-dialog::backdrop { background:rgba(17,33,49,.55); }
.ce-dialog[open] { animation:ce-arrive .24s ease-out; }
.ce-toolbar { position:sticky; top:0; z-index:1; display:flex; justify-content:flex-end; align-items:center; padding:8px 24px; background:#fff; border-bottom:1px solid #dce5ed; font-size:12px; }
.ce-toolbar button { cursor:pointer; background:none; border:0; color:#263e58; padding:8px; font:inherit; }
.ce-toolbar button span { font-size:24px; margin-left:14px; vertical-align:middle; }
.ce-essay { max-width:1100px; margin:0 auto; padding:0; color:#303e4b; }
.ce-essay > header, .ce-essay > section, .ce-essay > footer { padding:56px max(40px,calc((100% - 720px)/2)); }
.ce-essay > header { padding-top:64px; padding-bottom:52px; }
.ce-essay h1 { font:600 clamp(28px,3.6vw,43px)/1.6 var(--cs-serif); letter-spacing:-.025em; margin:0 0 28px; }
.ce-essay h1 em { color:#00266c; font-style:normal; }
.ce-essay .ce-intro { font-size:17px; line-height:2; margin:0; }
.ce-essay > section { border-top:1px solid #dce5ed; }
.ce-essay > section:nth-of-type(even) { background:#edf3f8; border-top-color:transparent; }
.ce-essay h2 { font-family:var(--cs-sans),sans-serif; font-weight:700; font-size:clamp(23px,2.5vw,29px); line-height:1.65; letter-spacing:-.025em; margin:0 0 26px; color:#172d48; max-width:620px; }
.ce-essay section p { font-size:15px; font-weight:400; line-height:2.05; margin:0 0 20px; }
.ce-essay section p:last-child { margin-bottom:0; }
.ce-essay strong { font-weight:700; color:#00266c; }
.ce-essay blockquote { margin:0; padding:46px max(40px,calc((100% - 720px)/2)); background:#00266c; color:#fff; font:600 clamp(26px,3vw,35px)/1.8 var(--cs-serif); }
.ce-essay footer { border-top:1px solid #cbd8e3; }
.ce-essay footer p:first-child { font:600 23px/1.9 var(--cs-serif); color:#00266c; margin:0 0 24px; }
.ce-essay footer p:last-child { font-size:12px; }
html.ce-reading { overflow:hidden; scrollbar-gutter:stable; }
@keyframes ce-arrive { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:600px) { .ce-dialog { width:100%; height:100dvh; border:0; } .ce-toolbar { padding:6px 16px; } .ce-essay > header, .ce-essay > section, .ce-essay > footer { padding:36px 24px; } .ce-essay h1 { font-size:28px; } .ce-essay h2 { font-size:23px; margin-bottom:22px; } .ce-essay .ce-intro { font-size:15px; } .ce-essay blockquote { padding:34px 24px; font-size:26px; } }
@media(prefers-reduced-motion:reduce) { .ce-dialog[open] { animation:none; } }
