.memorial-form-layout{--photo-aspect: .8;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,32rem);gap:clamp(1.5rem,5vw,5rem);align-items:start}.memorial-form-layout [hidden]{display:none!important}.memorial-form-layout .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.memorial-form-layout .preview{position:sticky;top:2rem;display:grid;justify-items:center;padding-top:2rem;min-width:0}.memorial-form-layout .polaroid{margin:0;width:min(100%,23rem);background:var(--omp-paper);color:var(--omp-ink);padding:1rem 1rem 1.3rem;border-radius:6px;box-shadow:0 16px 48px #0003;transform:rotate(-2deg)}.memorial-form-layout .shot{position:relative;aspect-ratio:var(--photo-aspect);background:var(--omp-soft);display:grid;place-items:center;overflow:hidden}.memorial-form-layout .shot img,.memorial-form-layout .thumb img{position:absolute;max-width:none;user-select:none;-webkit-user-drag:none}.memorial-form-layout .shot.editable{cursor:grab;touch-action:none}.memorial-form-layout .shot.dragging{cursor:grabbing}.memorial-form-layout .shot-empty{font-family:var(--serif);font-style:italic;color:var(--omp-quiet)}.memorial-form-layout .crop-tools{width:min(100%,23rem);margin-top:1rem;color:var(--omp-cream);font-size:.85rem}.memorial-form-layout .crop-tools p{margin:0}.memorial-form-layout .crop-which{margin-top:.25rem!important;opacity:.85}.memorial-form-layout .photo-format{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.5rem}.memorial-form-layout .photo-format select{flex:1;min-width:10rem;min-height:44px;padding:.5rem .75rem;border-radius:12px;border:1px solid var(--omp-line);color:var(--omp-ink);background:var(--omp-paper);font:inherit}.memorial-form-layout .crop-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.25rem}.memorial-form-layout .zoom{display:flex;align-items:center;gap:.6rem;flex:1 1 8rem;min-height:44px}.memorial-form-layout .zoom input{flex:1;accent-color:var(--omp-focus);min-width:4rem}.memorial-form-layout .tool{min-height:44px;padding:.5rem 1rem;border-radius:999px;font:500 .85rem var(--sans);cursor:pointer;color:var(--omp-cream);background:#faf3e614;border:1px solid #faf3e659}.memorial-form-layout figcaption{display:grid;text-align:center;padding-top:.75rem}.memorial-form-layout .pv-name{font-family:var(--serif);font-size:1.6rem;line-height:1.15;overflow-wrap:anywhere}.memorial-form-layout .pv-dates{font-size:.85rem;color:var(--omp-quiet);font-variant-numeric:tabular-nums}.memorial-form-layout .pv-epitaph{font-family:var(--serif);font-style:italic;font-size:1.15rem;text-align:center;max-width:22rem;margin:1.5rem 0 0;overflow-wrap:anywhere}.memorial-form-layout .card{background:var(--omp-paper);color:var(--omp-ink);border:1px solid var(--omp-line);border-radius:24px;padding:clamp(1.5rem,3vw,2.25rem);box-shadow:0 16px 48px #26231b30;min-width:0}.memorial-form-layout .card a{color:var(--omp-sage);text-underline-offset:.2em}.memorial-form-layout h1{font-family:var(--serif);font-weight:400;font-size:clamp(1.9rem,3vw,2.3rem);line-height:1.15;margin:0 0 1.5rem}.memorial-form-layout h2{font-size:.95rem;font-weight:500;margin:0}.memorial-form-layout em{font-style:normal;color:var(--omp-quiet);font-weight:400}.memorial-form-layout .block{margin-bottom:1.5rem}.memorial-form-layout .block-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem;gap:.5rem}.memorial-form-layout .count{color:var(--omp-quiet);font-size:.85rem;font-variant-numeric:tabular-nums;white-space:nowrap}.memorial-form-layout .photo-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.memorial-form-layout .cover-grid{grid-template-columns:8rem}.memorial-form-layout .photo-grid li{position:relative;min-width:0}.memorial-form-layout .photo-grid li.add{aspect-ratio:var(--photo-aspect)}.memorial-form-layout .thumb{position:relative;display:block;width:100%;aspect-ratio:var(--photo-aspect);padding:0;border:0;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--omp-soft)}.memorial-form-layout .thumb[aria-pressed=true]:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 3px var(--omp-focus);pointer-events:none}.memorial-form-layout .cover-tag{position:absolute;left:.25rem;top:.25rem;font-size:.7rem;padding:.1rem .5rem;border-radius:999px;background:var(--omp-honey);color:var(--omp-ink);font-weight:600;pointer-events:none}.memorial-form-layout .remove{width:100%;min-height:44px;padding:0;border:0;background:transparent;color:var(--omp-quiet);cursor:pointer;font:400 .8rem var(--sans);text-decoration:underline;text-underline-offset:.2em}.memorial-form-layout .add-tile{display:grid;place-items:center;width:100%;height:100%;border:1.5px dashed var(--omp-line);border-radius:12px;cursor:pointer;font-size:1.8rem;color:var(--omp-quiet);background:var(--omp-soft);position:relative}.memorial-form-layout .add-tile input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.memorial-form-layout .tip,.memorial-form-layout .fine{color:var(--omp-quiet);font-size:.85rem;margin:.5rem 0 0;line-height:1.6}.memorial-form-layout .field{display:block;margin-bottom:1rem;min-width:0}.memorial-form-layout .field>span{display:block;font-size:.9rem;font-weight:500;margin-bottom:.4rem}.memorial-form-layout .field :is(input,select),.memorial-form-layout textarea{width:100%;min-width:0;min-height:44px;font:inherit;color:var(--omp-ink);background:#fffdf8;border:1px solid var(--omp-line);border-radius:12px;padding:.7rem .9rem}.memorial-form-layout textarea{resize:vertical}.memorial-form-layout .field input[aria-invalid=true]{border-color:var(--omp-error)}.memorial-form-layout .is-error{color:var(--omp-error)}.memorial-form-layout .optional-details{margin:0;border-top:1px solid var(--omp-line)}.memorial-form-layout .optional-details summary{display:flex;align-items:center;gap:.75rem;padding:1rem 0;min-height:52px;cursor:pointer;list-style:none;font-size:.9rem;color:var(--omp-ink)}.memorial-form-layout .optional-details summary::-webkit-details-marker{display:none}.memorial-form-layout .disclosure-mark{width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-.25rem .25rem 0;flex:none}.memorial-form-layout .optional-details[open] .disclosure-mark{transform:rotate(225deg);margin-top:.25rem}.memorial-form-layout .optional-content{padding:.5rem 0 1rem}.memorial-form-layout .date-help{margin:0 0 1rem}.memorial-form-layout .date-group{min-width:0;border:0;padding:0;margin:0 0 1.5rem}.memorial-form-layout .date-group legend{font-size:.95rem;font-weight:500;margin-bottom:.75rem}.memorial-form-layout .date-parts{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:.5rem}.memorial-form-layout .date-parts .field{margin-bottom:.5rem}.memorial-form-layout .date-parts .field span{font-size:.8rem}.memorial-form-layout .date-parts .field :is(input,select){padding-inline:.5rem}.memorial-form-layout .anniversary-toggle{display:flex;align-items:center;gap:.5rem;min-height:44px;font-size:.85rem;color:var(--omp-quiet);cursor:pointer}.memorial-form-layout .anniversary-toggle input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--omp-focus)}.memorial-form-layout .anniversary-toggle:has(input:disabled){opacity:.65;cursor:default}.memorial-form-layout .segmented{border:0;padding:0;margin:0 0 1.25rem;display:flex;gap:.5rem;min-width:0}.memorial-form-layout .segmented legend{margin-bottom:.5rem;font-size:.9rem;font-weight:500}.memorial-form-layout .segmented label{flex:1;min-width:0}.memorial-form-layout .segmented input{position:absolute;opacity:0}.memorial-form-layout .segmented span{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;cursor:pointer;border:1px solid var(--omp-line);background:var(--omp-soft)}.memorial-form-layout .segmented input:checked+span{background:var(--omp-ink);color:var(--omp-paper);border-color:var(--omp-ink)}.memorial-form-layout .chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:-.25rem 0 1.5rem}.memorial-form-layout .chips button{min-height:44px;font:inherit;font-size:.85rem;color:var(--omp-ink);background:var(--omp-soft);border:1px solid var(--omp-line);border-radius:999px;padding:.35rem .9rem;cursor:pointer}.memorial-form-layout .btn{display:block;width:100%;min-height:48px;font:500 1rem var(--sans);padding:.9rem 1.75rem;border-radius:999px;cursor:pointer;margin-top:1rem}.memorial-form-layout .primary{background:var(--omp-honey);color:var(--omp-ink);border:1px solid var(--omp-honey)}.memorial-form-layout button:disabled{opacity:.55;cursor:not-allowed}.memorial-form-layout :is(button,a,summary,input,select,textarea):focus-visible,.memorial-form-layout .segmented input:focus-visible+span{outline:2px solid var(--omp-focus);outline-offset:3px}.memorial-form-layout .error{color:var(--omp-error);font-weight:500;margin:.75rem 0 0;font-size:.9rem}.memorial-form-layout :is(.error,.pv-epitaph):empty{display:none}.memorial-form-layout .reassurance{margin:.5rem 0 0;text-align:center;font-size:.85rem;color:var(--omp-quiet)}.memorial-form-layout:has(#creation-access:not([hidden])){display:block;max-width:38rem;margin-inline:auto}.memorial-form-layout:has(#creation-access:not([hidden])) .preview{display:none}@media(max-width:860px){.memorial-form-layout{grid-template-columns:1fr}.memorial-form-layout .preview{position:static;padding-top:0}.memorial-form-layout .polaroid{width:min(70%,16rem)}.memorial-form-layout .pv-epitaph{display:none}}@font-face{font-family:"Flag Emoji";src:url(/fonts/twemoji-country-flags.woff2) format("woff2");unicode-range:U+1F1E6-1F1FF;font-display:swap}.memorial-form-layout .country-button{display:flex;align-items:center;gap:.6rem;width:100%;min-height:44px;padding:.6rem .9rem;font:inherit;color:var(--omp-ink);text-align:left;background:#fffdf8;border:1px solid var(--omp-line);border-radius:12px;cursor:pointer}.memorial-form-layout .country-button:hover{border-color:var(--omp-quiet)}.memorial-form-layout .country-button.is-empty .country-current{color:var(--omp-quiet)}.memorial-form-layout .country-button .country-flag:empty{display:none}.country-flag{font-size:1.35rem;line-height:1;width:1.6rem;text-align:center;flex:none;font-family:"Flag Emoji","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}.memorial-form-layout .country-current{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memorial-form-layout .country-chevron{flex:none;width:.55rem;height:.55rem;margin-right:.2rem;border-right:2px solid var(--omp-quiet);border-bottom:2px solid var(--omp-quiet);transform:translateY(-25%) rotate(45deg)}.country-dialog{box-sizing:border-box;width:min(28rem,calc(100vw - 1.5rem));height:min(38rem,calc(100dvh - 3rem));max-height:none;margin:auto;padding:0;display:none;flex-direction:column;color:var(--omp-ink);background:var(--omp-paper);border:1px solid var(--omp-line);border-radius:20px;box-shadow:0 18px 48px #18282447;overflow:hidden}.country-dialog[open]{display:flex}.country-dialog::backdrop{background:#18282461;backdrop-filter:blur(2px)}.country-dialog .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.country-dialog header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1rem .5rem 1.25rem}.country-dialog h2{margin:0;font-family:Fraunces,Georgia,serif;font-size:1.2rem;font-weight:500}.country-dialog .country-close{width:44px;height:44px;flex:none;border:0;border-radius:50%;font-size:1.6rem;line-height:1;color:var(--omp-ink);background:var(--omp-soft);cursor:pointer}.country-dialog .country-search{display:block;padding:0 1rem .75rem}.country-dialog .country-search input{box-sizing:border-box;width:100%;min-height:44px;padding:.65rem .9rem .65rem 2.4rem;font:inherit;color:var(--omp-ink);background:#fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23716353' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='m12.2 12.2 4 4'/%3E%3C/svg%3E") no-repeat .8rem center;border:1px solid var(--omp-line);border-radius:999px}.country-dialog .country-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:16px;height:16px;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23716353' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") no-repeat center}.country-dialog .country-list{flex:1;min-height:0;margin:0;padding:0 .5rem .75rem;list-style:none;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--omp-line)}.country-dialog .country-list li{margin:0}.country-dialog .country-option{display:flex;align-items:center;gap:.75rem;width:100%;min-height:48px;padding:.5rem .75rem;font:inherit;color:var(--omp-ink);text-align:left;background:none;border:0;border-radius:12px;cursor:pointer}.country-dialog .country-option:hover{background:var(--omp-soft)}.country-dialog .country-option[aria-selected=true]{background:var(--omp-soft);font-weight:600}.country-dialog .country-option .country-flag{color:var(--omp-quiet)}.country-dialog .country-name{flex:1;min-width:0}.country-dialog .country-check{visibility:hidden;color:var(--omp-focus);font-weight:700}.country-dialog .country-option[aria-selected=true] .country-check{visibility:visible}.country-dialog :is(button,input):focus-visible{outline:2px solid var(--omp-focus);outline-offset:2px}.country-dialog .country-empty{margin:0;padding:1rem 1.25rem;color:var(--omp-quiet)}@media(max-width:640px){.country-dialog{width:100vw;max-width:100vw;height:min(88dvh,44rem);margin:auto 0 0;border-radius:20px 20px 0 0;border-bottom:0}}
