/* 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:0}
.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}
}

.workspace .page-field.type-text{padding-left:0}
.workspace .page-field.type-text .rich-text.has-heading-folding{padding-left:5px!important;scroll-padding-left:5px}

.workspace .editor-content{padding-left:24px}
.workspace .page-field.type-text .rich-fold-gutter{left:-12px;width:18px}
.workspace .rich-fold-toggle{width:18px!important}
.workspace .rich-fold-toggle svg{width:8px;height:8px}
.workspace .rich-text>[data-md-kind=heading]:first-child{margin-top:0}
:root[data-color-scheme] .sidebar-utilities .search{border:0;box-shadow:none;background:var(--raised)}
:root[data-color-scheme] .sidebar-utilities .search input{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit}
