/* SEVAK Profile Share: isolated styles; existing View Profile and WhatsApp contact remain untouched. */
.swps-share-trigger{box-sizing:border-box;appearance:none;border:1px solid #d9e4f0;border-radius:11px;color:#1965d3;background:#f2f7ff;display:inline-flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;line-height:1.1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:650;white-space:nowrap}
.swps-share-trigger:hover{color:#084aab;border-color:#a9cbfb;background:#e8f2ff}
.swps-share-trigger:focus-visible,.swps-overlay button:focus-visible{outline:3px solid #1877ee;outline-offset:2px}
.swps-share-round{flex:0 0 38px;min-width:38px!important;width:38px;height:38px;min-height:38px!important;padding:0!important;border-radius:50%!important}
.swps-share-detail{padding:10px 17px;min-height:40px;font-size:13px}
.swps-share-round svg{width:19px;height:19px}
.swf-public-actions .swps-share-detail{margin-left:5px}
.swps-overlay[hidden]{display:none!important}
/* The dialog lives inside a reserved safe region rather than stretching over
   the site's fixed header or its persistent bottom navigation. */
.swps-overlay{
  position:fixed!important;
  left:0!important;right:0!important;
  top:var(--swps-clear-top, 26px)!important;
  bottom:var(--swps-clear-bottom, 26px)!important;
  width:100%!important;
  height:auto!important;
  z-index:2147483000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px 16px!important;
  background:rgba(9,23,45,.56);
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.swps-sheet{
  flex:0 1 440px;
  min-width:0;
  width:min(100%,440px);
  max-width:100%;
  max-height:100%;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box;
  border-radius:20px!important;
  background:#fff;
  box-shadow:0 22px 70px #06183338;
  padding:16px;
  color:#152b4e;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:13px;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
}
.swps-sheet *{box-sizing:border-box}
.swps-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.swps-top-title{display:flex;align-items:center;gap:9px}.swps-top-title strong{font-size:15px;font-weight:750}.swps-top-title small{display:block;color:#69809f;font-size:10px}
.swps-brand-mark{background:linear-gradient(135deg,#20c6ad,#2376e3,#dc429d);border-radius:11px;color:white;display:grid;place-items:center;width:37px;height:37px;font-size:25px;font-weight:800}
.swps-close{font-size:27px;width:36px;height:36px;border:0;background:#f2f5f9;color:#45607b;border-radius:50%;cursor:pointer;line-height:1}
.swps-preview{overflow:hidden;border:1px solid #d7e6f5;border-radius:19px;background:#fff;text-align:center;box-shadow:0 5px 15px #0b397013;position:relative}
.swps-preview-banner{height:80px;background:linear-gradient(128deg,#cde9fe 0%,#def5ec 61%,#f4f7ff 100%)}
.swps-avatar{position:absolute;top:30px;left:50%;transform:translateX(-50%);border:5px solid #fff;border-radius:50%;width:100px;height:100px;box-shadow:0 3px 14px #21497c28;background:#d2e3fb center /cover no-repeat;display:flex;align-items:center;justify-content:center;color:#1763c7;font-size:48px;font-weight:750}
.swps-preview-inner{padding:66px 16px 16px}.swps-preview-brand{font-size:10px;color:#1464cb;font-weight:800;letter-spacing:.03em}.swps-name{font-size:22px!important;font-weight:750!important;margin:6px 0 3px!important;color:#0b3576!important;line-height:1.22!important}.swps-profession{margin:0!important;font-weight:550;color:#4a6280;font-size:13px!important}.swps-place{margin:7px 0!important;color:#59728f;font-size:12px!important}
.swps-available{display:inline-flex;align-items:center;margin:6px auto 9px;padding:5px 12px;background:#dcf9e5;color:#06823a;border-radius:30px;font-weight:650;font-size:11px}
.swps-preview-bottom{display:flex;justify-content:space-between;align-items:center;text-align:left;border-top:1px solid #ebf0f7;padding-top:10px;margin-top:8px;gap:10px}.swps-preview-bottom strong{display:block;font-size:12px;line-height:1.35}.swps-preview-bottom small{display:block;font-size:10px;color:#68819d;margin-top:5px}.swps-small-qr{flex:0 0 98px;width:98px;height:98px;image-rendering:auto;border-radius:6px}
.swps-instruction{text-align:center;color:#617d9e;font-size:11.5px;margin:12px 0}
.swps-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.swps-menu button,.swps-card-actions button{font-family:inherit;font-weight:650;cursor:pointer;border-radius:11px;border:1px solid #dfe7f2;background:#f6f9fd;color:#153c74;padding:11px 5px;font-size:12px;display:flex;gap:5px;align-items:center;justify-content:center}
.swps-emoji{display:inline-grid;place-items:center;color:#52749b;font-size:15px;width:19px;height:19px}.swps-emoji.swps-green{background:#18aa52;color:#fff;border-radius:50%}.swps-emoji.swps-blue{color:#126bea}
.swps-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.swps-card-actions button{background:#edf5ff;color:#0f57bc;border-color:#cce3fd;padding:12px 5px}
.swps-card-actions button:first-child{background:#116bea;color:#fff;border-color:#116bea}
.swps-feedback{min-height:17px;margin:10px 0 0!important;text-align:center;color:#517291;font-size:11px}
/* Centered and compact on phones. Content scrolls INSIDE the popup if a device
   is too short; the bottom menu/header are outside the popup's clickable area. */
@media(max-width:760px){
  .swps-overlay{
    top:var(--swps-clear-top, 58px)!important;
    bottom:var(--swps-clear-bottom, 98px)!important;
    padding:8px 12px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .swps-sheet{width:100%;max-height:100%;padding:12px 12px 10px;border-radius:19px!important;}
  .swps-top{margin-bottom:9px}
  .swps-top-title strong{font-size:14px}
  .swps-top-title small{font-size:10px}
  .swps-preview-banner{height:58px}
  .swps-avatar{width:82px;height:82px;top:20px;border-width:4px;font-size:38px}
  .swps-preview-inner{padding:50px 12px 11px}
  .swps-name{font-size:18px!important;margin:3px 0 2px!important}
  .swps-profession{font-size:12px!important}
  .swps-place{font-size:11px!important;margin:4px 0!important}
  .swps-available{font-size:10px;margin:4px auto 5px;padding:4px 11px}
  .swps-preview-bottom{margin-top:5px;padding-top:8px}
  .swps-preview-bottom strong{font-size:11px}
  .swps-preview-bottom small{font-size:9px;margin-top:3px}
  .swps-small-qr{width:85px;height:85px;flex-basis:85px}
  .swps-instruction{margin:8px 0;font-size:11px}
  .swps-menu{gap:6px}
  .swps-menu button{font-size:11px;min-height:39px;padding:8px 3px}
  .swps-card-actions{margin-top:7px;gap:7px}
  .swps-card-actions button{font-size:11px;min-height:39px;padding:8px 4px}
  .swps-feedback{margin-top:6px!important;min-height:13px}
  .swps-share-round{flex-basis:36px;width:36px;min-width:36px!important;height:36px;min-height:36px!important}
}
@media(max-width:360px){.swps-overlay{padding-left:8px!important;padding-right:8px!important}.swps-sheet{padding-left:9px;padding-right:9px}.swps-menu button{font-size:10px}}
@media(max-height:560px){.swps-sheet{padding-top:9px;padding-bottom:9px}}
