/* Die Bearbeitungsleiste liegt außerhalb des Konto-Panels; Inhalte bleiben an ihrem echten Ort. */
.editor-toolbar { position: fixed; z-index: 15; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px 22px; width: max-content; max-width: calc(100% - 32px); max-height: 35svh; overflow: auto; margin: 0; padding: 12px 16px; border: 1px solid #ad936066; border-radius: 14px; background: #141414f5; box-shadow: 0 8px 40px #000a; }
.editor-toolbar form { flex: 0 1 auto; min-width: 0; }
.editor-context { display: grid; gap: 3px; font-size: 13px; }
.editor-context span { color: #c9c5bb; }
.editor-context strong { color: var(--gold); font-size: 16px; }
.editor-actions,.editor-text-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.editor-toolbar .panel-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: 600 14px Outfit,sans-serif; text-decoration: none; }
.editor-toolbar[hidden],.editor-toolbar [hidden],#editor-login-form[hidden],#drawer-account[hidden],#drawer-description[hidden],.rich-toolbar[hidden],.page-welcome[hidden],#team-members[hidden],#local-team-editor[hidden],#remote-team-editor[hidden],.schedule-entry-edit[hidden] { display: none !important; }
body:is([data-editor-role],[data-preview-role]) main { padding-bottom: calc(var(--editor-bar-space,100px) + 32px); }
html:has(body:is([data-editor-role],[data-preview-role])) { scroll-padding-bottom: calc(var(--editor-bar-space,100px) + 40px); }
body:is([data-editor-role],[data-preview-role]) :is(.editor-inline,.team-local-editor,.schedule-edit-form) { scroll-margin-bottom: calc(var(--editor-bar-space,100px) + 40px); }
#page-content-message { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #d5d1c8; }
#page-content-message:empty { display: none; }
.editor-draft-index { position:relative; font-size:14px; }
.editor-draft-index summary { display:flex; align-items:center; min-height:44px; padding:8px 10px; color:var(--gold); cursor:pointer; border:1px solid #ffffff28; border-radius:8px; }
.editor-draft-list { display:grid; gap:4px; padding-top:8px; max-width:320px; }
.editor-draft-list button { min-height:44px; padding:8px 10px; text-align:left; color:var(--text); background:#202020; border:1px solid #ffffff28; border-radius:7px; font:inherit; cursor:pointer; overflow-wrap:anywhere; }
.editor-draft-list button:disabled { opacity:.6; cursor:wait; }
.editor-announcement { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
body[data-editor-mode="preview"] main { padding-bottom:0; }
body[data-editor-mode="preview"] #charts-admin-link { visibility:hidden; pointer-events:none; }
.hero-copy h1,.page-view h2 { overflow-wrap: anywhere; }
.hero-copy > p,.team-heading > p,.wishbox-heading > p,.schedule-head p,.history-head > p,.charts-heading > p { white-space: pre-line; overflow-wrap: anywhere; }
.editor-inline { outline: 1px dashed #c8a864; outline-offset: 7px; border-radius: 2px; cursor: text; }
.editor-inline:focus { outline: 2px solid #e6c77b; outline-offset: 7px; }
.editor-inline:empty::before { content: attr(data-placeholder); color: #aaa8a1; }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.rich-format { min-height: 44px; padding: 7px 10px; border: 1px solid #ffffff28; border-radius: 7px; color: var(--gold); background: #171717; font: inherit; font-size: 14px; cursor: pointer; }
.rich-editor { min-height: 110px; max-height: 320px; overflow: auto; padding: 12px; border: 1px solid #ffffff28; border-radius: 8px; background: #09090a; color: var(--text); line-height: 1.6; overflow-wrap: anywhere; }
.rich-editor:focus { outline: 2px solid #c4a45d; outline-offset: 2px; }
.rich-editor[aria-disabled="true"] { opacity: .65; }
.rich-editor p { margin: 0 0 .6em; }
.rich-editor p:last-child { margin-bottom: 0; }
.rich-content { line-height: 1.7; overflow-wrap: anywhere; }
.rich-content p { white-space: pre-wrap; }
.rich-content li { margin-block: .25em; }
.rich-content strong,.rich-editor strong { font-weight: 750; }
.rich-content em,.rich-editor em { font-style: italic; }
.inline-rich { min-height: 0; max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; color: inherit; line-height: inherit; }
.inline-rich[aria-disabled="true"] { opacity: 1; }
.inline-rich.editor-inline { min-height: 80px; }
.inline-rich.editor-inline:focus { outline-offset: 7px; }
.page-welcome { padding-block: 28px; max-width: 1000px; }
.page-welcome h2 { font: 650 clamp(28px,4vw,44px)/1.2 Fraunces,Georgia,serif; }
body[data-welcome-visible="true"][data-page="start"] { display: flex; height: auto; }
body[data-welcome-visible="true"][data-page="start"] main { display: flex; flex: 1 0 auto; }
body[data-welcome-visible="true"][data-page="start"] #start { height: auto; overflow: visible; min-height: 360px; }
.workspace-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.workspace-top h3 { margin: 0; }
.team-selection > .team-local-editor { width: 100%; max-width: none; margin: 0; }
body[data-team-workspace="true"] .team-selection > .data-feedback { display: none; }
.schedule-entry-edit { display: none; }
body[data-editor-mode="edit"][data-editor-can-schedule-edit="true"] .schedule-entry-edit,
body[data-editor-mode="edit"][data-preview-role] .schedule-entry-edit { display: inline-flex; align-items: center; grid-column: 1 / -1; justify-self: end; }
.schedule-edit-form { grid-column: 1 / -1; }
.schedule-edit-form .workspace-top h3 { font-size: 22px; }
@media(max-width:640px) { .editor-toolbar { bottom: 8px; width: calc(100% - 16px); padding: 12px; gap: 10px; }.editor-toolbar form { flex-basis: 100%; }.editor-toolbar .panel-button { padding-inline: 10px; }.editor-inline { outline-offset: 4px; } }
