@font-face{font-family:DM;src:url('assets/dm-sans.ttf')}*{box-sizing:border-box}body{margin:0;background:#f5f6f2;color:#233c3c;font-family:DM,Arial,sans-serif;font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;min-height:46px;border:1px solid #b8c9c5;border-radius:10px;background:white;color:#244f52;padding:10px 16px;font-weight:600}button:hover{border-color:#244f52}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b97900;outline-offset:3px}.masthead{display:flex;align-items:center;gap:16px;padding:18px 4vw;background:#fff;border-bottom:1px solid #dde5df}.masthead img{width:78px;height:56px;object-fit:contain}.masthead strong{display:block;font-size:20px}.masthead span{display:block;font-size:13px}.masthead #offline{margin-left:auto;max-width:220px}main{max-width:1220px;margin:auto;padding:32px 24px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:start}.workspace{grid-column:1;grid-row:1;min-width:0}.preview{grid-column:2;grid-row:1;position:sticky;top:20px;padding:20px;background:#e2e9e4;border-radius:16px;text-align:center;min-width:0}.preview-top,.pager{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.preview-top{margin-bottom:16px}.preview canvas{display:block;width:auto;max-width:100%;max-height:68vh;height:auto;margin:auto;box-shadow:0 8px 25px #233c3c1c}.pager{justify-content:center;margin-top:12px}.pager button{min-width:46px;padding:4px;font-size:24px}#expand{display:none}nav{display:flex;gap:6px;border-bottom:1px solid #cdd8d0;padding-bottom:16px}nav button{flex:1;padding:10px 4px;border:none;background:transparent;border-radius:6px;font-size:14px}nav [aria-current]{background:#244f52;color:white}h1{font-family:Georgia,serif;font-size:46px;font-weight:400;letter-spacing:-1.5px;line-height:1.05;margin:30px 0 16px}h2{font-size:18px;margin:26px 0 12px}p{margin:12px 0 20px}.intro{max-width:42ch}.starters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.starters button{padding:8px;text-align:left;border-radius:12px}.starters button.selected{outline:2px solid #244f52;outline-offset:2px}.sample{display:flex;align-items:center;justify-content:center;min-height:125px;border-radius:5px;font:22px/1.1 Georgia,serif;text-align:center;margin-bottom:10px}.gold{background:#e7b544}.green{background:#244f52;color:#fffcf4}.paper{background:#fffcf4;border-bottom:4px solid #e7b544}.starters strong{font-size:14px;display:block}.starters small{font-size:11px;display:block;margin-top:4px;font-weight:400;line-height:1.4}.choices{display:flex;gap:12px;flex-wrap:wrap}.choices label{display:flex;gap:5px;align-items:center;min-height:44px}.choices input{accent-color:#244f52;width:20px;height:20px}.field{display:block;font-weight:600;margin:18px 0}.field input,.field textarea,.field select,textarea#mail-text{display:block;width:100%;margin-top:7px;border:1px solid #b2c2bb;border-radius:8px;background:#fff;padding:12px;color:#233c3c;font-weight:400;font-size:16px;line-height:1.5;min-width:0}textarea{resize:vertical}input[type=file]{padding:8px;max-width:100%}.primary{background:#244f52;border-color:#244f52;color:white}.primary,.secondary{width:100%;margin:8px 0}.quiet{background:transparent;border-color:transparent;font-size:13px;text-decoration:underline}.note{font-size:13px;color:#4f655b}.exports{display:grid;gap:4px}details{border-top:1px solid #cdd8d0;margin-top:24px;padding:16px 0}summary{cursor:pointer;min-height:44px;padding-top:8px;font-weight:600}footer{font-size:12px;color:#4f655b;border-top:1px solid #cdd8d0;padding:24px 0}#status{font-size:14px;font-weight:600;white-space:pre-line}#status:empty{margin:0}.downloads{display:grid;gap:12px}.download{background:white;padding:14px;border-radius:10px;border:1px solid #cdd8d0}.download strong{display:block}.download a{display:inline-flex;align-items:center;min-height:44px;margin-right:14px;color:#244f52}.download button{font-size:14px}#mail-text{font-size:14px}[hidden]{display:none!important}
@media(max-width:720px){.masthead{padding:12px 16px;gap:10px}.masthead img{width:58px;height:42px}.masthead strong{font-size:18px}.masthead span{font-size:11px}.masthead #offline{display:none}main{display:flex;flex-direction:column;padding:0 16px 24px;gap:16px}.preview{z-index:3;top:0;order:0;width:calc(100% + 32px);margin:0 -16px;border-radius:0;padding:8px 16px;display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:12px;border-bottom:1px solid #c4d0c8}.preview-top{display:block;text-align:left;margin:0}.preview-top span{display:block}.preview canvas{grid-column:2;grid-row:1/3;max-height:150px;max-width:100%;width:auto}.pager{grid-column:1;grid-row:2;margin:0;gap:6px;font-size:12px}.pager button{min-width:38px;min-height:40px}#expand{display:inline-block;padding:6px 0;min-height:40px}.preview.expanded{display:block;position:relative}.preview.expanded .preview-top{display:flex}.preview.expanded canvas{max-height:65vh;max-width:100%}.preview.expanded .pager{margin-top:8px}.workspace{width:100%}nav{position:relative;padding-bottom:12px}h1{font-size:38px;margin-top:24px}.sample{font-size:20px;min-height:112px}.starters{gap:8px}.starters button{padding:6px}.choices{gap:8px;font-size:14px}.field{scroll-margin-top:220px}button{min-height:48px}body{padding-bottom:env(safe-area-inset-bottom)}}
.starters{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.starters button{padding:10px;overflow:hidden}.starters canvas{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;background:#e8ede7;border-radius:4px;margin-bottom:12px}.starters strong{font-size:16px;line-height:1.3}.starters small{font-size:12px;line-height:1.5}.draft-status{font-size:13px;padding:12px 14px;background:#e6eee3;border-left:3px solid #426c4b;border-radius:0 7px 7px 0}.photo-area{padding:2px 16px 6px;border:1px dashed #86a197;border-radius:10px;margin:24px 0}.photo-state{display:flex;align-items:center;gap:12px}.photo-state img,.element-thumbnail{display:block;max-width:100%;max-height:140px;object-fit:contain}.photo-state img{width:90px;height:90px}.elements-section{margin:30px 0}.element-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.element-picker button{text-align:left;font-size:15px}.element-editor{scroll-margin-top:230px;padding:16px;margin:16px 0;background:white;border:1px solid #b8c9c5;border-left:4px solid #244f52;border-radius:8px}.element-heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.element-heading h3{font-size:17px;margin:0}.element-actions{display:flex;gap:5px;flex-wrap:wrap}.element-actions button{font-size:12px;padding:8px;min-height:44px}.element-editor .field{margin-bottom:0}input[type=file]::file-selector-button{font:inherit;border:0;border-radius:5px;padding:10px;background:#e6eee3;color:#244f52;margin-right:8px}.step>details{margin-top:22px}.step>details h2{margin-top:10px}
@media(max-width:720px){.starters{gap:12px}.starters canvas{max-height:210px}.starters strong{font-size:15px}.starters small{font-size:12px}.element-editor{padding:12px}.element-actions{width:100%}.element-actions button{flex:1}.photo-area{padding-left:10px;padding-right:10px}}
