/* Site-owned adaptation of the approved ASP.NET/MVC v3 preview. */
.legacy-site .dpu-site-subnav a { text-decoration: none; }
/* Match linked product headings on the JavaScript site; body links stay underlined. */
.legacy-copy :is(h1,h2,h3,h4,h5,h6) a,
.legacy-site .dpu-page-title a { text-decoration: none; }
.legacy-copy :is(h1,h2,h3,h4,h5,h6) a:hover,
.legacy-site .dpu-page-title a:hover { text-decoration: underline; }
.legacy-site .dpu-site-header > .dpu-container { flex-wrap: nowrap; padding-block: 0; }
.legacy-site .dpu-site-header nav { flex-wrap: nowrap; }
.legacy-copy .dpu-btn { height: auto; min-height: 38px; white-space: normal; text-align: center; }
.legacy-copy a.dpu-btn:any-link { text-decoration: none; }
.legacy-copy .legacy-retirement-section { margin: 0; padding: 0 0 30px; }
.legacy-copy .legacy-retirement-section + .legacy-retirement-section { padding-top: 28px; border-top: 1px solid var(--dpu-line); }
.legacy-copy .legacy-retirement-section > h2 { margin-top: 0; }
.legacy-copy .legacy-retirement-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 20px 0 0; }
.legacy-copy .legacy-retirement-actions .dpu-btn { flex: none; max-width: 100%; }
.legacy-copy .legacy-retirement-support { display: inline-block; }
.legacy-copy .legacy-feature-matrix { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--dpu-line); border-radius: 7px; font-size: 13px; line-height: 1.5; }
.legacy-feature-matrix :is(th,td) { padding: 8px 12px; border-bottom: 1px solid var(--dpu-line); vertical-align: middle; font-weight: 400; }
.legacy-feature-matrix tbody tr:last-child :is(th,td) { border-bottom: 0; }
.legacy-feature-matrix thead th { position: sticky; top: 0; z-index: 2; background: #f3f6f8; border-bottom: 1px solid #cbd5dd; height: 44px; text-align: center; }
.legacy-feature-matrix thead th:first-child { width: auto; text-align: left; font-weight: 600; }
.legacy-feature-matrix thead th:not(:first-child) { width: 80px; }
.legacy-feature-matrix tbody th { text-align: left; overflow-wrap: anywhere; }
.legacy-copy .legacy-feature-matrix tbody th a:any-link { color: var(--dpu-text); text-decoration: none; }
.legacy-copy .legacy-feature-matrix tbody th a:hover { color: var(--dpu-blue); text-decoration: underline; }
.legacy-feature-matrix td { text-align: center; }
.legacy-feature-matrix .matrix-category :is(th,td) { background: #f3f6f8; }
.legacy-feature-matrix .matrix-category th { font-weight: 600; }
.support-mark { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; padding: 0; vertical-align: middle; border: 0; border-radius: 5px; background: transparent; cursor: help; }
.support-mark svg { width: 16px; height: 16px; }
.support-mark:hover { background: #e9eff4; }
.support-mark:focus-visible { outline: 2px solid var(--dpu-focus); outline-offset: 2px; }
.support-tooltip { position: fixed; z-index: 20; max-width: min(260px,calc(100vw - 20px)); padding: 8px 11px; border: 1px solid #344d61; border-radius: 5px; color: #fff; background: #243b50; font-size: 13px; line-height: 1.5; box-shadow: 0 4px 12px #18334b20; }
.support-tooltip[hidden] { display: none; }
@media (max-width: 720px) {
  .legacy-site .dpu-site-header > .dpu-container { gap: 18px; }
  .legacy-site .dpu-site-header nav { gap: 18px; }
  .legacy-copy .legacy-feature-matrix :is(th,td) { padding: 7px 8px; }
  .legacy-copy .legacy-feature-matrix thead th:not(:first-child) { width: 54px; }
}

/* Legacy editor labels are authoring furniture, not public content. */
.legacy-copy [style*="lbl-"] { background-image: none !important; }

/* Retain ordinary authored tables without overriding specialized comparisons. */
.legacy-copy table:not(.buy-comparison):not(.legacy-feature-matrix) { width: 100%; margin-block: 20px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legacy-copy table:not(.buy-comparison):not(.legacy-feature-matrix) :is(th, td) { border: 1px solid var(--dpu-line); padding: 10px 12px; text-align: left; overflow-wrap: anywhere; }
.legacy-copy table:not(.buy-comparison):not(.legacy-feature-matrix) th { background: var(--dpu-wash); font-weight: 600; }

/* Preserve authenticated public quick actions; protected admin is independent. */
.legacy-site .dpw-body-edit {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(20, 27, 44, .95);
  color: #f5f7ff;
  box-shadow: 0 16px 34px rgba(13, 20, 33, .35);
  backdrop-filter: blur(6px);
  font-family: "Segoe UI", Tahoma, sans-serif;
}
.legacy-site .dpw-admin-overlay-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b8c3df;
}
.legacy-site .dpw-admin-overlay-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #f5f7ff;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}
.legacy-site .dpw-admin-overlay-action:hover,
.legacy-site .dpw-admin-overlay-action:focus-visible {
  color: #f5f7ff;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .25);
}
.legacy-site .dpw-admin-overlay-action:focus-visible {
  outline: 2px solid var(--dpu-focus);
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .legacy-site .dpw-body-edit { left: 10px; right: 10px; bottom: 10px; flex-wrap: wrap; border-radius: 16px; }
}
