/* Build 739: sound stays available without overpowering the emotional details. */
html body .app-shell #memoryForm .memory-sound-capture,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture {
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(12, 105, 117, 0.15) !important;
  border-radius: 17px !important;
  color: #073746 !important;
  background: linear-gradient(145deg, rgba(247, 252, 250, 0.96), rgba(235, 247, 246, 0.94)) !important;
  box-shadow: 0 8px 20px rgba(3, 48, 65, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

html body .app-shell #memoryForm .memory-sound-capture-heading,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-heading {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 9px !important;
}

html body .app-shell #memoryForm .memory-sound-capture-icon,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  color: #08776f !important;
  background: rgba(99, 207, 179, 0.16) !important;
  box-shadow: none !important;
}

html body .app-shell #memoryForm .memory-sound-capture-icon svg,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-icon svg {
  width: 17px !important;
  height: 17px !important;
}

html body .app-shell #memoryForm .memory-sound-capture-heading strong,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-heading strong {
  color: #073746 !important;
  font-size: 0.86rem !important;
}

html body .app-shell #memoryForm .memory-sound-capture-heading small,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-heading small,
html body .app-shell #memoryForm .memory-sound-capture-status,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-status,
html body .app-shell #memoryForm .memory-sound-link-field,
html body main.app-shell #memoryForm#memoryForm .memory-sound-link-field {
  color: #647f82 !important;
}

html body .app-shell #memoryForm .memory-sound-capture-actions,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

html body .app-shell #memoryForm :is(#memoryVoiceRecordButton, #memoryVoicePickButton),
html body main.app-shell #memoryForm#memoryForm :is(#memoryVoiceRecordButton, #memoryVoicePickButton) {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(10, 108, 116, 0.16) !important;
  border-radius: 13px !important;
  color: #075965 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
  font-size: 0.76rem !important;
}

html body .app-shell #memoryForm .memory-sound-capture-status,
html body main.app-shell #memoryForm#memoryForm .memory-sound-capture-status {
  grid-column: 1 / -1 !important;
  padding-left: 2px !important;
  font-size: 0.68rem !important;
}

html body .app-shell #memoryForm :is(.memory-voice-recording, .memory-voice-preview, .memory-voice-attached),
html body main.app-shell #memoryForm#memoryForm :is(.memory-voice-recording, .memory-voice-preview, .memory-voice-attached) {
  border-color: rgba(10, 108, 116, 0.14) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #073746 !important;
}

html body .app-shell #memoryForm .memory-voice-attached > span,
html body main.app-shell #memoryForm#memoryForm .memory-voice-attached > span {
  color: #075965 !important;
}

html body .app-shell #memoryForm .memory-sound-link-field input,
html body main.app-shell #memoryForm#memoryForm .memory-sound-link-field input {
  border-color: rgba(10, 108, 116, 0.14) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

/* Give the reflective section an unmistakable invitation without making it loud. */
html body .app-shell #memoryForm .memory-inside-moment-editor,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor {
  position: relative !important;
  margin-top: 7px !important;
  border-color: rgba(8, 123, 116, 0.25) !important;
  background: linear-gradient(145deg, rgba(255, 253, 246, 0.99), rgba(239, 249, 245, 0.97)) !important;
  box-shadow: 0 14px 30px rgba(3, 48, 65, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html body .app-shell #memoryForm .memory-inside-moment-editor::before,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #0b6371, #20ae83, #78d7b7);
}

html body .app-shell #memoryForm .memory-inside-moment-editor > summary,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor > summary {
  min-height: 82px !important;
  padding: 16px 17px !important;
}

html body .app-shell #memoryForm .memory-inside-moment-editor > summary > span,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor > summary > span {
  display: grid !important;
  gap: 3px !important;
  color: #073746 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.13rem !important;
  font-weight: 650 !important;
}

html body .app-shell #memoryForm .memory-inside-moment-editor > summary > span::before,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor > summary > span::before {
  content: "MAKE IT YOURS";
  color: #0b7e78;
  font-family: inherit;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

html body .app-shell #memoryForm .memory-inside-moment-editor > summary > small,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor > summary > small {
  color: #587579 !important;
  font-size: 0.74rem !important;
}

html body .app-shell #memoryForm .memory-inside-moment-editor > summary::after,
html body main.app-shell #memoryForm#memoryForm .memory-inside-moment-editor > summary::after {
  width: 34px !important;
  height: 34px !important;
  background: linear-gradient(135deg, #075965, #16a37e) !important;
  box-shadow: 0 7px 16px rgba(4, 70, 83, 0.15) !important;
}

@media (max-width: 420px) {
  html body .app-shell #memoryForm :is(#memoryVoiceRecordButton, #memoryVoicePickButton),
  html body main.app-shell #memoryForm#memoryForm :is(#memoryVoiceRecordButton, #memoryVoicePickButton) {
    font-size: 0.71rem !important;
  }
}
