.editor-login,
.editor-toolbar,
.editor-link-control,
.editor-image-control,
.editor-toast {
  font-family: Inter, Arial, sans-serif;
}

.editor-login {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 7, 10, .86);
  backdrop-filter: blur(10px);
}

.editor-login__card {
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: #f7f5f2;
  color: #06070a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}

.editor-login__label {
  margin: 0 0 14px;
  color: #3046ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.editor-login__card h2 { margin: 0 0 12px; font-size: 34px; line-height: 1; }
.editor-login__card p { margin: 0 0 22px; line-height: 1.35; }
.editor-login__card input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #a9a9ad;
  border-radius: 10px;
  background: white;
  color: #06070a;
  font: inherit;
}
.editor-login__status { min-height: 20px; margin: 10px 0 0 !important; color: #9d261f; font-size: 13px; }
.editor-login__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.editor-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 14px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}
.editor-button--primary { border-color: #3046ff; background: #3046ff; color: white; }
.editor-button:disabled { cursor: wait; opacity: .55; }

.editor-toolbar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: #06070a;
  color: white;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}
.editor-toolbar__title { font-weight: 700; }
.editor-toolbar__status { margin-right: auto; color: #b9bac1; font-size: 13px; }

.edit-mode { padding-bottom: 96px; }
.edit-mode [data-editable] {
  outline: 1px dashed rgba(255, 255, 255, .55);
  outline-offset: 4px;
  cursor: text;
}
.edit-mode .intro [data-editable],
.edit-mode .venue [data-editable],
.edit-mode .site-footer [data-editable] { outline-color: rgba(48, 70, 255, .55); }
.edit-mode [data-editable]:focus { outline: 3px solid #ff8f85; }

.editor-image-wrap { position: relative !important; }
.editor-image-control {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: #f7f5f2;
  color: #06070a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.editor-link-control {
  display: inline-flex;
  margin-left: 8px;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #f7f5f2;
  color: #06070a;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
  cursor: pointer;
}

.editor-toast {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 10001;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 12px;
  background: #f7f5f2;
  color: #06070a;
  box-shadow: 0 12px 50px rgba(0, 0, 0, .3);
}
.editor-toast--error { background: #b52e25; color: white; }

@media (max-width: 650px) {
  .editor-toolbar { flex-wrap: wrap; }
  .editor-toolbar__status { order: 3; width: 100%; }
  .editor-login__card { padding: 24px; }
}

