.diary-entry-button {
  width: 100%;
  border: 0;
  text-align: left;
  position: relative;
  padding-right: 72px;
}

.diary-entry-button b {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hot);
  font-size: 13px;
}

.diary-entry-actions {
  display: grid;
  gap: 10px;
}

.delete-entry {
  border: 2px solid #f1b3c8;
  border-radius: 16px;
  background: #fff;
  color: #a22d61;
  padding: 13px 18px;
  font-weight: 850;
}

.diary-entry-button.important { border: 2px solid #f2b5cf; background: linear-gradient(135deg,#fff,#fff0f6); }
.diary-entry-button.important small { color: #b21c62; }
.saved-diary-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.saved-diary-tools button { border: 1px solid #efc5d7; border-radius: 14px; background: #fff; color: #34416b; padding: 11px 8px; font-weight: 800; }
.saved-diary-tools button:first-child.selected { background: #ffdbea; color: #a31356; }
.saved-diary-tools button:last-child { grid-column: 1 / -1; background: #fff1f6; color: #9e1858; }
.message-assist { margin: 10px 0 12px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg,#fff7fa,#f2edff); box-shadow: var(--shadow); }
.message-assist > small { display: block; margin: 0 2px 8px; color: #786987; font-weight: 800; }
.message-assist > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.message-assist > div button { border: 1px solid #efc8d9; border-radius: 12px; background: #fff; padding: 9px 7px; color: #34416b; font-size: 12px; font-weight: 800; text-align: left; }
.message-assist > p { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 2px 0; color: #796d89; font-size: 11px; }
.message-assist > p button { border: 0; background: transparent; color: #ac1c61; font-weight: 800; }
.diary-entry-kind-edit { display: block; margin: 12px 0; padding: 12px 14px; border-radius: 16px; background: #fff4fa; color: var(--ink); font-weight: 800; }
.diary-entry-kind-edit span { display: block; margin-bottom: 7px; font-size: 13px; color: #77546a; }
.diary-entry-kind-edit select { width: 100%; border: 2px solid #efbfd8; border-radius: 13px; background: #fff; padding: 11px; font: inherit; color: var(--ink); }
.continue-diary-entry { width: 100%; margin: 0 0 12px; border: 2px solid #efbfd8; border-radius: 15px; background: #fff5fa; color: var(--hot); padding: 12px; font-weight: 800; }
.diary-entry-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.diary-entry-details label { display: grid; gap: 6px; color: #77546a; font-size: 13px; font-weight: 800; }
.diary-entry-details input { min-width: 0; border: 2px solid #efbfd8; border-radius: 13px; background: #fff; padding: 11px; color: var(--ink); font: inherit; }
.diary-entry-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.diary-entry-navigation button { border: 0; border-radius: 14px; background: #f2ebff; color: var(--ink); padding: 11px 7px; font-weight: 800; }
.diary-entry-navigation button:disabled { opacity: .4; }
.diary-entry-button strong { display: block; margin: 7px 0 3px; color: var(--ink); font-size: 16px; }
@media (max-width: 390px) { .diary-entry-details { grid-template-columns: 1fr; } }
