.editor-entry{position:fixed;right:16px;bottom:16px;z-index:1000}
.editor-entry a,.editor-entry button,.editor-bar button{font:700 13px Archivo,system-ui,sans-serif;color:#eaf0e8;background:#161a16;border:1px solid rgba(70,224,124,.55);border-radius:9px;padding:10px 14px;cursor:pointer}
.editor-entry a{opacity:.62}.editor-entry a:hover{opacity:1}
.editor-bar{position:fixed;inset:14px 14px auto;z-index:1001;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;background:rgba(18,21,18,.97);border:1px solid rgba(70,224,124,.7);border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.42);font-size:13px}
.editor-bar[hidden],.editor-entry[hidden]{display:none}.editor-bar div{display:flex;gap:8px}.editor-bar button:last-child{background:#46e07c;color:#0b0d0b}.editor-bar button:disabled{opacity:.6}
.is-editing [data-edit-key]{outline:1px dashed rgba(70,224,124,.65);outline-offset:4px;cursor:text;border-radius:3px}.is-editing [data-edit-key]:focus{outline:2px solid #46e07c;background:rgba(70,224,124,.08)}
.editor-toast{position:fixed;left:50%;bottom:22px;z-index:1002;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#eaf0e8;color:#0b0d0b;border-radius:10px;padding:12px 16px;font-weight:700;transition:.22s}.editor-toast.show{opacity:1;transform:translate(-50%,0)}.editor-toast.error{background:#ffdddd;color:#5e1111}
@media(max-width:600px){.editor-bar{align-items:flex-start;flex-direction:column}.editor-bar div{width:100%}.editor-bar button{flex:1}}

.primary{
  width:fit-content;
  max-width:100%;
  margin-left:0;
  margin-right:auto;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:.15em;
  text-align:left;
  font-size:16px;
  background:var(--gold);
  color:var(--ground);
  border-color:var(--gold);
  box-shadow:0 10px 28px rgba(70,224,124,.16);
}
.primary>span{display:block;width:auto;white-space:nowrap}
.primary b{color:inherit;white-space:normal}
.primary:hover{border-color:var(--gold);filter:brightness(1.08)}
@media(max-width:600px){.primary>span{white-space:normal}}
