/* The editing surface extends beyond the text; its content aligns with the label and copy glyph. */
.workspace .page-field.type-text .text-field-shell{margin-left:-6px;margin-right:var(--text-edge-inset,2px)}
.workspace .page-field.type-text .rich-text,.workspace .page-field.type-text .rich-text.has-heading-folding{position:relative;padding-left:5px!important;padding-right:5px!important;scroll-padding-left:5px;scroll-padding-right:5px}
.rich-text.rich-is-empty::before{content:attr(data-placeholder);position:absolute;top:8px;left:5px;right:5px;color:var(--muted);opacity:.55;font:inherit;pointer-events:none;user-select:none;-webkit-user-select:none}
@media(max-width:720px){
 #app #grid .port{width:calc(7px / var(--map-zoom,1));height:calc(7px / var(--map-zoom,1));min-width:0;min-height:0;border-width:1px;box-shadow:0 0 0 1px var(--muted);touch-action:none}
 #app #grid .port.t{top:calc(-3.5px / var(--map-zoom,1))}#app #grid .port.b{bottom:calc(-3.5px / var(--map-zoom,1))}#app #grid .port.l{left:calc(-3.5px / var(--map-zoom,1))}#app #grid .port.r{right:calc(-3.5px / var(--map-zoom,1))}
 #app #grid .port::before{content:'';position:absolute;left:50%;top:50%;width:calc(30px / var(--map-zoom,1));height:calc(30px / var(--map-zoom,1));transform:translate(-50%,-50%);background:transparent;border-radius:50%;touch-action:none}
 #app #grid .touch-move-ready{cursor:grabbing;outline-color:var(--muted)!important}
 #app #mapShell.touch-operating{touch-action:none!important;cursor:grabbing}
}
