/* [START] Shared legacy manual font-preload audit */
.wpacu-fonts-legacy-table-row .wpacu-fonts-legacy-badge {
  display: inline-flex;
  align-items: center;
  margin: 7px 0 0;
  padding: 3px 8px;
  border: 1px solid #d9a441;
  border-radius: 999px;
  background: #fff7df;
  color: #704600;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.wpacu-font-preload-legacy {
  --wpacu-font-brand: var(--wpacu-brand-1, #1a7e8a);
  --wpacu-font-navy: var(--wpacu-brand-2, #17333f);
  --wpacu-font-teal: var(--wpacu-brand-4, #1a7e8a);
  --wpacu-font-text: var(--wpacu-text, #1d2327);
  --wpacu-font-muted: var(--wpacu-muted, #5d6a72);
  --wpacu-font-border: #d7e3e7;
  --wpacu-font-soft: #f7fafb;
  max-width: 990px;
  overflow: hidden;
  border: 1px solid var(--wpacu-font-border);
  border-radius: 12px;
  background: #fff;
  color: var(--wpacu-font-text);
  box-shadow: 0 1px 2px rgba(0, 39, 54, .04);
}

.wpacu-font-preload-legacy,
.wpacu-font-preload-legacy *,
.wpacu-font-preload-legacy *::before,
.wpacu-font-preload-legacy *::after {
  box-sizing: border-box;
}

.wpacu-font-preload-legacy [hidden] {
  display: none !important;
}

.wpacu-font-preload-legacy__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 18px;
  background: linear-gradient(135deg, #f8fbfc 0%, #fff 72%);
  cursor: pointer;
  list-style: none;
}

.wpacu-font-preload-legacy__header::-webkit-details-marker {
  display: none;
}

.wpacu-font-preload-legacy__header:hover {
  background: linear-gradient(135deg, #f2f8fa 0%, #fff 72%);
}

.wpacu-font-preload-legacy__header:focus-visible {
  outline: 2px solid var(--wpacu-font-brand);
  outline-offset: -2px;
}

.wpacu-font-preload-legacy[open] > .wpacu-font-preload-legacy__header {
  border-bottom: 1px solid #e2eaed;
}

.wpacu-font-preload-legacy__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.wpacu-font-preload-legacy__status-wrap {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.wpacu-font-preload-legacy__debug-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  color: #65777f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.wpacu-font-preload-legacy__debug-link .dashicons {
  width: 12px;
  height: 12px;
  font-size: 12px;
  line-height: 12px;
}

.wpacu-font-preload-legacy__debug-link:hover,
.wpacu-font-preload-legacy__debug-link:focus {
  color: var(--wpacu-font-brand);
  text-decoration: none;
}

.wpacu-font-preload-legacy__debug-link:hover > span:last-child,
.wpacu-font-preload-legacy__debug-link:focus > span:last-child {
  text-decoration: underline;
}

.wpacu-font-preload-legacy__arrow {
  width: 20px;
  height: 20px;
  color: var(--wpacu-font-brand);
  font-size: 20px;
  line-height: 20px;
  transition: transform .18s ease;
}

.wpacu-font-preload-legacy[open] > .wpacu-font-preload-legacy__header .wpacu-font-preload-legacy__arrow {
  transform: rotate(90deg);
}

html.wpacu-font-risk-modal-open,
html.wpacu-font-risk-modal-open body {
  overflow: hidden;
}

.wpacu-font-risk-modal {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.wpacu-font-risk-modal[hidden] {
  display: none !important;
}

.wpacu-font-risk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 31, 38, .62);
  backdrop-filter: blur(2px);
}

.wpacu-font-risk-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #d9c184;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 25, 35, .28);
}

.wpacu-font-risk-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff5d8;
  color: #9a6700;
}

.wpacu-font-risk-modal__icon .dashicons {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 24px;
}

.wpacu-font-risk-modal__eyebrow {
  color: #8a5a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wpacu-font-risk-modal__content h3 {
  margin: 5px 0 10px;
  color: var(--wpacu-font-navy);
  font-size: 22px;
  line-height: 1.25;
}

.wpacu-font-risk-modal__content p,
.wpacu-font-risk-modal__content li {
  color: #465b64;
  font-size: 13px;
  line-height: 1.6;
}

.wpacu-font-risk-modal__content p {
  margin: 0 0 12px;
}

.wpacu-font-risk-modal__content p.wpacu-font-risk-modal__preserved {
  margin-bottom: 14px;
  padding: 9px 11px;
  border-left: 3px solid #d49a25;
  background: #fffaf0;
  color: #5d4a25;
  font-weight: 600;
}

.wpacu-font-risk-modal__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpacu-font-risk-modal__content li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 19px;
}

.wpacu-font-risk-modal__content li::before {
  position: absolute;
  top: .65em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 2px solid #d49a25;
  border-radius: 50%;
  background: #fff8e7;
  content: "";
  transform: translateY(-50%);
}

.wpacu-font-risk-modal__actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e3eaec;
}

.wpacu-font-risk-modal__accept.button {
  border-color: #bd810d;
  background: #fffaf0;
  color: #755000;
}

.wpacu-font-risk-modal__accept.button:hover,
.wpacu-font-risk-modal__accept.button:focus {
  border-color: #956300;
  background: #fff3d5;
  color: #5f4100;
}

.wpacu-font-risk-modal__error {
  margin-top: 14px;
  padding: 9px 11px;
  border-left: 3px solid #d63638;
  background: #fcf0f1;
  color: #8a2424;
  font-size: 12px;
}

.wpacu-font-preload-legacy__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e4bd69;
  border-radius: 10px;
  background: #fff7df;
  color: #8a5a00;
}

.wpacu-font-preload-legacy__icon svg {
  width: 22px;
  height: 22px;
}

.wpacu-font-preload-legacy__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.wpacu-font-preload-legacy__title-line h3 {
  margin: 0;
  color: var(--wpacu-font-navy);
  font-size: 17px;
  line-height: 1.35;
}

.wpacu-font-preload-legacy__heading > p {
  max-width: 800px;
  margin: 5px 0 0;
  color: var(--wpacu-font-muted);
  font-size: 12px;
  line-height: 1.55;
}

.wpacu-font-preload-legacy__heading code,
.wpacu-font-preload-legacy__field-help code {
  font-size: inherit;
}

.wpacu-font-preload-legacy__status {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #dfc478;
  border-radius: 999px;
  background: #fff8e4;
  color: #765000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}

.wpacu-font-preload-legacy__warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 17px 22px 0;
  padding: 11px 13px;
  border: 1px solid #e7ca85;
  border-left: 4px solid #c48300;
  border-radius: 7px;
  background: #fffaf0;
  color: #5b471f;
  font-size: 11px;
  line-height: 1.5;
}

.wpacu-font-preload-legacy__warning strong {
  color: #704600;
  white-space: nowrap;
}

.wpacu-font-preload-legacy__preserved {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 15px 22px 0;
  padding: 11px 13px;
  border: 1px solid #bfd5dc;
  border-radius: 7px;
  background: #f5fafb;
  color: #405d68;
  font-size: 11px;
  line-height: 1.5;
}

.wpacu-font-preload-legacy__preserved .dashicons {
  flex: 0 0 auto;
  color: var(--wpacu-font-teal);
}

.wpacu-font-preload-legacy__field {
  padding: 18px 22px 0;
}

.wpacu-font-preload-legacy__field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.wpacu-font-preload-legacy__field-heading label {
  color: #233b45;
  font-size: 12px;
  font-weight: 700;
}

.wpacu-font-preload-legacy__count {
  color: #63757d;
  font-size: 10px;
  font-weight: 600;
}

.wpacu-font-preload-legacy textarea {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  border: 1px solid #aebfc6;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 39, 54, .03);
  color: #263a43;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  resize: vertical;
}

.wpacu-font-preload-legacy .js-wpacu-font-preload-field {
  padding: 10px 11px;
}

.wpacu-font-preload-legacy .js-wpacu-font-preload-field::placeholder {
  color: #8b989e;
  font-style: italic;
  opacity: 1;
}

.wpacu-font-preload-legacy textarea:focus {
  border-color: var(--wpacu-font-brand);
  box-shadow: 0 0 0 1px var(--wpacu-font-brand);
  outline: 0;
}

.wpacu-font-preload-legacy textarea[readonly] {
  background: #f6f8f9;
  color: #66757c;
}

.wpacu-font-preload-legacy__field-help {
  margin: 7px 0 0;
  color: var(--wpacu-font-muted);
  font-size: 10px;
  line-height: 1.5;
}

#wpacu-google-font-preload-legacy .wpacu-font-preload-legacy__field-help {
  font-size: 11px;
}

.wpacu-font-preload-scan {
  margin: 18px 22px 0;
  padding: 17px;
  border: 1px solid #cbdde2;
  border-radius: 9px;
  background: #fbfdfd;
}

.wpacu-font-preload-scan__top {
  display: block;
}

.wpacu-font-preload-scan__top::after {
  display: block;
  clear: both;
  content: "";
}

.wpacu-font-preload-scan__eyebrow,
.wpacu-font-preload-results__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--wpacu-font-teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.wpacu-font-preload-scan__top h4 {
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e5e7;
  color: var(--wpacu-font-navy);
  font-size: 15px;
  line-height: 1.4;
}

.wpacu-font-preload-scan__top p {
  max-width: none;
  margin: 8px 0 0 !important;
  color: var(--wpacu-font-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wpacu-font-preload-scan__scope {
  display: flex;
  float: right;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin: 0 0 8px 20px;
  max-width: none;
}

.wpacu-font-preload-scan__scope span {
  padding: 3px 7px;
  border: 1px solid #cbdce1;
  border-radius: 999px;
  background: #fff;
  color: #536a74;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.wpacu-font-preload-scan__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}

.wpacu-font-preload-scan__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 7px !important;
}

.wpacu-font-preload-scan__start .dashicons {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  margin: 11px 4px 0 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  vertical-align: middle;
}

.wpacu-font-preload-scan__start .dashicons::before {
  font-size: 21px;
}

.wpacu-font-preload-scan__start.is-scanning .wpacu-font-preload-scan__start-icon {
  box-sizing: border-box;
  width: 15px !important;
  height: 15px !important;
  border: 2px solid #9ccbd4;
  border-top-color: #087f92;
  border-radius: 50%;
  animation: wpacu-font-preload-spin 700ms linear infinite;
}

.wpacu-font-preload-scan__start.is-scanning .wpacu-font-preload-scan__start-icon::before {
  content: "";
}

@keyframes wpacu-font-preload-spin {
  to {
    transform: rotate(360deg);
  }
}

.wpacu-font-preload-scan__retry {
  border-color: #b98a37;
  color: #75520f;
}

.wpacu-font-preload-scan__save-note {
  color: #718087;
  font-size: 10px;
}

.wpacu-font-preload-scan__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e1e9eb;
}

.wpacu-font-preload-scan__options > details {
  flex: 1 1 310px;
  min-width: 0;
}

.wpacu-font-preload-scan__options summary,
.wpacu-font-preload-legacy__technical summary,
.wpacu-font-preload-scan__checks > summary,
.wpacu-font-preload-result__details-summary {
  color: #3e5b66;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.wpacu-font-preload-scan__options summary {
  padding: 3px 0;
}

.wpacu-font-preload-scan__extra-pages > div,
.wpacu-font-preload-scan__method > p {
  margin: 8px 0 0;
}

.wpacu-font-preload-scan__extra-pages label {
  display: block;
  margin-bottom: 5px;
  color: #344b55;
  font-size: 10px;
  font-weight: 700;
}

.wpacu-font-preload-scan__extra-pages textarea {
  padding: 7px 9px;
}

.wpacu-font-preload-scan__extra-pages p,
.wpacu-font-preload-scan__method p {
  color: #718087;
  font-size: 10px;
  line-height: 1.5;
}

.wpacu-font-preload-scan__feedback {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid #b8d8df;
  border-radius: 6px;
  background: #fff;
  color: #38545f;
  font-size: 10px;
  line-height: 1.5;
}

.wpacu-font-preload-scan__feedback.is-error {
  border-color: #e3aaa6;
  background: #fff5f4;
  color: #8b2d28;
}

.wpacu-font-preload-scan__feedback.is-success {
  border-color: #b9dec5;
  background: #f4fbf6;
  color: #28633d;
}

.wpacu-font-preload-scan__feedback.is-warning {
  border-color: #e4cf96;
  background: #fffaf0;
  color: #765713;
}

.wpacu-font-preload-scan__feedback.is-info,
.wpacu-font-preload-scan__feedback.is-notice {
  border-color: #bdd8df;
  background: #f7fbfc;
  color: #3c606c;
}

.wpacu-font-preload-scan__progress {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #e1e9eb;
}

.wpacu-font-preload-scan__progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
  color: #405862;
  font-size: 12px;
  line-height: 1.4;
}

.wpacu-font-preload-scan__progress-heading strong {
  color: var(--wpacu-font-teal);
}

.wpacu-font-preload-scan__progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2eaec;
}

.wpacu-font-preload-scan__progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wpacu-font-teal), #35a4ac);
  transition: width 180ms ease;
}

.wpacu-font-preload-scan__checks {
  margin-top: 9px;
  border: 1px solid #e0e8ea;
  border-radius: 7px;
  background: #fff;
}

.wpacu-font-preload-scan__checks > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  list-style: none;
  font-size: 12px;
}

.wpacu-font-preload-scan__checks > summary::-webkit-details-marker {
  display: none;
}

.wpacu-font-preload-scan__checks > summary::after {
  content: "+";
  color: #6d7d83;
  font-size: 14px;
  line-height: 1;
}

.wpacu-font-preload-scan__checks[open] > summary::after {
  content: "−";
}

.wpacu-font-preload-scan__checks > summary > span:last-child {
  margin-left: auto;
  color: #718087;
  font-weight: 500;
}

.wpacu-font-preload-scan__pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 9px 9px;
}

.wpacu-font-preload-scan__page {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e1e8ea;
  border-radius: 6px;
  background: #fbfcfc;
}

.wpacu-font-preload-scan__page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #edf2f3;
  color: #65767d;
  font-size: 10px;
  font-weight: 700;
}

.wpacu-font-preload-scan__page.is-running .wpacu-font-preload-scan__page-icon {
  box-sizing: border-box;
  background: #e5f2f4;
  border: 2px solid #b7dbe0;
  border-top-color: var(--wpacu-font-teal);
  color: transparent;
  animation: wpacu-font-preload-spin 700ms linear infinite;
}

.wpacu-font-preload-scan__page.is-retrying .wpacu-font-preload-scan__page-icon {
  background: #fff3dd;
  color: #9a6200;
}

.wpacu-font-preload-scan__page.is-observed-all .wpacu-font-preload-scan__page-icon {
  background: #e4f5e9;
  color: #1b7a3f;
}

.wpacu-font-preload-scan__page.is-observed-some .wpacu-font-preload-scan__page-icon {
  background: #fff0d9;
  color: #9a5d00;
}

.wpacu-font-preload-scan__page.is-observed-none .wpacu-font-preload-scan__page-icon {
  background: #edf2f3;
  color: #65767d;
}

.wpacu-font-preload-scan__page.is-warning .wpacu-font-preload-scan__page-icon,
.wpacu-font-preload-scan__page.is-failed .wpacu-font-preload-scan__page-icon {
  background: #fff0e9;
  color: #a74628;
}

.wpacu-font-preload-scan__page-copy {
  min-width: 0;
}

.wpacu-font-preload-scan__page-copy strong,
.wpacu-font-preload-scan__page-copy small {
  display: block;
}

.wpacu-font-preload-scan__page-copy strong {
  overflow: hidden;
  color: #40545d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-scan__page-link,
.wpacu-font-preload-scan__page-link:visited {
  color: #52707b;
  text-decoration: none;
}

.wpacu-font-preload-scan__page-link:hover,
.wpacu-font-preload-scan__page-link:focus {
  color: var(--wpacu-font-teal);
  text-decoration: none;
}

.wpacu-font-preload-scan__page-copy small {
  overflow: hidden;
  margin-top: 1px;
  color: #78868c;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-scan__page-copy .wpacu-font-preload-scan__page-detail {
  margin-top: 4px;
  color: #8a5a00;
  white-space: normal;
}

.wpacu-font-preload-scan__page.is-observed-all .wpacu-font-preload-scan__page-detail {
  color: #287144;
}

.wpacu-font-preload-scan__page.is-observed-none .wpacu-font-preload-scan__page-detail {
  color: #687a81;
}

.wpacu-font-preload-results {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dfe8ea;
}

.wpacu-font-preload-results__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wpacu-font-preload-results__header h5 {
  margin: 0;
  color: var(--wpacu-font-navy);
  font-size: 14px;
  line-height: 1.4;
}

.wpacu-font-preload-results__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.wpacu-font-preload-results__summary > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 4px 7px;
  border: 1px solid #d7e0e3;
  border-radius: 999px;
  background: #fff;
  color: #53656d;
  font-size: 10px;
  line-height: 1.3;
}

.wpacu-font-preload-results__summary > span strong {
  font-size: 10px;
}

/*
 * Result color semantics are intentionally directional:
 * - keep / likely site-wide candidate = green (retain the preload)
 * - safe to remove = warm red/orange (cleanup action)
 *
 * Do not invert these two states: a green removable result looks like a
 * recommendation to keep it, especially when its removal checkbox is ticked.
 */
.wpacu-font-preload-results__summary .is-safe {
  border-color: #e7b49f;
  background: #fff5f1;
  color: #963719;
}

.wpacu-font-preload-results__summary .is-keep {
  border-color: #b8ddc4;
  background: #f3fbf5;
  color: #176a37;
}

.wpacu-font-preload-results__summary .is-broad {
  border-color: #bfd9d3;
  background: #f2faf8;
  color: #2a6b60;
}

.wpacu-font-preload-results__summary .is-selective {
  border-color: #e5bd83;
  background: #fff8ec;
  color: #8a4e00;
}

.wpacu-font-preload-results__summary .is-review {
  border-color: #ddd0a8;
  background: #fffdf6;
  color: #745b10;
}

.wpacu-font-preload-results__summary .is-unknown {
  background: #f7f8f8;
  color: #647178;
}

.wpacu-font-preload-results__notice {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #d5e3e6;
  border-radius: 6px;
  background: #f8fbfc;
  color: #4d646d;
  font-size: 10px;
  line-height: 1.5;
}

.wpacu-font-preload-results__notice.is-warning {
  border-color: #e4cf99;
  background: #fffaf0;
  color: #6e5417;
}

.wpacu-font-preload-results__notice-copy {
  font-weight: 600;
}

.wpacu-font-preload-resolver-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(136, 104, 25, .18);
}

.wpacu-font-preload-resolver-details > summary {
  cursor: pointer;
  color: #725310;
  font-weight: 700;
}

.wpacu-font-preload-resolver-details__body {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.wpacu-font-preload-resolver-failure {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e7d8ad;
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
}

.wpacu-font-preload-resolver-failure__url {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b4f52;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-resolver-failure__message {
  margin: 5px 0 0;
  color: #6e5417;
  font-size: 10px;
  line-height: 1.45;
}

.wpacu-font-preload-resolver-failure__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.wpacu-font-preload-resolver-failure__meta span {
  padding: 2px 5px;
  border: 1px solid #e8ddb9;
  border-radius: 999px;
  background: #fffdf7;
  color: #735d25;
  font-size: 8px;
}

.wpacu-font-preload-resolver-failure__final,
.wpacu-font-preload-resolver-details__ua {
  display: grid;
  grid-template-columns: minmax(105px, 145px) minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  margin-top: 7px;
  color: #6a5b35;
  font-size: 8px;
}

.wpacu-font-preload-resolver-failure__final code,
.wpacu-font-preload-resolver-details__ua code {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: #596369;
  font-size: 8px;
  overflow-wrap: anywhere;
}

.wpacu-font-preload-resolver-details__retry {
  justify-self: start;
  margin-top: 2px !important;
}

.wpacu-font-preload-results__list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.wpacu-font-preload-result {
  overflow: hidden;
  border: 1px solid #d8e2e5;
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}

.wpacu-font-preload-result.is-safe { border-left-color: #d15b36; }
.wpacu-font-preload-result.is-keep { border-left-color: #2a9a56; }
.wpacu-font-preload-result.is-broad { border-left-color: #4b9184; }
.wpacu-font-preload-result.is-selective { border-left-color: #c87511; }
.wpacu-font-preload-result.is-review { border-left-color: #b39836; }
.wpacu-font-preload-result.is-unknown { border-left-color: #89979d; }

.wpacu-font-preload-result__header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: stretch;
}

.wpacu-font-preload-result__action {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14px 6px;
  border-right: 1px solid #e8edef;
  background: #fbfcfc;
}

.wpacu-font-preload-result__selection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
}

.wpacu-font-preload-result__selection input[type="checkbox"] {
  margin: 0 !important;
}

.wpacu-font-preload-result.is-safe .wpacu-font-preload-result__action {
  background: #fff8f5;
}

.wpacu-font-preload-result.is-safe .wpacu-font-preload-result__selection input[type="checkbox"] {
  accent-color: #c9512f;
}

.wpacu-font-preload-result__state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #edf2f3;
  color: #596b72;
  font-size: 12px;
  font-weight: 700;
}

.wpacu-font-preload-result.is-keep .wpacu-font-preload-result__state-icon {
  background: #e4f5e9;
  color: #1b7a3f;
}

.wpacu-font-preload-result.is-broad .wpacu-font-preload-result__state-icon {
  background: #e6f3f0;
  color: #2a6b60;
}

.wpacu-font-preload-result.is-selective .wpacu-font-preload-result__state-icon {
  background: #fff0dc;
  color: #8a4e00;
}

.wpacu-font-preload-result.is-review .wpacu-font-preload-result__state-icon {
  background: #fff7dd;
  color: #745b10;
}

.wpacu-font-preload-result__main {
  min-width: 0;
  padding: 11px 13px 10px;
}

.wpacu-font-preload-result__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.wpacu-font-preload-result__status {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf2f3;
  color: #53666e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.wpacu-font-preload-result.is-safe .wpacu-font-preload-result__status {
  background: #fde9e0;
  color: #963719;
}

.wpacu-font-preload-result.is-keep .wpacu-font-preload-result__status {
  background: #e3f5e9;
  color: #176a37;
}

.wpacu-font-preload-result.is-broad .wpacu-font-preload-result__status {
  background: #e6f3f0;
  color: #2a6b60;
}

.wpacu-font-preload-result.is-selective .wpacu-font-preload-result__status {
  background: #fff0dc;
  color: #8a4e00;
}

.wpacu-font-preload-result.is-review .wpacu-font-preload-result__status {
  background: #fff7dd;
  color: #745b10;
}

.wpacu-font-preload-result__coverage {
  color: #6b7c83;
  font-size: 10px;
  font-weight: 600;
}

.wpacu-font-preload-result__url {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #293f49;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-result__compact-reason {
  margin: 6px 0 0;
  color: #536971;
  font-size: 10px;
  line-height: 1.45;
}

.wpacu-font-preload-result__removal-note {
  display: block;
  margin-top: 5px;
  color: #718087;
  font-size: 10px;
  line-height: 1.4;
}

.wpacu-font-preload-result__removal-note.is-deterministic {
  color: #a34627;
}

.wpacu-font-preload-result__removal-note.is-usage {
  color: #8a5a00;
}

.wpacu-font-preload-result__details {
  border-top: 1px solid #edf1f2;
}

.wpacu-font-preload-result__details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 13px;
  list-style: none;
  background: #fbfcfc;
}

.wpacu-font-preload-result__details-summary::-webkit-details-marker {
  display: none;
}

.wpacu-font-preload-result__details-summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #6b7b82;
  font-size: 14px;
  line-height: 1;
}

.wpacu-font-preload-result__details[open] > .wpacu-font-preload-result__details-summary::after {
  content: "−";
}

.wpacu-font-preload-result__details-summary small {
  margin-left: auto;
  color: #839096;
  font-size: 10px;
  font-weight: 400;
}

.wpacu-font-preload-result__details-body {
  padding: 0 13px 12px;
}

.wpacu-font-preload-result__reason {
  margin: 11px 0 0;
  color: #5d6e75;
  font-size: 10px;
  line-height: 1.55;
}

.wpacu-font-preload-result__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.wpacu-font-preload-result__metric {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e3e9eb;
  border-radius: 6px;
  background: #fafcfc;
}

.wpacu-font-preload-result__metric span,
.wpacu-font-preload-result__metric strong {
  display: block;
}

.wpacu-font-preload-result__metric span {
  color: #7a888e;
  font-size: 8px;
}

.wpacu-font-preload-result__metric strong {
  margin-top: 3px;
  color: #3c545e;
  font-size: 10px;
}

.wpacu-font-preload-result__evidence {
  display: grid;
  grid-template-columns: minmax(120px, 145px) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #edf1f2;
  color: #65777e;
  font-size: 10px;
}

.wpacu-font-preload-result__evidence > strong {
  color: #4c626b;
}

.wpacu-font-preload-result__chips {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px;
}

.wpacu-font-preload-result__chips span,
.wpacu-font-preload-result__face {
  padding: 3px 6px;
  border: 1px solid #dce5e7;
  border-radius: 999px;
  background: #f8fbfb;
  color: #53676f;
  line-height: 1.35;
}

.wpacu-font-preload-result__evidence.is-negative .wpacu-font-preload-result__chips span,
.wpacu-font-preload-result__evidence.is-review .wpacu-font-preload-result__chips span {
  border-color: #e6d9b1;
  background: #fffdf7;
  color: #765b12;
}

.wpacu-font-preload-result__sources {
  min-width: 0;
}

.wpacu-font-preload-result__source {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 4px;
  padding: 4px 6px;
  border: 0;
  border-radius: 4px;
  background: #f7f9f9;
  color: #486069;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-result__verification {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dfe8ea;
  border-radius: 6px;
  background: #fafcfc;
}

.wpacu-font-preload-result__verification h6 {
  margin: 0;
  color: #425961;
  font-size: 10px;
}

.wpacu-font-preload-result__verification p {
  margin: 5px 0 8px;
  color: #65777e;
  font-size: 10px;
  line-height: 1.5;
}

.wpacu-font-preload-result__verification-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wpacu-font-preload-result__provenance,
.wpacu-font-preload-result__resolver-impact {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dfe8ea;
  border-radius: 6px;
  background: #fafcfc;
}

.wpacu-font-preload-result__resolver-impact {
  border-color: #e7d8ad;
  background: #fffdf7;
}

.wpacu-font-preload-result__provenance h6,
.wpacu-font-preload-result__resolver-impact h6 {
  margin: 0;
  color: #425961;
  font-size: 10px;
}

.wpacu-font-preload-result__resolver-impact h6 {
  color: #705718;
}

.wpacu-font-preload-result__provenance-summary,
.wpacu-font-preload-result__provenance-empty,
.wpacu-font-preload-result__resolver-impact > p {
  margin: 5px 0 0;
  color: #65777e;
  font-size: 10px;
  line-height: 1.5;
}

.wpacu-font-preload-result__provenance-summary.is-ok {
  color: #2d6f4a;
}

.wpacu-font-preload-result__provenance-summary.is-warning {
  color: #8a5a00;
}

.wpacu-font-preload-result__provenance-rows {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.wpacu-font-preload-result__provenance-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(115px, .7fr) minmax(125px, .75fr) minmax(135px, .8fr);
  gap: 6px;
  align-items: center;
  padding: 7px;
  border: 1px solid #e5ebed;
  border-radius: 5px;
  background: #fff;
}

.wpacu-font-preload-result__provenance-check {
  min-width: 0;
}

.wpacu-font-preload-result__provenance-check strong,
.wpacu-font-preload-result__provenance-check small {
  display: block;
}

.wpacu-font-preload-result__provenance-check strong {
  overflow: hidden;
  color: #445b64;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpacu-font-preload-result__provenance-check small {
  margin-top: 2px;
  color: #7a888e;
  font-size: 8px;
  line-height: 1.35;
}

.wpacu-font-preload-result__provenance-source,
.wpacu-font-preload-result__provenance-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 3px 6px;
  border: 1px solid #dce5e7;
  border-radius: 999px;
  background: #f8fbfb;
  color: #53676f;
  font-size: 8px;
  line-height: 1.3;
  text-align: center;
}

.wpacu-font-preload-result__provenance-state.is-yes {
  border-color: #c5e0ce;
  background: #f2faf5;
  color: #286e45;
}

.wpacu-font-preload-result__provenance-state.is-no {
  border-color: #e5d4a3;
  background: #fffaf0;
  color: #7a5d16;
}

.wpacu-font-preload-result__resolver-impact .wpacu-font-preload-resolver-failure {
  margin-top: 7px;
}

.wpacu-font-preload-results__footer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dce6e8;
  border-radius: 7px;
  background: #fafcfc;
}

.wpacu-font-preload-results__footer > span,
.wpacu-font-preload-results__footer > small {
  color: #718087;
  font-size: 10px;
}

.wpacu-font-preload-results__footer > small {
  justify-self: end;
  text-align: right;
}

.wpacu-font-preload-scan__undo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #b9dec5;
  border-radius: 6px;
  background: #f4fbf6;
  color: #355d43;
  font-size: 10px;
}

.wpacu-font-preload-scan__undo .dashicons {
  color: #218147;
}

.wpacu-font-preload-scan__undo .button-link {
  margin-left: auto;
  font-weight: 700;
}

.wpacu-font-preload-legacy__technical {
  margin: 17px 22px 20px;
  border-top: 1px solid #e3eaec;
}

.wpacu-font-preload-legacy__technical > summary {
  padding: 11px 0;
}

.wpacu-font-preload-legacy__technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wpacu-font-preload-legacy__technical-grid > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e0e7e9;
  border-radius: 6px;
  background: #fafcfc;
}

.wpacu-font-preload-legacy__technical-grid strong,
.wpacu-font-preload-legacy__technical-grid code {
  display: block;
}

.wpacu-font-preload-legacy__technical-grid strong {
  margin-bottom: 6px;
  color: #3b515a;
  font-size: 10px;
}

.wpacu-font-preload-legacy__technical-grid code {
  overflow: auto;
  margin-top: 4px;
  padding: 5px 6px;
  border: 1px solid #e1e7e9;
  border-radius: 4px;
  background: #fff;
  color: #40535c;
  font-size: 10px;
  white-space: nowrap;
}

.wpacu-font-preload-scan__frames {
  position: fixed;
  top: 0;
  left: -30000px;
  z-index: -1;
  width: 1px;
  height: 1px;
  overflow: visible;
  pointer-events: none;
}

.wpacu-font-preload-scan__frame {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  border: 0;
  background: #fff;
  pointer-events: none;
}
/* [END] Shared legacy manual font-preload audit */

/* [START] Google Fonts modern settings */
#wpacu-setting-google-fonts .wpacu-google-fonts-header {
  padding: 8px 28px 20px;
  border-bottom: 1px solid #e2e5e7;
}

#wpacu-setting-google-fonts .wpacu-google-fonts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: var(--wpacu-brand-4, #006584);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}

#wpacu-setting-google-fonts .wpacu-google-fonts-eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--wpacu-brand-3, #00a7a7);
  box-shadow: 0 0 0 4px rgba(0, 167, 167, .1);
  content: "";
}

#wpacu-setting-google-fonts .wpacu-google-fonts-header h2 {
  margin: 0;
  color: #024567;
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

#wpacu-setting-google-fonts .wpacu-google-fonts-header p {
  max-width: 830px;
  margin: 8px 0 0;
  color: var(--wpacu-muted, #5d6a72);
  font-size: 15px;
  line-height: 1.6;
}

#wpacu-setting-google-fonts .wpacu-google-fonts-header + .wpacu-sub-tabs-wrap {
  margin-top: 20px;
}

@media (max-width: 760px) {
  #wpacu-setting-google-fonts .wpacu-google-fonts-header {
    padding: 21px 19px 17px;
  }
}

.wpacu-google-fonts-disabled-notice {
  display: flex;
  max-width: 1180px;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #e0c77f;
  border-left: 4px solid #c48300;
  border-radius: 8px;
  background: #fffaf0;
  color: #5d491e;
}

.wpacu-google-fonts-disabled-notice .dashicons {
  flex: 0 0 auto;
  color: #9b6800;
}

.wpacu-google-fonts-disabled-notice strong {
  color: #704600;
}

.wpacu-google-fonts-disabled-notice p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.wpacu-google-fonts-layout {
  display: grid;
  max-width: 1180px;
  gap: 16px;
}

.wpacu-google-fonts-card {
  overflow: hidden;
  border: 1px solid #d7e3e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 39, 54, .04);
}

.wpacu-google-fonts-card,
.wpacu-google-fonts-card *,
.wpacu-google-fonts-card *::before,
.wpacu-google-fonts-card *::after {
  box-sizing: border-box;
}

.wpacu-google-fonts-card__header {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 21px 17px;
  border-bottom: 1px solid #e3eaed;
  background: linear-gradient(135deg, #f8fbfc 0%, #fff 72%);
}

.wpacu-google-fonts-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #acd8dd;
  border-radius: 10px;
  background: #eff9fa;
  color: #0e6f79;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.wpacu-google-fonts-card__icon.is-legacy {
  border-color: #e4c679;
  background: #fff8e8;
  color: #865c08;
}

.wpacu-google-fonts-card__icon .dashicons {
  width: 21px;
  height: 21px;
  font-size: 21px;
}

.wpacu-google-fonts-card__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #1a7e8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.wpacu-google-fonts-card__title-line {
  display: block;
  margin-bottom: 2px;
  padding-right: 0;
}

.wpacu-google-fonts-card__heading-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: 100%;
}

.wpacu-google-fonts-card__badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid #dfc478;
  border-radius: 999px;
  background: #fff8e4;
  color: #765000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}

.wpacu-google-fonts-card__header h3 {
  margin: 0;
  padding-right: 0;
  color: #17333f;
  font-size: 18px;
  line-height: 1.4;
}

.wpacu-google-fonts-card__header p {
  max-width: 750px;
  margin: 5px 0 0;
  padding-right: 0;
  color: #5d6a72;
  font-size: 14px;
  line-height: 1.5;
}

.wpacu-google-fonts-card__body {
  padding: 18px 21px;
}

.wpacu-google-fonts-card__enable-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 21px;
  border-bottom: 1px solid #e3eaed;
  background: #fbfcfc;
}

.wpacu-google-fonts-card__enable-copy {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.wpacu-google-fonts-card__enable-copy strong,
.wpacu-google-fonts-card__enable-copy span {
  display: block;
}

.wpacu-google-fonts-card__enable-copy strong {
  color: #314a54;
  font-size: 14px;
  line-height: 1.4;
}

.wpacu-google-fonts-card__enable-copy span {
  margin-top: 2px;
  color: #6c7b81;
  font-size: 12px;
  line-height: 1.4;
}

.wpacu-google-fonts-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wpacu-google-fonts-control {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfe8ea;
  border-radius: 8px;
  background: #fbfcfc;
}

.wpacu-google-fonts-control > label,
.wpacu-google-fonts-control__field-row > label,
.wpacu-google-fonts-control__switch-row strong {
  display: block;
  color: #314a54;
  font-size: 14px;
  font-weight: 700;
}

.wpacu-google-fonts-control select {
  width: 100%;
  max-width: none;
  margin-top: 7px;
}

.wpacu-google-fonts-control__field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wpacu-google-fonts-control__field-row > label {
  flex: 0 0 auto;
}

.wpacu-google-fonts-control__field-row > select {
  flex: 0 0 210px;
  width: 210px;
  max-width: 100%;
  margin-top: 0;
  border-radius: 7px;
}

.wpacu-google-fonts-control p {
  margin: 7px 0 0;
  color: #6c7b81;
  font-size: 13px;
  line-height: 1.45;
}

.wpacu-google-fonts-control > a {
  display: inline-block;
  margin-top: 7px;
  font-size: 13px;
}

.wpacu-google-fonts-display-existing {
  min-width: 0;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
}

.wpacu-google-fonts-display-dependent {
  opacity: 1;
  transition: opacity .2s ease;
}

.wpacu-google-fonts-display-dependent.is-inactive {
  opacity: .4;
}

.wpacu-google-fonts-display-dependent > a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}

.wpacu-font-display-modal {
  box-sizing: border-box;
  padding: 44px 18px 24px;
  overflow-y: auto;
}

.wpacu-font-display-modal__content {
  position: relative;
  box-sizing: border-box;
  width: min(880px, 100%);
  max-width: 880px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbdde2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 51, 63, .22);
}

.wpacu-font-display-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #718087;
  font-size: 28px;
  line-height: 30px;
  cursor: pointer;
}

.wpacu-font-display-modal__close:hover,
.wpacu-font-display-modal__close:focus {
  background: #edf3f5;
  color: #17333f;
  outline: 0;
}

.wpacu-font-display-modal__header {
  padding: 25px 64px 21px 27px;
  border-bottom: 1px solid #dce7ea;
  background: linear-gradient(135deg, #f7fbfc 0%, #fff 72%);
}

.wpacu-font-display-modal__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #1a7e8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.wpacu-font-display-modal__header h2 {
  margin: 0;
  color: #17333f;
  font-size: 21px;
  line-height: 1.3;
}

.wpacu-font-display-modal__header p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #5c6d74;
  font-size: 13px;
  line-height: 1.5;
}

.wpacu-font-display-modal__list {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f7f9fa;
}

.wpacu-font-display-option {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #fff;
}

.wpacu-font-display-option.is-recommended {
  border-color: #9bcdd0;
  background: #f4fbfb;
  box-shadow: inset 3px 0 0 #1a8d96;
}

.wpacu-font-display-option__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.wpacu-font-display-option__name code {
  padding: 3px 7px;
  border: 1px solid #cddde1;
  border-radius: 6px;
  background: #f5f8f9;
  color: #17333f;
  font-size: 14px;
  font-weight: 700;
}

.wpacu-font-display-option__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #9bcdd0;
  border-radius: 999px;
  background: #eaf8f8;
  color: #116b73;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.wpacu-font-display-option__badge.is-warning {
  border-color: #e2c67c;
  background: #fff8e4;
  color: #765000;
}

.wpacu-font-display-option__badge.is-neutral {
  border-color: #d3dde0;
  background: #f3f6f7;
  color: #5b6b72;
}

.wpacu-font-display-option__body strong {
  display: block;
  color: #263f49;
  font-size: 13px;
  line-height: 1.4;
}

.wpacu-font-display-option__body p {
  margin: 3px 0 0;
  color: #5b6b72;
  font-size: 12px;
  line-height: 1.5;
}

.wpacu-font-display-modal__example {
  overflow: hidden;
  border: 1px solid #d8e3e6;
  border-radius: 8px;
  background: #fff;
}

.wpacu-font-display-modal__example header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-bottom: 1px solid #e1e8ea;
}

.wpacu-font-display-modal__example header > .dashicons {
  color: #1a7e8a;
}

.wpacu-font-display-modal__example header strong,
.wpacu-font-display-modal__example header small {
  display: block;
}

.wpacu-font-display-modal__example header strong {
  color: #263f49;
  font-size: 13px;
}

.wpacu-font-display-modal__example header small {
  margin-top: 2px;
  color: #687980;
  font-size: 11px;
}

.wpacu-font-display-modal__example pre {
  margin: 0;
  padding: 14px 17px;
  overflow-x: auto;
  border: 0;
  background: #18272e;
  color: #dce8eb;
  font-size: 12px;
  line-height: 1.55;
}

.wpacu-font-display-modal__example pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

.wpacu-font-display-modal__example mark {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(81, 184, 137, .2);
  color: #d6f7e8;
}

@media screen and (max-width: 650px) {
  .wpacu-font-display-modal {
    padding: 20px 10px;
  }

  .wpacu-font-display-modal__header {
    padding: 21px 52px 18px 19px;
  }

  .wpacu-font-display-modal__list {
    padding: 12px;
  }

  .wpacu-font-display-option {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 14px;
  }
}

.wpacu-google-fonts-display-existing > legend {
  margin: 0 0 7px;
  padding: 0;
  color: #314a54;
  font-size: 13px;
  font-weight: 700;
}

.wpacu-google-fonts-display-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wpacu-google-fonts-display-choices > label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #d2dde0;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.wpacu-google-fonts-display-choices > label:hover {
  border-color: #88bdc5;
  background: #f7fcfc;
}

.wpacu-google-fonts-display-choices input {
  flex: 0 0 auto;
  margin-top: 2px !important;
}

.wpacu-google-fonts-display-choices strong,
.wpacu-google-fonts-display-choices small {
  display: block;
}

.wpacu-google-fonts-display-choices strong {
  color: #314750;
  font-size: 13px;
}

.wpacu-google-fonts-display-choices small {
  margin-top: 2px;
  color: #6c7a80;
  font-size: 12px;
  line-height: 1.35;
}

.wpacu-google-fonts-control__switch-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.wpacu-google-fonts-generated-output {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e9eb;
  transition: opacity 160ms ease;
}

.wpacu-google-fonts-generated-output span,
.wpacu-google-fonts-generated-output code {
  display: block;
}

.wpacu-google-fonts-generated-output span {
  margin-bottom: 5px;
  color: #718087;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.wpacu-google-fonts-generated-output code,
.wpacu-google-fonts-code-list code,
.wpacu-google-fonts-loading-details code {
  overflow: auto;
  padding: 7px 8px;
  border: 1px solid #e0e7e9;
  border-radius: 5px;
  background: #fff;
  color: #40535c;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.wpacu-google-fonts-card__technical {
  border-top: 1px solid #e3eaed;
}

.wpacu-google-fonts-card__technical > summary {
  padding: 11px 21px;
  color: #46606a;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.wpacu-google-fonts-code-list {
  display: grid;
  gap: 7px;
  padding: 0 21px 17px;
}

.wpacu-google-fonts-loading-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.wpacu-google-fonts-loading-methods legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #344d57;
  font-size: 14px;
  font-weight: 700;
}

.wpacu-google-fonts-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.wpacu-google-fonts-method:hover {
  border-color: #a9cdd3;
  background: #f9fcfc;
}

.wpacu-google-fonts-method input {
  margin: 2px 0 0 !important;
}

.wpacu-google-fonts-method strong,
.wpacu-google-fonts-method small {
  display: block;
}

.wpacu-google-fonts-method strong {
  color: #344d57;
  font-size: 13px;
}

.wpacu-google-fonts-method small {
  margin-top: 3px;
  color: #718087;
  font-size: 12px;
  line-height: 1.4;
}

.wpacu-google-fonts-loading-details {
  margin: 14px -21px -18px;
}

.wpacu-google-fonts-loading-details__body {
  padding: 0 21px 17px;
}

.wpacu_google_fonts_combine_type_area p {
  color: #5d6e75;
  font-size: 13px;
  line-height: 1.5;
}

.wpacu_google_fonts_combine_type_area code {
  display: block;
}

.wpacu-google-fonts-method-warning {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid #e2c67f;
  border-radius: 6px;
  background: #fffaf0;
  color: #6d5315;
}

.wpacu-google-fonts-method-warning .dashicons {
  flex: 0 0 auto;
  color: #986600;
}

.wpacu-google-fonts-method-warning p {
  margin: 0;
}

.wpacu-google-fonts-manual-section .wpacu-font-preload-legacy {
  max-width: none;
}

#wpacu-setting-local-fonts .wpacu-font-preload-legacy {
  max-width: 1180px;
}

.wpacu-google-fonts-layout.is-removal-enabled > .wpacu-google-fonts-card,
.wpacu-google-fonts-layout.is-removal-enabled > .wpacu-google-fonts-manual-section {
  opacity: .65;
}
/* [END] Google Fonts modern settings */

@media (max-width: 1100px) {
  .wpacu-font-preload-scan__top {
    display: flex;
    flex-direction: column;
  }

  .wpacu-font-preload-scan__intro {
    order: 1;
  }

  .wpacu-font-preload-scan__scope {
    order: 2;
    float: none;
    align-self: stretch;
  }

  .wpacu-font-preload-results__header {
    display: block;
  }

  .wpacu-font-preload-scan__scope,
  .wpacu-font-preload-results__summary {
    justify-content: flex-start;
    max-width: none;
    margin: 10px 0 0;
  }

  .wpacu-font-preload-result__metrics,
  .wpacu-google-fonts-delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpacu-font-preload-result__provenance-row {
    grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(105px, .8fr));
  }
}

@media (max-width: 782px) {
  .wpacu-fonts-legacy-table-row .wpacu-fonts-legacy-badge {
    margin-left: 8px;
  }

  .wpacu-font-preload-legacy__header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 17px;
  }

  .wpacu-google-fonts-card__header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .wpacu-font-preload-legacy__icon,
  .wpacu-google-fonts-card__icon {
    width: 40px;
    height: 40px;
  }

  .wpacu-font-preload-legacy__warning,
  .wpacu-font-preload-legacy__preserved,
  .wpacu-font-preload-legacy__field,
  .wpacu-font-preload-scan,
  .wpacu-font-preload-legacy__technical {
    margin-right: 17px;
    margin-left: 17px;
  }

  .wpacu-font-preload-legacy__field {
    padding-right: 0;
    padding-left: 0;
  }

  .wpacu-font-preload-scan__pages,
  .wpacu-font-preload-legacy__technical-grid,
  .wpacu-google-fonts-delivery-grid,
  .wpacu-google-fonts-loading-methods {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-google-fonts-loading-methods legend {
    grid-column: auto;
  }

  .wpacu-google-fonts-card__body {
    padding: 17px;
  }

  .wpacu-google-fonts-card__enable-row {
    padding-right: 17px;
    padding-left: 17px;
  }

  .wpacu-google-fonts-loading-details {
    margin-right: -17px;
    margin-left: -17px;
  }

  .wpacu-font-preload-results__footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-font-preload-result__provenance-row {
    grid-template-columns: minmax(0, 1fr) minmax(110px, .7fr);
  }

  .wpacu-font-preload-results__footer > small {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .wpacu-font-risk-modal {
    padding: 12px;
  }

  .wpacu-font-risk-modal__dialog {
    grid-template-columns: minmax(0, 1fr);
    padding: 21px;
  }

  .wpacu-font-risk-modal__icon {
    margin-bottom: 12px;
  }

  .wpacu-font-risk-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wpacu-font-risk-modal__actions .button {
    justify-content: center;
  }

  .wpacu-google-fonts-control__field-row {
    align-items: stretch;
    flex-direction: column;
  }

  .wpacu-google-fonts-control__field-row > select {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .wpacu-font-preload-legacy__header,
  .wpacu-font-preload-legacy__warning {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-font-preload-legacy__icon {
    display: none;
  }

  .wpacu-font-preload-legacy__meta {
    justify-content: space-between;
  }

  .wpacu-font-preload-legacy__warning strong {
    white-space: normal;
  }

  .wpacu-font-preload-scan {
    padding: 14px;
  }

  .wpacu-font-preload-result__header {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .wpacu-font-preload-result__action {
    padding-right: 4px;
    padding-left: 4px;
  }

  .wpacu-font-preload-result__details-summary small {
    display: none;
  }

  .wpacu-font-preload-result__metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-font-preload-result__evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-font-preload-result__provenance-row,
  .wpacu-font-preload-resolver-failure__final,
  .wpacu-font-preload-resolver-details__ua {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpacu-font-preload-result__url,
  .wpacu-font-preload-result__source {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .wpacu-google-fonts-card__header h3,
  .wpacu-google-fonts-card__header p,
  .wpacu-google-fonts-card__title-line {
    padding-right: 0;
  }

  .wpacu-google-fonts-card--legacy .wpacu-google-fonts-card__header {
    padding-right: 70px;
  }
}
