/* Compact contacts aligned with the existing KILEWS assistant. */
body.kws-modern .kws-social-qr{position:fixed;z-index:999;display:grid;grid-template-columns:72px 72px;gap:6px;width:164px;padding:6px;border:1px solid #dae4e9;background:rgba(255,255,255,.96);border-radius:4px;box-shadow:0 3px 15px #193c4c0d;font-family:inherit;color:#294957}
body.kws-modern .kws-social-qr[hidden],body.kws-modern .kws-social-qr-dialog [hidden]{display:none!important}
body.kws-modern .kws-social-qr-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:72px;min-width:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#355463!important;font-family:inherit!important;text-transform:none!important;cursor:pointer}
body.kws-modern .kws-social-qr-small{display:block;width:72px;height:72px;object-fit:contain;background:#fff;border:2px solid #fff;border-radius:0}
body.kws-modern .kws-social-qr-label{font-family:inherit;font-size:10px;font-weight:400;line-height:1.5;letter-spacing:0}
body.kws-modern .kws-social-qr-icon{display:none}
body.kws-modern .kws-social-qr-button:hover .kws-social-qr-label{color:#16384b;text-decoration:underline;text-underline-offset:3px}
body.kws-modern .kws-social-qr-button:focus-visible{outline:2px solid #587b8e!important;outline-offset:3px}
body.kws-modern .kws-social-qr-dialog{position:fixed;inset:0;margin:auto;width:304px;max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;padding:0!important;border:1px solid #d4dfe6;border-radius:4px;background:#fff;color:#24414f;font-family:inherit;font-size:13px;font-weight:400;box-shadow:0 18px 64px #122b3d30}
body.kws-modern .kws-social-qr-dialog:not([open]){display:none}
body.kws-modern .kws-social-qr-dialog::backdrop{background:#233d4b35;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
body.kws-modern .kws-social-qr-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px 8px 18px;border-bottom:1px solid #e3eaee;background:#f1f5f7}
body.kws-modern .kws-social-qr-head h2{margin:0!important;padding:0!important;font-family:inherit!important;font-size:15px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:0!important;color:#24414f!important}
body.kws-modern .kws-social-qr-close{display:grid;place-items:center;width:36px;height:36px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#637b89!important;font:400 24px/1 Arial,sans-serif!important;cursor:pointer}
body.kws-modern .kws-social-qr-large{width:236px;height:236px;margin:18px auto 6px;padding:8px;background:white}
body.kws-modern .kws-social-qr-large img{display:block;width:220px;height:220px;max-width:100%;object-fit:contain;background:white}
body.kws-modern .kws-social-qr-account{margin:5px 18px 0!important;font-family:inherit!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important;color:#284957!important;text-align:center;user-select:text;-webkit-user-select:text}
body.kws-modern .kws-social-qr-hint{margin:10px 18px 16px!important;font-family:inherit!important;font-size:11px!important;line-height:1.7!important;font-weight:400!important;color:#718591!important;text-align:center}
body.kws-modern .kws-social-qr-actions{display:flex;justify-content:center;gap:8px;padding:12px 14px 16px;border-top:1px solid #e9eef1}
body.kws-modern .kws-social-qr-actions a{display:flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border:1px solid #cbd9e1;border-radius:2px;background:white;color:#3c6074;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;text-align:center;text-decoration:none}
body.kws-modern .kws-social-qr-actions a.kws-social-qr-primary{background:#244c61;color:#fff;border-color:#244c61}
body.kws-modern .kws-social-qr-dialog :is(a,button):focus-visible{outline:2px solid #587b8e!important;outline-offset:2px}
@media(max-width:900px){body.kws-modern .kws-social-qr{width:48px;grid-template-columns:minmax(0,1fr);gap:1px;padding:1px;border-color:#d7e1e8;background:#f5f8faed;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:4px;box-shadow:0 2px 8px #15374a10}body.kws-modern .kws-social-qr-button{width:100%;height:40px;gap:1px}body.kws-modern .kws-social-qr-small{display:none}body.kws-modern .kws-social-qr-icon{display:block;width:20px;height:20px;color:#288d66}body.kws-modern .kws-social-qr-icon svg{display:block;width:20px;height:20px;fill:currentColor}body.kws-modern .kws-social-qr-label{font-size:9px;line-height:1.3}body.kws-modern .kws-social-qr-actions a{min-height:40px}}
@media(max-height:540px){body.kws-modern .kws-social-qr-large{width:196px;height:196px;margin-top:10px}body.kws-modern .kws-social-qr-large img{width:180px;height:180px}body.kws-modern .kws-social-qr-hint{margin-bottom:10px!important}}
@media(prefers-reduced-transparency:reduce){body.kws-modern .kws-social-qr{background:#fff}}
