/* Shared workspace standard: one quiet white ribbon follows the active editor. */
html body #app .project-document .sch-rich-editor{display:block!important;position:relative!important;grid-template-columns:none!important;gap:0!important;padding:0!important}
html body #app .sermon-document .document-content{padding-left:clamp(24px,4vw,70px)!important}
html body.sch-focused #app .sermon-document .document-content{padding-left:28px!important}
html body .compact-writing-ribbon,html body #app .project-document .sch-rich-editor>.compact-writing-ribbon,html body #app .project-document .project-overview-notes .sch-rich-editor>.compact-writing-ribbon{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;min-height:39px!important;height:auto!important;padding:5px 8px!important;margin:0 0 10px!important;border:0!important;border-bottom:1px solid #e5e6e3!important;border-radius:0!important;background:#fff!important;color:#36424b!important;box-shadow:none!important;opacity:1!important;box-sizing:border-box!important;z-index:3;
}
html body #app .project-document .compact-shared-ribbon{position:sticky!important;top:0!important;z-index:45;margin-bottom:24px!important}
html body .compact-writing-ribbon .compact-ribbon-group{display:inline-flex!important;align-items:center!important;gap:2px!important;flex:none;padding-right:8px;border-right:1px solid #e7e8e5}
html body .compact-writing-ribbon button,html body #app .project-document .compact-writing-ribbon button,html body .compact-writing-ribbon summary{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;float:none!important;min-width:28px!important;width:28px!important;max-width:none!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:3px!important;box-shadow:none!important;background:transparent!important;color:#465059!important;font:400 13px/1 Inter,sans-serif!important;cursor:pointer;opacity:1!important;flex:none;
}
html body .compact-writing-ribbon button:hover,html body .compact-writing-ribbon summary:hover,html body .compact-writing-ribbon button[aria-pressed="true"]{background:#f0f1ee!important;color:#172b39!important}
html body .compact-writing-ribbon button:disabled,html body .compact-writing-ribbon select:disabled{opacity:.35!important;cursor:default}
html body .compact-writing-ribbon :is(button,select,summary):focus-visible{outline:2px solid #c2a365!important;outline-offset:2px}
html body .compact-writing-ribbon .compact-ribbon-size-select{appearance:auto!important;width:65px!important;min-height:28px!important;height:28px!important;padding:2px 3px!important;margin:0!important;border:0!important;background:#fff!important;color:#465059!important;font:400 12px Inter,sans-serif!important;box-shadow:none!important}
.compact-ribbon-more{position:relative;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body .compact-writing-ribbon summary{list-style:none!important;font-size:20px!important}.compact-ribbon-more summary::-webkit-details-marker{display:none}
.compact-ribbon-menu{position:absolute;top:34px;left:0;min-width:155px;padding:5px;background:#fff;border:1px solid #e5e6e3;box-shadow:0 5px 14px #00000010;z-index:50}
html body .compact-writing-ribbon .compact-ribbon-menu button{display:flex!important;justify-content:flex-start!important;width:100%!important;padding:7px 10px!important;font-size:12px!important}
.compact-ribbon-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body #app .project-document .sch-rich-editor>.compact-ribbon-suppressed,html body #app .project-document .project-overview-notes .sch-rich-editor>.compact-ribbon-suppressed,html body .compact-ribbon-suppressed{display:none!important}
html body #app .outline-line>.outline-add,html body #app .outline-line>.outline-drag{visibility:visible;pointer-events:auto;z-index:2}
.outline-gutter-hit{position:absolute;left:-51px;top:0;bottom:0;width:51px;pointer-events:auto}
html body #app .outline-view-tools button{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;color:#65717b!important;min-width:0!important;font-size:11px!important;padding:4px 6px!important}
html body #app .outline-view-tools button:hover{color:#203047!important;text-decoration:underline;text-underline-offset:3px}
.writing-inline-argument{padding:14px 0 24px;border-bottom:1px solid #e7e8e5}.writing-argument-heading{display:flex;gap:8px;align-items:baseline}.writing-argument-title{flex:1;font:400 21px/1.5 'EB Garamond',Georgia,serif;min-height:32px;outline:none}.writing-argument-body{margin-left:36px}.writing-argument-body section{margin:15px 0}.writing-argument-body h2{font:400 12px/1.5 Inter,sans-serif!important;color:#7b858b;margin:0 0 4px!important}.writing-argument-field{min-height:45px;padding:3px 0;outline:none;font-size:var(--sch-writing-font-size,15px);line-height:1.65}.writing-arguments [contenteditable]:empty:before{content:attr(data-placeholder);color:#a1a6a8;pointer-events:none}
@media(max-width:650px){html body #app .sermon-document .document-content,html body.sch-focused #app .sermon-document .document-content{padding-left:14px!important}html body .compact-writing-ribbon{gap:3px!important;padding:4px!important}html body .compact-writing-ribbon .compact-ribbon-group{padding-right:3px}.compact-ribbon-menu{left:auto;right:0}}
/* The compact component owns its menu dimensions, independently of legacy palettes. */
html body .compact-writing-ribbon .compact-ribbon-more{display:block!important;position:relative!important;flex:none!important;width:28px!important;min-width:28px!important;margin:0!important;padding:0!important}
html body .compact-writing-ribbon .compact-ribbon-more[open]>.compact-ribbon-menu{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;position:absolute!important;top:34px!important;left:0!important;width:180px!important;min-width:180px!important;padding:5px!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #e5e6e3!important;border-radius:5px!important;max-height:60vh;overflow-y:auto;z-index:60}
html body .compact-writing-ribbon .compact-ribbon-more:not([open])>.compact-ribbon-menu{display:none!important}
html body .compact-writing-ribbon .compact-ribbon-menu button,html body #app .project-document .compact-writing-ribbon .compact-ribbon-menu button{display:flex!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:32px!important;padding:7px 10px!important;font:400 12px/1.4 Inter,sans-serif!important;white-space:normal!important;text-align:left!important;margin:0!important}
html body .sch-rich-editor:has(>.compact-writing-ribbon){overflow:visible!important}
html body .compact-writing-ribbon .compact-outline-export,html body #app .project-document .compact-writing-ribbon .compact-outline-export{margin-left:auto!important;padding:3px 8px!important;width:auto!important;min-width:108px!important;font-size:11px!important;white-space:nowrap!important}
html body [contenteditable="true"] blockquote,html body .writing-preview-notes blockquote,html body .research-note-card-content blockquote{border:0!important;border-inline-start:3px solid #b9c1c5!important;margin:12px 0!important;padding:2px 0 2px 14px!important;color:inherit;background:transparent!important;border-radius:0!important}
.writing-preview-notes{font:300 12px/1.6 Inter,sans-serif;color:#6b7780;padding:4px 0 12px;overflow-wrap:anywhere}.writing-preview-notes p{margin:0 0 5px}
html body .side{transition:width 240ms cubic-bezier(.2,.7,.2,1),box-shadow 240ms ease!important}
html body .side .nav-label{display:block!important;flex:none;max-width:0;overflow:hidden;opacity:0;transform:translateX(-5px);white-space:nowrap;transition:max-width 240ms cubic-bezier(.2,.7,.2,1),opacity 180ms ease,transform 240ms ease!important}
html body .side.is-expanded .nav-label{max-width:180px;opacity:1;transform:translateX(0)}
html body .sidebar-expand{position:relative}html body .sidebar-expand .nav-label{position:absolute;left:12px;top:0;height:44px;line-height:44px;max-width:0}
html body .side.is-expanded .sidebar-expand .nav-label{max-width:205px}
html body .side .sidebar-monogram{display:block!important;opacity:1;transition:opacity 160ms ease!important}html body .side.is-expanded .sidebar-monogram{opacity:0}
/* Section navigation stays available in focused writing. */
html body.sch-focused #app .document-tabs{display:flex!important;overflow-x:auto;flex-wrap:nowrap;min-height:40px}
html body.sch-focused #app .document-sections{display:block!important}
@media(max-width:600px){html body .compact-writing-ribbon,html body #app .project-document .sch-rich-editor>.compact-writing-ribbon{flex-wrap:wrap!important;row-gap:4px!important}html body .compact-writing-ribbon .compact-ribbon-more[open]>.compact-ribbon-menu{left:auto!important;right:0!important}}
@media(prefers-reduced-motion:reduce){html body .side,html body .side .nav-label,html body .side .sidebar-monogram{transition:none!important}}
