:root {
  --wl-ink: #161616;
  --wl-muted: #5f6267;
  --wl-line: #d9d5cc;
  --wl-paper: #fbfaf7;
  --wl-panel: #ffffff;
  --wl-sage: #61715c;
  --wl-brick: #9f402d;
  --wl-gold: #a77c2c;
  --wl-focus: #2d6cdf;

  /* Buttons, chips and small inner surfaces are token driven so the account
     workspace can flip to the AAMS dark canvas without a second override
     layer fighting the base rules. */
  --wl-btn-bg: #161616;
  --wl-btn-bg-hover: #9f402d;
  --wl-btn-fg: #ffffff;
  --wl-btn-border: #161616;
  --wl-btn-border-hover: #9f402d;
  --wl-btn-ghost-fg: #161616;
  --wl-btn-ghost-hover-bg: #61715c;
  --wl-btn-ghost-hover-fg: #ffffff;
  --wl-btn-radius: 4px;
  --wl-surface-soft: #ffffff;
  --wl-surface-done: #ffffff;
  --wl-surface-unread: #fffdf5;
  --wl-chip-bg: #ead8aa;
  --wl-chip-fg: #161616;
  --wl-chip-border: #161616;
  --wl-meta-bg: #fbfaf7;
  --wl-meta-fg: #161616;
  --wl-hard-border: #161616;
  --wl-on-sage: #ffffff;
  --wl-notice-success-fg: #304b2e;
  --wl-notice-error-fg: #7a2316;
  --wl-notice-info-fg: #254d93;
}

body .wl-dashboard .wl-profile-summary > div,
body .wl-dashboard .wl-dashboard-card,
body .wl-dashboard .wl-onboarding,
body .wl-dashboard .wl-profile-panel,
body .wl-dashboard .wl-notification-center,
body .wl-dashboard .wl-download-history,
body .wl-dashboard .wl-assessment-archive {
  color: #f7fafc;
  background: rgba(15, 28, 48, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

/* AAMS account workspace */
.wl-dashboard,
.wl-auth {
  --wl-ink: #f7fafc;
  --wl-muted: #b9c5d6;
  --wl-line: rgba(255, 255, 255, 0.14);
  --wl-paper: rgba(9, 17, 31, 0.9);
  --wl-panel: rgba(15, 28, 48, 0.78);
  --wl-sage: #4adeb1;
  --wl-brick: #2563eb;
  --wl-gold: #60a5fa;
  --wl-focus: #60a5fa;

  --wl-btn-bg: linear-gradient(100deg, #2563eb, #059669);
  --wl-btn-bg-hover: linear-gradient(100deg, #1d4ed8, #047857);
  --wl-btn-fg: #ffffff;
  --wl-btn-border: transparent;
  --wl-btn-border-hover: transparent;
  --wl-btn-ghost-fg: #ffffff;
  --wl-btn-ghost-hover-bg: rgba(74, 222, 177, 0.16);
  --wl-btn-ghost-hover-fg: #ffffff;
  --wl-btn-radius: 999px;
  --wl-surface-soft: rgba(9, 17, 31, 0.68);
  --wl-surface-done: rgba(74, 222, 177, 0.09);
  --wl-surface-unread: rgba(96, 165, 250, 0.09);
  --wl-chip-bg: rgba(96, 165, 250, 0.16);
  --wl-chip-fg: #d5e6ff;
  --wl-chip-border: rgba(96, 165, 250, 0.4);
  --wl-meta-bg: rgba(255, 255, 255, 0.06);
  --wl-meta-fg: #d5e0ec;
  --wl-hard-border: rgba(255, 255, 255, 0.16);
  --wl-on-sage: #06231a;
  --wl-notice-success-fg: #7ee7c0;
  --wl-notice-error-fg: #fca5a5;
  --wl-notice-info-fg: #a8c8ff;
}

.wl-dashboard {
  position: relative;
  max-width: 1180px;
  padding: clamp(28px, 5vw, 58px) clamp(16px, 3vw, 30px);
  color: var(--wl-ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(16, 185, 129, 0.14), transparent 30%),
    #030712;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
}

.wl-dashboard-hero {
  padding: clamp(28px, 6vw, 64px) clamp(18px, 4vw, 44px);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--wl-line);
  border-radius: 22px;
}

.wl-dashboard-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.wl-profile-summary > div,
.wl-dashboard-card,
.wl-onboarding,
.wl-profile-panel,
.wl-notification-center,
.wl-download-history,
.wl-assessment-archive {
  color: var(--wl-ink);
  background: rgba(15, 28, 48, 0.74);
  border-color: var(--wl-line);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.wl-dashboard-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wl-dashboard-card {
  min-height: 210px;
  padding: 22px;
}

.wl-dashboard-card:hover,
.wl-dashboard-card:focus-visible {
  border-color: rgba(74, 222, 177, 0.75);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.18);
}

.wl-dashboard h2,
.wl-dashboard h3,
.wl-dashboard strong,
.wl-profile-panel label,
.wl-form label {
  color: #fff;
}

.wl-dashboard p,
.wl-dashboard li,
.wl-dashboard small {
  color: var(--wl-muted);
}

.wl-dashboard .wl-button-danger,
.wl-dashboard .wl-form button.wl-button-danger {
  background: #991b1b !important;
  border-color: #991b1b !important;
}

.wl-dashboard .wl-button-danger:hover,
.wl-dashboard .wl-button-danger:focus-visible,
.wl-dashboard .wl-form button.wl-button-danger:hover,
.wl-dashboard .wl-form button.wl-button-danger:focus-visible {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}

@media (max-width: 1050px) {
  .wl-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .wl-dashboard { border-radius: 18px; }
  .wl-dashboard-grid,
  .wl-profile-summary { grid-template-columns: 1fr; }
  .wl-dashboard-card { min-height: 0; }
}

.wl-auth,
.wl-dashboard,
.wl-cta,
.wl-gate-card,
.wl-notification-center,
.wl-lead-magnets,
.wl-download-history,
.wl-assessment-archive,
.wl-onboarding,
.wl-notification-popup {
  color: var(--wl-ink);
  font-family: inherit;
}

.wl-auth {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0;
}

.wl-auth-card,
.wl-profile-panel,
.wl-cta,
.wl-gate-card {
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(22, 22, 22, 0.08);
}

.wl-auth-card {
  padding: clamp(22px, 4vw, 42px);
}

.wl-auth-kicker {
  margin: 0 0 10px;
  color: var(--wl-sage);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wl-auth h1,
.wl-dashboard h1,
.wl-cta h2,
.wl-gate-card h2 {
  margin: 0 0 12px;
  color: var(--wl-ink);
  line-height: 1.12;
}

.wl-auth p,
.wl-dashboard p,
.wl-cta p,
.wl-gate-card p {
  color: var(--wl-muted);
}

.wl-tml-wrapper .tml,
.wl-tml-wrapper form,
.wl-form,
.wl-resend {
  display: grid;
  gap: 15px;
}

.wl-tml-wrapper label,
.wl-register-extra label,
.wl-form label,
.wl-resend label {
  display: grid;
  gap: 7px;
  color: var(--wl-ink);
  font-weight: 650;
}

.wl-tml-wrapper input:not([type="checkbox"]):not([type="radio"]),
.wl-tml-wrapper select,
.wl-register-extra input:not([type="checkbox"]):not([type="radio"]),
.wl-register-extra select,
.wl-form input:not([type="checkbox"]):not([type="radio"]),
.wl-form select,
.wl-resend input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--wl-ink);
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  font: inherit;
}

.wl-tml-wrapper input:focus,
.wl-tml-wrapper select:focus,
.wl-form input:focus,
.wl-form select:focus,
.wl-resend input:focus {
  outline: 3px solid rgba(45, 108, 223, 0.18);
  border-color: var(--wl-focus);
}

.wl-check label,
.wl-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.wl-check input {
  margin-top: 0.28em;
  flex: 0 0 auto;
}

.wl-button,
.wl-tml-wrapper .tml-button,
.wl-tml-wrapper button,
.wl-tml-wrapper input[type="submit"],
.wl-form button,
.wl-resend button,
.wl-gate-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--wl-btn-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-fg) !important;
  background: var(--wl-btn-bg) !important;
  border: 1px solid var(--wl-btn-border) !important;
  border-radius: var(--wl-btn-radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wl-button:hover,
.wl-tml-wrapper .tml-button:hover,
.wl-tml-wrapper button:hover,
.wl-tml-wrapper input[type="submit"]:hover,
.wl-form button:hover,
.wl-resend button:hover {
  color: var(--wl-btn-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-fg) !important;
  background: var(--wl-btn-bg-hover) !important;
  border-color: var(--wl-btn-border-hover) !important;
  transform: translateY(-1px);
}

.wl-button-secondary,
.wl-gate-actions button {
  color: var(--wl-btn-ghost-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-ghost-fg) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--wl-line) !important;
}

.wl-button-secondary:hover,
.wl-gate-actions button:hover {
  color: var(--wl-btn-ghost-hover-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-ghost-hover-fg) !important;
  background: var(--wl-btn-ghost-hover-bg) !important;
  background-image: none !important;
  border-color: var(--wl-btn-ghost-hover-bg) !important;
}

body .entry-content a.wl-button,
body .page-content a.wl-button,
body .wl-static-page a.wl-button,
body .wl-events-page a.wl-button,
body .wl-update-page a.wl-button {
  color: var(--wl-btn-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-fg) !important;
  background: var(--wl-btn-bg) !important;
  border-color: var(--wl-btn-border) !important;
  box-shadow: none !important;
  line-height: 1.15;
  text-decoration: none !important;
}

body .entry-content a.wl-button:hover,
body .entry-content a.wl-button:focus-visible,
body .page-content a.wl-button:hover,
body .page-content a.wl-button:focus-visible,
body .wl-static-page a.wl-button:hover,
body .wl-static-page a.wl-button:focus-visible,
body .wl-events-page a.wl-button:hover,
body .wl-events-page a.wl-button:focus-visible,
body .wl-update-page a.wl-button:hover,
body .wl-update-page a.wl-button:focus-visible {
  color: var(--wl-btn-fg) !important;
  -webkit-text-fill-color: var(--wl-btn-fg) !important;
  background: var(--wl-btn-bg-hover) !important;
  border-color: var(--wl-btn-border-hover) !important;
}

.wl-auth-alt,
.wl-auth-details {
  margin-top: 18px;
}

.wl-tml-wrapper .tml-links {
  display: none;
}

.wl-auth-details {
  padding: 14px 0;
  border-top: 1px solid var(--wl-line);
}

.wl-auth-details summary {
  color: var(--wl-ink);
  font-weight: 700;
  cursor: pointer;
}

.wl-dashboard {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0;
}

.wl-dashboard-hero {
  padding: clamp(20px, 4vw, 36px) 0 4px;
  border-bottom: 1px solid var(--wl-line);
}

.wl-profile-summary,
.wl-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wl-profile-summary > div,
.wl-dashboard-card {
  min-width: 0;
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
}

.wl-profile-summary > div {
  padding: 14px;
}

.wl-profile-summary span,
.wl-dashboard-card span {
  display: block;
  color: var(--wl-sage);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wl-profile-summary strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.wl-dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wl-dashboard-card {
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.wl-dashboard-card:hover {
  border-color: var(--wl-gold);
  box-shadow: 0 14px 34px rgba(22, 22, 22, 0.1);
  transform: translateY(-2px);
}

.wl-dashboard-card h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.22;
}

.wl-dashboard-card p {
  margin: 0;
}

.wl-onboarding {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(22, 22, 22, 0.08);
}

.wl-onboarding__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 18px;
  align-items: end;
}

.wl-onboarding__header h2 {
  margin: 0 0 8px;
  color: var(--wl-ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.wl-onboarding__header p:last-child {
  margin: 0;
}

.wl-onboarding__meter {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.wl-onboarding__meter strong {
  justify-self: end;
  color: var(--wl-ink);
  font-size: 1.25rem;
  line-height: 1;
}

.wl-onboarding__meter span {
  display: block;
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-radius: 999px;
}

.wl-onboarding__meter i {
  display: block;
  width: var(--wl-onboarding-progress, 0%);
  height: 100%;
  background: var(--wl-sage);
}

.wl-onboarding__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-onboarding__steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-left: 5px solid var(--wl-gold);
  border-radius: 6px;
}

.wl-onboarding__steps li.is-done {
  border-left-color: var(--wl-sage);
  background: var(--wl-surface-done);
}

.wl-onboarding__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--wl-brick);
  border: 1px solid var(--wl-hard-border);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
}

.wl-onboarding__steps li.is-done .wl-onboarding__number {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-onboarding__body {
  min-width: 0;
}

.wl-onboarding__status {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  margin-bottom: 6px;
  padding: 4px 8px;
  color: var(--wl-chip-fg);
  background: var(--wl-chip-bg);
  border: 1px solid var(--wl-chip-border);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.wl-onboarding__steps li.is-done .wl-onboarding__status {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-onboarding__body h3 {
  margin: 0 0 4px;
  color: var(--wl-ink);
  font-size: 1.05rem;
  line-height: 1.22;
}

.wl-onboarding__body p {
  margin: 0;
  color: var(--wl-muted);
}

.wl-profile-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 4vw, 36px);
  padding: clamp(20px, 4vw, 34px);
}

.wl-security-stack,
.wl-privacy-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.wl-consent-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-consent-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  padding: 14px 16px;
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-left: 4px solid var(--wl-line);
  border-radius: 8px;
}

.wl-consent-list li.is-on {
  border-left-color: var(--wl-sage);
}

.wl-consent-list li.is-off {
  border-left-color: var(--wl-gold);
}

.wl-consent-item__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wl-consent-item__text strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.wl-consent-item__text span {
  color: var(--wl-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: left;
}

.wl-consent-item__state {
  display: grid;
  gap: 5px;
  justify-items: end;
  margin: 0;
  text-align: right;
}

.wl-consent-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wl-consent-list li.is-on .wl-consent-badge {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
}

.wl-consent-list li.is-off .wl-consent-badge {
  color: var(--wl-chip-fg);
  background: var(--wl-chip-bg);
  border: 1px solid var(--wl-chip-border);
}

.wl-consent-item__state time {
  color: var(--wl-muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wl-consent-docs {
  margin: 0;
  color: var(--wl-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
}

@media (max-width: 560px) {
  .wl-consent-list li {
    grid-template-columns: 1fr;
  }

  .wl-consent-item__state {
    justify-items: start;
    text-align: left;
  }
}

.wl-password-form {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wl-line);
}

.wl-form-helper {
  margin: -4px 0 0;
  font-size: 0.92rem;
}

.wl-preference-center {
  display: grid;
  gap: 14px;
  margin: 2px 0;
  padding: 16px;
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
}

.wl-preference-center legend {
  padding: 0 7px;
  color: var(--wl-ink);
  font-weight: 800;
}

.wl-preference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wl-preference-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  min-height: 88px;
  padding: 12px;
  color: var(--wl-ink);
  background: var(--wl-surface-soft);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
}

.wl-preference-option input {
  margin-top: 0.32em;
}

.wl-preference-option strong,
.wl-preference-option small {
  display: block;
}

.wl-preference-option small {
  margin-top: 4px;
  color: var(--wl-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.36;
}

.wl-preference-tracking {
  padding-top: 4px;
  border-top: 1px solid var(--wl-line);
}

.wl-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wl-security-resend {
  padding: 14px;
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
}

.wl-lead-magnets {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0;
}

.wl-lead-magnets__header {
  display: grid;
  gap: 10px;
  max-width: 780px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wl-line);
}

.wl-lead-magnets__header h1 {
  margin: 0;
  color: var(--wl-ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.wl-lead-magnets__header p {
  margin: 0;
  color: var(--wl-muted);
}

.wl-lead-magnets__gate-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 9px 11px;
  color: var(--wl-chip-fg);
  background: var(--wl-chip-bg);
  border: 1px solid var(--wl-chip-border);
  border-radius: 4px;
  font-weight: 800;
}

.wl-lead-magnets__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wl-lead-magnet-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 360px;
  padding: clamp(18px, 3vw, 24px);
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
}

.wl-lead-magnet-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wl-lead-magnet-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border: 1px solid var(--wl-sage);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.wl-lead-magnet-card__meta span:first-child {
  color: var(--wl-meta-fg);
  background: var(--wl-meta-bg);
  border-color: var(--wl-line);
}

.wl-lead-magnet-card h2 {
  margin: 0;
  color: var(--wl-ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.wl-lead-magnet-card p {
  margin: 0;
  color: var(--wl-muted);
}

.wl-lead-magnet-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--wl-ink);
}

.wl-lead-magnet-card__download {
  width: fit-content;
  margin-top: auto;
}

.wl-download-history {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--wl-line);
  border-bottom: 1px solid var(--wl-line);
}

.wl-download-history__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.wl-download-history__header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.wl-download-history__header p:last-child {
  margin: 0;
}

.wl-download-history__empty,
.wl-lead-magnets__empty {
  margin: 0;
  color: var(--wl-muted);
}

.wl-download-history__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-download-history__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-left: 5px solid var(--wl-sage);
  border-radius: 6px;
}

.wl-download-history__list span,
.wl-download-history__list time {
  display: inline-flex;
  margin-right: 7px;
  color: var(--wl-sage);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wl-download-history__list h3 {
  margin: 4px 0;
  color: var(--wl-ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.wl-assessment-save-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  color: var(--wl-ink);
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-left: 5px solid var(--wl-gold);
  border-radius: 6px;
}

.wl-assessment-save-panel h4 {
  margin: 0 0 6px;
  color: var(--wl-ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.wl-assessment-save-panel p {
  margin: 0;
}

.wl-assessment-save-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.wl-assessment-save-panel__message {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  background: var(--wl-surface-soft);
}

.wl-assessment-save-panel__message.is-ok {
  color: var(--wl-notice-success-fg);
  border-color: rgba(97, 113, 92, 0.48);
}

.wl-assessment-save-panel__message.is-error {
  color: var(--wl-notice-error-fg);
  border-color: rgba(159, 64, 45, 0.48);
}

.wl-assessment-archive {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--wl-line);
  border-bottom: 1px solid var(--wl-line);
}

.wl-assessment-archive__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.wl-assessment-archive__header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.wl-assessment-archive__header p:last-child {
  margin: 0;
}

.wl-assessment-archive__empty {
  margin: 0;
  color: var(--wl-muted);
}

.wl-assessment-archive__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-assessment-archive__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-left: 5px solid var(--wl-gold);
  border-radius: 6px;
}

.wl-assessment-archive__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wl-assessment-archive__meta span,
.wl-assessment-archive__meta time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: var(--wl-meta-fg);
  background: var(--wl-meta-bg);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  line-height: 1;
}

.wl-assessment-archive__meta span:first-of-type {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-assessment-archive__item h3 {
  margin: 0 0 8px;
  color: var(--wl-ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.wl-assessment-archive__item p {
  margin: 0 0 10px;
}

.wl-assessment-archive__item details {
  margin-top: 10px;
}

.wl-assessment-archive__item summary {
  color: var(--wl-ink);
  font-weight: 800;
  cursor: pointer;
}

.wl-assessment-archive__item dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.wl-assessment-archive__item dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}

.wl-assessment-archive__item dt {
  color: var(--wl-sage);
  font-weight: 800;
  text-transform: uppercase;
}

.wl-assessment-archive__item dd {
  margin: 0;
}

.wl-assessment-archive__item h4 {
  margin: 12px 0 6px;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wl-assessment-archive__item ul {
  margin: 0;
  padding-left: 20px;
}

.wl-assessment-archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  justify-content: flex-end;
}

.wl-notification-center {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--wl-line);
  border-bottom: 1px solid var(--wl-line);
}

.wl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wl-notification-center__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.wl-notification-center__header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.wl-notification-center__header p:last-child {
  margin: 0;
}

.wl-notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--wl-brick);
  border: 1px solid var(--wl-hard-border);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--wl-hard-border);
}

.wl-notification-message {
  padding: 11px 13px;
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  background: var(--wl-paper);
}

.wl-notification-message.is-ok {
  border-color: rgba(97, 113, 92, 0.48);
  color: #304b2e;
}

.wl-notification-message.is-error {
  border-color: rgba(159, 64, 45, 0.48);
  color: #7a2316;
}

.wl-notification-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  background: var(--wl-panel);
  border: 1px solid var(--wl-line);
  border-left: 5px solid transparent;
  border-radius: 6px;
}

.wl-notification-item.is-unread {
  border-left-color: var(--wl-gold);
  background: var(--wl-surface-unread);
}

.wl-notification-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wl-notification-item__meta span,
.wl-notification-item__meta time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: var(--wl-meta-fg);
  background: var(--wl-meta-bg);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  line-height: 1;
}

.wl-notification-item__meta [data-wl-notification-status] {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-notification-item.is-unread .wl-notification-item__meta [data-wl-notification-status] {
  color: #ffffff;
  background: var(--wl-brick);
  border-color: var(--wl-brick);
}

.wl-notification-item h3 {
  margin: 6px 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.wl-notification-item__message p:last-child,
.wl-notification-popup__message p:last-child {
  margin-bottom: 0;
}

.wl-notification-item__actions,
.wl-notification-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  justify-content: flex-end;
}

.wl-notification-item button,
.wl-notification-popup button {
  min-height: 36px;
  padding: 7px 11px;
  color: var(--wl-ink);
  background: var(--wl-surface-soft);
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}

.wl-notification-item [data-wl-notification-action="read"],
.wl-notification-popup [data-wl-notification-action="read"] {
  color: var(--wl-btn-fg);
  background: var(--wl-btn-bg);
  border-color: var(--wl-btn-border);
}

.wl-notification-item [data-wl-notification-action="unread"],
.wl-notification-popup [data-wl-notification-action="unread"] {
  color: var(--wl-chip-fg);
  background: var(--wl-chip-bg);
  border-color: var(--wl-chip-border);
}

.wl-notification-item button:hover,
.wl-notification-popup button:hover,
.wl-notification-item button:focus-visible,
.wl-notification-popup button:focus-visible {
  color: var(--wl-on-sage);
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-notification-item button:disabled,
.wl-notification-popup button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.wl-notification-item .wl-notification-danger {
  color: #ffffff;
  background: var(--wl-brick);
  border-color: var(--wl-hard-border);
}

.wl-notification-item .wl-notification-icon-button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
}

.wl-notification-icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.wl-notification-item .wl-notification-danger:hover,
.wl-notification-item .wl-notification-danger:focus-visible {
  color: #ffffff;
  background: #7a2316;
  border-color: var(--wl-hard-border);
}

.wl-notification-empty {
  margin: 0;
  color: var(--wl-muted);
}

.wl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wl-notice {
  padding: 12px 14px;
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  background: var(--wl-paper);
}

.wl-notice-success {
  border-color: rgba(97, 113, 92, 0.48);
  color: var(--wl-notice-success-fg);
}

.wl-notice-error {
  border-color: rgba(159, 64, 45, 0.48);
  color: var(--wl-notice-error-fg);
}

.wl-notice-info {
  border-color: rgba(45, 108, 223, 0.36);
  color: var(--wl-notice-info-fg);
}

.wl-cta,
.wl-gate-card {
  max-width: 760px;
  margin: 28px auto;
  padding: clamp(20px, 4vw, 34px);
}

.wl-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (min-width: 769px) {
  .site-header .site-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .site-nav__list {
    width: 100%;
  }

  .site-nav__item--wl-account {
    margin-left: auto;
  }
}

/* Header account access */
.wl-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.wl-header-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  color: #f7fafc;
  background: linear-gradient(145deg, rgba(26, 43, 69, 0.96), rgba(7, 16, 30, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wl-header-account::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.72), rgba(16, 185, 129, 0.72));
  opacity: 0.38;
  filter: blur(5px);
  transition: opacity 180ms ease;
}

.wl-header-account svg {
  width: 21px;
  height: 21px;
}

.wl-header-account--profile {
  color: #66e4ba;
  border-color: rgba(74, 222, 177, 0.5);
}

.wl-header-account--login {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.5);
}

.wl-header-account:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.wl-header-account:hover::before {
  opacity: 0.72;
}

.wl-header-account:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.wl-header-account[aria-current='page'] {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.64), rgba(5, 150, 105, 0.52));
}

@media (prefers-reduced-motion: reduce) {
  .wl-header-account,
  .wl-header-account::before {
    transition: none;
  }
}

@media (max-width: 480px) {
  .wl-header-actions {
    gap: 8px;
  }

  .wl-header-account {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

.tool-directory-wrapper .tool-tabs {
  align-items: stretch;
  gap: 10px;
}

.tool-directory-wrapper .tool-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #161616;
  background: #fbfaf7;
  border: 2px solid #161616;
  border-radius: 0;
  box-shadow: 4px 4px 0 #161616;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.tool-directory-wrapper .tool-tab:hover {
  color: #161616;
  background: #ead8aa;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #161616;
}

.tool-directory-wrapper .tool-tab.active,
.tool-directory-wrapper .tool-tab[aria-selected="true"] {
  color: #ffffff;
  background: #9f402d;
  border-color: #161616;
  box-shadow: 4px 4px 0 #161616;
}

.tool-directory-wrapper .tool-tab:focus-visible {
  outline: 3px solid #2d6cdf;
  outline-offset: 4px;
}

.wl-notification-popup-open,
.wl-site-modal-open {
  overflow: hidden;
}

.wl-confirm-modal[hidden] {
  display: none;
}

.wl-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wl-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.62);
}

.wl-confirm-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(22px, 4vw, 34px);
  color: var(--wl-ink);
  background: #ffffff;
  border: 1px solid var(--wl-line);
  border-radius: 6px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.wl-confirm-modal__dialog:focus {
  outline: none;
}

.wl-confirm-modal__dialog h2 {
  margin: 0 42px 10px 0;
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  line-height: 1.16;
}

.wl-confirm-modal__dialog p[data-wl-confirm-body] {
  margin: 0;
  color: var(--wl-muted);
}

.wl-confirm-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #161616;
  background: #ffffff;
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wl-confirm-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 20px;
}

.wl-confirm-modal__actions button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #161616;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.wl-confirm-modal__cancel {
  color: #161616;
  background: #fbfaf7;
}

.wl-confirm-modal__confirm {
  color: #ffffff;
  background: var(--wl-brick);
}

.wl-confirm-modal__close:hover,
.wl-confirm-modal__close:focus-visible,
.wl-confirm-modal__cancel:hover,
.wl-confirm-modal__cancel:focus-visible {
  color: #ffffff;
  background: var(--wl-sage);
  border-color: var(--wl-sage);
}

.wl-confirm-modal__confirm:hover,
.wl-confirm-modal__confirm:focus-visible {
  color: #ffffff;
  background: #7a2316;
  border-color: #161616;
}

.wl-notification-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 16, 16, 0.56);
}

.wl-notification-popup-backdrop[hidden] {
  display: none;
}

.wl-notification-popup {
  position: relative;
  width: min(100%, 560px);
  max-height: min(78vh, 680px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid var(--wl-line);
  border-radius: 6px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.wl-notification-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
}

.wl-notification-popup h2 {
  margin: 0 42px 12px 0;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.18;
}

.wl-notification-popup__actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.wl-notification-popup__actions [data-wl-notification-popup-read] {
  color: #ffffff;
  background: var(--wl-ink);
  border-color: var(--wl-ink);
}

.wl-notification-popup__actions [data-wl-notification-popup-read]:hover,
.wl-notification-popup__actions [data-wl-notification-popup-read]:focus-visible {
  background: var(--wl-brick);
  border-color: var(--wl-brick);
}

.wl-events-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.wl-events-list-empty {
  padding: 18px;
  color: var(--wl-muted);
  background: var(--wl-paper);
  border: 1px solid var(--wl-line);
  border-radius: 6px;
}

.wl-events-list-empty p {
  margin: 0;
}

.wl-event-card {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 24px);
  color: var(--wl-ink);
  background: #ffffff;
  border: 1px solid var(--wl-line);
  border-radius: 6px;
}

.wl-event-card__date {
  color: var(--wl-sage);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wl-event-card h2 {
  margin: 0;
  color: var(--wl-ink);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.2;
}

.wl-event-card__description,
.wl-event-card__description p,
.wl-event-card__location {
  color: var(--wl-muted);
}

.wl-event-card__description p,
.wl-event-card__location {
  margin: 0;
}

.wl-gate-modal[hidden] {
  display: none;
}

.wl-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wl-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.56);
}

.wl-gate-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--wl-line);
  border-radius: 6px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.wl-gate-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  color: var(--wl-ink);
  background: transparent;
  border: 1px solid var(--wl-line);
  border-radius: 4px;
  cursor: pointer;
}

body.wl-gate-open {
  overflow: hidden;
}

.wl-latest-posts {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 2px solid var(--wl-ink);
}

.wl-latest-posts__head {
  max-width: 780px;
  margin-bottom: 20px;
}

.wl-latest-posts__head h2 {
  margin: 0 0 10px;
  color: var(--wl-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.wl-latest-posts__head p,
.wl-latest-posts__empty {
  margin: 0;
  color: var(--wl-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.wl-latest-posts__list {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-latest-posts__list li {
  margin: 0;
  padding: 0;
}

.wl-latest-posts__list a {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  color: var(--wl-ink);
  border-bottom: 1px solid var(--wl-line);
  text-decoration: none;
}

.wl-latest-posts__list a:hover,
.wl-latest-posts__list a:focus-visible {
  color: var(--wl-brick);
}

.wl-latest-posts__list span {
  color: var(--wl-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.wl-latest-posts__list strong {
  color: inherit;
  font-size: 1.08rem;
  line-height: 1.35;
}

.wl-assessment-answers-tab {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.wl-assessment-answers-tab summary {
  width: fit-content;
  cursor: pointer;
  color: #7ee8b5;
  font-weight: 700;
}

.wl-assessment-answers {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.wl-assessment-answers div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.wl-assessment-answers dt {
  color: #aab7c4;
  font-size: 0.84rem;
  font-weight: 700;
}

.wl-assessment-answers dd {
  margin: 0;
  color: #f5f8fb;
}

.wl-compliance-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid rgba(82, 220, 162, 0.28);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(20, 48, 64, 0.92), rgba(10, 24, 31, 0.86));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wl-compliance-score h2,
.wl-compliance-score p {
  margin-top: 0;
}

.wl-compliance-score__result {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.wl-compliance-score__result strong {
  color: #7ee8b5;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.wl-compliance-score__result span {
  color: #aab7c4;
  font-size: 0.86rem;
}

.wl-knowledge-hub {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(9, 20, 27, 0.82);
}

.wl-knowledge-hub__header h2 {
  margin-top: 0;
}

.wl-tab-list {
  display: flex;
  gap: 8px;
  margin: 22px 0 0;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wl-tab-list button {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #aab7c4;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wl-tab-list button[aria-selected="true"] {
  border-color: rgba(82, 220, 162, 0.35);
  background: rgba(82, 220, 162, 0.12);
  color: #f6fbf9;
}

.wl-tab-panel {
  padding: 24px 2px 2px;
}

.wl-tab-panel[hidden] {
  display: none;
}

.wl-tab-panel h3 {
  margin: 4px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.wl-tab-panel__eyebrow,
.wl-tab-panel__note {
  color: #aab7c4;
}

.wl-library-resource {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(126, 232, 181, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(54, 146, 111, 0.14), rgba(26, 49, 67, 0.35));
}

.wl-library-resource__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 66px;
  border: 1px solid rgba(126, 232, 181, 0.34);
  border-radius: 8px;
  color: #79e5b2;
  background: rgba(8, 27, 23, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wl-library-resource__content h3 {
  margin-top: 4px;
}

.wl-library-resource__content p:not(.wl-tab-panel__eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
}

.wl-library-resource__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.wl-library-resource__all {
  display: inline-flex;
  gap: 7px;
  margin-top: 16px;
  color: #8ce8be;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.wl-library-resource__all:hover {
  color: #d5ffe9;
}

.wl-knowledge-news {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.wl-knowledge-news a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
}

.wl-knowledge-news span {
  color: #7ee8b5;
  font-size: 0.85rem;
}

@media (max-width: 780px) {
  .wl-compliance-score {
    grid-template-columns: 1fr;
  }

  .wl-compliance-score__result {
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .wl-knowledge-news a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .wl-library-resource {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .wl-profile-summary,
  .wl-dashboard-grid,
  .wl-profile-panel,
  .wl-preference-grid,
  .wl-form-grid,
  .wl-notification-item,
  .wl-lead-magnets__grid,
  .wl-download-history__list li,
  .wl-assessment-save-panel,
  .wl-assessment-archive__item,
  .wl-onboarding__header,
  .wl-onboarding__steps li,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .wl-notification-center__header {
    flex-direction: column;
  }

  .wl-notification-item__actions {
    justify-content: flex-start;
  }

  .wl-download-history__header {
    flex-direction: column;
  }

  .wl-assessment-save-panel__actions,
  .wl-assessment-archive__header,
  .wl-assessment-archive__actions {
    flex-direction: column;
  }

  .wl-assessment-save-panel__actions .wl-button,
  .wl-assessment-save-panel__actions button,
  .wl-assessment-archive__actions .wl-button {
    width: 100%;
  }

  .wl-assessment-archive__item dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .wl-onboarding__meter strong {
    justify-self: start;
  }

  .wl-onboarding__steps li .wl-button {
    width: 100%;
  }

  .wl-notification-item button {
    flex: 1 1 140px;
  }

  .wl-dashboard-card {
    min-height: 0;
  }

  .wl-latest-posts__list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* RRCS lead magnet and workspace result */
.wl-rrcs-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  width: min(1100px, calc(100% - 32px));
  margin: 18px auto 26px;
  padding: 18px 20px;
  color: #dce7ec;
  background: linear-gradient(125deg, rgba(7, 24, 34, 0.96), rgba(10, 48, 54, 0.9));
  border: 1px solid rgba(82, 220, 162, 0.24);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}
.wl-rrcs-disclosure__mark { display: grid; place-items: center; width: 48px; height: 48px; color: #061b17; background: linear-gradient(135deg, #7ee8b5, #55b9ff); border-radius: 14px; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; }
.wl-rrcs-disclosure h2 { margin: 1px 0 7px; color: #fff; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.2; }
.wl-rrcs-disclosure p { margin: 0; color: #b8c8d1; }
.wl-rrcs-disclosure .wl-auth-kicker { margin-bottom: 4px; color: #7ee8b5; }
.wl-rrcs-disclosure__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px !important; }
.wl-rrcs-disclosure__links a { color: #dffaf0; font-size: 0.82rem; font-weight: 750; }

.wl-rrcs-public-result { --wl-rrcs-tone: #94a3b8; display: grid; gap: 22px; padding: clamp(18px, 4vw, 34px); color: #edf4f7; background: radial-gradient(circle at 90% 7%, rgba(82, 220, 162, 0.12), transparent 17rem), linear-gradient(135deg, rgba(5, 18, 26, 0.98), rgba(12, 37, 48, 0.96)); border: 1px solid rgba(148, 163, 184, 0.44); border-radius: 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3); }
.wl-rrcs-public-result--green { --wl-rrcs-tone: #4ade80; border-color: rgba(74, 222, 128, 0.44); }
.wl-rrcs-public-result--yellow { --wl-rrcs-tone: #facc15; border-color: rgba(250, 204, 21, 0.44); }
.wl-rrcs-public-result--orange { --wl-rrcs-tone: #fb923c; border-color: rgba(251, 146, 60, 0.44); }
.wl-rrcs-public-result--red { --wl-rrcs-tone: #f05252; border-color: rgba(240, 82, 82, 0.44); }
.wl-rrcs-public-result--grey { --wl-rrcs-tone: #94a3b8; }
.wl-rrcs-public-result > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.wl-rrcs-public-result h3 { margin: 2px 0 0; color: #fff; font-size: clamp(1.65rem, 4vw, 2.65rem); line-height: 1.05; letter-spacing: -0.04em; }

.wl-rrcs-public-ring,
.wl-rrcs-mini-ring { position: relative; display: grid; place-items: center; width: 156px; height: 156px; }
.wl-rrcs-public-ring svg,
.wl-rrcs-mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wl-rrcs-public-ring circle,
.wl-rrcs-mini-ring circle { fill: none; stroke-width: 9; }
.wl-rrcs-public-ring__track,
.wl-rrcs-mini-ring__track { stroke: rgba(255, 255, 255, 0.1); }
.wl-rrcs-public-ring__value,
.wl-rrcs-mini-ring__value { stroke: var(--wl-rrcs-tone); stroke-linecap: round; }
.wl-rrcs-public-ring strong { position: absolute; color: #fff; font-size: 2.3rem; line-height: 1; letter-spacing: -0.06em; }
.wl-rrcs-public-ring strong span,
.wl-rrcs-mini-ring strong span { color: var(--wl-rrcs-tone); font-size: 0.9rem; }
.wl-rrcs-public-ring small { position: absolute; top: 102px; color: #a9bbc5; font-size: 0.63rem; font-weight: 800; text-transform: uppercase; }
.wl-rrcs-public-result__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wl-rrcs-public-result__facts div { padding: 15px 17px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 13px; }
.wl-rrcs-public-result__facts span,
.wl-compliance-score__facts span { display: block; margin-bottom: 4px; color: #8ea3af; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.wl-rrcs-public-result__facts strong { color: #fff; font-size: 1rem; }
.wl-rrcs-public-result__summary { max-width: 850px; margin: 0; color: #c7d5dc; font-size: 1.03rem; }
.wl-rrcs-public-result__priorities { display: grid; grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr); gap: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.wl-rrcs-public-result__priorities h4 { margin: 0; color: #fff; font-size: 1rem; }
.wl-rrcs-public-result__priorities ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.wl-rrcs-public-result__priorities li { color: #dbe7ec; }
.wl-rrcs-public-result__notice { margin: 0; padding: 12px 14px; color: #aebdc5; background: rgba(255, 255, 255, 0.035); border-left: 3px solid var(--wl-rrcs-tone); border-radius: 5px; font-size: 0.76rem; }
.wl-rrcs-public-result > .wl-button { width: fit-content; }

.wl-rrcs-mini-ring { --wl-rrcs-tone: #94a3b8; width: 132px; height: 132px; flex: 0 0 132px; }
.wl-rrcs-mini-ring--green { --wl-rrcs-tone: #4ade80; }
.wl-rrcs-mini-ring--yellow { --wl-rrcs-tone: #facc15; }
.wl-rrcs-mini-ring--orange { --wl-rrcs-tone: #fb923c; }
.wl-rrcs-mini-ring--red { --wl-rrcs-tone: #f05252; }
.wl-rrcs-mini-ring--grey { --wl-rrcs-tone: #94a3b8; }
.wl-rrcs-mini-ring > div { position: absolute; display: grid; justify-items: center; }
.wl-rrcs-mini-ring strong { color: #fff; font-size: 1.75rem; line-height: 1; letter-spacing: -0.05em; }
.wl-rrcs-mini-ring small { margin-top: 5px; color: #91a4af; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; }

.wl-compliance-score { grid-template-columns: minmax(240px, 1fr) auto minmax(180px, 0.55fr) auto; }
.wl-compliance-score__facts { display: grid; gap: 10px; min-width: 180px; }
.wl-compliance-score__facts p { margin: 0; }
.wl-compliance-score__facts strong { display: block; color: #fff; font-size: 0.88rem; line-height: 1.25; }
.wl-compliance-score__facts small { color: #8499a5; font-size: 0.74rem; }
.wl-rrcs-mini-empty { display: grid; gap: 4px; min-width: 130px; }
.wl-rrcs-mini-empty strong { color: #94a3b8; font-size: 1.4rem; }
.wl-rrcs-mini-empty span { color: #8499a5; font-size: 0.78rem; }

.wl-assessment-archive__item { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: start; }
.wl-assessment-archive__visual { display: grid; justify-items: center; gap: 5px; padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, 0.11); }
.wl-assessment-archive__visual > span { color: #9dafb9; font-size: 0.7rem; font-weight: 800; text-align: center; }
.wl-assessment-result-facts div { grid-template-columns: 150px minmax(0, 1fr) !important; }

@media (max-width: 940px) {
  .wl-compliance-score { grid-template-columns: minmax(0, 1fr) auto; }
  .wl-compliance-score__facts { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl-compliance-score > .wl-button { grid-column: 1 / -1; width: fit-content; }
  .wl-assessment-archive__item { grid-template-columns: 132px minmax(0, 1fr); }
  .wl-assessment-archive__actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wl-rrcs-disclosure { grid-template-columns: 1fr; width: min(100% - 20px, 560px); }
  .wl-rrcs-public-result > header,
  .wl-rrcs-public-result__facts,
  .wl-rrcs-public-result__priorities { grid-template-columns: 1fr; }
  .wl-rrcs-public-ring { justify-self: center; }
  .wl-compliance-score { grid-template-columns: 1fr; }
  .wl-compliance-score__facts { grid-column: auto; grid-template-columns: 1fr; }
  .wl-compliance-score > .wl-button { grid-column: auto; width: 100%; }
  .wl-assessment-archive__item { grid-template-columns: 1fr; }
  .wl-assessment-archive__visual { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
  .wl-assessment-archive__actions { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wl-rrcs-public-ring__value,
  .wl-rrcs-mini-ring__value { transition: none; }
}

/* July workspace: one section at a time, with Account inside the dashboard */
.wl-dashboard[data-wl-dashboard-workspace] {
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wl-dashboard[data-wl-dashboard-workspace] > .wl-dashboard-hero {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0 2px 4px;
  background-color: transparent !important;
  background-image: none !important;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
}

.wl-dashboard[data-wl-dashboard-workspace] > .wl-dashboard-hero .wl-auth-kicker {
  margin: 0 0 3px;
  font-size: 0.52rem;
}

.wl-dashboard[data-wl-dashboard-workspace] > .wl-dashboard-hero h1 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.wl-dashboard[data-wl-dashboard-workspace] > .wl-dashboard-hero p:last-child {
  margin: 2px 0 0;
  color: #8498a4;
  font-size: 0.65rem;
}

.wl-dashboard-app {
  display: grid;
  grid-template-columns: minmax(190px, 232px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.wl-dashboard-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(155deg, rgba(8, 24, 39, 0.94), rgba(4, 14, 25, 0.96));
  border: 1px solid rgba(178, 215, 235, 0.15);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.wl-dashboard-sidebar [role="tab"] {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  color: #b9c9d2;
  text-align: left;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 700;
}

.wl-dashboard-sidebar [role="tab"]:hover,
.wl-dashboard-sidebar [role="tab"]:focus-visible {
  color: #fff;
  background: rgba(90, 167, 255, 0.08) !important;
  border-color: rgba(90, 167, 255, 0.22) !important;
  outline: none;
}

.wl-dashboard-sidebar [role="tab"][aria-selected="true"] {
  color: #fff;
  background: linear-gradient(110deg, rgba(53, 120, 202, 0.22), rgba(70, 219, 167, 0.1)) !important;
  border-color: rgba(102, 226, 177, 0.3) !important;
}

.wl-dashboard-tab-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #b9ddff;
  background: rgba(90, 167, 255, 0.1);
  border: 1px solid rgba(144, 199, 255, 0.22);
  border-radius: 9px;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.wl-dashboard-sidebar [aria-selected="true"] .wl-dashboard-tab-index {
  color: #071913;
  background: #70e5b4;
  border-color: #70e5b4;
}

.wl-dashboard-content,
.wl-dashboard-panel {
  min-width: 0;
}

.wl-dashboard-panel {
  display: grid;
  gap: 18px;
  animation: wl-dashboard-panel-in 180ms ease-out;
}

.wl-dashboard-panel[hidden] {
  display: none;
}

.wl-dashboard-panel-heading {
  padding: 4px 2px 2px;
}

.wl-dashboard-panel-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.wl-dashboard-panel-heading > p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: #a8bbc5;
}

.wl-dashboard-panel .wl-lead-magnets {
  margin-top: 0;
}

.wl-dashboard-panel .wl-lead-magnets__header h1 {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.wl-dashboard-panel .wl-lead-magnets__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@keyframes wl-dashboard-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .wl-dashboard-app {
    grid-template-columns: 1fr;
  }

  .wl-dashboard-sidebar {
    position: sticky;
    top: 78px;
    z-index: 8;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .wl-dashboard-sidebar [role="tab"] {
    flex: 0 0 auto;
    grid-template-columns: 28px auto;
    min-height: 44px;
    padding: 7px 10px 7px 7px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .wl-dashboard-tab-index {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 640px) {
  .wl-dashboard[data-wl-dashboard-workspace] {
    gap: 12px;
  }

  .wl-dashboard-panel .wl-lead-magnets__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-dashboard-panel { animation: none; }
}

body.page-template-page-dashboard .kodee-fab,
body.page-template-page-dashboard .float-btn__wrapper.chatbot-overwrite {
  display: none !important;
}
