/* Exam Date / Countdown page — built on the site's shared design tokens (style.css :root)
   rather than a separate color system, so it reads as native ExamNotesPDF, not a pasted page. */

#enp-ed-app { padding-top: 4px; }

/* ── Countdown ── */
.enp-ed-countdown {
  margin: 4px 0 24px;
  background: var(--ink);
  background-image: radial-gradient(circle at 30% 20%, #2A4A6C, #101C2C);
  border-radius: var(--rl);
  padding: 28px 16px 32px;
  box-shadow: 0 16px 48px rgba(30, 41, 59, .35);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.enp-ed-countdown-label {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.enp-ed-countdown-label strong { color: #fff; font-weight: 800; }
.enp-ed-pulse {
  display: inline-block; width: 9px; height: 9px; background: #4ade80;
  border-radius: 50%; margin-right: 6px; animation: enpEdPulse 1.8s ease-in-out infinite;
}
@keyframes enpEdPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.enp-ed-grid { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.enp-ed-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 12px 10px 10px; min-width: 74px; text-align: center;
}
.enp-ed-num { font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: block; }
.enp-ed-unit { font-size: .58rem; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.6); letter-spacing: .08em; display: block; margin-top: 2px; }
.enp-ed-sep { color: rgba(255,255,255,.25); font-size: 2.2rem; font-weight: 300; line-height: 1; padding: 0 2px; }
.enp-ed-cta { margin-top: 20px; }

/* ── Add to Home Screen ── */
.enp-ed-a2hs {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--amber-bg); border: 1px solid var(--amber-bd); border-radius: var(--r);
  padding: 10px 14px; font-size: .82rem; color: var(--ink); margin-bottom: 18px;
}
.enp-ed-a2hs button {
  border: none; background: none; cursor: pointer; font-size: .9rem; color: var(--ink2); flex-shrink: 0;
}
.enp-ed-a2hs button#enpEdA2hsInstall {
  background: var(--amber); color: var(--ink); font-weight: 700; padding: 6px 14px; border-radius: var(--r); font-size: .78rem;
}

/* ── Section label ── */
.enp-ed-section-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink3); margin: 24px 0 12px; display: flex; align-items: center; gap: 8px;
}
.enp-ed-section-label::after { content: ''; flex: 1; height: 1px; background: var(--bd); }

/* ── Quick access ── */
.enp-ed-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .enp-ed-quick-grid { grid-template-columns: repeat(4, 1fr); } }
.enp-ed-quick-card {
  background: var(--white); border: 1px solid var(--bd); border-radius: var(--rl); box-shadow: var(--sh);
  padding: 16px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-decoration: none; color: inherit; transition: transform .15s;
}
.enp-ed-quick-card:active { transform: scale(.97); }
.enp-ed-quick-visual {
  width: 100%; height: 84px; border-radius: var(--r); margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--ink2), var(--ink));
}
.enp-ed-quick-card-1 .enp-ed-quick-visual { background: linear-gradient(135deg, #5a189a, #3c096c); }
.enp-ed-quick-card-2 .enp-ed-quick-visual { background: linear-gradient(135deg, #c1121f, #780000); }
.enp-ed-quick-card-3 .enp-ed-quick-visual { background: linear-gradient(135deg, #0077b6, #023e8a); }
.enp-ed-quick-title { font-size: .85rem; font-weight: 700; color: var(--ink); }
.enp-ed-quick-desc { font-size: .72rem; color: var(--ink2); line-height: 1.4; }
.enp-ed-quick-badge {
  display: inline-block; background: var(--amber-bg); color: #B45309; font-size: .55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 2px 12px; border-radius: 100px; margin-top: 4px;
  border: 1px solid var(--amber-bd);
}

/* ── Info / timeline cards ── */
.enp-ed-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .enp-ed-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.enp-ed-info-card {
  background: var(--white); border: 1px solid var(--bd); border-radius: var(--r); box-shadow: var(--sh);
  padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden;
}
.enp-ed-info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); opacity: .5; }
.enp-ed-info-card-hl { background: var(--amber-bg); border-color: var(--amber-bd); }
.enp-ed-info-card-hl::before { opacity: 1; height: 4px; }
.enp-ed-info-icon { font-size: 1.05rem; margin-bottom: 2px; }
.enp-ed-info-label { font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); }
.enp-ed-info-value { font-size: .88rem; font-weight: 700; color: var(--ink); }
.enp-ed-info-card-hl .enp-ed-info-value { color: #B45309; }
.enp-ed-info-value small { font-weight: 400; color: var(--ink2); font-size: .7rem; display: block; margin-top: 1px; }

/* ── Pattern cards ── */
.enp-ed-pattern-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.enp-ed-pattern-card {
  background: var(--white); border: 1px solid var(--bd); border-radius: var(--r); box-shadow: var(--sh);
  padding: 12px 14px; text-align: center; display: flex; flex-direction: column; gap: 1px;
}
.enp-ed-pattern-icon { font-size: 1.1rem; }
.enp-ed-pattern-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink3); }
.enp-ed-pattern-value { font-size: .85rem; font-weight: 700; color: var(--ink); }
.enp-ed-pattern-value small { font-weight: 400; color: var(--ink2); font-size: .65rem; display: block; }

/* ── Important links ── */
.enp-ed-links-section {
  margin: 20px 0 16px; background: var(--white); border-radius: var(--rl); padding: 16px 14px 18px;
  box-shadow: var(--sh); border: 1px solid var(--bd);
}
.enp-ed-links-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); margin-bottom: 10px; }
.enp-ed-links-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.enp-ed-links-grid a {
  display: inline-flex; align-items: center; gap: 5px; background: var(--page); padding: 7px 14px;
  border-radius: 100px; font-size: .74rem; font-weight: 500; color: var(--ink); text-decoration: none;
  border: 1px solid transparent; transition: .15s;
}
.enp-ed-links-grid a:hover { background: var(--amber-bg); border-color: var(--amber-bd); }

/* ── Latest update ── */
.enp-ed-update {
  margin: 16px 0 8px; background: var(--white); border-radius: var(--rl); padding: 14px 14px 16px;
  box-shadow: var(--sh); border: 1px solid var(--bd); border-left: 4px solid var(--amber);
}
.enp-ed-update-head { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); margin-bottom: 4px; }
.enp-ed-update-text { font-size: .88rem; color: var(--ink); line-height: 1.5; }
.enp-ed-update-text strong { color: #B45309; }
.enp-ed-update-meta { font-size: .66rem; color: var(--ink3); margin-top: 6px; display: block; }

@media (min-width: 768px) {
  .enp-ed-num { font-size: 3.6rem; }
  .enp-ed-item { min-width: 96px; padding: 16px 14px 12px; }
  .enp-ed-sep { font-size: 3rem; }
  .enp-ed-quick-visual { height: 110px; }
}
