/* Designer article refinements, September 2026.
 * Applied after the current local styles. Product copy, gallery assets,
 * availability, beta history, return links and article runtimes are unchanged.
 */
@media screen {
  /* The announcement templates share the same document navigation structure. */
  #o2c-announcements[data-page="detail"] .o2c-detail:not(.o2c-launch-page) .o2c-detail-layout {
    grid-template-columns: 172px minmax(0, 880px);
    justify-content: center;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail:not(.o2c-launch-page) .o2c-gallery-item:only-child {
    max-width: 880px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail:not(.o2c-launch-page) .o2c-gallery[data-gallery-portrait] .o2c-gallery-item:only-child {
    max-width: 460px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-toc a[aria-current="location"] {
    background: transparent;
    border-left-width: 3px;
    color: #206d62;
    font-weight: 700;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-detail-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-top: 40px;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-detail-sidebar {
    position: sticky;
    top: 28px;
    margin-bottom: 0;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-toc {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-toc p {
    flex-basis: auto;
    padding-bottom: 12px;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-toc a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 0 9px 14px;
    border-left: 2px solid transparent;
    border-bottom: 0;
    background: transparent;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-toc a[aria-current="location"] {
    border-left: 3px solid #297d77;
    border-bottom-color: transparent;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-launch-chapter .o2c-article-section h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-launch-number {
    display: inline-block;
    flex: none;
    width: auto;
    height: auto;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #8a968b;
    font: 600 20px/1 'O2C Inter', Inter, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
  }
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-launch-chapter:not(:first-child) > .o2c-launch-chapter-copy {
    max-width: 700px;
    margin: 0 0 32px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-launch-page .o2c-detail-body .o2c-launch-chapter:not(:first-child) .o2c-copy {
    max-width: 700px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail:has(> .o2c-detail-hero.has-availability) .o2c-help-box .o2c-resource-list {
    gap: 8px;
  }
  /* Release-roundup sections retain the single reading column of the reference. */
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-release-changes {
    display: block;
  }
  /* Quiet navigation at the end of every announcement and release roundup. */
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a {
    position: relative;
    justify-content: flex-start;
    gap: 7px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a::after {
    content: none;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a:last-child:not(:only-child) {
    align-items: flex-end;
    text-align: right;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a strong::after {
    content: '';
    position: static;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background: #297d77;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a:is(:hover, :focus-visible) {
    background: transparent;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a:is(:hover, :focus-visible) strong {
    text-decoration: underline;
    text-decoration-color: #94aea0;
    text-underline-offset: 4px;
  }
}
/* A sidebar reduces the content width before the viewport reaches mobile.
 * Stack the APT introduction at that point so its text and animation stay legible.
 */
@media screen and (max-width: 1180px) {
  #o2c-announcements[data-page="detail"] .o2c-launch-page .o2c-launch-chapter--intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}
@media screen and (max-width: 1000px) {
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-detail-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 32px;
  }
}
/* Match the existing accessible contents disclosure breakpoint (800px). */
@media screen and (max-width: 800px) {
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 12px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-detail-sidebar {
    position: static;
    margin-bottom: 0;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-toc {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
    padding: 0 0 12px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-toc p {
    flex-basis: 100%;
    padding-bottom: 6px;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-toc a {
    min-height: 44px;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-toc a[aria-current="location"] {
    border-left: 0;
    border-bottom-color: #297d77;
  }
}
@media screen and (max-width: 640px) {
  #o2c-announcements[data-page="detail"] .o2c-detail:has(> .o2c-detail-hero.has-availability) .o2c-help-box .o2c-resource-list {
    gap: 14px;
  }
}
@media screen and (max-width: 420px) {
  #o2c-announcements[data-page="detail"] .o2c-detail.o2c-detail .o2c-neighbors a:last-child:not(:only-child) {
    align-items: flex-start;
    text-align: left;
  }
}

@media screen and (min-width:541px){#o2c-announcements[data-page="detail"] .o2c-sharing-slot--article{inset:32px 32px auto auto}}
