dialog.lead-poster-sheet{width:min(760px,calc(100vw - 40px));padding-bottom:0}.lead-poster-body{padding-bottom:24px}.lead-label{font-size:.85rem;color:#6a5864;font-weight:650;margin:18px 0 10px}.lead-categories,.lead-code-switch{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:0 0 14px}.lead-categories button,.lead-code-switch button{background:#f9edf2;color:#b93160;border:0;border-radius:99px;padding:8px 11px;font-size:.85rem;min-height:34px;white-space:nowrap;box-shadow:none}.lead-categories button[aria-pressed=true],.lead-code-switch button[aria-pressed=true]{background:#bd3765;color:white}.lead-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:235px;overflow-y:auto;padding:2px;overscroll-behavior:contain}.lead-template{padding:0;border:0;border-radius:10px;aspect-ratio:1;position:relative;overflow:hidden;background:#f5eef3;min-width:0;box-shadow:none}.lead-template img{position:absolute;max-width:none;height:auto;pointer-events:none}.lead-template span{display:none;position:absolute;right:5px;top:5px;background:#cc3e70;color:white;border-radius:50%;width:22px;height:22px;line-height:22px}.lead-template[aria-pressed=true]{outline:2px solid #c23868;outline-offset:0}.lead-template[aria-pressed=true] span{display:block}.lead-poster-footer{position:sticky;bottom:0;background:#fffafdf5;margin:0 -20px;padding:12px 20px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #eee7ed}.lead-poster-footer button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:99px;background:#bd3765;color:white;min-height:46px;box-shadow:0 7px 16px #bc37652b;font-size:1rem}.lead-code-switch button{padding:12px 15px}.lead-drop{display:block;border:1px dashed #e9d2df;border-radius:14px;padding:22px 14px;color:#7b6373;font-size:.85rem;margin:18px 0}.lead-drop input{font-size:.8rem;margin-top:12px;width:100%}#lead-wechat[hidden]{display:none!important}#lead-poster-error{color:#b93160;font-size:.82rem;line-height:1.6}.lead-poster-result{display:block;width:100%;max-width:480px;height:auto;margin:auto;border-radius:12px}.lead-poster-download{display:block;text-align:center;background:#bd3765;color:#fff;border-radius:99px;padding:12px;margin:18px 0;text-decoration:none}.lead-template:focus-visible{outline:3px solid #7660be}@media(max-width:760px){dialog.lead-poster-sheet{width:100%}.lead-poster-footer{margin:0 -18px;padding-left:18px;padding-right:18px}.lead-template-grid{max-height:235px}.lead-poster-sheet .modal-head{position:sticky;top:-10px;background:#fffafd;z-index:2;padding-top:8px}.lead-categories{gap:6px}.lead-categories button{padding:8px 10px}}
.lead-growth-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}.lead-growth-heading>button{width:46px;height:46px;border-radius:50%;font-size:28px;padding:0}.lead-growth-heading h2{margin:0 0 7px;font-size:1.5rem}.lead-growth-heading p{font-size:.85rem;margin:0;line-height:1.7}.lead-growth-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.lead-growth-cards>button{display:block;text-align:left;padding:20px 16px;background:#fffafd;border:1px solid #eee7ed;border-radius:24px;color:#352932;box-shadow:0 4px 12px #64344a06;min-height:160px}.lead-growth-cards>button>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#faedf3;border:1px solid #f2d2e1;color:#b93160}.lead-growth-cards h3{font-size:1.05rem;margin:13px 0 7px}.lead-growth-cards p{font-size:.85rem;line-height:1.7;color:#8d7986;margin:0}.lead-growth-cards .ui-icon{width:25px;height:25px}

/* Independent square viewports: fixed intrinsic minimum prevents grid compression. */
.lead-poster-sheet .lead-template-grid{align-content:start;grid-auto-rows:max-content;align-items:start;gap:10px;padding:3px;isolation:isolate}
.lead-poster-sheet .lead-template{display:block;position:relative;box-sizing:border-box;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto;overflow:hidden;line-height:0;padding:0!important;flex:none;contain:layout paint}
.lead-poster-sheet .lead-template::before{content:"";display:block;padding-top:100%}
.lead-poster-sheet .lead-thumb-svg{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;overflow:hidden;pointer-events:none}
.lead-poster-sheet .lead-template span{z-index:1;line-height:22px}

/* Full original portraits, isolated cells, and an uncropped preview. */
.lead-poster-sheet .lead-template::before{padding-top:133.333%}
.lead-poster-sheet .lead-thumb-img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;pointer-events:none}
.lead-preview-card,.lead-caption{padding:12px;border:1px solid #eee6ec;border-radius:24px;background:#fffef8;box-shadow:0 3px 10px #56324408}
.lead-preview-art{position:relative;line-height:0;overflow:hidden;border-radius:16px}.lead-preview-art>img{display:block;width:100%;height:auto}.lead-preview-code{position:absolute;display:flex;flex-direction:column;justify-content:center;background:white;color:#796a73;text-align:center;font-size:clamp(5px,1.3vw,10px);line-height:1.4}
.lead-preview-card .lead-poster-result{max-width:none;border-radius:16px}.lead-caption{padding:22px;white-space:pre-wrap;line-height:1.85;font-size:1rem;color:#352932;overflow-wrap:anywhere}
.lead-zoom,.lead-copy{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border-radius:99px;margin:16px 0;font-size:1rem}.lead-zoom{border:1px solid #d2c6ef;background:#f0ecfa;color:#6650bd}.lead-copy{border:0;background:#bd3765;color:white;box-shadow:0 7px 16px #bc37652b}
.lead-large-dialog{width:min(800px,100vw);max-height:94dvh;padding:20px;overflow:auto;border:0;border-radius:24px}.lead-large-dialog>button{display:block;margin-left:auto}.lead-large-dialog .lead-poster-result{max-width:none}.lead-poster-sheet .modal-head{background:#fffafd;z-index:3;isolation:isolate}

/* Centered save dialog matches the supplied mobile reference. */
dialog.lead-large-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(620px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);padding:18px 15px 16px;border:0;border-radius:22px;background:#fffafd;overflow:auto;box-shadow:0 18px 60px #24121f38}
.lead-large-dialog::backdrop{background:#231e29aa}.lead-large-head{position:relative;display:flex;align-items:center;justify-content:center;min-height:38px;margin:0 0 12px}.lead-large-head h2{margin:0;font-size:1.1rem;line-height:1.5;color:#30272e}.lead-large-x{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f2edf0;color:#6f616b;font-size:25px;box-shadow:none}.lead-large-dialog .lead-poster-result{display:block;width:100%;max-width:none;height:auto;max-height:calc(100dvh - 240px);object-fit:contain;margin:0 auto;border-radius:14px;touch-action:pinch-zoom;-webkit-touch-callout:default;user-select:auto}.lead-large-hint{text-align:center;color:#8a7885;font-size:.84rem;line-height:1.7;margin:12px 0 14px}.lead-large-hint strong{color:#b93160;font-weight:650}.lead-large-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lead-large-actions>button,.lead-large-actions>.lead-poster-download{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:10px;border:0;border-radius:99px;font-size:1rem;line-height:1.5;text-decoration:none}.lead-large-actions>button{background:#f2edf0;color:#695862;box-shadow:none}.lead-large-actions>.lead-poster-download{background:#bd3765;color:white;box-shadow:0 7px 16px #bc37652b}.lead-large-actions a span{font-size:23px;line-height:1}
