/* 2.6: a document surface, never a grid of slide cards. */


.toolbar-group{display:flex;gap:1px;align-items:center}.doc-tool>svg{flex:none}.doc-tool b,.doc-tool i,.doc-tool u{font-size:14px;line-height:1}.doc-tool i{font-family:Georgia,serif;font-weight:600}
.document-node{position:relative;margin:1px 0;outline:none;scroll-margin:110px;break-inside:avoid}.node-body{padding:0 5px;min-width:0}.node-gutter{position:absolute;right:100%;top:5px;display:flex;gap:0;opacity:0;transition:opacity .13s;padding-right:4px}.node-drag{cursor:grab}.content-node:hover>.node-gutter,.content-node:focus-within>.node-gutter{opacity:1}.doc-editable:empty:focus:before{content:attr(data-placeholder);pointer-events:none;color:#c2c7ce}.doc-editable strong{font-weight:650;color:inherit}.document-flow :is(h1,h2,h3,h4,h5,h6) strong{font-weight:inherit}.doc-editable:focus{background:transparent;border-radius:4px}.doc-list{padding-left:23px;position:relative}.doc-list:before{position:absolute;left:2px;content:'•';font-size:17px;color:#77839b}.doc-list.ordered:before{content:attr(data-list-marker);font-size:13px;top:8px}
.break-handle{display:flex;align-items:center;justify-content:center;border:0;background:none;color:#9cacc7;cursor:grab;border-radius:5px;padding:3px;width:23px}.slide-break-node>.doc-tool{opacity:0;width:23px;min-width:23px;padding:3px}.slide-break-node:hover>.doc-tool,.slide-break-node:focus-within>.doc-tool{opacity:1}.document-node.drop-before:before,.document-node.drop-after:after{content:'';position:absolute;left:0;right:0;height:3px;border-radius:2px;background:#6384c2;z-index:15;pointer-events:none}.document-node.drop-before:before{top:-3px}.document-node.drop-after:after{bottom:-3px}.node-dragging{opacity:.35}.document-error{max-width:850px;margin:14px auto;color:#9a302f;font-size:12px;line-height:1.5}
.block-menu{position:fixed;z-index:90;background:#fff;border:1px solid #e6e9ef;border-radius:10px;box-shadow:0 8px 34px #26344c1e;padding:5px;width:242px;max-height:365px;overflow-y:auto}.block-menu>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 12px;min-height:33px;color:#424956;border:0;border-radius:5px;background:none;font-size:12px}.block-menu>button:hover{background:#f2f4f8;color:#4460ac}.table-node{padding:10px 0 7px}.table-actions{display:flex;gap:4px;opacity:0;margin-top:5px}.table-node:hover .table-actions,.table-node:focus-within .table-actions{opacity:1}.table-actions .doc-tool{font-size:10px;height:25px;min-width:0;padding:4px 7px}
@media(max-width:850px){.node-gutter{padding-right:1px}.document-toolbar .toolbar-separator{margin:0 2px}}
@media(max-width:620px){.node-gutter{width:22px;flex-direction:column;top:0;opacity:.6}.slide-break-node>.doc-tool{opacity:.6}.table-actions{opacity:.8;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.node-gutter{transition:none}}

/* Empty Word paragraphs are retained in the model, not presented as giant prompts. */
.document-flow .is-empty:not(:focus-within) .doc-editable{font-size:14px;line-height:12px;min-height:12px;height:12px;padding:0}.document-flow .is-empty .node-gutter{top:-7px}.document-flow .is-empty:focus-within{min-height:30px}
