
.privacy-modal{width:360px;max-width:calc(100vw - 28px);box-sizing:border-box;padding:18px;border:0;border-radius:18px;background:var(--card,#fff);color:var(--ink,#222);box-shadow:0 18px 64px #0003}
.privacy-modal::backdrop{background:#0006}
.privacy-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.privacy-head b{font-size:var(--fs-title,18px)}
.privacy-hint,.privacy-status{font-size:var(--fs-small,13px);line-height:1.6}
.privacy-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.privacy-choice{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin:0;padding:12px 9px;border:1px solid var(--line,#ddd);border-radius:12px;font-size:var(--fs-body,15px);cursor:pointer}
.privacy-choice:has(input:checked){border-color:var(--ai,#7c41f5);background:var(--ai-soft,#f4efff);color:var(--ai,#7c41f5)}
.privacy-choice svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.privacy-choice input{appearance:auto;accent-color:var(--ai,#7c41f5);flex:0 0 15px;width:15px;height:15px;min-height:0;margin:0;padding:0}
.privacy-choice span{flex:1;white-space:nowrap}
.privacy-save{display:block;width:100%;background:var(--ai,#7c41f5);color:white;border-color:transparent}
.people-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.people-actions .btn{padding:5px 8px;white-space:nowrap;font-size:var(--fs-small,13px)}
.people-row .people-who{min-width:0;flex:1}
.people-who b{overflow-wrap:anywhere}

.profile-message-modal{box-sizing:border-box;width:540px;max-width:calc(100vw - 24px);height:min(720px,90dvh);padding:16px;border:0;border-radius:18px;background:var(--card,#fff);color:var(--ink)}.profile-message-modal[open]{display:flex;flex-direction:column}.profile-message-modal::backdrop{background:#0006}.profile-message-body{flex:1;min-height:0;overflow:auto}.profile-message-foot{flex-shrink:0}.profile-message-body>details{border:0;box-shadow:none;margin:0;padding:8px 0}.profile-message-body>details>summary{display:none}.people-actions .btn{white-space:nowrap;padding:5px 8px;font-size:var(--fs-small,13px)}
