.hwa-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #087e82;
  background: #e2f2ee;
  color: #071a2e;
  font-weight: 700;
}

.hwa-notice-error {
  border-color: #b4362f;
  background: #f9e8e4;
  color: #681d1a;
}

.hwa-checks {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.hwa-checks li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.65rem;
  color: #3f515c;
}

.hwa-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #087e82;
  font-weight: 900;
}

.hwa-module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hwa-module-grid article {
  min-height: 245px;
  padding: 1.5rem;
  border-top: 3px solid #087e82;
  background: #fffdf8;
  box-shadow: 0 12px 35px rgba(4, 19, 33, 0.06);
}

.hwa-module-grid article > span {
  color: #087e82;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.hwa-module-grid h3 {
  margin: 2rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.hwa-module-grid p {
  margin: 0;
  color: #53636d;
  font-size: 0.86rem;
}

.hwa-auth-grid,
.hwa-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.hwa-request-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.hwa-panel {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid #d7d7cd;
  background: #fffdf8;
  box-shadow: 0 16px 48px rgba(4, 19, 33, 0.07);
}

.hwa-panel-centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hwa-panel h2,
.hwa-request-grid h2,
.hwa-finish h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hwa-form {
  display: grid;
  gap: 1rem;
}

.hwa-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hwa-form label,
.hwa-signin .login-username,
.hwa-signin .login-password {
  display: grid;
  gap: 0.38rem;
  margin: 0;
}

.hwa-form label > span,
.hwa-signin label {
  color: #273b48;
  font-size: 0.76rem;
  font-weight: 800;
}

.hwa-form input:not([type="checkbox"]),
.hwa-form select,
.hwa-form textarea,
.hwa-signin input[type="text"],
.hwa-signin input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #b8c1c4;
  border-radius: 0.2rem;
  background: #ffffff;
  color: #071a2e;
}

.hwa-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hwa-form input:focus,
.hwa-form select:focus,
.hwa-form textarea:focus,
.hwa-signin input:focus {
  border-color: #087e82;
  box-shadow: 0 0 0 3px rgba(8, 126, 130, 0.14);
  outline: 0;
}

.hwa-form small {
  color: #64737c;
  font-size: 0.72rem;
}

.hwa-checkbox {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  gap: 0.55rem !important;
}

.hwa-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0.18rem 0 0;
  accent-color: #087e82;
}

.hwa-checkbox span {
  font-weight: 500 !important;
  line-height: 1.5;
}

.hwa-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.hwa-signin {
  position: sticky;
  top: 120px;
  background: #071a2e;
  color: #ffffff;
}

.hwa-signin .hw-eyebrow {
  color: #9be4df;
}

.hwa-signin h2,
.hwa-signin .hw-boundary-box h3 {
  color: #ffffff !important;
}

.hwa-signin .login-username,
.hwa-signin .login-password,
.hwa-signin .login-remember,
.hwa-signin .login-submit {
  margin: 0 0 1rem;
}

.hwa-signin label {
  color: #d4e0e5;
}

.hwa-signin .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hwa-signin .button-primary {
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid #16c9d3;
  border-radius: 0.2rem;
  background: #16c9d3;
  color: #041321;
  cursor: pointer;
  font-weight: 850;
}

.hwa-signin .hwa-help-link {
  display: inline-block;
  margin: 0.2rem 0 1rem;
  color: #9be4df;
  font-size: 0.8rem;
  font-weight: 750;
}

.hwa-signin .hw-boundary-box {
  border-left-color: #16c9d3;
  background: rgba(255, 255, 255, 0.06);
}

.hwa-signin .hw-boundary-box p {
  color: #c0ced5 !important;
}

.hwa-dashboard-hero,
.hwa-course-hero {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(135deg, #071a2e, #0d2b45);
  color: #ffffff;
}

.hwa-dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.hwa-dashboard-heading h1,
.hwa-course-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #fff !important;
}

.hwa-dashboard-heading p,
.hwa-course-hero > .hw-shell > p:not(.hw-eyebrow) {
  margin: 1rem 0 0;
  color: #c4d2da;
}

.hwa-account-link,
.hwa-back-link {
  color: #9be4df;
  font-size: 0.78rem;
  font-weight: 800;
}

.hwa-back-link {
  display: inline-flex;
  margin-bottom: 2.5rem;
}

.hwa-progress-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(200px, 1fr) 55px;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #cad9d6;
  background: #e3f0ec;
}

.hwa-progress-panel span,
.hwa-progress-panel strong {
  display: block;
}

.hwa-progress-panel span {
  color: #53636d;
  font-size: 0.72rem;
  font-weight: 750;
}

.hwa-progress-panel strong {
  color: #071a2e;
}

.hwa-progress-panel > b {
  font-size: 1.25rem;
}

.hwa-progress-track {
  overflow: hidden;
  height: 11px;
  border-radius: 100px;
  background: rgba(83, 99, 109, 0.2);
}

.hwa-progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #087e82;
}

.hwa-course-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.8rem, 5vw, 4rem);
  border: 1px solid #d7d7cd;
  background: #fffdf8;
}

.hwa-course-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.hwa-course-card p:not(.hw-eyebrow) {
  color: #53636d;
}

.hwa-course-card ol {
  grid-row: span 2;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d7d7cd;
  list-style: none;
}

.hwa-course-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #d7d7cd;
}

.hwa-course-card li span {
  color: #087e82;
  font-size: 0.75rem;
  font-weight: 850;
}

.hwa-course-card li strong {
  font-size: 0.86rem;
}

.hwa-course-card li.is-complete {
  color: #4c635f;
}

.hwa-course-card .hw-button {
  justify-self: start;
}

.hwa-education-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid #087e82;
  background: #eee7d9;
}

.hwa-education-note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hwa-education-note p {
  margin: 0;
  color: #53636d;
  font-size: 0.84rem;
}

.hwa-course-progress {
  display: grid;
  grid-template-columns: minmax(180px, 520px) 60px;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.hwa-course-progress .hwa-progress-track {
  background: rgba(255, 255, 255, 0.2);
}

.hwa-course-progress .hwa-progress-track > span {
  background: #16c9d3;
}

.hwa-module-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2rem 0;
  border: 1px solid #d7d7cd;
  background: #fffdf8;
}

.hwa-module-nav a {
  padding: 1rem;
  border-right: 1px solid #d7d7cd;
  color: #53636d;
  font-size: 0.76rem;
  font-weight: 800;
}

.hwa-module-nav a:last-child {
  border-right: 0;
}

.hwa-module-nav a.is-complete {
  background: #e2f2ee;
  color: #075f63;
}

.hwa-lessons {
  display: grid;
  gap: 1.5rem;
}

.hwa-lesson {
  scroll-margin-top: 120px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d7d7cd;
  background: #fffdf8;
}

.hwa-lesson.is-complete {
  border-color: #a9ccc5;
}

.hwa-lesson header {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
}

.hwa-lesson header > span {
  color: #087e82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.hwa-lesson header p {
  margin: 0;
  color: #087e82;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hwa-lesson h2 {
  margin: 0.2rem 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hwa-lesson header strong {
  color: #53636d;
  font-weight: 500;
}

.hwa-lesson > ul {
  margin: 2rem 0;
  padding: 0 0 0 70px;
  list-style: none;
}

.hwa-lesson > ul li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-bottom: 1px solid #e3e1d8;
  color: #3f515c;
}

.hwa-lesson > ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #087e82;
  font-size: 1.5rem;
}

.hwa-practice {
  margin: 1.5rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 3px solid #16c9d3;
  background: #e5f5f4;
}

.hwa-practice strong {
  color: #075f63;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hwa-practice p {
  margin: 0.35rem 0 0;
}

.hwa-complete-label {
  display: inline-flex;
  padding: 0.6rem 0.85rem;
  border-radius: 100px;
  background: #e2f2ee;
  color: #075f63;
  font-size: 0.78rem;
  font-weight: 850;
}

.hwa-finish {
  margin-top: 2rem;
  padding: clamp(1.8rem, 5vw, 4rem);
  border: 1px solid #a9ccc5;
  background: linear-gradient(120deg, #e2f2ee, #fffdf8);
  text-align: center;
}

.hwa-finish p:not(.hw-eyebrow) {
  max-width: 700px;
  margin-inline: auto;
  color: #53636d;
}

@media (max-width: 1000px) {
  .hwa-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hwa-auth-grid,
  .hwa-request-grid,
  .hwa-course-card {
    grid-template-columns: 1fr;
  }

  .hwa-signin {
    position: static;
  }

  .hwa-module-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .hwa-module-nav a:nth-child(2) {
    border-right: 0;
  }

  .hwa-module-nav a:nth-child(-n + 2) {
    border-bottom: 1px solid #d7d7cd;
  }
}

@media (max-width: 700px) {
  .hwa-module-grid,
  .hwa-field-grid,
  .hwa-module-nav {
    grid-template-columns: 1fr;
  }

  .hwa-module-nav a,
  .hwa-module-nav a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d7d7cd;
  }

  .hwa-module-nav a:last-child {
    border-bottom: 0;
  }

  .hwa-dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hwa-progress-panel {
    grid-template-columns: 1fr 48px;
  }

  .hwa-progress-panel > div:first-child {
    grid-column: 1 / -1;
  }

  .hwa-lesson header {
    grid-template-columns: 1fr;
  }

  .hwa-lesson > ul {
    padding-left: 0;
  }
}

/* 1.1.1 Academy resource library */
.hwa-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hwa-resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9d6cc;
  border-radius: .55rem;
  background: #fffdf8;
  box-shadow: 0 12px 35px rgba(7, 26, 46, .07);
}
.hwa-resource-card > div:last-child { padding: 1.25rem; }
.hwa-resource-card span {
  display: block;
  margin-bottom: .55rem;
  color: #087e82;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hwa-resource-card h3 { margin-top: 0; }
.hwa-resource-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .hwa-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hwa-resource-grid { grid-template-columns: 1fr; } }


/* 1.1.4 account visibility and library navigation */
.hwa-dashboard-heading .hwa-account-link,
.hwa-dashboard-heading .hwa-account-link:visited {
  color: #ffffff !important;
}
.hwa-empty-library .hw-button-row {
  margin-top: 1.25rem;
}
#academy-resources {
  scroll-margin-top: 7rem;
}

/* 1.1.5 category-specific training requests and resource-library emphasis */
