/* ════════════════════════════════════════════════════════════════
   My Collection page — all values from Figma node 418:15952 / 418:17158
   ════════════════════════════════════════════════════════════════ */

/* ── Hide nav elements not needed on collection/tab pages ──────── */
.ai-header__nav-pill > .ai-header__nav-icon,
.ai-header__divider,
.ai-header__advisor-btn {
  display: none !important;
}

/* ── Page shell ─────────────────────────────────────────────────── */
html,
body {
  background: #ffffff !important;
  height: 100%;
}

#page_container {
  background: #ffffff !important;
}

@media (max-width: 767px) {
  html,
  body,
  #page_container {
    height: 100%;
    overflow: hidden;
  }
}

/* ── Page header (Figma: 418:15974 / 418:17187)
   bg white, padding 16px 64px, h 96px total
   ─────────────────────────────────────────────────────────────── */
.mc-page-header {
  background: #ffffff;
  padding: 16px 64px;
}

.mc-page-header__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Title: Inter SemiBold 24px, #1a1a1a, tracking 0.3955px, lh 36px */
.mc-page-header__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.3955px;
  color: #1a1a1a;
  margin: 0;
}

/* Subtitle: Neue Regular 16px, #757575, tracking -0.3125px, lh 24px */
.mc-page-header__subtitle {
  font-family: 'Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
  color: #757575;
  margin: 0;
  white-space: nowrap;
}

/* ── Mobile tab bar: hidden on desktop ──────────────────────────── */
.mc-tabs {
  display: none;
}

/* ── Tab panels ──────────────────────────────────────────────────── */
.mc-tab-panel[hidden] {
  display: none !important;
}

/* ── Content area ────────────────────────────────────────────────── */
/* Empty state: center the card vertically */
.mc-content--empty {
  padding: 0 64px 64px;
  background: #ffffff;
  height: calc(100vh - 80px - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filled state: scrollable grid */
.mc-content {
  padding: 32px 64px 64px;
  background: #ffffff;
  overflow-y: auto;
}

/* ── Empty state card (Figma: 418:17178) ───────────────────────── */
.mc-empty-state {
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.mc-empty-state__icon {
  width: 54px;
  height: 48px;
  flex-shrink: 0;
}

.mc-empty-state__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* "Nothing added yet": Neue SemiBold 18px, #383838, tracking -0.4492px, lh 28px */
.mc-empty-state__heading {
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4492px;
  color: #383838;
  margin: 0;
}

/* Body: Neue Regular 14px, #757575, tracking -0.3125px, lh 20px, w 279px */
.mc-empty-state__body {
  font-family: 'Neue', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.3125px;
  color: #757575;
  margin: 0;
  width: 279px;
}

.mc-empty-state__actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── Shared button base (empty state) ──────────────────────────── */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Neue', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 14px;
  border-radius: 8px;
  width: 130px;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.mc-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.mc-btn--outline {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  color: #4f4f4f;
}

.mc-btn--dark {
  background: #1a1a1a;
  border: none;
  color: #c8d200;
}

.mc-btn--dark img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   COLLECTION GRID  (Figma: 418:15980)
   4 columns, gap-x 16px, gap-y 32px
   ════════════════════════════════════════════════════════════════ */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(4, 316px);
  gap: 32px 16px;
}

/* ── Collection card (Figma: 418:15982)
   border 1px #f2f2f2, radius 16px, w 316px, h 343px
   flex-col gap 16px
   ─────────────────────────────────────────────────────────────── */
.mc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 316px;
  height: 343px;
  border: 1px solid #f2f2f2;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

/* ── Image section: h 200px, rounded-tl 16px rounded-tr 16px ───── */
.mc-card__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.mc-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image */
.mc-card__image-placeholder {
  position: absolute;
  inset: 0;
  background: #e8e8e8;
}

/* Dark overlay: rgba(0,0,0,0.2) */
.mc-card__image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

/* ── 3-dot menu button (Figma: 418:15987)
   36×36px, bg white, radius 28px
   position: top-right inside image, mt 6.31px mr 6.31px
   ─────────────────────────────────────────────────────────────── */
.mc-card__menu-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  border-radius: 28px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 10;
  transition: background 0.15s ease;
}

.mc-card__menu-btn:hover {
  background: #f5f5f5;
}

/* ── Dropdown menu (Figma: 418:16079)
   bg white, radius 12px, w 188px
   shadow: 0 12px 16px -4px rgba(10,13,18,0.08),
           0 4px 6px -2px rgba(10,13,18,0.03),
           0 2px 2px -1px rgba(10,13,18,0.04)
   ─────────────────────────────────────────────────────────────── */
.mc-card__dropdown {
  position: absolute;
  top: 46px;
  right: 6px;
  width: 188px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03),
    0px 2px 2px -1px rgba(10, 13, 18, 0.04);
  z-index: 20;
  overflow: hidden;
}

.mc-card__dropdown[aria-hidden="true"] {
  display: none;
}

.mc-card__dropdown[aria-hidden="false"] {
  display: block;
}

/* Menu items list: py 4px */
.mc-card__dropdown-list {
  padding: 4px 0;
}

/* Menu item (Figma: 418:16081)
   px 6px py 1px → inner content: px 10px py 8px radius 8px
   ─────────────────────────────────────────────────────────────── */
.mc-card__dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  /* Neue SemiBold 12px, #4f4f4f, lh 20px */
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
  color: #4f4f4f;
  transition: background 0.1s ease;
}

.mc-card__dropdown-item:hover {
  background: #fafafa;
}

.mc-card__dropdown-item svg {
  flex-shrink: 0;
}

/* ── Card body: px 12px ─────────────────────────────────────────── */
.mc-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 12px 12px;
  flex: 1;
}

/* ── Info block: gap 4px ─────────────────────────────────────────── */
.mc-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Title: Neue SemiBold 16px, #383838, capitalize */
.mc-card__title {
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: #383838;
  text-transform: capitalize;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Date: Neue Regular 12px, #757575 */
.mc-card__date {
  font-family: 'Neue', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: #757575;
  margin: 0;
  white-space: nowrap;
}

/* Property count: Neue Regular 16px, #757575 */
.mc-card__count {
  font-family: 'Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #757575;
  margin: 0;
  white-space: nowrap;
}

/* ── Action buttons: gap 8px ─────────────────────────────────────── */
.mc-card__actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Base button: h 32px, radius 8px, Neue SemiBold 14px lh 20px, #4f4f4f
   overflow hidden
   ─────────────────────────────────────────────────────────────── */
.mc-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #4f4f4f;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.mc-card__btn:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #4f4f4f;
}

/* Create proposal: w 150px */
.mc-card__btn:first-child {
  width: 150px;
}

/* Send inquiry: w 134px */
.mc-card__btn:last-child {
  width: 134px;
}

.mc-card__btn svg {
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   RENAME MODAL  (Figma: 418:18025)
   ════════════════════════════════════════════════════════════════ */

/* Backdrop: full-screen overlay */
.mc-rename-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

.mc-rename-backdrop[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Modal container: bg white, radius 16px, w 400px
   shadow: 0 20px 24px -4px rgba(10,13,18,0.08),
           0 8px 8px -4px rgba(10,13,18,0.03),
           0 3px 3px -1.5px rgba(10,13,18,0.04)
*/
.mc-rename-modal {
  background: #ffffff;
  border-radius: 16px;
  width: 400px;
  box-shadow:
    0px 20px 24px -4px rgba(10, 13, 18, 0.08),
    0px 8px 8px -4px rgba(10, 13, 18, 0.03),
    0px 3px 3px -1.5px rgba(10, 13, 18, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Header: pt 24px px 24px pb 0, then 35px padding bottom spacer ── */
.mc-rename-modal__header {
  padding: 24px 24px 0;
}

.mc-rename-modal__title {
  /* Neue SemiBold 18px, #262626, lh 24px, centered */
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #262626;
  text-align: center;
  margin: 0;
}

/* ── Body: pt 35px px 24px ─────────────────────────────────────── */
.mc-rename-modal__body {
  padding: 35px 24px 0;
}

/* ── Input field group ─────────────────────────────────────────── */
.mc-rename-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Label: Neue SemiBold 14px, #4f4f4f, lh 20px */
.mc-rename-field__label {
  font-family: 'Neue', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #4f4f4f;
  margin: 0;
}

/* Input wrapper: bg white, border 1px #d9d9d9, radius 8px,
   px 14px py 10px, gap 8px, flex row */
.mc-rename-field__input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.15s ease;
}

.mc-rename-field__input-wrap:focus-within {
  border-color: #a8a8a8;
}

/* Input text: Neue Regular 16px, #262626, lh 24px */
.mc-rename-field__input {
  flex: 1;
  font-family: 'Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #262626;
  border: none;
  outline: none;
  background: transparent;
  min-width: 0;
  padding: 0;
}

.mc-rename-field__input::placeholder {
  color: #a8a8a8;
}

/* Clear (×) button: 16×16, flex-shrink 0 */
.mc-rename-field__clear {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.mc-rename-field__clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Hint: Inter Regular 14px, #535862, lh 20px */
.mc-rename-field__hint {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #535862;
  margin: 0;
}

/* ── Footer: border-top 1px #e8e8e8, pt 24px px 24px pb 24px ───── */
.mc-rename-modal__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e8e8e8;
  padding: 24px;
  margin-top: 35px;
}

/* Button base: Neue Text Bold 14px, lh 20px, radius 8px, py 10px */
.mc-rename-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Neue', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

/* Cancel: no bg, color #595959 */
.mc-rename-modal__btn--cancel {
  background: transparent;
  color: #595959;
}

.mc-rename-modal__btn--cancel:hover {
  opacity: 0.7;
}

/* Save (disabled state): bg #f2f2f2, color #a8a8a8 */
.mc-rename-modal__btn--save {
  background: #f2f2f2;
  color: #a8a8a8;
}

/* Save (enabled state): bg #1a1a1a, color #ffffff */
.mc-rename-modal__btn--save:not(:disabled) {
  background: #1a1a1a;
  color: #ffffff;
}

.mc-rename-modal__btn--save:not(:disabled):hover {
  opacity: 0.85;
}

.mc-rename-modal__btn--save:disabled {
  cursor: default;
}

/* ── Mobile: full-width modal ─────────────────────────────────── */
@media (max-width: 480px) {
  .mc-rename-modal {
    width: calc(100vw - 32px);
  }
}

/* ── Bottom sheet: hidden on desktop, shown on mobile ────────────── */
.mc-rename-sheet {
  display: none;
}

/* ════════════════════════════════════════════════════════════════
   RENAME BOTTOM SHEET — mobile only  (Figma: 421:19674)
   Only active at ≤767px. Desktop always uses the centered modal.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Override backdrop: align to bottom, no centering */
  .mc-rename-backdrop {
    align-items: flex-end;
    justify-content: stretch;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  /* Hide centered modal, show sheet instead */
  .mc-rename-backdrop .mc-rename-modal {
    display: none;
  }

  /* Bottom sheet container:
     w full, border-radius 16px 16px 0 0, border-top + sides 1px #a8a8a8
     shadow: 0 12px 16px -4px rgba(10,13,18,0.08),
             0 4px 6px -2px rgba(10,13,18,0.03),
             0 2px 2px -1px rgba(10,13,18,0.04)
     slide up animation */
  .mc-rename-sheet {
    display: flex;
    width: 100%;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    border: 1px solid #a8a8a8;
    border-bottom: none;
    box-shadow:
      0px 12px 16px -4px rgba(10, 13, 18, 0.08),
      0px 4px 6px -2px rgba(10, 13, 18, 0.03),
      0px 2px 2px -1px rgba(10, 13, 18, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .mc-rename-backdrop[aria-hidden="false"] .mc-rename-sheet {
    transform: translateY(0);
  }

  /* Sheet header: pt 24px pl 16px pr 12px pb 16px */
  .mc-rename-sheet__header {
    position: relative;
    padding: 24px 12px 16px 16px;
    flex-shrink: 0;
  }

  /* Title: Neue SemiBold 18px #262626 lh 28px */
  .mc-rename-sheet__title {
    font-family: 'Neue', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #262626;
    margin: 0;
    white-space: nowrap;
  }

  /* Close button: p 10px, absolute top-right */
  .mc-rename-sheet__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
  }

  /* Sheet body: pt 24px px 24px */
  .mc-rename-sheet__body {
    padding: 24px 24px 0;
    flex-shrink: 0;
  }

  /* Sheet footer: border-top 1px #f2f2f2, pt 24px pb 32px px 16px */
  .mc-rename-sheet__footer {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid #f2f2f2;
    padding: 24px 16px 32px;
    margin-top: 24px;
    flex-shrink: 0;
  }

  /* Cancel: no bg, Neue Text Bold 14px #595959, lh 20px, py 10px */
  .mc-rename-sheet__btn--cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 10px 2px;
    font-family: 'Neue', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #595959;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Spacer between cancel and save */
  .mc-rename-sheet__footer-spacer {
    flex: 1;
  }

  /* Save: w 173px, bg #f2f2f2 (disabled) / #1a1a1a (enabled),
     px 14px py 10px, radius 8px */
  .mc-rename-sheet__btn--save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 173px;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    font-family: 'Neue', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
    background: #f2f2f2;
    color: #a8a8a8;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
  }

  .mc-rename-sheet__btn--save:not(:disabled) {
    background: #1a1a1a;
    color: #ffffff;
  }

  .mc-rename-sheet__btn--save:disabled {
    cursor: default;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1400px) {
  .mc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mc-card {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .mc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mc-page-header {
    padding: 16px 32px;
  }

  .mc-content {
    padding: 32px 32px 48px;
  }

  .mc-content--empty {
    padding: 0 32px 48px;
  }
}

@media (max-width: 767px) {
  /* ── Page header: no subtitle, Neue SemiBold 18px #262626 ──────── */
  .mc-page-header {
    padding: 24px 16px 16px;
    border-bottom: 1px solid #f2f2f2;
    flex-shrink: 0;
  }

  .mc-page-header__title {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: #262626;
  }

  /* Hide subtitle on mobile */
  .mc-page-header__subtitle {
    display: none;
  }

  /* ── Tab bar: sticky under navbar, never scrolls away ──────────── */
  .mc-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    background: #ffffff;
    position: sticky;
    top: 80px; /* navbar height */
    z-index: 100;
    border-bottom: 1px solid #f2f2f2;
    flex-shrink: 0;
  }

  .mc-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 4px 6px;
    font-family: 'Neue', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #757575;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px; /* sit on top of the container border */
    cursor: pointer;
    background: none;
  }

  .mc-tab:hover {
    text-decoration: none;
    color: #757575;
  }

  .mc-tab.is-active {
    color: #262626;
    border-bottom-color: #262626;
  }

  /* ── Tab panels: each scrolls independently ─────────────────────── */
  .mc-tab-panel {
    overflow-y: auto;
    /* full viewport minus navbar (80px) + tab bar (40px) */
    height: calc(100vh - 80px - 40px);
    -webkit-overflow-scrolling: touch;
  }

  /* ── Content area ─────────────────────────────────────────────── */
  .mc-content {
    padding: 16px 16px 40px;
    background: #ffffff;
    overflow-y: visible;
  }

  .mc-content--empty {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  /* ── Grid: single column, gap 16px ───────────────────────────── */
  .mc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Card: border-radius 8px (not 16px), h auto, w full ─────── */
  .mc-card {
    width: 100%;
    height: auto;
    border-radius: 8px;
    gap: 0;
  }

  /* ── Image: h ~195px, radius top-left 4px, top-right 8px ─────── */
  .mc-card__image-wrap {
    height: 195px;
    border-radius: 4px 8px 0 0;
  }

  .mc-card__image-overlay {
    border-radius: 4px 8px 0 0;
  }

  /* ── Menu button: 30×30px (Figma: 30.237px ≈ 30px) ──────────── */
  .mc-card__menu-btn {
    width: 30px;
    height: 30px;
    top: 8px;
    right: 8px;
    padding: 6px;
  }

  .mc-card__menu-btn svg {
    width: 20px;
    height: 20px;
  }

  /* ── Card body: px 12px pt 8px pb 16px, gap 8px ─────────────── */
  .mc-card__body {
    padding: 8px 12px 16px;
    gap: 8px;
  }

  /* ── Info block: gap 0 (title + date stacked tightly) ────────── */
  .mc-card__info {
    gap: 0;
  }

  /* Title: Neue SemiBold 14px #383838 (was 16px) */
  .mc-card__title {
    font-size: 14px;
  }

  /* Date: Neue Regular 10px #757575 (was 12px) */
  .mc-card__date {
    font-size: 10px;
  }

  /* Property count: Neue Regular 14px #262626, underlined (was 16px #757575) */
  .mc-card__count {
    font-size: 14px;
    color: #262626;
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }

  /* ── Action buttons: each w 155px, gap 8px ───────────────────── */
  .mc-card__actions {
    gap: 8px;
  }

  .mc-card__btn:first-child,
  .mc-card__btn:last-child {
    width: 155px;
    flex: none;
  }

  /* ── Empty state (Figma: 421:19427)
     flex-col gap 16px, items-center, pt 32px pb 24px px 16px
     vertically + horizontally centered within the panel
     ─────────────────────────────────────────────────────── */
  .mc-empty-state {
    border: none;
    padding: 32px 16px 24px;
    gap: 16px;
    width: 100%;
    /* center vertically in the scrollable panel */
    min-height: 100%;
    justify-content: center;
  }

  /* Folder icon: 54×48px — unchanged, already correct */

  /* Text block: gap 4px, w 292px, text-center */
  .mc-empty-state__text {
    gap: 4px;
    width: 292px;
  }

  /* Title: Neue SemiBold 14px #4f4f4f lh 24px (not 18px like desktop) */
  .mc-empty-state__heading {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0;
    color: #4f4f4f;
  }

  /* Body: Neue Regular 12px #757575 lh 20px w 235px */
  .mc-empty-state__body {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0;
    color: #757575;
    width: 235px;
  }

  /* Action buttons row: gap 8px */
  .mc-empty-state__actions {
    gap: 8px;
  }

  /* Both buttons: w 130px px 14px py 10px radius 8px Neue Text Bold 14px */
  .mc-btn {
    width: 130px;
    padding: 10px 14px;
    font-size: 14px;
  }

  /* Classic search: border 1px #d9d9d9, color #4f4f4f */
  .mc-btn--outline {
    border-color: #d9d9d9;
    color: #4f4f4f;
  }

  /* AI wise: bg #1a1a1a, color #c8d200 */
  .mc-btn--dark {
    background: #1a1a1a;
    color: #c8d200;
  }

  /* ── Rename modal: full width with margin ────────────────────── */
  .mc-rename-modal {
    width: calc(100vw - 32px);
  }
}

/* ══════════════════════════════════════════════════════════════
   DELETE CONFIRMATION DIALOG
   ══════════════════════════════════════════════════════════════ */
.mc-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9100;
}

.mc-confirm-backdrop[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mc-confirm-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  box-shadow:
    0 20px 24px -4px rgba(10, 13, 18, 0.08),
    0 8px 8px -4px rgba(10, 13, 18, 0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-confirm-dialog__message {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #1a1a1a;
  text-align: center;
  margin: 0;
}

.mc-confirm-dialog__actions {
  display: flex;
  gap: 12px;
}

.mc-confirm-dialog__btn {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.mc-confirm-dialog__btn:hover {
  opacity: 0.85;
}

.mc-confirm-dialog__btn--no {
  background: #f2f2f2;
  color: #1a1a1a;
  border: 1px solid #d9d9d9;
}

.mc-confirm-dialog__btn--yes {
  background: #1a1a1a;
  color: #fff;
}
