/* Import Cousine font */
@import url('https://fonts.googleapis.com/css2?family=Cousine:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Global styles */
* {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Cousine', monospace;
  font-size: 16px;
  line-height: 1.6;
}

/* Custom scrollbar with mauve accent */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(166, 136, 241, 0.3);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(166, 136, 241, 0.5);
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(166, 136, 241, 0.4);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(166, 136, 241, 0.6);
}

/* Focus styles for textarea */
textarea:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove any browser-specific focus styles */
textarea:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure no focus ring on any browser */
textarea {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Modern, elegant improvements */
body {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: background-color 0.4s ease, color 0.2s ease;
}

.dark body {
  background-color: #2b2b2b;
}

/* Enhanced navigation bar */
nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.dark nav {
  background: rgba(15, 23, 42, 0.85) !important;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

/* Elegant writing area */
#main-textarea {
  background: transparent !important;
  border-radius: 0;
  transition: background-color 0.3s ease;
  font-size: 18px;
  line-height: 1.8;
}

.dark #main-textarea {
  background: transparent !important;
}

/* Keep focus clean without tint */
#main-textarea:focus {
  background: transparent !important;
}

.dark #main-textarea:focus {
  background: transparent !important;
}

/* Slightly lighter mauve in dark mode for legibility */
.dark .text-mauve-600 {
  color: #c4b2f7 !important;
}
.dark .hover\:text-mauve-600:hover {
  color: #c4b2f7 !important;
}
.dark .bg-mauve-600 {
  background-color: #a688f1 !important;
}
.dark .hover\:bg-mauve-700:hover {
  background-color: #b79cf5 !important;
}
.dark .border-mauve-600 {
  border-color: #a688f1 !important;
}

/* Smooth transitions for all interactive elements */
button,
select,
input {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle hover effects - elegant and minimal */
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 136, 241, 0.15);
}

.dark button:hover {
  box-shadow: 0 4px 12px rgba(166, 136, 241, 0.25);
}

/* Modern button styling */
button {
  border-radius: 8px;
  font-weight: 500;
}

/* Elegant active states */
button:active {
  transform: translateY(0px);
  transition: all 0.1s ease;
}

/* Navigation bar specific styling */
nav {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', sans-serif !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav button,
nav div {
  font-family: inherit !important;
}

/* Word count styling */
#word-count {
  font-family: inherit !important;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.025em;
}

/* Enhanced button states in navbar */
nav button {
  position: relative;
  overflow: hidden;
}

/* Dropdown menu improvements with mauve accent */
.dropdown-shadow {
  box-shadow: 0 10px 25px -3px rgba(166, 136, 241, 0.1),
    0 4px 6px -2px rgba(166, 136, 241, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', sans-serif !important;
  border: 1px solid rgba(166, 136, 241, 0.1);
}

.dark .dropdown-shadow {
  box-shadow: 0 10px 25px -3px rgba(166, 136, 241, 0.2),
    0 4px 6px -2px rgba(166, 136, 241, 0.1);
  border: 1px solid rgba(166, 136, 241, 0.2);
}

/* Ensure dropdown content uses sans-serif */
#page-dropdown,
#more-options {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', sans-serif !important;
}

#page-dropdown button,
#more-options button {
  font-family: inherit !important;
}

/* Consistent spacing */
.dropdown-item {
  padding: 0.75rem 1rem;
  margin: 0.125rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  #main-textarea {
    padding: 2rem 1.5rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #main-textarea {
    padding: 3rem 4rem !important;
  }
}

@media (min-width: 1025px) {
  #main-textarea {
    padding: 4rem 6rem !important;
  }
}

/* Enhanced dropdown and modal styling */
.dropdown-shadow {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .dropdown-shadow {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Backdrop blur support */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Dropdown animations */
.dropdown-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.dropdown-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-exit {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Button hover effects */
button {
  position: relative;
  /* Modal styles with elegant backdrop */
  .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
  }

  /* Elegant focus states */
  input:focus,
  select:focus {
    outline: none;
    border-color: rgba(166, 136, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(166, 136, 241, 0.1);
  }

  /* Print styles */
  @media print {
    body {
      background: white !important;
      color: black !important;
    }

    nav {
      display: none !important;
    }

    main {
      padding-top: 0 !important;
    }

    .no-print {
      display: none !important;
    }
  }

  /* Mobile responsiveness */
  @media (max-width: 768px) {
    nav .max-w-7xl {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    main .max-w-4xl {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    #page-dropdown {
      width: calc(100vw - 2rem);
      left: 1rem;
      right: 1rem;
    }

    .flex.items-center.gap-4 {
      gap: 0.5rem;
    }

    .flex.items-center.gap-4 button span {
      display: none;
    }
  }

  /* Dark mode specific adjustments */
  .dark {
    color-scheme: dark;
  }

  /* Smooth theme transitions */
  html {
    transition: background-color 0.3s ease;
  }

  /* Custom selection colors */
  ::selection {
    background-color: rgba(59, 130, 246, 0.3);
  }

  .dark ::selection {
    background-color: rgba(59, 130, 246, 0.4);
  }

  /* Loading states */
  .loading {
    opacity: 0.6;
    pointer-events: none;
  }

  .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Fade in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    animation: fadeIn 0.3s ease-out;
  }

  /* Enhanced focus states */
  button:focus-visible,
  textarea:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
  }

  /* Improved button states */
  button:active {
    transform: translateY(1px);
  }

  /* Tooltip styles */
  .tooltip {
    position: relative;
  }

  .tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

.tooltip:hover::after {
    opacity: 1;
  }
}

.editor-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.editor-page {
  --attachment-strip-collapsed-height: calc(48px + env(safe-area-inset-bottom, 0px));
  --attachment-strip-shell-width: min(1200px, calc(100vw - 1.5rem));
  --attachment-strip-body-max-height: 132px;
}

.editor-page main {
  padding-bottom: var(--attachment-strip-collapsed-height);
}

.attachment-strip {
  --attachment-strip-height: var(--attachment-strip-collapsed-height);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.attachment-strip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--attachment-strip-shell-width);
  height: var(--attachment-strip-height);
  transform: translateX(-50%);
  border: 1px solid rgba(23, 28, 48, 0.12);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  box-shadow: 0 -12px 30px rgba(110, 78, 218, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: height 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dark .attachment-strip::before {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(10, 15, 28, 0.76));
  box-shadow: 0 -16px 34px rgba(3, 4, 10, 0.36);
}

.attachment-strip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: calc(var(--attachment-strip-shell-width) - 1rem);
  height: calc(var(--attachment-strip-height) - 0.7rem);
  transform: translateX(-50%);
  border: 1px dashed transparent;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  pointer-events: none;
  transition: border-color 180ms ease, opacity 180ms ease;
  opacity: 0;
}

.attachment-strip.is-expanded::before {
  border-color: rgba(110, 78, 218, 0.22);
}

.dark .attachment-strip.is-expanded::before {
  border-color: rgba(164, 139, 255, 0.28);
}

.attachment-strip.is-dragover::before {
  border-color: rgba(110, 78, 218, 0.46);
  box-shadow: 0 0 0 1px rgba(110, 78, 218, 0.18), 0 -18px 38px rgba(110, 78, 218, 0.12);
}

.dark .attachment-strip.is-dragover::before {
  border-color: rgba(164, 139, 255, 0.52);
  box-shadow: 0 0 0 1px rgba(164, 139, 255, 0.24), 0 -18px 40px rgba(3, 4, 10, 0.42);
}

.attachment-strip.is-dragover::after {
  opacity: 1;
  border-color: rgba(110, 78, 218, 0.36);
  animation: attachmentPulse 1.4s ease-in-out infinite;
}

.dark .attachment-strip.is-dragover::after {
  border-color: rgba(164, 139, 255, 0.42);
}

.attachment-strip.is-disabled {
  opacity: 0.82;
}

.attachment-strip-handle,
.attachment-strip-body {
  position: relative;
  width: var(--attachment-strip-shell-width);
  pointer-events: auto;
}

.attachment-strip-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.72rem 1rem calc(0.72rem + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: transparent;
  color: #161928;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: none;
}

.dark .attachment-strip-handle {
  color: #f6f4ff;
}

.attachment-strip-handle:hover,
.attachment-strip-handle:focus-visible {
  transform: none;
  box-shadow: none;
}

.attachment-strip-handle:focus-visible,
.attachment-add-btn:focus-visible,
.attachment-action:focus-visible {
  outline: 2px solid rgba(110, 78, 218, 0.4);
  outline-offset: -2px;
}

.dark .attachment-strip-handle:focus-visible,
.dark .attachment-add-btn:focus-visible,
.dark .attachment-action:focus-visible {
  outline-color: rgba(164, 139, 255, 0.45);
}

.attachment-strip-label-group {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.attachment-strip-title {
  flex: 0 0 auto;
}

.attachment-strip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  min-height: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(110, 78, 218, 0.12);
  color: #6e4eda;
  font-size: 0.72rem;
  font-weight: 700;
}

.dark .attachment-strip-count {
  background: rgba(164, 139, 255, 0.16);
  color: #cabdff;
}

.attachment-strip-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(22, 25, 40, 0.66);
  transition: transform 180ms ease, color 180ms ease;
}

.dark .attachment-strip-caret {
  color: rgba(246, 244, 255, 0.68);
}

.attachment-strip-caret svg {
  width: 100%;
  height: 100%;
}

.attachment-strip.is-expanded .attachment-strip-caret {
  transform: rotate(180deg);
  color: #6e4eda;
}

.dark .attachment-strip.is-expanded .attachment-strip-caret {
  color: #a48bff;
}

.attachment-strip-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: 0;
  padding: 0 1rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1), padding 180ms ease;
}

.attachment-strip.is-expanded .attachment-strip-body {
  max-height: var(--attachment-strip-body-max-height);
  padding: 0.9rem 1rem 0.8rem;
  opacity: 1;
  transform: translateY(0);
}

.attachment-strip-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  min-height: 88px;
}

.attachment-grid {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.1rem 0 0.3rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.attachment-card {
  position: relative;
  display: flex;
  flex: 0 0 64px;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 64px;
  max-width: 64px;
  scroll-snap-align: start;
}

.attachment-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(23, 28, 48, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.dark .attachment-card-media {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.attachment-card img,
.attachment-image-fallback {
  display: block;
  width: 100%;
  height: 64px;
}

.attachment-card img {
  object-fit: cover;
  background: rgba(110, 78, 218, 0.08);
}

.dark .attachment-card img {
  background: rgba(164, 139, 255, 0.08);
}

.attachment-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: linear-gradient(135deg, rgba(110, 78, 218, 0.08), rgba(110, 78, 218, 0.02));
  color: rgba(22, 25, 40, 0.66);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.58rem;
  line-height: 1.3;
  text-align: center;
}

.dark .attachment-image-fallback {
  background: linear-gradient(135deg, rgba(164, 139, 255, 0.1), rgba(164, 139, 255, 0.03));
  color: rgba(246, 244, 255, 0.64);
}

.attachment-card-actions {
  position: absolute;
  inset: auto 0.28rem 0.28rem 0.28rem;
  display: flex;
  justify-content: center;
  gap: 0.22rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.attachment-card:hover .attachment-card-actions,
.attachment-card:focus-within .attachment-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.attachment-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  color: #161928;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.dark .attachment-action {
  background: rgba(10, 15, 28, 0.88);
  color: #f6f4ff;
  box-shadow: 0 12px 24px rgba(3, 4, 10, 0.3);
}

.attachment-action svg {
  width: 0.74rem;
  height: 0.74rem;
}

.attachment-action:hover {
  transform: none;
  background: rgba(110, 78, 218, 0.12);
  color: #6e4eda;
}

.dark .attachment-action:hover {
  background: rgba(164, 139, 255, 0.16);
  color: #cabdff;
}

.attachment-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.attachment-name,
.attachment-size {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-name {
  color: #161928;
  font-size: 0.63rem;
  font-weight: 600;
  line-height: 1.2;
}

.dark .attachment-name {
  color: #f6f4ff;
}

.attachment-size {
  color: rgba(22, 25, 40, 0.6);
  font-size: 0.58rem;
  line-height: 1.2;
}

.dark .attachment-size {
  color: rgba(246, 244, 255, 0.58);
}

.attachment-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 88px;
  padding: 0.85rem;
  border: 1px dashed rgba(110, 78, 218, 0.2);
  border-radius: 16px;
  background: rgba(110, 78, 218, 0.04);
  color: rgba(22, 25, 40, 0.68);
  text-align: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
}

.dark .attachment-empty-state {
  border-color: rgba(164, 139, 255, 0.2);
  background: rgba(164, 139, 255, 0.05);
  color: rgba(246, 244, 255, 0.66);
}

.attachment-add-btn {
  flex: 0 0 auto;
  align-self: flex-start;
  min-width: 104px;
  min-height: 44px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(110, 78, 218, 0.18);
  border-radius: 13px;
  background: rgba(110, 78, 218, 0.08);
  color: #6e4eda;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.dark .attachment-add-btn {
  border-color: rgba(164, 139, 255, 0.22);
  background: rgba(164, 139, 255, 0.1);
  color: #cabdff;
}

.attachment-add-btn:hover {
  box-shadow: none;
}

.attachment-hint {
  color: rgba(22, 25, 40, 0.62);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.76rem;
  line-height: 1.4;
}

.dark .attachment-hint {
  color: rgba(246, 244, 255, 0.6);
}

.attachment-strip.is-disabled .attachment-add-btn,
.attachment-strip.is-disabled .attachment-strip-handle {
  cursor: not-allowed;
}

.attachment-strip.is-disabled .attachment-add-btn {
  opacity: 0.6;
}

@keyframes attachmentPulse {
  0%,
  100% {
    opacity: 0.75;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .editor-page {
    --attachment-strip-shell-width: calc(100vw - 0.75rem);
    --attachment-strip-body-max-height: 164px;
  }

  .attachment-strip-handle,
  .attachment-strip.is-expanded .attachment-strip-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .attachment-strip-row {
    flex-direction: column;
    align-items: stretch;
    min-height: 116px;
  }

  .attachment-add-btn {
    align-self: flex-start;
  }

  .attachment-grid {
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
  }

  .attachment-card {
    flex-basis: 72px;
    min-width: 72px;
    max-width: 72px;
  }

  .attachment-card img,
  .attachment-image-fallback {
    height: 72px;
  }
}

@media (max-width: 768px) {
  .editor-page #main-textarea {
    padding-bottom: calc(2rem + var(--attachment-strip-collapsed-height));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .editor-page #main-textarea {
    padding-bottom: calc(3rem + var(--attachment-strip-collapsed-height));
  }
}

@media (min-width: 1025px) {
  .editor-page #main-textarea {
    padding-bottom: calc(4rem + var(--attachment-strip-collapsed-height));
  }
}

@media (pointer: coarse) {
  .attachment-card-actions {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .attachment-strip::before,
  .attachment-strip::after,
  .attachment-strip-body,
  .attachment-strip-caret,
  .attachment-card-actions,
  .attachment-action,
  .attachment-add-btn,
  .attachment-hint {
    transition: none;
    animation: none;
  }
}
