@font-face{font-family:Aeneidos;src:url('assets/Aeneidos-Regular.ttf') format('truetype');font-weight:400;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f0f0e2;color:#131313;font-family:Arial,sans-serif;font-size:16px}button,input,textarea{font:inherit}button,a,label.upload-label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.masthead{display:flex;justify-content:space-between;align-items:center;padding:28px 4vw;border-bottom:1px solid #bfbfb0}.brand{font-family:Aeneidos,Georgia,serif;font-size:27px;line-height:1.04;max-width:360px}.brand-dot{color:#0088ff}.occasion{font-size:14px;line-height:1.5;text-align:right}main{max-width:1600px;margin:auto;display:grid;grid-template-columns:minmax(360px,.8fr) minmax(500px,1.2fr)}.editor{padding:42px 3vw 46px 4vw;border-right:1px solid #bfbfb0}.section-heading h1{font-family:Aeneidos,Georgia,serif;font-weight:400;font-size:clamp(48px,5vw,76px);line-height:1.03;margin:17px 0 20px}.eyebrow{font-size:12px;font-weight:4000;letter-spacing:.1em}.section-heading p,.panel-intro p{line-height:1.5;color:#55554c}.steps{display:flex;gap:4px;margin:30px 0 28px;border-bottom:1px solid #bfbfb0}.step{flex:1;background:none;border:0;padding:13px 7px;text-align:left;font-size:14px;border-bottom:3px solid transparent}.step b{display:block;font-size:12px;color:#666;margin-bottom:7px}.step.active{border-bottom-color:#131313}.step.active b{color:#131313}fieldset{border:0;padding:0;margin:0 0 20px}legend,label{font-size:14px;font-weight:600}legend{margin-bottom:12px}.signature-choice{display:flex;gap:16px;flex-wrap:wrap}.signature-choice label{font-weight:400;display:flex;align-items:center;gap:5px}input[type=radio]{accent-color:#131313;width:17px;height:17px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}label:has(>input:not([type=radio]):not([type=range])),label:has(>textarea){display:block}input:not([type=radio]):not([type=range]):not([type=file]),textarea{width:100%;display:block;background:#fffef5;border:1px solid #b9b9aa;border-radius:0;padding:13px 12px;margin-top:8px;font-size:16px;font-weight:400;color:#131313}textarea{resize:vertical;min-height:90px;line-height:1.5}input:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible,.upload-label:focus-within{outline:3px solid #0088ff;outline-offset:3px}.spaced{margin-top:21px}.hint{font-size:13px;font-weight:400;color:#63635a;line-height:1.5;display:block;margin-top:7px}.photo-row{display:flex;gap:16px;align-items:center;margin:25px 0}.photo-thumb{width:68px;height:68px;flex-shrink:0;border-radius:50%;background:#dddccf;display:grid;place-items:center;font-size:28px;background-size:cover;background-position:center}.upload-label{display:inline-block;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.photo-row p{margin-bottom:0}.text-button{border:0;background:none;text-decoration:underline;font-size:13px;margin-left:auto}.range-label{display:flex;align-items:center;gap:12px;margin:14px 0;font-weight:400}.range-label input{flex:1;min-width:0;accent-color:#131313}.form-nav{display:flex;gap:12px;margin-top:28px}.primary,.secondary{min-height:46px;padding:12px 19px;border:1px solid #131313;font-size:14px;font-weight:600}.primary{background:#131313;color:#fff}.secondary{background:transparent;color:#131313}.primary:hover:enabled{background:#30302a}.secondary:hover:enabled{background:#e3e3d5}.panel-intro{display:flex;gap:16px;align-items:center;margin-bottom:24px}.panel-intro h2{font-family:Aeneidos,Georgia,serif;font-weight:400;font-size:28px;margin:0 0 5px}.panel-intro p{font-size:14px;margin:0}.category-symbol{font-size:40px;display:grid;place-items:center;width:58px;height:58px;flex-shrink:0}.plus{background:#ffd900}.minus{background:#ff0000;color:#fff}.word-entry{border-top:1px solid #c8c8b9;margin-top:20px;padding-top:19px}.word-entry:first-child{border-top:0;padding-top:0}.word-entry .word-number{font-size:12px;color:#666;margin-bottom:10px}.word-entry label+label{margin-top:17px}.field-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#63635a;margin-top:7px}.error{color:#b30000;font-size:13px;line-height:1.5;margin-top:7px}.preview{padding:42px 4vw 46px 3vw;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.preview-heading h2{font-family:Aeneidos,Georgia,serif;font-size:35px;font-weight:400;margin:13px 0 0}.size-badge{font-size:12px;white-space:nowrap;border:1px solid #b9b9aa;padding:8px}.preview-note{font-size:14px;color:#63635a;margin:14px 0 26px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 12px}.card{min-width:0}.card-open{display:block;padding:0;border:0;background:none;width:100%;position:relative}.card canvas{display:block;width:100%;height:auto;aspect-ratio:4/5;box-shadow:0 2px 8px #0000000c}.card-open:hover canvas{box-shadow:0 5px 16px #00000024}.card canvas[data-cover]{touch-action:pan-y}.card-label{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:9px;font-size:12px;color:#5c5c51}.card-label button{border:0;background:none;font-size:12px;padding:3px;text-decoration:underline}.export-bar{margin-top:28px;padding-top:21px;border-top:1px solid #bfbfb0}.export-bar>p:first-child{font-size:14px;line-height:1.5;margin:0 0 15px}.export-actions{display:flex;flex-wrap:wrap;gap:10px}footer{border-top:1px solid #bfbfb0;display:flex;justify-content:space-between;gap:20px;padding:23px 4vw;font-size:12px;color:#63635a}dialog{background:#f0f0e2;border:0;padding:20px;max-width:min(540px,95vw);max-height:95dvh;overflow:auto}dialog::backdrop{background:#000a}dialog img{display:block;width:100%;max-height:75dvh;object-fit:contain}.dialog-close{position:sticky;top:0;float:right;z-index:2;width:36px;height:36px;border:1px solid #131313;background:#f0f0e2;font-size:25px;margin-bottom:8px}.dialog-actions{display:flex;gap:10px;justify-content:center;margin-top:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#131313;color:#fff;padding:14px 20px;max-width:90vw;font-size:14px;line-height:1.4;z-index:10;display:none}[hidden]{display:none!important}@media(min-width:1400px){.cards{gap:22px 18px}}@media(max-width:1050px){main{grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-heading{align-items:flex-start;flex-direction:column}.editor{padding-left:3vw}.masthead{padding-inline:3vw}}@media(max-width:720px){.masthead{padding:22px 20px}.brand{font-size:22px;max-width:240px}.occasion{font-size:12px}main{display:block}.editor{padding:30px 20px;border-right:0;border-bottom:1px solid #bfbfb0}.section-heading h1{font-size:54px}.section-heading p{font-size:15px}.preview{padding:30px 20px}.preview-heading{flex-direction:row;align-items:center}.preview-heading h2{font-size:29px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.export-actions>button{width:100%}footer{padding:22px 20px;flex-direction:column;gap:8px}.two-fields{gap:10px}.signature-choice{gap:12px}.size-badge{font-size:11px;padding:7px}.dialog-actions{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,opacity .15s}.card canvas{transition:box-shadow .15s}}
/* A single mobile questionnaire, including on larger screens. */
body{font-size:18px}.masthead{display:block;width:100%;max-width:560px;margin:auto;padding:30px 22px 25px;container-type:inline-size;border-bottom:0}.brand{max-width:none;margin:0;width:100%;font-weight:400;line-height:1.03}.brand span{display:block;white-space:nowrap}.brand span:first-child{font-size:19cqw}.brand span:last-child{font-size:10.7cqw;margin-top:8px}.occasion{text-align:left;font-size:15px;margin:25px 0 0;line-height:1.5}main{display:block;max-width:560px;padding:0 22px}.editor{padding:0;border:0}.intro{font-size:18px;line-height:1.55;margin:0 0 38px}.about-heading,.export-bar h2{font-family:Aeneidos,Georgia,serif;font-weight:400;font-size:36px;margin:0 0 25px}.panel{margin:0 0 52px}.panel-intro{margin-bottom:30px;gap:14px}.panel-intro h2{font-size:34px;line-height:1.1}.panel-intro p{font-size:17px;line-height:1.5}.category-symbol{width:52px;height:62px}.two-fields{grid-template-columns:1fr;gap:24px}legend,label{font-size:18px;line-height:1.4}legend{margin-bottom:17px}.signature-choice{display:grid;gap:10px;margin-bottom:25px}.signature-choice label{min-height:48px;border:1px solid #b9b9aa;padding:12px;gap:10px;background:#fffef5}.signature-choice label:has(input:checked){border-color:#131313;background:#ffd900}input[type=radio]{width:21px;height:21px}.spaced{margin-top:25px}input:not([type=radio]):not([type=range]):not([type=file]),textarea{font-size:20px;padding:16px 14px;margin-top:10px;line-height:1.5}textarea{min-height:130px}.hint{font-size:15px;line-height:1.5;margin-top:10px}.field-meta{font-size:14px;margin-top:10px;gap:12px}.error{font-size:16px}.word-entry{margin-top:34px;padding-top:30px}.word-entry .word-number{font-size:14px;font-weight:600;margin-bottom:17px}.word-entry label+label{margin-top:22px}.photo-row{gap:14px;flex-wrap:wrap;margin:30px 0}.upload-label{font-size:18px}.photo-thumb{width:76px;height:76px}.photo-row>div:nth-child(2){flex:1;min-width:175px}.text-button{font-size:16px;min-height:44px}.range-label{font-size:16px;display:block}.range-label input{display:block;width:100%;margin:14px 0;min-height:32px}.export-bar{padding:30px 0 32px;margin:0;border-top:2px solid #131313}.export-bar>p:first-of-type{font-size:17px;line-height:1.5;margin-bottom:22px}.export-actions{display:grid;gap:14px}.primary,.secondary{width:100%;min-height:58px;font-size:18px;padding:16px 14px}.preview{padding:28px 0;margin-bottom:30px;border-top:1px solid #bfbfb0}.preview-heading{display:flex;flex-direction:row;align-items:center;margin-bottom:25px}.preview-heading h2{font-family:Aeneidos,Georgia,serif;font-size:34px;font-weight:400;margin:0}.cards{grid-template-columns:1fr;gap:28px}.card-label{font-size:16px;margin-top:14px}.card-label button{font-size:16px;min-height:44px;padding:8px}.size-badge{font-size:14px}.preview>.secondary{margin-top:30px}footer{max-width:560px;margin:auto;padding:25px 22px 35px;font-size:14px;display:block;border:0}footer span:last-child{display:none}.dialog-actions{display:grid;width:100%}.dialog-close{min-height:44px;width:44px}.dialog-actions button{font-size:17px}#toast{font-size:16px;max-width:calc(100vw - 32px)}@media(min-width:721px){.masthead{padding-top:45px}}@media(max-width:359px){.masthead{padding-inline:16px}main{padding-inline:16px}.panel-intro h2{font-size:30px}.panel-intro p{font-size:16px}}
/* Keep Safari's iframe text sizing aligned with the measured layout. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{width:100%;min-width:0}.masthead,main{max-width:min(560px,100%)}.brand{min-width:0;max-width:100%}.brand span{max-width:100%;white-space:normal;overflow-wrap:anywhere}.brand span:first-child{font-size:clamp(32px,17vw,96px)}.brand span:last-child{font-size:clamp(20px,9vw,52px)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}input:not([type=radio]):not([type=range]):not([type=file]),textarea{border-radius:8px}input:focus::placeholder,textarea:focus::placeholder{color:transparent}.masthead{padding-bottom:40px}.photo-row{min-height:76px}.photo-row .hint{display:none}.text-button{font-size:28px;text-decoration:none;width:44px;height:44px}.signature-choice label,.primary,.secondary{border-radius:8px}

@font-face{font-family:'e-Ukraine';src:url('assets/e-Ukraine-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}body{font-family:'e-Ukraine',Arial,sans-serif}.word-entry label:has(>textarea){margin-top:38px}.word-entry{margin-top:52px;padding-top:36px}.word-entry:first-child{padding-top:0}.spaced{margin-top:38px}

/* Keep section titles on one line at the actual mobile container width. */
h1,h2,h3,legend,label,.word-number{font-family:Aeneidos,Georgia,serif;font-weight:400}
input:not([type=radio]):not([type=range]):not([type=file]),textarea{font-family:'e-Ukraine',Arial,sans-serif;font-weight:400}
.panel-intro>div{flex:1;min-width:0}.panel-intro h2{white-space:nowrap;font-size:clamp(16px,5.4vw,28px);margin:0;line-height:1.2}.panel-intro{gap:10px}.category-symbol{width:40px;height:48px}

/* Give titles the full width so mobile headings can stay larger than inputs. */
.panel-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.panel-intro>div{width:100%;min-width:0}.panel-intro h2{font-size:clamp(24px,7.2vw,42px)}
label:not(.upload-label):not(.range-label){font-size:24px;line-height:1.25}.signature-choice label{font-size:22px}
.word-entry .word-number{font-family:'e-Ukraine',Arial,sans-serif;font-size:14px;font-weight:400}

@font-face{font-family:'e-Ukraine Thin';src:url('assets/e-Ukraine-Thin.woff2') format('woff2');font-weight:100;font-style:normal;font-display:swap}input:not([type=radio]):not([type=range]):not([type=file]),textarea{font-family:'e-Ukraine Thin','e-Ukraine',Arial,sans-serif;font-weight:100}input::placeholder,textarea::placeholder{font-family:inherit;font-weight:inherit}

#export-state{white-space:pre-line}
