:root {
  --cert-shadow: 0 18px 36px rgba(18, 42, 76, 0.08);
}
.cert-page-shell { display: grid; gap: 18px; }
.cert-hero {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
}
.cert-hero-copy { display: grid; gap: 10px; }
.cert-hero-copy h2 {
  margin: 0;
  color: #1d2b40;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.cert-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: #5d7086;
  font-size: 14px;
  line-height: 1.7;
}
.cert-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.cert-summary-item {
  padding: 14px 16px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.cert-summary-item strong {
  display: block;
  margin-bottom: 6px;
  color: #18304f;
  font-size: 14px;
  font-weight: 800;
}
.cert-summary-item span {
  color: #5d7086;
  font-size: 16px;
  line-height: 1.7;
}
.cert-about {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
}
.cert-about-head {
  display: grid;
  gap: 6px;
}
.cert-about-head strong {
  color: #1d2b40;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.cert-about-head p {
  margin: 0;
  color: #607286;
  font-size: 14px;
  line-height: 1.8;
}
.cert-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cert-about-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.cert-about-item strong {
  color: #20324f;
  font-size: 15px;
  font-weight: 800;
}
.cert-about-item p {
  margin: 0;
  color: #607286;
  font-size: 16px;
  line-height: 1.8;
}
.cert-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}
.cert-content > aside { display: grid; }
.cert-panel,
.cert-result-panel,
.cert-empty-panel {
  height: 100%;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  padding: 22px;
}
.cert-panel { display: grid; gap: 18px; }
.cert-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  align-items: start;
}
.cert-panel-head h3,
.cert-result-panel h3 {
  margin: 6px 0 0;
  color: #1e2f48;
  font-size: 24px;
  font-weight: 700;
}
.cert-panel-head p,
.cert-result-panel p,
.cert-empty-panel p {
  margin: 0;
  color: #607286;
  font-size: 13px;
  line-height: 1.7;
}
.cert-panel-note {
  padding: 14px 16px;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  background: #f7fafc;
}
.cert-form { display: grid; gap: 16px; }
.cert-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cert-field { display: grid; gap: 8px; }
.cert-field span { color: #31465f; font-size: 13px; font-weight: 700; }
.cert-field span em { color: #c23b3b; font-style: normal; }
.cert-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #ced9e6;
  border-radius: 12px;
  background: #fff;
  color: #23344d;
}
.cert-field input:focus {
  outline: none;
  border-color: #7fa7da;
  box-shadow: 0 0 0 4px rgba(29,79,145,.12);
}
.cert-field small { color: #6b7d91; font-size: 12px; line-height: 1.6; }
.cert-actions { display: flex; gap: 10px; padding-top: 4px; }
.cert-submit-btn,
.cert-reset-btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.cert-submit-btn { min-width: 140px; }
.cert-reset-btn { min-width: 110px; }
.cert-submit-btn {
  border: 1px solid var(--primary-deep);
  background: linear-gradient(180deg, #1f5598 0%, #173f75 100%);
  color: #fff;
}
.cert-reset-btn {
  border: 1px solid #cfdae7;
  background: #f3f6fa;
  color: #2b3f5d;
}
.cert-notice {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.cert-notice.show { display: block; }
.cert-notice.error { border: 1px solid #ffd7d7; background: #fff0f0; color: #bc3b3b; }
.cert-notice.success { border: 1px solid #d0ebd8; background: #eefaf2; color: #217a46; }
.cert-empty-panel { display: grid; gap: 18px; align-content: start; }
.cert-empty-panel strong { color: #18304f; font-size: 20px; font-weight: 800; }
.cert-guide-list { display: grid; gap: 12px; }
.cert-guide-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.cert-guide-item strong { color: #20324f; font-size: 13px; font-weight: 800; }
.cert-guide-item span { color: #607286; font-size: 13px; line-height: 1.7; }
.cert-result-panel {
  display: none;
  gap: 18px;
  margin-top: 2px;
}
.cert-result-panel.show { display: grid; }
.cert-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1e8f0;
}
.cert-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.cert-status-badge.done { background: #eaf8ee; color: #217a46; }
.cert-status-badge.pending { background: #fff5d9; color: #966200; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cert-item {
  padding: 14px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.cert-item span {
  display: block;
  color: #31465f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1px;
}
.cert-item strong {
  display: block;
  margin-top: 7px;
  color: #4f6278;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  white-space: pre-line;
}
.cert-span-2 { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .cert-summary-strip,
  .cert-about-grid,
  .cert-content,
  .cert-form-row,
  .cert-panel-head,
  .cert-grid { grid-template-columns: 1fr; }
  .cert-status-row,
  .cert-actions { flex-direction: column; align-items: flex-start; }
  .cert-submit-btn,
  .cert-reset-btn { width: 100%; }
  .cert-hero { padding: 22px; }
  .cert-hero-copy h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .cert-hero,
  .cert-about,
  .cert-panel,
  .cert-empty-panel,
  .cert-result-panel { padding: 16px; }
  .cert-hero-copy h2,
  .cert-about-head strong { font-size: 24px; }
}

/* Page typography: cert */

body { font-size: 17px; }
.brand-kicker { font-size: 12px; }
.brand-copy h1 { font-size: 26px; }
.brand-sub-text,
.header-link-btn,
.main-nav a,
.section-side-text { font-size: 15px; }
.primary-btn,
.outline-btn,
.course-chip-btn,
.reset-btn,
select,
input,
textarea,
table,
button { font-size: 15px; }
.hero-label,
.section-kicker,
.enroll-card-kicker,
.summary-kicker,
.shortcut-eyebrow { font-size: 13px; }
.footer-meta-item span,
.footer-bottom,
.footer-links a { font-size: 14px; }
.footer-brand strong { font-size: 19px; }
.footer-brand p { font-size: 15px; line-height: 1.8; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-copy h1 { font-size: 18px; }
}

.cert-hero-copy h2 { font-size: 44px; line-height: 1.22; }
.cert-hero-copy p { font-size: 18px; line-height: 1.85; }
.cert-field span,
.cert-field small { font-size: 14px; }
.cert-guide-item span { font-size: 17px; }
.section-head h3 { font-size: 32px; }
@media (max-width: 900px) {
  .cert-hero-copy h2 { font-size: 38px; }
  .section-head h3 { font-size: 29px; }
}
@media (max-width: 560px) {
  .cert-hero-copy h2 { font-size: 31px; }
  .section-head h3 { font-size: 27px; }
}



/* Certification result value emphasis 20260414-14 */
.cert-result-panel .cert-item strong {
  color: #26384f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .cert-result-panel .cert-item strong {
    font-size: 17px;
  }
}


/* Certification result stronger typography 20260414-15 */
#certResultPanel.cert-result-panel .cert-status-row h3 {
  font-size: 30px;
  font-weight: 900;
}

#certResultPanel.cert-result-panel .cert-item > span {
  font-size: 16px;
  font-weight: 900;
}

#certResultPanel.cert-result-panel .cert-item > strong {
  color: #172b43;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
}

@media (max-width: 560px) {
  #certResultPanel.cert-result-panel .cert-status-row h3 {
    font-size: 26px;
  }

  #certResultPanel.cert-result-panel .cert-item > span {
    font-size: 15px;
  }

  #certResultPanel.cert-result-panel .cert-item > strong {
    font-size: 20px;
  }
}


/* Certification result label emphasis only 20260414-16 */
#certResultPanel.cert-result-panel .cert-status-row h3 {
  font-size: 24px;
  font-weight: 700;
}

#certResultPanel.cert-result-panel .cert-item > span {
  color: #1f3149;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

#certResultPanel.cert-result-panel .cert-item > strong {
  color: #4f6278;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

@media (max-width: 560px) {
  #certResultPanel.cert-result-panel .cert-item > span {
    font-size: 17px;
  }

  #certResultPanel.cert-result-panel .cert-item > strong {
    font-size: 14px;
  }
}
