*{box-sizing:border-box}
:root{color-scheme:light;color:#182f46;background:#f6f5f2;font-family:Arial,Helvetica,sans-serif}
body{margin:0;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 26% 26%,#fffefa 0,transparent 58%),linear-gradient(125deg,#f0efea,#f7f7f5 62%,#e6e8e8)}
header{height:clamp(70px,9vh,92px);flex:none;margin:0 clamp(18px,4vw,76px);border-bottom:1px solid #293c4e23;display:flex;align-items:center;justify-content:space-between}
.brand{width:clamp(128px,12vw,176px);mix-blend-mode:multiply}
.private{font:italic clamp(15px,1.4vw,19px) Georgia,serif;color:#485765}.private i{font:normal 14px Georgia;margin-right:8px;color:#849198}
main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 0 20px}
.studio{position:relative;width:min(100%,calc((100svh - 160px)*1.52),1420px);aspect-ratio:1280/878;isolation:isolate}
#scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.sheet{position:absolute;width:78.125%;left:10.9375%;top:50%;transform:translateY(-50%);box-shadow:0 14px 25px -11px #172a3d54,0 2px 4px #24354926}
.sheet img,.sheet canvas{display:block;width:100%;height:auto}
.studio.running .sheet{visibility:hidden}canvas[hidden]{display:none}
nav{display:flex;align-items:center;justify-content:center;gap:18px}button,a.btn{font:500 14px/1.15 Arial,sans-serif;color:#243b50;background:transparent;border:0;cursor:pointer}
nav button{display:flex;align-items:center;gap:8px;padding:12px 4px}nav button span{font-size:21px}nav button:hover{color:#000}.divider{height:16px;width:1px;background:#89939b66}
button:focus-visible,a:focus-visible{outline:2px solid #365a78;outline-offset:3px}
dialog{width:min(580px,94vw);max-height:89svh;border:1px solid #dae0e3;padding:clamp(22px,4vw,42px);background:#fffeFA;color:#273a4a;box-shadow:0 24px 90px #10203345;border-radius:8px}
dialog::backdrop{background:#14243980;backdrop-filter:blur(5px)}.reader-head{display:flex;align-items:flex-start;justify-content:space-between}.reader-head img{width:134px;mix-blend-mode:multiply}.reader-head button{font-size:28px;min-width:44px;min-height:44px}
article{font:18px/1.6 Georgia,serif}article h1{font:normal clamp(28px,4vw,38px)/1.15 Georgia,serif;padding-bottom:20px;border-bottom:1px solid #aab1b7}article .greeting{font-weight:700;text-align:center}article .signature{font-style:italic;text-align:right}
@media(max-width:650px) and (orientation:portrait){header{height:72px}.studio{width:100%;aspect-ratio:1056/878}.sheet{width:94.697%;left:2.6515%}main{padding-bottom:10vh;gap:24px}.private i{display:none}nav{gap:12px}}
@media(max-height:540px) and (orientation:landscape){header{height:45px}.brand{width:104px}main{padding:0}.studio{width:min(100%,calc((100svh - 89px)*1.46))}nav button{padding:5px}}

