/* Additive component only: approved baseline stylesheet stays byte-identical. */
.contact-popup-dock { min-height:110px; }
.contact-popup-controls { position:fixed; right:16px; bottom:12px; z-index:10; display:grid; gap:4px; padding:8px; border:1px solid var(--line); background:var(--paper); }
.contact-popup-controls label { display:flex; align-items:center; gap:6px; font-size:12px; min-height:32px; }
.contact-popup-controls input { width:18px; height:18px; accent-color:var(--teal); }
.contact-popup-panel { position:fixed; right:16px; bottom:128px; z-index:11; width:min(380px,calc(100% - 32px)); max-height:calc(100vh - 156px); max-height:min(65dvh,calc(100dvh - 156px)); overflow:auto; overscroll-behavior:contain; padding:16px; border:1px solid var(--line); background:var(--paper); color:var(--ink); overflow-wrap:anywhere; }
.contact-popup-panel[hidden] { display:none; }
.contact-popup-top { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.contact-popup-top img { width:56px; height:64px; flex:none; object-fit:cover; object-position:center 25%; }
.contact-popup-top h3 { font-size:1rem; }
.contact-popup-top button { margin-left:auto; min-height:44px; flex:none; }
.contact-popup-panel>p { font-size:14px; margin-block:10px; }
.contact-popup-panel .button { width:100%; }
@media(max-width:420px) {
  .contact-popup-controls { right:12px; bottom:8px; }
  .contact-popup-panel { right:12px; width:calc(100% - 24px); padding:12px; }
}
