/* edit-profile.css — the ✎ Tell-us-about-you modal's clothes.
   Extracted from kitchen.html so ANY page loading edit-profile.js
   (kitchen, tree, profile) shows a proper modal, not naked text. */

.app-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(20, 23, 26, 0.32);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
  }
.app-modal-backdrop.open {
    display: flex;
    animation: app-modal-fade 0.18s ease-out;
  }
.app-modal {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(20, 23, 26, 0.18), 0 2px 8px rgba(20, 23, 26, 0.08);
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 40px);
    padding: 30px 32px 24px;
    font-family: var(--font-sans);
    animation: app-modal-rise 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
.app-modal-icon {
    color: var(--accent);
    margin-bottom: 14px;
    display: none;
    justify-content: center;
  }
.app-modal-icon.show { display: flex; }
.app-modal-icon svg {
    width: 38px; height: 38px;
    animation: app-modal-icon-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.05s both;
  }
.app-modal-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-4);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 500;
  }
.app-modal-eyebrow:empty { display: none; }
.app-modal-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 14px;
  }
.app-modal-title:empty { display: none; }
.app-modal-title em {
    font-style: italic;
    color: var(--accent);
  }
.app-modal-message {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.55;
    text-align: center;
    margin-bottom: 22px;
  }
.app-modal-message:empty { display: none; }
.app-modal-input {
    display: none;
    width: 100%;
    padding: 10px 12px;
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--ink);
    background: var(--bone);
    border: 1px solid var(--border);
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 22px;
    box-sizing: border-box;
  }
.app-modal-input.show { display: block; }
.app-modal-input:focus {
    outline: none;
    border-color: var(--ink);
  }
.app-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
  }
.app-modal-btn {
    font-family: var(--font-sans);
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.12s ease;
  }
.app-modal-btn-secondary {
    background: transparent;
    border: 1px solid var(--ink-5);
    color: var(--ink-3);
  }
.app-modal-btn-secondary:hover {
    border-color: var(--ink);
    color: var(--ink);
  }
.app-modal-btn-primary {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: var(--paper);
  }
.app-modal-btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
.app-modal-btn-secondary.hide,
  .app-modal-btn-primary.solo {
    /* solo mode: only one button shown, centered */
  }
.edit-profile-modal { max-width: 560px; padding: 26px 28px 22px; position: relative; }
.edit-profile-modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin: -10px -16px -32px 0;
    width: 32px;
    height: 32px;
    background: var(--paper);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: var(--ink-4);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
  }
.edit-profile-modal-close:hover { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.edit-profile-modal .app-modal-actions {
    position: sticky;
    bottom: -22px;
    margin: 16px -28px -22px;
    padding: 12px 28px 16px;
    background: var(--paper);
    border-top: 1px solid var(--border);
    z-index: 5;
  }
.edit-place-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
  }
.edit-place-row input[type="text"] {
    flex: 1 1 auto;
  }
.edit-place-row .yr {
    flex: 0 0 70px;
    width: 70px;
  }
.edit-place-row .place-remove {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--ink-5);
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.12s ease, background 0.12s ease;
  }
.edit-place-row .place-remove:hover { color: var(--accent); background: var(--bone); }
.edit-add-place {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--accent);
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 4px 12px;
    cursor: pointer;
    margin-top: 4px;
    transition: border-color 0.12s ease, background 0.12s ease;
  }
.edit-add-place:hover { border-color: var(--accent); background: var(--accent-soft); }
