/* Footer matches the supplied reference: brand, version chip, six link columns. */
.site-footer .footer-top--reference {
  width: 100%;
  gap: 0;
}
.site-footer .footer-version {
  margin-left: auto;
}
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: start;
}
.site-footer .footer-grid details {
  min-width: 0;
}
.site-footer .footer-grid details:nth-child(6) {
  grid-column: auto !important;
  grid-row: auto !important;
}
.site-footer {
  padding: 34px 0 68px;
  background: #171717;
}
.footer-top--reference {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-top--reference .footer-brand {
  min-width: 0;
}
.footer-top--reference .word-mark {
  width: 40px;
  height: 40px;
}
.footer-top--reference .brand-copy {
  display: grid;
  gap: 0;
}
.footer-top--reference .brand-copy strong {
  font-size: 15px;
}
.footer-top--reference .brand-copy small {
  font-size: 11px;
  color: #888;
}
.footer-version {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #28384d;
  border-radius: 6px;
  background: #1c2532;
  color: #e6eaf0;
  font-size: 13px;
}
.footer-version b {
  padding-left: 10px;
  border-left: 1px solid #31435a;
  color: #1f72db;
  font-size: 16px;
}
.site-footer .footer-grid {
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1.05fr 1.1fr 1fr;
  gap: 44px;
  margin-top: 38px;
}
.site-footer .footer-grid summary {
  color: #777;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.site-footer .footer-grid a {
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 11px;
}
.site-footer .footer-bottom {
  border: 0;
  margin-top: 50px;
  padding: 0;
  color: #7e7e7e;
  font-size: 13px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
@media (max-width: 680px) {
  .site-footer {
    padding: 28px 0 38px;
  }
  .footer-top--reference {
    align-items: center;
  }
  .footer-version {
    font-size: 11px;
    padding: 7px 9px;
  }
  .footer-version b {
    font-size: 13px;
  }
  .site-footer .footer-grid {
    display: block;
    margin-top: 24px;
  }
  .site-footer .footer-grid details {
    padding: 14px 0;
  }
  .site-footer .footer-grid summary {
    font-size: 14px;
    margin: 0;
    color: #c5c5c5;
    text-transform: none;
  }
  .site-footer .footer-grid a {
    font-size: 14px;
  }
  .site-footer .footer-bottom {
    margin-top: 24px;
    font-size: 12px;
  }
}
/* Review fix: the action selector is a compact product list, not a squeezed pair of cards. */
.work-choice {
  display: block;
  border: 1px solid var(--rule);
  background: #fff;
}
.work-row,
.work-row + .work-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 20px 26px;
  border: 0;
}
.work-row + .work-row {
  border-left: 0;
  border-top: 1px solid var(--rule);
}
.work-row .work-icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: none;
  border: 0;
  background: none;
}
.work-row span:nth-child(2) {
  min-width: 0;
  display: block;
}
.work-row strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}
.work-row small {
  display: block;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.45;
}
.work-row b {
  white-space: nowrap;
  margin-left: 12px;
}
.documents-intro .text-link {
  display: inline-flex;
  margin-top: 14px;
}
.library-visual {
  display: none;
}
.document-list > a {
  grid-template-columns: 88px minmax(0, 1fr) 20px;
  gap: 20px;
  min-height: 118px;
  padding: 12px 8px;
}
.template-icon {
  display: block;
  width: 72px;
  height: 72px;
}
.document-list strong {
  font-size: 17px;
}
.document-list small {
  font-size: 14px;
  line-height: 1.45;
}
/* Keep the navigation grouped with the account actions at the right edge on desktop. */
@media (min-width: 861px) {
  .header-inner {
    gap: 28px;
  }
  .main-nav {
    justify-content: flex-end;
    gap: 30px;
  }
  .header-actions {
    margin-left: 0;
    flex: none;
  }
}
@media (max-width: 680px) {
  .work-row,
  .work-row + .work-row {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    gap: 14px;
    min-height: 100px;
    padding: 16px;
  }
  .work-row .work-icon {
    width: 54px;
    height: 54px;
  }
  .work-row strong {
    font-size: 16px;
  }
  .work-row small {
    font-size: 13px;
  }
  .work-row b {
    font-size: 0;
    margin: 0;
  }
  .work-row b i {
    font-size: 20px;
    margin: 0;
  }
  .documents-intro .text-link {
    margin-top: 4px;
  }
  .document-list > a {
    grid-template-columns: 64px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 94px;
    padding: 10px 2px;
  }
  .template-icon {
    width: 54px;
    height: 54px;
  }
  .document-list strong {
    font-size: 15px;
  }
  .document-list small {
    font-size: 13px;
  }
}
