/* Article-owned floating share control; the page body and its links never move. */
@media screen {
  .qualification-page { padding-top: 106px; }
  :is(.breadcrumbs,.qualification-breadcrumbs) {
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2px;
  }
  :is(.breadcrumbs,.qualification-breadcrumbs) > :is(a,span) {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .breadcrumbs > span::before { flex: none; }
  .qualification-breadcrumbs > .article-crumb { gap: 8px; }
  .qualification-breadcrumbs > .article-crumb > [aria-hidden] { flex: none; }
  body > .article-share-float {
    position: fixed;
    z-index: 20;
    right: max(16px,calc(env(safe-area-inset-right,0px) + 12px));
    bottom: calc(max(16px,calc(env(safe-area-inset-bottom,0px) + 12px)) + var(--site-floating-lift,0px) + var(--article-share-stack-space,0px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 13px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,252,247,.88);
    background: color-mix(in srgb,var(--paper) 88%,transparent);
    box-shadow: 0 6px 20px rgb(20 36 27 / .14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
    touch-action: manipulation;
    transform: none;
    transition: background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
  }
  body > .article-share-float svg { width: 24px; height: 24px; }
  body > .article-share-float:not([data-obstructed="false"]) { visibility: hidden; pointer-events: none; }
  body > .article-share-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
  html[data-theme="dark"] body > .article-share-float {
    color: var(--ink);
    border-color: var(--sage-deep);
    background: rgba(33,53,43,.88);
    background: color-mix(in srgb,var(--surface) 88%,transparent);
    box-shadow: 0 6px 20px rgb(0 0 0 / .3);
  }
}
@media screen and (min-width:901px) {
  .article-layout {
    grid-template-columns: minmax(0,760px) minmax(340px,360px);
    column-gap: clamp(24px,4vw,64px);
  }
}
@media screen and (max-width:600px) {
  .qualification-page { padding-top: 88px; }
}
@media screen and (hover:hover) {
  body > .article-share-float:hover { border-color: var(--sage-deep); background: var(--paper); }
  html[data-theme="dark"] body > .article-share-float:hover { border-color: var(--action); background: var(--surface-hover); }
}
@media (prefers-reduced-motion:reduce) {
  body > .article-share-float { transition: none; }
}
@media print {
  .article-share-float { display: none !important; }
}
