/* A document workspace with controls outside the scrolling sheets. */
.document-editor-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.document-editor-title h3{margin:0 0 4px}.document-editor-title small{color:var(--muted)}
.rich-wrap[data-document-tools] .office-toolbar{border-radius:10px 10px 0 0;background:var(--surface);gap:8px;padding:12px}.rich-wrap[data-document-tools] .office-toolbar button[aria-pressed=true]{background:#d6e5ff;color:#164fa5;box-shadow:inset 0 0 0 1px #a8c5ef}.document-variables{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 12px;border:1px solid var(--border);border-top:0;background:var(--surface);border-radius:0 0 10px 10px;font-size:11px}.document-variables button{border:1px solid var(--border);border-radius:5px;background:transparent;color:var(--ink);padding:5px 9px;cursor:pointer}.document-variables button:hover{background:#1559e81a}
.rich-wrap[data-document-tools] .paper-scroll{background:#64758a26;max-height:66vh;overflow:auto;padding:16px;scrollbar-gutter:stable;border:1px solid var(--border);border-radius:8px}.rich-wrap[data-document-tools] .ruler-help{margin:0 0 10px}.document-editor-status{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 2px;font-size:11px;color:var(--muted)}
#editor.document-editor-expanded{width:calc(100vw - 32px)!important;max-width:none!important;max-height:calc(100vh - 24px)!important;padding:18px}#editor.document-editor-expanded #fields> :not(.rich-wrap){display:none!important}#editor.document-editor-expanded .rich-wrap{margin-top:0;border:0;padding:0}#editor.document-editor-expanded .rich-wrap .form-grid,#editor.document-editor-expanded .rich-wrap>.field-help{display:none}#editor.document-editor-expanded .paper-scroll{max-height:calc(100vh - 330px);min-height:240px}#editor.document-editor-expanded .modal-head{margin-bottom:8px}
@media(max-width:720px){.document-editor-title{align-items:start}.document-editor-title button{padding:8px;font-size:11px}.document-editor-status span:last-child{display:none}#editor.document-editor-expanded{width:calc(100vw - 12px)!important;padding:10px}.rich-wrap[data-document-tools] .paper-scroll{padding:6px}}

.rich-wrap[data-document-tools] .paper-workspace{margin-left:auto;margin-right:auto}

.office-toolbar label[hidden]{display:none!important}
