.template-editor{overflow:scroll;display:block;background-color:#d3d3d3}.template-editor.empty{height:auto;padding:1rem 0;text-align:center;background-color:transparent;color:#99a1af;font-family:Inter Variable,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.template-editor-xml-notice{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:2rem 1rem}.template-editor-xml-notice span{max-width:24rem}.template-editor .template-editor-page{position:relative;display:block;width:100%;height:auto}.template-editor .template-editor-page:not(:last-child){margin-bottom:1rem}.template-editor .template-editor-page-canvas{display:block;width:100%;height:auto}.template-editor .template-editor-annotation-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto}.template-editor .template-editor-annotation-hit{position:absolute;display:block;background:transparent;cursor:pointer}.template-editor .dismiss-screen{position:fixed;z-index:1000;left:0;top:0;height:100vh;width:100vw}.template-editor .inline-input-wrapper{position:absolute;left:50%;top:-.5rem;transform:translate(calc(-50% + var(--shift, 0px)),-100%);background-color:#fff;filter:drop-shadow(0 1px 2px rgba(60,64,67,.3)) drop-shadow(0 2px 6px rgba(60,64,67,.15));border-radius:.375rem;display:flex;z-index:1002}.template-editor .inline-input-wrapper:after{content:"";position:absolute;background-color:#fff;bottom:0;left:calc(50% - var(--shift, 0px));width:.85rem;height:.85rem;transform:translate(-50%,45%) rotate(45deg);border-radius:.125rem}.template-editor .inline-input-wrapper input{font-size:.875rem;line-height:1.25rem;padding:.375rem .25rem .375rem .625rem;z-index:1003;color:#000;background-color:#fff;border-radius:.375rem 0 0 .375rem;border:0;max-width:70vw}.template-editor .inline-input-wrapper input,.template-editor .inline-input-measure{box-sizing:content-box;font-family:Inter Variable,ui-sans-serif,system-ui,sans-serif;font-size:.875rem;line-height:1.25rem}.template-editor .inline-input-measure{position:absolute;visibility:hidden;white-space:pre;pointer-events:none}.template-editor .inline-input-wrapper input::-moz-placeholder{color:#9ca3af}.template-editor .inline-input-wrapper input::placeholder{color:#9ca3af}.template-editor .inline-input-wrapper input:focus{outline:none;box-shadow:none}.template-editor .inline-input-confirm{z-index:1003;display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;margin:.25rem;flex-shrink:0;align-self:center;border-radius:.25rem;color:#fff;background-color:#16a34a}.template-editor .inline-input-confirm:hover{background-color:#15803d}.template-editor .inline-input-confirm svg{width:.875rem;height:.875rem}.template-editor .paragraph-input-wrapper{position:absolute;left:6%;width:88%;background-color:#fff;filter:drop-shadow(0 1px 2px rgba(60,64,67,.3)) drop-shadow(0 2px 6px rgba(60,64,67,.15));border-radius:.375rem;display:flex;flex-direction:column;z-index:1002}.template-editor .paragraph-input{min-height:6rem;max-height:16rem;overflow-y:auto;padding:.75rem 1rem;font-size:.875rem;line-height:1.5;color:#000;background-color:#fff;border-radius:.375rem .375rem 0 0;text-align:left}.template-editor .paragraph-input:focus{outline:none}.template-editor .paragraph-input p{margin:0 0 .75rem}.template-editor .paragraph-input p:last-child{margin-bottom:0}.template-editor .paragraph-input-footer{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem .375rem 1rem;border-top:1px solid #e5e7eb;font-family:Inter Variable,ui-sans-serif,system-ui,sans-serif;font-size:.75rem;line-height:1rem}.template-editor .paragraph-input-hint{flex:1;color:#6b7280}.template-editor .paragraph-input-footer button{padding:.25rem .625rem;border-radius:.25rem;font-weight:600}.template-editor .paragraph-input-cancel{color:#374151}.template-editor .paragraph-input-cancel:hover{background-color:#f3f4f6}.template-editor .paragraph-input-save{color:#fff;background-color:#16a34a}.template-editor .paragraph-input-save:hover{background-color:#15803d}.template-editor .paragraph-input p:only-child:has(>br:only-child):before,.template-editor .paragraph-input:empty:before{content:attr(data-placeholder);color:#9ca3af;pointer-events:none;position:absolute}
