/* Anchor House agent education and renewal; safely scoped under #apApp */
#apApp .ah-renewal-banner {
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px solid #d4a449;
  border-left: 5px solid #b57925;
  border-radius: 14px;
  background: #fff9ea;
  color: #4a351c;
  box-shadow: 0 8px 28px rgba(85, 65, 32, .06);
}
#apApp .ah-renewal-header { display: flex; align-items: flex-start; gap: 14px; }
#apApp .ah-renewal-exclamation {
  display: inline-grid; place-items: center; flex: 0 0 30px;
  height: 30px; border-radius: 50%; background: #965f1a; color: white; font-weight: 800;
}
#apApp .ah-renewal-heading strong { display: block; font-size: 1.06rem; }
#apApp .ah-renewal-heading p { margin: 5px 0 0; line-height: 1.55; font-size: .88rem; }
#apApp .ah-renewal-items { margin: 14px 0; padding: 0; list-style: none; }
#apApp .ah-renewal-items li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 0; border-top: 1px solid rgba(115, 83, 37, .18);
}
#apApp .ah-renewal-identification strong { display: block; font-size: .9rem; }
#apApp .ah-renewal-identification small { display: block; margin-top: 3px; font-size: .79rem; }
#apApp .ah-renewal-countdown {
  flex: 0 0 auto; font-size: .82rem; font-weight: 800; padding: 7px 10px;
  border: 1px solid #e3bc75; border-radius: 999px; background: #fff;
}
#apApp .ah-renewal-overdue .ah-renewal-countdown { border-color: #c77f7f; color: #913434; }
#apApp .ah-renewal-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
#apApp .ah-renewal-review {
  appearance: none; font-family: inherit; font-size: .82rem; font-weight: 700; line-height: 1.2; border: 0; cursor: pointer;
  border-radius: 9px; padding: 11px 16px; background: #163c42; color: #fff;
}
#apApp .ah-renewal-ce-link { color: #264d52; font-weight: 800; font-size: .84rem; text-underline-offset: 3px; }
#apApp .ah-renewal-disclaimer { margin: 12px 0 0; font-size: .76rem; line-height: 1.5; }
#apApp [hidden].ah-renewal-host { display: none !important; }
#apApp .ah-renewal-tab-attention::after { content: '!'; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 7px; background: #b57925; color: white; border-radius: 50%; font-size: 11px; font-weight: 800; }
#apApp .ah-education-panel { margin-top: 18px; }
#apApp .ah-education-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
#apApp .ah-education-heading h3 { margin: 0 0 6px; }
#apApp .ah-education-heading p { margin: 0; max-width: 720px; color: #60747a; line-height: 1.6; }
#apApp .ah-school-visit { font-size: .83rem; font-weight: 800; color: #19545d; text-decoration: underline; text-underline-offset: 3px; }
#apApp .ah-education-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
#apApp .ah-education-item { display: flex; flex-direction: column; gap: 7px; padding: 16px; background: #f7faf8; border: 1px solid #d9e5e1; border-radius: 12px; color: #16383d; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
#apApp .ah-education-item:hover, #apApp .ah-education-item:focus-visible { border-color: #7c9e91; transform: translateY(-1px); outline-offset: 2px; }
#apApp .ah-education-item small { color: #557474; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
#apApp .ah-education-item strong { font-size: .96rem; line-height: 1.35; }
#apApp .ah-education-item span { font-size: .79rem; line-height: 1.5; color: #566e72; }
#apApp .ah-education-note { font-size: .77rem; line-height: 1.55; margin: 14px 0 0; color: #667a7d; }
@media (max-width: 1040px) { #apApp .ah-education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  #apApp .ah-education-grid { grid-template-columns: 1fr; }
  #apApp .ah-renewal-items li { align-items: flex-start; flex-direction: column; }
  #apApp .ah-renewal-banner { padding: 17px; }
  #apApp .ah-renewal-actions { align-items: flex-start; flex-direction: column; }
}
