/* PDF page 45: paired background/opportunity panels on the approved surface. */
#opportunity {
  color:var(--cover-ink);
  background:
    radial-gradient(ellipse at 57% 34%,#e3f0ff 0,transparent 58%),
    linear-gradient(135deg,#f4faff 12%,#f5f9ff 60%,#ebf5fc 100%);
}
#opportunity .page-head h2 {font-family:CoverSansSC,MiSans,sans-serif;font-weight:650}
.pdf-background-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  flex:0 1 auto;
  min-height:0;
  margin-top:0;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  background:#d3e7ff;
  border-radius:16px;
}
.pdf-background-panel,.pdf-opportunity-panel {padding:clamp(28px,3.5vw,48px);padding-bottom:calc(clamp(28px,3.5vw,48px) + 32px);min-width:0}
.pdf-background-grid h3 {font-family:CoverSansSC,MiSans,sans-serif;font-size:clamp(22px,2.1vw,28px);font-weight:650;line-height:1.5}
.pdf-background-grid ol {display:grid;gap:24px;margin-top:32px;padding-left:1.55em;font-size:clamp(14px,1.3vw,17px);line-height:1.9;color:#27334d}
.pdf-background-grid li {padding-left:2px;text-wrap:pretty}
.pdf-background-grid li::marker {font-weight:650}
.pdf-background-grid strong {font-weight:650}
.pdf-opportunity-panel {color:#fff;background:#0067f5;border-radius:16px}
.pdf-opportunity-panel ol {color:#fff}
.pdf-reference-source {display:flex;justify-content:flex-end;flex:none;margin-top:8px;color:var(--muted)}
/* Like the Talent Bank spreads, distribute real reading rows across the sheet.
   The empty space belongs between groups, rather than below a short panel. */
@media screen and (min-width:901px) and (min-height:761px) {
 .pdf-background-panel,.pdf-opportunity-panel {display:grid;grid-template-rows:auto minmax(0,1fr);padding:32px 36px}
 .pdf-background-grid h3 {font-size:24px;line-height:1.5}
 .pdf-background-grid ol {grid-template-rows:repeat(3,minmax(0,1fr));gap:0;margin-top:24px;font-size:clamp(16px,1.25vw,18px);line-height:1.85}
 .pdf-background-grid li {padding-block:20px;align-content:center}
 .pdf-background-grid li+li {border-top:1px solid #afcff5}
 .pdf-opportunity-panel li+li {border-color:#6ca2f6}
}
@media screen and (min-width:601px) and (max-height:760px) {
 .pdf-background-grid {margin-top:0}
 .pdf-background-panel,.pdf-opportunity-panel {padding:24px}
 .pdf-background-grid h3 {font-size:21px}
 .pdf-background-grid ol {font-size:13px;line-height:1.8;margin-top:20px;gap:16px}
}
@media screen and (min-width:601px) and (max-width:900px) {
 .pdf-background-panel,.pdf-opportunity-panel {padding:24px}
 .pdf-background-grid h3 {font-size:21px}
 .pdf-background-grid ol {font-size:14px;gap:20px;margin-top:24px}
}
/* Fill the shared sheet at every desktop height, including compact windows. */
@media screen and (min-width:601px) {
 .pdf-background-grid {flex:1;min-height:0;margin-bottom:32px;background:transparent}
 .pdf-background-panel,.pdf-opportunity-panel {display:grid;grid-template-rows:auto minmax(0,1fr);padding-bottom:clamp(24px,3.5vw,36px)}
 .pdf-background-panel {position:relative;isolation:isolate}
 .pdf-background-panel::before {content:"";position:absolute;inset:clamp(16px,2.5vh,24px) 0;z-index:-1;border-radius:16px 0 0 16px;background:#d3e7ff;pointer-events:none}
 .pdf-opportunity-panel {border-radius:16px}
 .pdf-background-grid h3 {position:relative;top:12px}
 .pdf-background-grid ol {grid-template-rows:repeat(3,minmax(min-content,1fr));gap:0}
 .pdf-background-grid li {padding-block:16px;align-content:center}
 .pdf-background-grid li+li {border-top:1px solid #afcff5}
 .pdf-opportunity-panel li+li {border-color:#6ca2f6}
}
@media screen and (max-width:600px) {
 .pdf-background-grid {flex:none;grid-template-columns:1fr;overflow:visible;margin-top:0;border-radius:16px}
 .pdf-background-panel,.pdf-opportunity-panel {padding:28px 24px}
 .pdf-background-grid h3 {font-size:23px}
 .pdf-background-grid ol {font-size:14px;margin-top:24px;gap:20px}
 .pdf-opportunity-panel {border-radius:16px}
}
@media print {
 .pdf-background-panel,.pdf-opportunity-panel {padding:24px}
 .pdf-background-grid {overflow:visible}
 .pdf-background-grid ol {font-size:13px;margin-top:24px;gap:20px}
 .pdf-reference-source {display:none}
}
