.cms-toolbar {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 40px);
  padding: 12px 14px;
  border: 1px solid #d5e0e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(31 42 48 / 18%);
  color: #1f2a30;
  font: 500 13px/1.4 system-ui, sans-serif;
}

.cms-toolbar-brand {
  color: #0f6f68;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.cms-toolbar.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.cms-toolbar-status {
  max-width: 220px;
}

.cms-format-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cms-toolbar button,
.cms-admin-card button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #0b3c49;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cms-toolbar button:disabled {
  opacity: .6;
  cursor: wait;
}

.cms-format-tools button {
  min-width: 34px;
  padding: 8px 10px;
  background: #e8eff2;
  color: #0b3c49;
}

.cms-format-tools button:hover {
  background: #d6e6ea;
}

.cms-toolbar u {
  text-decoration: underline;
}

.cms-toolbar s {
  text-decoration: line-through;
}

.cms-editing [data-cms-field] {
  outline: 2px dashed #1b958b;
  outline-offset: 4px;
  cursor: text;
}

.cms-editing [data-cms-field]:focus {
  outline-style: solid;
  background-color: rgb(127 214 205 / 12%);
}

.cms-admin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: #e8eff2;
  color: #1f2a30;
  font: 15px/1.6 system-ui, sans-serif;
}

.cms-admin-card {
  width: min(100%, 420px);
  box-sizing: border-box;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(31 42 48 / 12%);
}

.cms-admin-brand,
.cms-admin-eyebrow {
  color: #0f6f68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.cms-admin-eyebrow {
  margin: 32px 0 8px;
}

.cms-admin-card h1 {
  margin: 0;
  font-size: 30px;
}

.cms-admin-card label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 700;
}

.cms-admin-card input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b9c8ce;
  border-radius: 10px;
  font: inherit;
}

.cms-admin-card button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
}

.cms-admin-back {
  display: inline-block;
  margin-top: 24px;
  color: #0f6f68;
}

.cms-admin-message {
  padding: 12px;
  border-radius: 10px;
}

.cms-admin-message.is-error {
  background: #fff0f0;
  color: #9b2c2c;
}

.cms-admin-message.is-success {
  background: #e8f7f2;
  color: #0f6f68;
}

@media (max-width: 600px) {
  .cms-toolbar {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    font-size: 12px;
  }

  .cms-toolbar-status {
    flex: 1;
    text-align: center;
  }

  .cms-format-tools {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
  }
}
