/* Memos rapides - Whisp It
   Post-its (cartes de l accueil, agrandissement, creation) : design post-it d origine.
   Listes a cocher dans le meme style. Feuille de choix et dictee vocale aux couleurs du site. */

/* ---------------------------------------------------- */
/* SECTION MEMOS & POST-IT ACCUEIL                     */
/* ---------------------------------------------------- */
.dashboard-postits-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 4px 0 4px;
}

.postits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.postits-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
}

.postits-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.postits-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-add-postit {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.btn-add-postit:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  transform: scale(1.08);
}

.btn-add-postit:active {
  transform: scale(0.95);
}

.postits-empty-placeholder {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 14px;
  border: 1.5px dashed var(--border-card);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.02);
}

.postits-empty-placeholder:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: rgba(255, 85, 36, 0.04);
}

.postits-empty-text {
  font-size: 12.5px;
  font-weight: 600;
}

.postits-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
}

/* Grille de vrais Post-its en 2 colonnes */
.postits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
  padding: 6px 2px 2px 2px;
}

/* Shimmer loader pour Post-its */
.postit-skeleton {
  min-height: 105px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.45) 25%, rgba(226, 232, 240, 0.8) 50%, rgba(226, 232, 240, 0.45) 75%);
  background-size: 200% 100%;
  animation: shimmer-skeleton 1.5s infinite;
  box-sizing: border-box;
}

@keyframes shimmer-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Carte Post-it : Authentique, chaleureux et sans contour dur */
.postit-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 105px;
  padding: 13px 11px 11px 11px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.04), 0 0.5px 1.5px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, opacity 0.25s ease;
  user-select: none;
  box-sizing: border-box;
  cursor: pointer;
}

/* Inclinaison naturelle et organique alternée */
.postit-sticky:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.postit-sticky:nth-child(even) {
  transform: rotate(1.3deg);
}

.postit-sticky:hover,
.postit-sticky:active {
  transform: rotate(0deg) translateY(-2px) scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
  z-index: 5;
}

/* Ruban adhésif translucide dépoli en haut avec animation de décollage */
.postit-tape {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  transform-origin: top center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.postit-sticky.peeling-tape .postit-tape {
  transform: translateX(-50%) translateY(-18px) rotateX(-65deg) rotateZ(-8deg);
  opacity: 0;
}

.postit-sticky-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.postit-sticky-title {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-delete-postit {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  color: inherit;
  flex-shrink: 0;
}

.btn-delete-postit:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.1);
}

.postit-sticky-content {
  margin: 0;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  word-break: break-word;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  opacity: 0.95;
}

/* Couleurs de papier Post-it iconiques, chaleureuses et sans contour */
.postit-yellow {
  background-color: #fff176;
  color: #422006;
}

.postit-orange {
  background-color: #ffcc80;
  color: #431407;
}

.postit-green {
  background-color: #a7f3d0;
  color: #064e3b;
}

.postit-blue {
  background-color: #bae6fd;
  color: #082f49;
}

.postit-pink {
  background-color: #fbcfe8;
  color: #701a75;
}

/* Dark Mode Adaptation pour les Post-its */
body.dark-mode .postit-tape {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .postit-yellow {
  background-color: #ffd54f;
  color: #3e2723;
}

body.dark-mode .postit-orange {
  background-color: #ffb74d;
  color: #3e2723;
}

body.dark-mode .postit-green {
  background-color: #86efac;
  color: #064e3b;
}

body.dark-mode .postit-blue {
  background-color: #93c5fd;
  color: #082f49;
}

body.dark-mode .postit-pink {
  background-color: #f9a8d4;
  color: #701a75;
}

/* ---------------------------------------------------- */
/* MODAL POST-IT PLEIN ECRAN (VOL FLIP & EXPANSION 3D)  */
/* ---------------------------------------------------- */
.postit-modal-overlay {
  position: fixed;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  width: calc(100vw + 200px);
  height: calc(100vh + 200px);
  min-width: 100%;
  min-height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  box-sizing: border-box;
}

.postit-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.postit-modal-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  min-height: 220px;
  padding: 26px 20px 18px 20px;
  border-radius: 12px;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, opacity, box-shadow;
  transform-origin: center center;
}

.postit-modal-tape {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.postit-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.postit-modal-title {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  cursor: text;
  outline: none;
  border-radius: 6px;
  padding: 2px 6px;
  margin: -2px -6px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  flex: 1;
  color: inherit;
}

.postit-modal-title:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.postit-modal-title:focus {
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.15);
}

.postit-modal-title:empty::before {
  content: attr(placeholder);
  opacity: 0.45;
}

.btn-close-postit-modal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-close-postit-modal:hover {
  background: rgba(0, 0, 0, 0.16);
  transform: scale(1.08);
}

.btn-close-postit-modal:active {
  transform: scale(0.95);
}

/* Petits boutons copier / partager, meme style que le bouton fermer */
.postit-modal-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-postit-tool {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-postit-tool:hover {
  background: rgba(0, 0, 0, 0.16);
  transform: scale(1.08);
}

.btn-postit-tool:active {
  transform: scale(0.95);
}

.postit-modal-content {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 16px 0;
  flex: 1;
  cursor: text;
  outline: none;
  border-radius: 6px;
  padding: 4px 6px;
  margin-left: -6px;
  margin-right: -6px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 70px;
  color: inherit;
}

.postit-modal-content:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.postit-modal-content:focus {
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.15);
}

.postit-modal-content:empty::before {
  content: attr(placeholder);
  opacity: 0.45;
}

.postit-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 10px;
  padding-bottom: 2px;
}

.postit-modal-colors-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.06);
  padding: 3px 7px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.postit-dock-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.postit-dock-dot.dot-orange { background-color: #fed7aa; }
.postit-dock-dot.dot-yellow { background-color: #fef08a; }
.postit-dock-dot.dot-green  { background-color: #bbf7d0; }
.postit-dock-dot.dot-blue   { background-color: #bfdbfe; }
.postit-dock-dot.dot-pink   { background-color: #fbcfe8; }

.postit-dock-dot:hover {
  transform: scale(1.22);
}

.postit-dock-dot.active {
  transform: scale(1.28);
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.postit-modal-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

.postit-modal-date-text {
  font-size: 11px;
  font-weight: 700;
}

.btn-delete-postit-modal {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn-delete-postit-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* ---------------------------------------------------- */
/* FORMULAIRE DE CREATION DE POST-IT                    */
/* ---------------------------------------------------- */
.postit-color-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.postit-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  padding: 0;
}

.postit-color-swatch.swatch-yellow { background-color: #fef08a; }
.postit-color-swatch.swatch-orange { background-color: #fed7aa; }
.postit-color-swatch.swatch-green { background-color: #bbf7d0; }
.postit-color-swatch.swatch-blue { background-color: #bfdbfe; }
.postit-color-swatch.swatch-pink { background-color: #fbcfe8; }

.postit-color-swatch:hover {
  transform: scale(1.18);
}

.postit-color-swatch.active {
  transform: scale(1.24);
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.postit-create-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.postit-input-title {
  width: 100%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.postit-input-title:focus {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.35);
}

.postit-input-content {
  width: 100%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  box-sizing: border-box;
  resize: vertical;
  min-height: 80px;
  max-height: 180px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.postit-input-content:focus {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.35);
}

.postit-create-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.btn-postit-cancel {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn-postit-cancel:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.08);
}

.btn-postit-submit {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-postit-submit:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

.btn-postit-submit:active {
  transform: scale(0.97);
}

/* ---------------------------------------------------- */
/* LISTES A COCHER DANS LES POST-ITS                    */
/* ---------------------------------------------------- */
.memo-check-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Sur la carte, la liste suit directement le titre (la carte repartit l espace) */
.postit-sticky .memo-check-preview {
  flex: 1;
  justify-content: flex-start;
}

.memo-check-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.memo-check-preview-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* La police manuscrite deborde a droite : evite de couper la derniere lettre */
  padding-right: 4px;
}

.memo-check-preview-item.done .memo-check-preview-text {
  text-decoration: line-through;
  opacity: 0.55;
}

.memo-check-preview-more {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
}

.memo-check-progress {
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 2px;
  margin-left: auto;
}

/* Case dessinee au stylo : contour irregulier, coche tracee a la main qui deborde de la case */
.memo-checkbox {
  position: relative;
  width: 14px;
  height: 14px;
  margin: 1px 0 0 0;
  flex-shrink: 0;
  border: 1.8px solid rgba(0, 0, 0, 0.6);
  border-radius: 3px 6px 2px 5px / 6px 2px 5px 3px;
  background: transparent;
  transform: rotate(-3deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: rgba(0, 0, 0, 0.8);
  overflow: visible;
}

.memo-check-preview-item:nth-child(even) .memo-checkbox,
.memo-checklist-row:nth-child(even) .memo-checkbox {
  transform: rotate(2.5deg);
  border-radius: 6px 2px 5px 3px / 3px 5px 2px 6px;
}

.memo-checkbox svg {
  position: absolute;
  width: 150%;
  height: 150%;
  left: 5%;
  top: -48%;
  pointer-events: none;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  opacity: 0;
}

.memo-checkbox.checked svg {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.28s ease-out;
}

.memo-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.memo-checklist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}

.memo-checklist-row .memo-checkbox {
  width: 17px;
  height: 17px;
  margin: 0;
}

.memo-checklist-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  outline: none;
}

.memo-checklist-row.done .memo-checklist-input {
  text-decoration: line-through;
  opacity: 0.55;
}

.memo-checklist-input::placeholder {
  color: inherit;
  opacity: 0.45;
}

.memo-checklist-remove {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.45;
}

.memo-checklist-remove:hover {
  background: rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.memo-checklist-add .memo-checklist-add-icon {
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  flex-shrink: 0;
}

.postit-modal-card .memo-checklist {
  margin: -8px 0 14px 0;
}

.postit-create-form .memo-checklist {
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.postit-create-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin: 2px 0 -4px 2px;
}

/* ---------------------------------------------------- */
/* DICTEE VOCALE                                        */
/* ---------------------------------------------------- */
.vocal-postit-modal-overlay {
  position: fixed;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  width: calc(100vw + 200px);
  height: calc(100vh + 200px);
  min-width: 100%;
  min-height: 100%;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 116px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10006;
}

.vocal-postit-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.vocal-postit-card {
  width: 100%;
  max-width: 380px;
  padding: 20px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vocal-postit-modal-overlay.active .vocal-postit-card {
  transform: scale(1);
}

.vocal-postit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vocal-postit-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.btn-close-vocal-postit {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-vocal-postit:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.vocal-postit-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.vocal-mic-pulsing {
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: memo-mic-pulse 1.6s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

.vocal-mic-pulsing.processing {
  background: var(--btn-primary-bg);
  animation: none;
}

@keyframes memo-mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 94, 58, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(255, 94, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 94, 58, 0); }
}

.vocal-status-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.vocal-timer {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.vocal-hint {
  max-width: 270px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.vocal-postit-actions {
  display: flex;
  gap: 10px;
}

.btn-vocal-cancel,
.btn-vocal-finish {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-vocal-cancel {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.btn-vocal-finish {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
}

.btn-vocal-finish:hover {
  background: var(--btn-primary-hover);
}

.btn-vocal-cancel:active,
.btn-vocal-finish:active {
  transform: scale(0.97);
}

.btn-vocal-finish:disabled {
  opacity: 0.6;
  pointer-events: none;
}

