/* Loaded on marketing pages only. Invisible until the owner is signed in. */
.lw-edit-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: #1A2433;
  color: #F6F1E8;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
body.lw-editing .lw-edit-bar { display: flex; }
body.lw-editing { padding-bottom: 5.5rem; }
[data-edit-id] { cursor: text; }
body.lw-editing [data-edit-id] {
  outline: 1px dashed rgba(47, 93, 74, .45);
  outline-offset: 3px;
  border-radius: 2px;
}
body.lw-editing [data-edit-id]:focus {
  outline: 2px solid #2F5D4A;
  background: rgba(196, 146, 42, .12);
}
.lw-edit-bar .lw-msg { flex: 1 1 12rem; margin: 0; font-size: 0.95rem; }
.lw-edit-bar .lw-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lw-edit-bar button {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lw-edit-bar .lw-publish { background: #C45C26; color: #fff; }
.lw-edit-bar .lw-publish:disabled,
.lw-edit-bar .lw-discard:disabled { opacity: .5; cursor: not-allowed; }
.lw-edit-bar .lw-discard { background: #E6E0D4; color: #1A2433; }
