html[data-lunora-ui="2"] #diaryReminderEditor {
  inset: 0;
  width: auto;
  max-width: none;
  margin: 0;
  transform: none;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(41, 36, 69, .34);
  backdrop-filter: blur(4px);
}
html[data-theme="dark"] #diaryReminderEditor { background: rgba(8, 6, 15, .56); }
html[data-lunora-ui="2"] #diaryReminderEditor .diary-entry-editor-sheet {
  box-sizing: border-box;
  width: min(390px, 100%);
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px;
  clip-path: none;
  transform: none;
  background: var(--lunora-surface);
  color: var(--lunora-text);
  box-shadow: 0 12px 34px rgba(29, 23, 56, .17);
}
#diaryReminderEditor .diary-entry-editor-handle { display: none; }
#diaryReminderEditor .diary-entry-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 0 0 14px;
}
#diaryReminderEditor .diary-entry-editor-heading h2 {
  margin: 0;
  color: var(--lunora-text);
  font: 600 20px/26px Inter, sans-serif;
  text-align: start;
}
#diaryReminderEditor #diaryReminderClose {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: var(--lunora-muted);
  background: var(--lunora-field);
}
#diaryReminderEditor #diaryReminderClose::before { display: none; }
#diaryReminderEditor .diary-entry-editor-heading #diaryReminderClose { background: var(--lunora-field); }
#diaryReminderEditor #diaryReminderClose :is(.lunora-asset,svg,img) { position: static; transform: none; }
#diaryReminderEditor #diaryReminderClose svg,
#diaryReminderEditor #diaryReminderClose img { width: 18px; height: 18px; }
#diaryReminderEditor .diary-preview-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
  margin: 10px 0 0;
}
#diaryReminderEditor .diary-entry-editor-heading + .diary-preview-field,
#diaryReminderEditor .diary-reminder-schedule-fields .diary-preview-field { margin: 0; }
#diaryReminderEditor .diary-reminder-schedule-fields { gap: 8px; margin-top: 10px; }
#diaryReminderEditor .diary-preview-field > span { color: var(--lunora-muted); font: 500 13px/18px Inter, sans-serif; text-transform: none; letter-spacing: 0; }
#diaryReminderEditor :is(.diary-reminder-choice, .diary-reminder-schedule-fields--interval .diary-preview-field) {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 10px;
}
#diaryReminderEditor .diary-entry-editor-heading + .diary-preview-field > span { margin: 0; }
#diaryReminderEditor .diary-preview-field :is(input:not([type=hidden]), .lunora-temporal-trigger, .diary-reminder-choice-trigger) {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  background: var(--lunora-field);
  color: var(--lunora-text);
  font: 400 14px/20px Inter, sans-serif;
  box-shadow: none;
}
#diaryReminderEditor .diary-reminder-offset-note,
#diaryReminderEditor .diary-reminder-interval-preview {
  margin: 9px 0 0;
  color: var(--lunora-muted);
  font: 400 12px/17px Inter, sans-serif;
}
#diaryReminderEditor .diary-entry-editor-actions { gap: 8px; margin: 14px 0 0; }
#diaryReminderEditor .diary-reminder-editor-actions--edit { grid-template-columns: 1fr 1fr; }
#diaryReminderEditor .diary-entry-editor-actions > button {
  height: auto;
  min-height: 48px;
  margin: 0;
  border-radius: 12px;
  font: 600 14px/20px Inter, sans-serif;
}
#diaryReminderEditor #diaryReminderSave { border: 0; background: #7564cc; color: #fff; }
#diaryReminderEditor #diaryReminderSave:disabled { opacity: .6; }
#diaryReminderEditor :is(button, input):focus-visible { outline: 2px solid #7564cc; outline-offset: 2px; }
@media (max-width: 340px) {
  html[data-lunora-ui="2"] #diaryReminderEditor { padding: 12px; }
  html[data-lunora-ui="2"] #diaryReminderEditor .diary-entry-editor-sheet { padding: 16px; }
}
