  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 22, 10, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
  }
  .modal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
  }
  .modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 16px;
    transition: background 0.15s ease;
  }
  .modal-close:hover { background: var(--bg); }
  .modal-icon {
    width: 48px; height: 48px;
    margin: 0 auto 18px;
    background: var(--terracotta);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .modal-card h3 { font-size: 17px; font-weight: 700; color: var(--brown-700); margin-bottom: 8px; }
  .modal-card p { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 30ch; margin: 0 auto 24px; }
  .modal-actions { display: flex; flex-direction: column; gap: 10px; }
  .btn-modal-primary {
    padding: 12px 20px;
    background: var(--brown-900);
    color: #F5EDE0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
  }
  .btn-modal-primary:hover { background: var(--brown-800); }
  .btn-modal-secondary {
    padding: 12px 20px;
    background: var(--bg);
    color: var(--brown-700);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
  }
  .btn-modal-secondary:hover { background: #EDE5D8; }
  .modal-foot {
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
  }
  .modal-foot button { color: var(--terracotta); font-weight: 600; }
  .modal-foot button:hover { text-decoration: underline; }

  body.modal-open { overflow: hidden; }
