  /* ============================== MODALS (share / privacy / profiles / invite) ============================== */
  .app-modal{position:fixed; inset:0; background:var(--scrim); display:none; align-items:center; justify-content:center; z-index:180; backdrop-filter:blur(2px);}
  .app-modal.show{display:flex;}
  .app-modal-card{width:520px; max-width:92vw; max-height:88vh; overflow-y:auto; background:var(--panel); border:1px solid var(--border-strong); border-radius:var(--r-card); padding:24px; box-shadow:var(--shadow-3);}
  .app-modal-card h2{margin:0 0 6px; font-size:16px; line-height:22px; font-weight:600;}
  .app-modal-card .modal-sub{font-size:12px; color:var(--muted); margin-bottom:16px; line-height:1.5;}
  .share-link-row{display:flex; gap:8px; margin-bottom:14px;}
  .share-link-row input{flex:1; background:var(--surface-default); border:1px solid var(--border-control); color:var(--text); border-radius:var(--r-control); padding:8px 10px; font-size:12.5px; font:inherit;}
  .qr-wrap{display:flex; justify-content:center; padding:10px; background:var(--surface-default); border-radius:var(--r-card); width:fit-content; margin:0 auto 14px;}
  .modal-actions{display:flex; gap:8px; margin-top:16px;}
  .modal-actions button{flex:1;}
  .privacy-row{display:flex; align-items:flex-start; gap:10px; padding:11px 0; border-top:1px solid var(--border);}
  .privacy-row:first-of-type{border-top:none;}
  .privacy-row .pr-text{flex:1;}
  .privacy-row .pr-title{font-size:13px; font-weight:600; margin-bottom:2px;}
  .privacy-row .pr-sub{font-size:11.5px; color:var(--muted); line-height:1.5;}
  .erasure-log{background:var(--panel2); border-radius:var(--r-control); padding:8px 12px; font-size:11.5px; color:var(--muted); max-height:110px; overflow-y:auto; margin-top:10px;}
  .profile-row{display:flex; align-items:center; gap:10px; padding:8px 4px; border-radius:var(--r-control); cursor:pointer;}
  .profile-row:hover{background:var(--panel2);}
  .profile-row .pr-name{flex:1; font-size:13px;}
  .profile-row .pr-active{font-size:11.5px; color:var(--accent2);}

