/* Manual pages — sits on top of career-application-modern.css */

.manual-page .admission-container{max-width:1100px}

.reprint-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 22px;
}
.reprint-switcher a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 16px;
  border:1px solid #d7e3e9;
  border-radius:999px;
  background:#fff;
  color:#243946;
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 22px rgba(20,48,63,.05);
  transition:border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.reprint-switcher a i{color:#08715f}
.reprint-switcher a:hover{
  color:#10134f;
  border-color:#9fc2bd;
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(20,48,63,.08);
}
.reprint-switcher a.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(120deg,#10134f 0%,#17658d 52%,#08715f 100%);
  box-shadow:0 10px 22px rgba(16,19,79,.18);
}
.reprint-switcher a.is-active i{color:#fff}

/* PDF viewer ------------------------------------------------------------- */
.mnl-pdf{
  overflow:hidden;
  margin-bottom:22px;
  border:1px solid rgba(25,69,91,.11);
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 35px rgba(20,48,63,.065);
}
.mnl-pdf__head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px 24px;
  padding:18px 20px;
  border-bottom:1px solid #e4edf2;
  background:linear-gradient(180deg,#fbfdfe,#f4f9fa);
}
.mnl-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:6px;
  color:#08715f;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.mnl-pdf__head h3{margin:0;color:#182b38;font-size:clamp(17px,2vw,22px);font-weight:800;line-height:1.3}
.mnl-pdf__head p{margin:5px 0 0;color:#637681;font-size:12.5px}
.mnl-pdf__actions{display:flex;flex-wrap:wrap;gap:10px}
.mnl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 20px;
  border:0;
  border-radius:9px;
  font-size:12.5px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.mnl-btn--primary{
  color:#fff;
  background:linear-gradient(120deg,#10134f 0%,#17658d 52%,#08715f 100%);
  box-shadow:0 8px 18px rgba(8,113,95,.22);
}
.mnl-btn--primary:hover{filter:brightness(1.06);transform:translateY(-1px);color:#fff}
.mnl-btn--ghost{color:#2b4a5b;background:#fff;border:1px solid #cfdde3}
.mnl-btn--ghost:hover{background:#f4f9fa;border-color:#a9c2cc;color:#10134f}

.mnl-pdf__frame{
  position:relative;
  width:100%;
  height:min(78vh,900px);
  min-height:480px;
  background:#eef3f6;
}
.mnl-pdf__frame iframe{display:block;width:100%;height:100%;border:0}

/* All manuals list ------------------------------------------------------- */
.mnl-list{
  overflow:hidden;
  margin-bottom:22px;
  border:1px solid rgba(25,69,91,.11);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 35px rgba(20,48,63,.065);
}
.mnl-list h3{
  margin:0;
  padding:13px 20px;
  color:#fff;
  background:linear-gradient(100deg,#10134f 0%,#17658d 58%,#08715f 100%);
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}
.mnl-list ul{list-style:none;margin:0;padding:0}
.mnl-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px;
  padding:13px 20px;
  border-bottom:1px solid #edf2f5;
  color:#2b4a5b;
  font-size:13px;
}
.mnl-list li:last-child{border-bottom:0}
.mnl-list__title{display:inline-flex;align-items:center;gap:9px;min-width:0;font-weight:700;overflow-wrap:anywhere}
.mnl-list__title i{color:#c0392b}
.mnl-list__date{color:#70838f;font-size:12px;white-space:nowrap}
.mnl-list__link{color:#08715f;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.mnl-list__link:hover{text-decoration:underline}

/* Written fallback ------------------------------------------------------- */
.manual-page .section-border-manual{
  overflow:hidden;
  margin:0 0 22px;
  padding:0 0 22px;
  border:1px solid rgba(25,69,91,.11);
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 35px rgba(20,48,63,.065);
}
.manual-page .section-border-manual h5{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  padding:13px 20px;
  color:#fff;
  background:linear-gradient(100deg,#10134f 0%,#17658d 58%,#08715f 100%);
  font-size:15px;
  font-weight:800;
  line-height:1.35;
}
.manual-page .section-border-manual h5 i{opacity:.95}
.manual-page .section-border-manual h6{
  margin:16px 20px 8px;
  color:#0f2b4a;
  font-size:13.5px;
  font-weight:800;
}
.manual-page .section-border-manual p,
.manual-page .section-border-manual ul,
.manual-page .section-border-manual ol{margin:0 20px 12px}
.manual-page .section-border-manual p,
.manual-page .section-border-manual li{color:#33505f;font-size:13.5px;line-height:1.75}
.manual-page .section-border-manual p:last-child,
.manual-page .section-border-manual ul:last-child,
.manual-page .section-border-manual ol:last-child{margin-bottom:0}
.manual-page .section-border-manual ul,
.manual-page .section-border-manual ol{padding-left:18px}
.manual-page .section-border-manual li{margin-bottom:8px}
.manual-page .section-border-manual a{color:#0f6f86;font-weight:600}
.manual-page .payment-image{
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  margin:8px 0 16px;
  border:1px solid #d7e3e9;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(20,48,63,.08);
}

/* Graduate application fallback cards ----------------------------------- */
.mnl-guides{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.mnl-guide{
  padding:22px;
  border:1px solid rgba(25,69,91,.11);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 35px rgba(20,48,63,.065);
}
.mnl-guide h3{
  margin:0 0 16px;
  color:#0f2b4a;
  font-size:17px;
  font-weight:800;
  line-height:1.35;
}
.mnl-guide__row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 0;
  border-top:1px solid #edf2f5;
}
.mnl-guide__row:first-of-type{border-top:0;padding-top:0}
.mnl-guide__row span{color:#33505f;font-size:13.5px;font-weight:700}
.mnl-empty{
  padding:28px 22px;
  border:1px dashed #c9d9e1;
  border-radius:16px;
  background:#f7fbfc;
  color:#33505f;
  text-align:center;
}
.mnl-empty h3{margin:0 0 8px;color:#0f2b4a;font-size:18px;font-weight:800}
.mnl-empty p{margin:0;font-size:14px;line-height:1.6}

@media (max-width:820px){
  .mnl-list li{grid-template-columns:minmax(0,1fr) auto}
  .mnl-list__date{display:none}
  .mnl-guides{grid-template-columns:1fr}
}
@media (max-width:720px){
  .reprint-switcher a{flex:1 1 100%;justify-content:center}
  .mnl-pdf__actions{width:100%}
  .mnl-btn{flex:1}
  .mnl-pdf__frame{height:70vh;min-height:380px}
}
@media (prefers-reduced-motion:reduce){
  .mnl-btn,.reprint-switcher a{transition:none}
}
