/* Share this page: the small button at the right of the date line and its pop-out. scripts/add_share.py owns the link and ?v=.
   The date line itself is untouched, so the date gate and the generators still read <div class="sw-upd">; the row wraps it. */
.sw-upd-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.sw-upd-row .sw-upd{flex:1 1 auto;min-width:0}
.sw-share-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;margin:0;padding:0 11px;
  font-family:'Public Sans',Arial,sans-serif;font-size:12px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;
  color:#fff;background:transparent;border:1px solid rgba(255,255,255,.45);border-radius:8px;cursor:pointer;
  transition:transform .12s,background-color .12s,border-color .12s,box-shadow .12s}
.sw-share-btn svg{display:block;flex:0 0 auto}
.sw-share-btn:hover,.sw-share-btn[aria-expanded="true"]{background:rgba(255,255,255,.14);border-color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transform:translateY(-1px)}
.sw-share-btn:active{background:rgba(255,255,255,.22);box-shadow:none;transform:translateY(0)}
.sw-share-btn:focus-visible,.sw-share-r:focus-visible{outline:2px solid #C9A227;outline-offset:2px}

.sw-share-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:80;box-sizing:border-box;width:260px;max-width:calc(100vw - 32px);padding:14px;
  text-align:left;color:#0E1B2C;background:#fff;border:1px solid #DDE3E9;border-radius:12px;box-shadow:0 10px 28px rgba(14,27,44,.28)}
.sw-share-pop[hidden]{display:none}
.sw-share-t{font-family:'Saira Condensed',Arial,sans-serif;font-weight:700;font-size:18px;line-height:1.2;color:#0E1B2C}
.sw-share-u{font-family:'Public Sans',Arial,sans-serif;font-size:12px;line-height:1.5;color:#5C6B7C;margin:2px 0 10px;overflow-wrap:anywhere}
.sw-share-r{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;height:44px;margin:6px 0 0;padding:0 12px;
  font-family:'Public Sans',Arial,sans-serif;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;text-decoration:none;text-transform:none;
  color:#0E1B2C;background:#fff;border:1px solid #CBD4DD;border-radius:10px;cursor:pointer;
  transition:transform .12s,background-color .12s,border-color .12s,box-shadow .12s}
.sw-share-r svg{flex:0 0 auto;color:#5C6B7C}
.sw-share-r:hover{background:#F3F6F9;border-color:#0E1B2C;box-shadow:0 2px 6px rgba(14,27,44,.16);transform:translateY(-1px)}
.sw-share-r:active{background:#E7ECF1;box-shadow:none;transform:translateY(0)}

/* one line on a phone: the short word, the same box */
@media (max-width:480px){.sw-share-more{display:none}}
@media (max-width:350px){.sw-home-share .sw-share-w{display:none}}  /* the homepage top bar on the smallest phones: the icon alone */
@media print{.sw-share-btn,.sw-share-pop{display:none!important}}
@media (prefers-reduced-motion:reduce){.sw-share-btn,.sw-share-r{transition:none;transform:none!important}}
