/* Reference-led creation flow. Scoped to the shell; invitation artwork keeps its own styles. */
body.reference-ui{--ref-paper:#fff;--ref-bg:#f5f5f5;--ref-ink:#373737;--ref-muted:#858585;--ref-pink:#ebcdd4;--ref-line:#ebebeb;background:var(--ref-bg);color:var(--ref-ink)}
.reference-ui #app{min-width:0;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.reference-ui .studio-header{background:#fff;border-color:var(--ref-line);padding:16px 24px}
.reference-ui .studio-header .brand{font-weight:400;letter-spacing:.16em;color:#454545}
.reference-ui .studio-header #save-state{font-size:11px;color:#777;line-height:1.5}
.reference-ui [data-flow]{font-family:var(--sans),sans-serif;letter-spacing:-.025em;border-color:#e8e8e8;background:#fff;color:#454545;border-radius:10px;min-height:44px;cursor:pointer;box-sizing:border-box}
.reference-ui [data-flow]:hover{background:#f6f1f2;border-color:#d6b9c0}
.reference-ui [data-flow]:focus-visible{outline:3px solid #a36c7b;outline-offset:3px}
.reference-ui [data-flow].ref-primary{display:block;width:100%;min-height:54px;margin-top:26px;background:#454545;border-color:#454545;border-radius:15px;color:white;font-size:15px;font-weight:400;text-align:center}
.reference-ui [data-flow].ref-primary:hover{background:#303030;border-color:#303030}
.reference-ui [data-flow]:disabled{color:#aaa;background:#e9e9e9;border-color:#e9e9e9;cursor:default}
.reference-ui .ref-demo-note{font-size:11px!important;line-height:1.7!important;color:#787878!important;letter-spacing:0;text-align:center;margin:20px 0!important;overflow-wrap:anywhere}
.reference-ui .ref-dashboard{max-width:940px;margin:0 auto;padding:20px 24px 32px}
.ref-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.ref-invitation-card,.ref-add-card{min-width:0;background:#fff;border:1px solid #e3e3e3;border-radius:18px;padding:22px;box-shadow:0 3px 8px #00000008}
.ref-selected{display:block;color:#b77e8e;font-size:12px;margin-bottom:16px}
.ref-paper-cover{aspect-ratio:4/5;position:relative;overflow:hidden;border-radius:8px;background:radial-gradient(ellipse at 0 80%,#bba99255,transparent 45%),linear-gradient(135deg,#f9f3e6,#dfcfb7 47%,#fcf7ed 49%,#e9ddcb);box-shadow:inset 0 0 60px #fff6;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:30px 18px 45px;color:#756958}
.ref-paper-cover>span{font-size:10px;letter-spacing:.19em}.ref-paper-cover>div{font:italic 32px/1.3 Georgia,serif;text-align:center}
.reference-ui .ref-card-meta{font-size:12px;color:#858585;margin:18px 0;overflow-wrap:anywhere}.ref-address{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#fafafa;border-radius:7px;font-size:12px;overflow-wrap:anywhere}.ref-address button{flex:none;border:0;background:none!important;font-size:12px;color:#888!important}
.ref-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 8px}.ref-card-actions button,.reference-ui .ref-share-action{box-shadow:0 2px 5px #0000000a;font-size:12px}.reference-ui .ref-share-action{display:block;width:100%;margin-top:8px;text-align:left;padding-left:16px}.ref-add-card{min-height:440px;display:grid;place-items:center}.ref-add-card button{display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;border:0!important;background:none!important;color:#999!important;font-size:13px}.ref-add-card b{border-radius:50%;width:38px;height:38px;background:#b4b4b4;color:#fff;font-size:28px;font-weight:300;line-height:38px}
.reference-ui .ref-wizard{position:relative;width:min(100%,480px);margin:0 auto;padding:30px 24px 36px;min-height:650px}.reference-ui .ref-wizard h1{font-family:var(--sans),sans-serif;font-weight:400;font-size:25px;line-height:1.65;letter-spacing:-.055em;color:#373737}.ref-wizard-title{text-align:center;margin:64px 0 48px}.ref-wizard-title p{font-size:13px;color:#929292;line-height:1.8;margin-top:16px}.reference-ui .ref-wizard>label{display:block;font-size:13px;margin:22px 0;color:#555}.reference-ui .ref-wizard input{display:block;width:100%;min-width:0;max-width:100%;min-height:50px;margin-top:8px;background:#fff;border:1px solid #ececec;border-radius:12px;box-shadow:0 2px 3px #00000005;color:#333;font-size:16px;line-height:1.5;padding:12px 14px;box-sizing:border-box}.reference-ui .ref-wizard input::placeholder{color:#bbb}.ref-name-row{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px}.ref-name-row input:first-child{text-align:center}.reference-ui .ref-wizard-hint{text-align:center;font-size:11px;color:#999;margin:5px 0 16px}.ref-progress{list-style:none;display:flex;justify-content:space-between;padding:0 20px;margin:0 0 24px;gap:10px}.ref-progress li{position:relative;flex:1;text-align:center;font-size:10px;color:#bbb}.ref-progress li span{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#eee;color:#aaa;font-size:13px;margin:0 auto 7px}.ref-progress li:not(:last-child)::after{content:'';position:absolute;height:1px;background:#e7e7e7;top:15px;left:70%;width:60%}.ref-progress li.active{color:#444}.ref-progress li.active span,.ref-progress li.done span{background:#d5a5b1;color:white}.ref-progress li.done{color:#c69ba7}.ref-progress li.done::after{background:#d5a5b1}
.reference-ui .ref-back,.reference-ui .ref-close{border:0;background:transparent;padding:8px;font-size:23px;line-height:1;min-width:44px;min-height:44px}.reference-ui .ref-close{position:absolute;right:12px;top:10px}.ref-slug{display:flex;align-items:center;gap:12px;border:1px solid #666;border-radius:40px;background:#fff;padding:7px 10px 7px 20px;box-shadow:0 2px 4px #00000006}.ref-slug>span{color:#ccc;font-size:13px}.reference-ui .ref-slug input{margin:0;padding:8px 0;border:0;border-radius:0;box-shadow:none;background:none;min-height:46px}.reference-ui .ref-slug button{flex:none;width:42px;height:42px;min-height:42px;padding:0;background:var(--ref-pink);border:0;border-radius:50%;font-size:28px}.reference-ui #ref-slug-feedback{font-size:12px;text-align:center;margin:18px 0;color:#888;min-height:42px}.ref-or{text-align:center;color:#aaa;font-size:12px;margin:28px 0 12px}.reference-ui .ref-text-button{display:block;border:0;border-radius:0;background:transparent;text-decoration:underline;text-underline-offset:7px;color:#888;font-size:12px;margin:10px auto;padding:10px 4px;text-align:center}.reference-ui .ref-complete{display:table;background:#f9ecef;border-radius:20px;padding:4px 14px;color:#c793a0;font-size:11px;margin:4px auto 22px}.ref-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ref-choice-grid button{display:flex;flex-direction:column;align-items:center;gap:20px;min-height:220px;padding:24px 12px;border:0!important;border-radius:18px!important;box-shadow:0 3px 5px #00000004}.ref-choice-grid i{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#f8ebef;color:#b98d99;font-style:normal;font-size:24px}.ref-choice-grid button+button i{background:#f5f5f5;color:#999}.ref-choice-grid strong{font-size:14px;font-weight:400}.ref-choice-grid small{font-size:11px;line-height:1.8;color:#999}.reference-ui .ref-bottom-link{margin-top:60px}
.reference-ui .ref-template-page{max-width:850px;padding:26px 24px;margin:auto}.ref-template-page>h1{font:400 20px/1.5 var(--sans),sans-serif;letter-spacing:-.04em;margin:10px 0}.ref-template-page>p:not(.ref-complete){font-size:13px;color:#999;margin:10px 0 24px}.ref-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ref-template-grid article{background:#fff;border-radius:18px;overflow:hidden;padding:0 0 10px;box-shadow:0 2px 4px #00000007;min-width:0}.ref-template-grid .home-live-preview{position:relative;width:100%;height:400px;overflow:hidden;background:#eae7e3;border-radius:0;margin:0;contain:layout paint}.ref-template-grid h2{font:400 14px/1.5 var(--sans),sans-serif;text-align:center;margin:16px 8px 12px}.ref-template-grid article>div:last-child{display:flex;gap:6px;padding:0 10px}.ref-template-grid article>div:last-child button{flex:1;min-width:0;font-size:12px;border:0;background:#f4f4f4;padding:6px;min-height:36px}.ref-template-grid article>div:last-child button:last-child{background:#666;color:#fff}
.reference-ui .ref-tabs{position:fixed;bottom:0;left:0;right:0;z-index:50;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px max(12px,calc((100vw - 740px)/2)) calc(8px + env(safe-area-inset-bottom,0px));background:#fffffffa;border-top:1px solid #eee;backdrop-filter:blur(12px)}.reference-ui .ref-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:0;background:transparent;color:#aaa;font-size:10px;padding:4px;min-height:52px;line-height:1.5}.ref-tabs button>span{font-size:22px;line-height:26px}.reference-ui .ref-tabs button[aria-current=page]{color:#3c3c3c;background:none;font-weight:500}.reference-ui #toast{bottom:calc(90px + env(safe-area-inset-bottom,0px))}
.ref-design-shell{display:grid;grid-template-columns:250px minmax(300px,1fr) minmax(340px,420px);max-width:1540px;margin:auto;align-items:start}.ref-menu-list{min-width:0;padding:18px 12px;position:sticky;top:0;max-height:calc(100dvh - 78px);overflow:auto}.ref-filter{display:flex;gap:5px;margin-bottom:12px}.reference-ui .ref-filter button{padding:4px 8px;min-height:30px;flex:1;white-space:nowrap;border-radius:30px;border:1px solid #b3b3b3;background:transparent;color:#666;font-size:10px}.reference-ui .ref-filter button[aria-pressed=true]{border-color:#555;background:#eee9ea;color:#333}.ref-accordion{display:flex;flex-direction:column;gap:8px}.ref-menu-card{border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px #00000003}.reference-ui .ref-menu-heading>button[data-flow=expand]{display:flex;align-items:center;gap:8px;text-align:left;width:100%;min-height:59px;padding:12px 14px;background:#fff;border:0;border-radius:0;font-size:13px}.ref-menu-heading>button[data-flow=expand]>.ref-menu-label{flex:1;min-width:0;overflow-wrap:anywhere}.ref-menu-symbol{font-size:19px;line-height:24px;width:20px;flex:none;text-align:center;color:#666}.ref-chevron{display:block;flex:0 0 12px;width:12px;height:12px;margin-inline-start:auto;color:#67564d}.ref-menu-card.expanded .ref-chevron{transform:rotate(180deg)}.ref-toggle-status{position:relative;display:inline-block;width:34px;height:20px;border-radius:20px;background:#ede5e7;flex:none}.ref-toggle-status::after{content:'';position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:2px;top:2px;box-shadow:0 1px 3px #0001}.ref-toggle-status.on{background:#e7c5ce}.ref-toggle-status.on::after{left:16px}.ref-design-shell>.editor-panel{min-width:0;background:white;border:1px solid #eee;padding:26px 22px;min-height:calc(100dvh - 78px)}.ref-design-shell>.preview-pane{min-width:0;max-width:100%;height:calc(100dvh - 78px);padding:22px 14px 40px;background:#eeeceb}.ref-design-shell .preview-toolbar{color:#888;font-size:12px;text-align:center;justify-content:center}.ref-design-shell #preview{max-width:390px;margin:auto}.ref-design-shell #controls{min-width:0;overflow-wrap:anywhere}.ref-design-shell #controls h2{font-size:20px;font-weight:500}.ref-design-shell #controls input[type=checkbox]{accent-color:#b78090}
.reference-ui .ref-status-page{max-width:650px;margin:auto;padding:48px 24px}.ref-status-page>h1{font:400 23px/1.6 var(--sans),sans-serif;text-align:center;letter-spacing:-.04em}.ref-status-page>p{font-size:12px;color:#999;text-align:center;margin:14px 0 34px}.ref-status-page>section{border:1px solid #eee;border-radius:14px;background:#fff;margin:22px 0;padding:24px;box-shadow:0 3px 6px #00000004}.ref-status-page h2{font-size:15px;font-weight:400;margin:0 0 20px}.ref-status-page section>p{font-size:13px;color:#888;line-height:1.8;margin:14px 0}.ref-status-page section>button{margin:5px 5px 5px 0}.ref-count{padding:22px 16px;border-radius:10px;box-shadow:0 2px 6px #0001;font-size:12px;color:#999;margin-top:24px}.ref-count b{display:block;color:#555;font-size:21px;font-weight:400;margin-top:12px}.reference-ui .ref-warning{padding:14px;background:#faf4e2;border:1px solid #e7dab2;border-radius:8px;color:#8c794c}
.reference-ui #ref-modal{position:fixed;width:min(92vw,440px);max-height:calc(100dvh - 40px);padding:48px 24px 24px;border-radius:18px;border:0;color:#444;background:#fff;box-shadow:0 16px 70px #0002}.reference-ui #ref-modal::backdrop{background:#0006}.reference-ui #ref-modal h2{text-align:center;font:400 20px/1.6 var(--sans),sans-serif;margin:8px 0 22px}.reference-ui #ref-modal>p{font-size:13px;line-height:1.9;color:#777}.ref-success{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;margin:0 auto 18px;background:#f6e8ec;color:#b98797;font-size:22px}.ref-guide{background:#f7f7f7;border-radius:12px;padding:4px 20px}.ref-guide p{padding:20px 0;margin:0;font-size:12px;line-height:1.8;color:#888}.ref-guide p+p{border-top:1px solid #e9e9e9}.ref-guide b{font-size:13px;font-weight:500;color:#555}
@media(min-width:761px) and (max-width:1050px){.ref-design-shell{grid-template-columns:210px minmax(270px,1fr) minmax(260px,320px)}.ref-menu-list{padding:14px 8px}.reference-ui .ref-filter button{padding:4px;font-size:9px}.reference-ui .ref-menu-heading>button[data-flow=expand]{padding:10px;font-size:12px;gap:6px}.ref-design-shell>.editor-panel{padding:22px 16px}.ref-design-shell>.preview-pane{padding:20px 8px}}
@media(max-width:760px){.reference-ui .studio-header{padding:14px 16px;gap:8px}.reference-ui .studio-header .brand{font-size:20px}.reference-ui .studio-header nav{gap:5px}.reference-ui .studio-header nav button,.reference-ui .studio-header nav a{font-size:11px;padding:6px 8px;min-height:36px}.reference-ui .studio-header #save-state{text-align:left;font-size:10px}.reference-ui .ref-dashboard{max-width:480px;padding:12px 20px 24px}.ref-dashboard-grid{grid-template-columns:1fr;gap:18px}.ref-invitation-card,.ref-add-card{padding:20px;border-radius:15px}.ref-add-card{min-height:260px}.reference-ui .ref-wizard{padding:24px 18px;min-height:640px}.ref-wizard-title{margin:52px 0 40px}.reference-ui .ref-wizard h1{font-size:24px}.reference-ui .ref-wizard>label{margin:23px 0}.reference-ui .ref-wizard .ref-primary{margin-top:30px}.reference-ui .ref-template-page{padding:22px 16px}.ref-template-grid{gap:10px}.ref-template-grid .home-live-preview{height:350px}.ref-template-grid h2{font-size:13px}.ref-template-grid article>div:last-child{gap:5px;padding:0 7px}.ref-template-grid article>div:last-child button{font-size:10px;padding:5px 2px;min-height:34px}.ref-design-shell{display:block;width:100%;max-width:560px}.ref-menu-list{position:static;padding:14px 16px 20px;max-height:none;overflow:visible}.ref-filter{gap:5px;margin-bottom:13px}.reference-ui .ref-filter button{font-size:11px;min-height:31px;padding:4px 9px}.ref-accordion{gap:9px}.reference-ui .ref-menu-heading>button[data-flow=expand]{min-height:64px;padding:14px 17px;font-size:15px;gap:10px}.ref-toggle-status{width:40px;height:23px}.ref-toggle-status::after{width:19px;height:19px}.ref-toggle-status.on::after{left:19px}.ref-accordion-controls{padding:8px 16px 24px;border-top:1px solid #f1f1f1;min-width:0}.ref-accordion-controls .editor-field input,.ref-accordion-controls .editor-field textarea,.ref-accordion-controls .editor-field select{font-size:16px;max-width:100%;min-width:0}.ref-accordion-controls .field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ref-accordion-controls img{max-width:100%}.ref-accordion-controls .helper{font-size:12px}.reference-ui .ref-status-page{padding:34px 16px}.ref-status-page>section{padding:22px 18px}.reference-ui .ref-tabs{padding-left:12px;padding-right:12px}.reference-ui #ref-modal{padding:44px 20px 22px}}
@media(max-width:360px){.ref-template-grid .home-live-preview{height:290px}.reference-ui .ref-menu-heading>button[data-flow=expand]{font-size:13px;padding:12px}.reference-ui .ref-filter button{font-size:10px;padding:4px}.ref-accordion-controls{padding:8px 12px 20px}.ref-choice-grid button{padding:20px 8px}.ref-wizard-title{margin:40px 0 30px}}
@media(prefers-reduced-motion:reduce){.reference-ui [data-flow]{transition:none;scroll-behavior:auto}}

.ref-menu-heading{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;padding-inline:12px;gap:4px}.reference-ui .ref-menu-heading>button[data-flow=expand]{grid-column:2;grid-row:1;min-width:0}.reference-ui .ref-menu-heading>button.ref-toggle-status{grid-column:1;grid-row:1;justify-self:center;border:0;padding:0;min-height:20px;width:34px;height:20px;border-radius:20px;flex:none;background:#ede5e7}.reference-ui .ref-menu-heading>button.ref-toggle-status.on{background:#e7c5ce}.ref-state-badge{font-size:10px;color:#999;white-space:nowrap}.ref-menu-card.expanded>.ref-menu-heading{box-shadow:inset 3px 0 #d9aebc}.ref-menu-card.expanded .ref-chevron{transform:rotate(180deg)}

.ref-current-cover{width:100%;position:relative;overflow:hidden;background:#f5f2ee;border-radius:7px}.ref-current-cover>.v6-render{transform-origin:top left;pointer-events:none}

.ref-featured-cover{display:grid;grid-template-columns:minmax(120px,1fr) 1fr;align-items:center;gap:24px;margin:30px 0;padding:22px;border-radius:18px;background:white}.ref-stacked-thumb{display:grid;gap:8px;padding:16px;background:#fafaf6}.ref-stacked-thumb img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.ref-featured-cover h2{font-size:20px;font-weight:400}.ref-featured-cover p{font-size:13px;line-height:1.8;color:#888}.ref-featured-cover button{width:100%}@media(max-width:760px){.ref-featured-cover{padding:14px;gap:14px}.ref-featured-cover h2{font-size:17px}.ref-featured-cover p{font-size:12px}}

/* Actual supported font specimens; this is editor chrome, never guest content. */
.typography-controls{container:typography-panel / inline-size;min-width:0}
.typography-controls .typography-control-label{font-size:13px;font-weight:500;margin:26px 0 12px}
.typography-controls .typography-font-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.typography-controls .typography-font-grid>button{min-width:0;min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px 8px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;color:#414141}
.typography-controls .typography-font-sample{font-size:21px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.typography-controls .typography-font-name{font-family:system-ui,sans-serif;font-size:10px;line-height:1.5;overflow-wrap:anywhere;text-align:center}
.typography-controls .typography-font-grid>button[aria-pressed=true]{background:#fbf2f4;border-color:#b98291;box-shadow:inset 0 0 0 1px #b98291}
.typography-controls .typography-language-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.typography-controls .typography-language-row>button,.typography-controls [aria-label="본문 크기 5단계"]>button{background:#fff;border:1px solid #ddd;border-radius:8px;min-height:42px;padding:10px 8px;color:#555}
.typography-controls .typography-language-row>button[aria-pressed=true],.typography-controls [aria-label="본문 크기 5단계"]>button[aria-pressed=true]{background:#f6e8ec;border-color:#bc8a98;color:#48323a}
.typography-controls [aria-label="본문 크기 5단계"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:24px}
.typography-controls button:focus-visible{outline:2px solid #8b5364;outline-offset:3px}
@container typography-panel (max-width:380px){.typography-controls .typography-font-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Secondary legacy tools stay available without competing with cover settings. */
.cover-precision{margin:28px 0 8px;border:1px solid #e5e2e2;border-radius:10px;background:#faf9f9}
.cover-precision>summary{min-height:48px;padding:14px 16px;box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:500;line-height:20px;color:#454045}
.cover-precision>summary:focus-visible{outline:2px solid #8b5364;outline-offset:3px;border-radius:8px}
.cover-precision[open]>summary{border-bottom:1px solid #e5e2e2}
.cover-precision-content{padding:4px 14px 18px;min-width:0;overflow-wrap:anywhere}

/* Local-only media proofs: no remote images or player requests. */
.video-local-preview{margin-top:20px;padding:16px;border:1px solid #e7e2e3;border-radius:12px;background:#fff;min-width:0}
.video-url-status{font-size:12px;line-height:1.7;overflow-wrap:anywhere;color:#66575c}
.video-local-stage{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;text-align:center;background:#292728;color:#fff;border-radius:8px}
.video-local-stage>span{font:40px/1 system-ui}.video-local-stage>strong{font-size:14px;font-weight:500}.video-local-stage>small{font-size:10px;line-height:1.6;color:#d7d1d3}
.video-local-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.share-preview-boundary{padding:14px;border-radius:10px;background:#f7eef1;border:1px solid #efdee4}
#modal-body .share-card-preview{max-width:360px;margin:16px auto;overflow-wrap:anywhere}

.gallery-layout-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.gallery-layout-choices button{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:90px;min-width:0;text-align:left;padding:12px;background:#fff;color:#333;border:1px solid #e6e4e0;border-radius:9px}
.gallery-layout-choices button[aria-pressed=true]{background:#f4f0ec;color:#333;border-color:#52684c;box-shadow:inset 0 0 0 1px #52684c}
.gallery-layout-choices strong{display:block;font-size:13px;font-weight:500;line-height:1.5}.gallery-layout-choices small{display:block;margin-top:10px;font-size:11px;line-height:1.5;color:#73736d;word-break:keep-all}
.gallery-layout-icon{width:34px;height:34px;flex:0 0 34px;background:#d8d6d1;border-radius:2px}
.gallery-layout-icon.grid2{background:linear-gradient(to right,transparent 46%,white 46%,white 54%,transparent 54%),linear-gradient(to bottom,#d8d6d1 46%,white 46%,white 54%,#d8d6d1 54%)}
.gallery-layout-icon.carousel{background:linear-gradient(to right,#d8d6d1 72%,transparent 72%,transparent 82%,#d8d6d1 82%)}
.gallery-layout-icon.single{position:relative}.gallery-layout-icon.single:after{content:'•••';position:absolute;top:30px;left:7px;font-size:10px;letter-spacing:2px;color:#aaa}
.gallery-layout-icon.fullcover{height:45px}

.intro-wording-cards{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
.intro-wording-cards button{width:100%;min-height:72px;text-align:center;background:#faf8f3;color:#414b40;border:1px solid #e2e1da;padding:16px;overflow-wrap:anywhere}
.intro-wording-cards button[aria-pressed=true]{border-color:#52684c;box-shadow:inset 0 0 0 1px #52684c;background:#f3f0e9;color:#333}
.intro-card-copy{display:block;font-size:22px;line-height:1.5;font-family:'LUCIR Myeongjo',serif;word-break:keep-all}
.intro-card-copy.intro-latin{font-family:'LUCIR Allura',cursive;font-size:31px;line-height:1.25}

/* Original line-art choices: compare ornaments before applying, without changing copy. */
.greeting-ornament-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.greeting-ornament-choices button{min-width:0;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 4px;border:1px solid #e4e5df;border-radius:9px;background:#fff;color:#596455}
.greeting-ornament-choices button[aria-pressed="true"]{border-color:#62785b;background:#f0f4eb;box-shadow:inset 0 0 0 1px #62785b}
.greeting-ornament-choices button>span{display:flex;align-items:center;justify-content:center;width:66px;height:38px}
.greeting-ornament-choices svg{width:66px;height:38px;max-width:100%}
.greeting-ornament-choices small{font-size:11px;line-height:1.4;word-break:keep-all}
.greeting-ornament-choices button:focus-visible{outline:2px solid #33462e;outline-offset:3px}
.event-date-summary{padding:14px 16px;margin:12px 0 22px;border-radius:10px;background:#f3f5ef;color:#34472f}
.event-date-summary small{display:block;font-size:11px;line-height:1.6;opacity:.7;margin-bottom:5px}
.event-date-summary output{display:block;font-size:14px;line-height:1.8;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.timeline-editor-fold{border:1px solid #e4e5df;border-radius:10px;margin:10px 0;background:#fff;overflow:hidden}
.timeline-editor-fold>summary{padding:15px 14px;min-height:44px;box-sizing:border-box;cursor:pointer;font-size:14px;line-height:1.4;font-weight:600}
.timeline-editor-fold[open]>summary{background:#f5f6f2;border-bottom:1px solid #e4e5df}
.timeline-editor-fold>fieldset{margin:0;border:0;padding:16px 14px}
.timeline-editor-fold>fieldset>legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.timeline-editor-fold:focus-within{border-color:#809276}
.gallery-layout-icon.thumbnails:after{content:'';position:absolute;inset:auto 0 -8px;height:5px;background:repeating-linear-gradient(90deg,currentColor 0 5px,transparent 5px 8px)}
.gallery-layout-icon.arrows:after{content:'‹   ›';position:absolute;inset:0;display:grid;place-items:center;white-space:pre;font:16px/1 system-ui}
