.pmd-document-reader,
.pmd-document-reader .site-main{
  background:#e9eaec;
}

.pmd-reader{
  --pmd-paper:#fff;
  --pmd-ink:#14264b;
  --pmd-body:#243653;
  --pmd-muted:#687386;
  --pmd-line:#d7dde3;
  --pmd-soft:#f5f7f8;
  --pmd-accent:#078f9d;
  --pmd-link:#075db6;
  max-width:1440px;
  margin:0 auto;
  padding:20px 22px 72px;
  color:var(--pmd-body);
  font-family:var(--theme-font-family,inherit);
  font-size:16px;
  line-height:1.62;
}

.pmd-reader *,
.pmd-reader *::before,
.pmd-reader *::after{
  box-sizing:border-box;
}

.pmd-reader a{
  color:var(--pmd-link);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.pmd-viewer-frame{
  min-width:0;
}

.pmd-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 8px;
  max-width:1110px;
  margin:0 auto 12px;
  color:#5d6570;
  font-size:13px;
  line-height:1.4;
  direction:ltr;
  text-align:left;
  text-transform:none;
}

.pmd-breadcrumbs .ct-separator{
  flex:0 0 auto;
  width:8px;
  height:8px;
  color:#8b939c;
}

.pmd-breadcrumbs a,
.pmd-breadcrumbs span{
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.pmd-breadcrumbs .last-item{
  max-width:min(52vw,560px);
  color:#303944;
}

.pmd-viewer-bar{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1110px;
  min-height:56px;
  margin:0 auto 16px;
  padding:8px 10px 8px 14px;
  border:1px solid #d4d9df;
  border-radius:6px;
  background:#fff;
  color:#273244;
}

.pmd-document-state{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0;
}

.pmd-document-state svg{
  flex:0 0 auto;
  color:#647083;
}

.pmd-document-state > span{
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.25;
}

.pmd-document-state strong{
  color:#182235;
  font-size:14px;
  font-weight:700;
}

.pmd-document-state small{
  margin-top:2px;
  color:#657085;
  font-size:12px;
}

.pmd-download-link{
  display:inline-flex;
  gap:8px;
  align-items:center;
  min-height:38px;
  padding:7px 12px;
  border:1px solid #b8c1cc;
  border-radius:4px;
  color:#14264b!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}

.pmd-download-link:hover,
.pmd-download-link:focus-visible{
  border-color:#078f9d;
  background:#f3fafb;
}

.pmd-shell{
  display:grid;
  grid-template-columns:250px minmax(0,840px);
  gap:20px;
  justify-content:center;
  align-items:start;
}

.pmd-sidebar{
  position:sticky;
  top:calc(var(--admin-bar,0px) + 82px);
  max-height:calc(100vh - 100px);
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}

.pmd-toc{
  --pmd-toc-surface:#f5f5f5;
  padding:20px 18px;
  border:1px solid #d2d5d9;
  border-radius:6px;
  background:#f5f5f5;
  color:#222a34;
}

.pmd-toc h2{
  margin:0 0 14px;
  color:#1e2731;
  font-family:var(--theme-font-family,inherit);
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  text-transform:uppercase;
}

.pmd-toc ol{
  margin:0;
  padding:0;
  list-style:none;
}

.pmd-toc > ol > li + li{
  margin-top:16px;
}

.pmd-toc a{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  gap:4px;
  padding:4px 0;
  color:#303945;
  font-size:13px;
  line-height:1.42;
  text-decoration:none;
}

.pmd-toc > ol > li > a{
  color:#1c2733;
  font-weight:750;
}

.pmd-toc a > span{
  color:#737c86;
  font-variant-numeric:tabular-nums;
}

.pmd-toc a:hover,
.pmd-toc a[aria-current="location"]{
  color:var(--pmd-link);
}

.pmd-toc-branches{
  --pmd-toc-indent:18px;
  --pmd-toc-branch-y:17px;
  --pmd-toc-overlap:120px;
  position:relative;
  display:grid;
  gap:1px;
  margin:4px 0 0 12px!important;
  padding-left:var(--pmd-toc-indent)!important;
  overflow:hidden;
}

.pmd-toc-branches li{
  position:relative;
  min-width:0;
  overflow:visible;
}

.pmd-toc-branches li::before{
  content:"";
  position:absolute;
  z-index:1;
  top:calc(-1 * var(--pmd-toc-overlap));
  left:calc(-1 * var(--pmd-toc-indent));
  width:var(--pmd-toc-indent);
  height:calc(var(--pmd-toc-overlap) + var(--pmd-toc-branch-y));
  border:0;
  border-bottom:1px solid #c7ccd1;
  border-left:1px solid #c7ccd1;
  border-bottom-left-radius:9px;
  background:none;
  pointer-events:none;
}

.pmd-toc-branches li::after{
  display:none;
}

.pmd-toc-branches li:last-child::after{
  display:none;
}

.pmd-toc-branches a{
  position:relative;
  z-index:2;
}

.pmd-reading-column,
.pmd-document{
  min-width:0;
}

.pmd-anchor-alias{
  position:absolute;
  inset:0 auto auto 0;
  width:1px;
  height:1px;
  overflow:hidden;
}

.pmd-page{
  position:relative;
  width:100%;
  margin:0;
  border:1px solid #cfd3d7;
  border-radius:2px;
  background:var(--pmd-paper);
  color:var(--pmd-body);
  box-shadow:0 2px 8px rgba(24,31,38,.08);
}

.pmd-page-inner{
  min-height:260px;
  padding:54px 58px 58px;
}

.pmd-document-cover{
  margin-bottom:44px;
  padding-bottom:30px;
  border-bottom:1px solid var(--pmd-line);
}

.pmd-cover-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:22px;
}

.pmd-document-brand{
  display:flex;
  flex-direction:column;
  margin:0!important;
  color:#5e6f8c;
  font-size:12px;
  line-height:1.3;
}

.pmd-document-brand strong{
  color:var(--pmd-ink);
  font-size:25px;
  font-weight:800;
}

.pmd-level-mark{
  display:grid;
  width:60px;
  height:48px;
  place-items:center;
  border-radius:50%;
  background:#e9f5f6;
  color:#536b91;
  font-size:25px;
  font-weight:800;
}

.pmd-resource-kind{
  display:inline-block;
  margin:0 0 20px!important;
  padding:6px 10px;
  border-radius:3px;
  background:var(--pmd-accent);
  color:#fff!important;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  text-transform:uppercase;
}

.pmd-document-cover h1{
  max-width:690px;
  margin:0;
  color:var(--pmd-ink);
  font-family:var(--theme-font-family,inherit);
  font-size:42px;
  font-weight:800;
  line-height:1.12;
  letter-spacing:0;
}

.pmd-document-meta{
  margin:15px 0 0!important;
  color:#56657a;
  font-size:17px;
  font-weight:650;
}

.pmd-introduction{
  max-width:690px;
  margin:24px 0 0!important;
  color:#34455f;
  font-size:17px;
  line-height:1.68;
}

.pmd-context-link{
  font-weight:650;
}

.pmd-mobile-toc{
  display:none;
}

.pmd-section + .pmd-section,
.pmd-section-continuation{
  margin-top:42px;
}

.pmd-section > h2{
  display:flex;
  gap:14px;
  align-items:baseline;
  margin:0 0 22px;
  padding-bottom:10px;
  border-bottom:1px solid var(--pmd-line);
  color:var(--pmd-ink);
  font-family:var(--theme-font-family,inherit);
  font-size:27px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:0;
  scroll-margin-top:92px;
}

.pmd-section > h2::before{
  width:22px;
  height:4px;
  border-radius:2px;
  background:var(--pmd-accent);
  content:"";
  flex:0 0 auto;
  transform:translateY(-4px);
}

.pmd-exercise{
  margin:0 0 26px;
  overflow:hidden;
  border:1px solid #c2d9e2;
  border-radius:8px;
  background:#fff;
  color:var(--pmd-body);
  scroll-margin-top:92px;
}

.pmd-exercise-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  min-height:62px;
  padding:0 20px;
  border-bottom:1px solid #d8e4e9;
  background:#fff;
}

.pmd-exercise-heading h3{
  display:flex;
  gap:18px;
  align-items:center;
  min-width:0;
  margin:0;
  color:var(--pmd-ink);
  font-family:var(--theme-font-family,inherit);
  font-size:19px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:0;
}

.pmd-exercise-label{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-height:34px;
  padding:0 18px 0 0;
  border-right:1px solid #8db8c5;
  color:var(--pmd-accent);
  font-size:20px;
  font-weight:800;
  white-space:nowrap;
}

.pmd-exercise-label span{
  margin-left:5px;
  font-variant-numeric:tabular-nums;
}

.pmd-exercise-heading-text{
  min-width:0;
  overflow-wrap:anywhere;
}

.pmd-answer-link{
  display:flex;
  gap:9px;
  align-items:center;
  align-self:center;
  margin-left:14px;
  padding:5px 0 5px 14px;
  border-left:1px solid #e3eaed;
  color:var(--pmd-link)!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
  white-space:nowrap;
}

.pmd-answer-link > span[aria-hidden="true"]{
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border:1px solid #b8cde0;
  border-radius:50%;
  color:#075db6;
  font-size:14px;
  line-height:1;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}

.pmd-answer-link svg{
  display:block;
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.pmd-answer-link:hover,
.pmd-answer-link:focus-visible{
  text-decoration:underline!important;
}

.pmd-answer-link:hover > span[aria-hidden="true"],
.pmd-answer-link:focus-visible > span[aria-hidden="true"]{
  border-color:#078f9d;
  background:#eef8f9;
  transform:translateX(1px);
}

.pmd-exercise-body{
  padding:25px 26px 28px;
}

.pmd-exercise-statement{
  margin:0 0 17px!important;
  color:#33445d;
  font-weight:600;
}

.pmd-question-list{
  display:grid;
  gap:20px;
  margin:0!important;
  padding:0!important;
  counter-reset:pmd-question;
  list-style:none!important;
}

.pmd-question-list > li{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:start;
  min-width:0;
  counter-increment:pmd-question;
}

.pmd-question-list > li::before{
  grid-column:1;
  color:var(--pmd-accent);
  content:counter(pmd-question) ".";
  font-weight:800;
  font-variant-numeric:tabular-nums;
}

.pmd-question-text{
  grid-column:2;
  margin:0!important;
  min-width:0;
}

.pmd-question-list > li > .pmd-formula-display{
  grid-column:2;
  margin-top:5px;
  padding:2px 0;
  background:transparent;
  text-align:left;
}

.pmd-question-list-single > li,
.pmd-question-list-single > li > .pmd-question-text,
.pmd-question-list-single > li > .pmd-formula-display{
  grid-column:1;
}

.pmd-question-list-single > li{
  grid-template-columns:minmax(0,1fr);
}

.pmd-question-list-single > li::before{
  content:none;
}

.pmd-hint{
  max-width:520px;
  margin:22px 0 0 36px;
  padding:9px 12px;
  border-left:2px solid #84b9c1;
  background:#f5f8f8;
  color:#405266;
  font-size:14px;
  line-height:1.52;
}

.pmd-hint strong{
  display:block;
  margin-bottom:3px;
  color:#167f89;
  font-size:12px;
  text-transform:uppercase;
}

.pmd-hint p{
  margin:0!important;
}

.pmd-correction{
  border-color:#d3d8dd;
}

.pmd-correction .pmd-exercise-heading{
  background:#fafafa;
}

.pmd-correction .pmd-exercise-label{
  border-right-color:#c7ccd1;
  color:#465262;
}

.pmd-formula{
  max-width:100%;
}

.pmd-formula .katex{
  color:#102a52;
  font-size:1.19em;
}

.pmd-formula-display .katex{
  font-size:1.24em;
}

.pmd-formula-display{
  display:block;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:8px 0;
  background:transparent;
  text-align:center;
  scrollbar-width:thin;
}

.pmd-formula-display > .katex-display{
  margin:0;
}

.pmd-table{
  max-width:100%;
  margin:20px 0 24px;
  overflow-x:auto;
  border:1px solid var(--pmd-line);
  border-radius:6px;
  scrollbar-width:thin;
}

.pmd-table table{
  width:100%;
  min-width:520px;
  margin:0;
  border-collapse:collapse;
  color:var(--pmd-body);
  font-size:14px;
}

.pmd-table caption{
  padding:10px 12px;
  border-bottom:1px solid var(--pmd-line);
  background:#f4f6f7;
  color:#425167;
  font-weight:700;
  text-align:left;
}

.pmd-table th,
.pmd-table td{
  padding:9px 12px;
  border-right:1px solid var(--pmd-line);
  border-bottom:1px solid var(--pmd-line);
  text-align:left;
}

.pmd-table tr:last-child td{
  border-bottom:0;
}

.pmd-table th:last-child,
.pmd-table td:last-child{
  border-right:0;
}

.pmd-page figure{
  margin:22px 0;
}

.pmd-page figure img{
  display:block;
  width:100%;
  max-width:var(--pmd-figure-width,100%);
  margin-inline:auto;
  height:auto;
  aspect-ratio:var(--pmd-figure-ratio,auto);
  border:1px solid #e0e4e7;
  border-radius:4px;
  background:#fff;
  object-fit:contain;
}

.pmd-page figcaption{
  margin-top:7px;
  color:var(--pmd-muted);
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

.pmd-page-gap{
  display:flex;
  min-height:26px;
  align-items:center;
  justify-content:center;
}

.pmd-ad-boundary{
  width:100%;
}

.pmd-ad-boundary:empty{
  display:none;
}

.pmd-ad-boundary:not(:empty){
  margin:16px 0;
  padding:14px 0;
  border-top:1px solid #cfd2d5;
  border-bottom:1px solid #cfd2d5;
}

.pmd-download-panel{
  display:flex;
  gap:28px;
  justify-content:space-between;
  align-items:center;
  margin-top:22px;
  padding:24px 26px;
  border:1px solid #ced3d8;
  border-radius:6px;
  background:#f7f7f7;
  color:#24303c;
}

.pmd-download-panel p{
  margin:4px 0 0!important;
}

.pmd-download-panel h2{
  margin:0;
  color:#1d2732;
  font-family:var(--theme-font-family,inherit);
  font-size:22px;
  letter-spacing:0;
}

.pmd-download-eyebrow{
  color:#6e7780;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.pmd-download-late{
  display:flex;
  flex:0 0 auto;
  flex-direction:column;
  padding:10px 14px;
  border-radius:4px;
  background:#25282b;
  color:#fff!important;
  font-size:14px;
  font-weight:750;
  line-height:1.3;
  text-decoration:none!important;
}

.pmd-download-late span{
  color:#bec4ca;
  font-size:11px;
  font-weight:500;
}

.pmd-unavailable{
  max-width:760px;
  margin:40px auto;
  padding:32px;
  background:#fff;
  color:#222;
}

@media (max-width:980px){
  .pmd-reader{
    padding-right:14px;
    padding-left:14px;
  }

  .pmd-shell{
    display:block;
    max-width:840px;
    margin:0 auto;
  }

  .pmd-sidebar{
    display:none;
  }

  .pmd-mobile-toc{
    --pmd-toc-surface:var(--pmd-paper);
    display:block;
    margin:0 0 34px;
    border-top:1px solid var(--pmd-line);
    border-bottom:1px solid var(--pmd-line);
  }

  .pmd-mobile-toc summary{
    padding:12px 0;
    color:var(--pmd-ink);
    cursor:pointer;
    font-weight:800;
  }

  .pmd-mobile-toc > ol{
    margin:0;
    padding:4px 0 16px;
  }

  .pmd-mobile-toc ol{
    margin:0;
    padding-left:0;
    color:#45546a;
    list-style:none;
  }

  .pmd-mobile-toc li{
    margin:6px 0;
  }

  .pmd-mobile-toc a{
    color:#303945;
    text-decoration:none;
  }

  .pmd-mobile-toc a:hover,
  .pmd-mobile-toc a:focus-visible,
  .pmd-mobile-toc a[aria-current="location"]{
    color:var(--pmd-link);
  }

  .pmd-mobile-toc a > span{
    display:inline-block;
    min-width:34px;
    color:#718095;
    font-variant-numeric:tabular-nums;
  }

  .pmd-mobile-toc .pmd-toc-branches{
    --pmd-toc-indent:18px;
    margin-left:16px!important;
    padding-left:var(--pmd-toc-indent)!important;
  }
}

@media (max-width:640px){
  .pmd-document-reader,
  .pmd-document-reader .site-main{
    background:#dfe1e3;
  }

  .pmd-reader{
    padding:10px 0 48px;
    font-size:15px;
    line-height:1.58;
  }

  .pmd-breadcrumbs{
    margin:0 12px 9px;
    font-size:12px;
  }

  .pmd-breadcrumbs .last-item{
    max-width:62vw;
  }

  .pmd-viewer-bar{
    min-height:50px;
    margin:0 8px 10px;
    border-radius:5px;
  }

  .pmd-document-state small{
    display:none;
  }

  .pmd-download-link{
    min-height:34px;
    padding:5px 9px;
    font-size:12px;
  }

  .pmd-page{
    width:calc(100% - 16px);
    margin-right:auto;
    margin-left:auto;
    border-radius:2px;
  }

  .pmd-page-inner{
    min-height:0;
    padding:28px 18px 32px;
  }

  .pmd-document-cover{
    margin-bottom:30px;
    padding-bottom:24px;
  }

  .pmd-cover-top{
    justify-content:flex-end;
    margin-bottom:18px;
  }

  .pmd-document-brand{
    display:none;
  }

  .pmd-level-mark{
    width:48px;
    height:40px;
    font-size:20px;
  }

  .pmd-resource-kind{
    margin-bottom:16px!important;
    font-size:11px;
  }

  .pmd-document-cover h1{
    font-size:30px;
    line-height:1.16;
  }

  .pmd-document-meta,
  .pmd-introduction{
    font-size:15px;
  }

  .pmd-introduction{
    margin-top:19px!important;
  }

  .pmd-section + .pmd-section,
  .pmd-section-continuation{
    margin-top:32px;
  }

  .pmd-section > h2{
    margin-bottom:18px;
    font-size:22px;
    scroll-margin-top:74px;
  }

  .pmd-exercise{
    margin-bottom:18px;
    border-radius:7px;
  }

  .pmd-exercise-heading{
    grid-template-columns:minmax(0,1fr) auto;
    min-height:54px;
    padding:0 12px;
  }

  .pmd-exercise-heading h3{
    gap:10px;
    font-size:15px;
  }

  .pmd-exercise-label{
    min-height:28px;
    padding:0 10px 0 0;
    font-size:14px;
  }

  .pmd-exercise-heading-text{
    line-height:1.3;
  }

  .pmd-answer-link{
    margin-left:8px;
    padding-left:9px;
    font-size:11px;
  }

  .pmd-answer-link > span[aria-hidden="true"]{
    width:26px;
    height:26px;
    font-size:13px;
  }

  .pmd-answer-link-label{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
  }

  .pmd-exercise-body{
    padding:20px 15px 22px;
  }

  .pmd-question-list{
    gap:13px;
  }

  .pmd-question-list > li{
    grid-template-columns:30px minmax(0,1fr);
  }

  .pmd-question-list-single > li{
    grid-template-columns:minmax(0,1fr);
  }

  .pmd-hint{
    margin-left:30px;
  }

  .pmd-formula .katex{
    font-size:1.14em;
  }

  .pmd-formula-display .katex{
    font-size:1.18em;
  }

  .pmd-formula-display{
    margin-right:-4px;
    margin-left:-4px;
    padding:7px 4px;
  }

  .pmd-page-gap{
    min-height:18px;
  }

  .pmd-download-panel{
    display:block;
    margin:10px 8px 0;
    padding:20px;
  }

  .pmd-download-panel h2{
    font-size:20px;
  }

  .pmd-download-late{
    margin-top:16px;
  }
}

@media (prefers-color-scheme:dark){
  .pmd-document-reader,
  .pmd-document-reader .site-main{
    background:#171717;
  }

  .pmd-reader{
    --pmd-paper:#fff;
  }

  .pmd-breadcrumbs{
    color:#aeb3b8;
  }

  .pmd-breadcrumbs .last-item{
    color:#e3e5e7;
  }

  .pmd-toc{
    --pmd-toc-surface:#202122;
    border-color:#3b3d40;
    background:#202122;
    color:#d5d8db;
  }

  .pmd-toc h2,
  .pmd-toc > ol > li > a{
    color:#f0f1f2;
  }

  .pmd-toc a{
    color:#c5c9cd;
  }

  .pmd-toc a > span{
    color:#8f969d;
  }

  .pmd-toc-branches::before,
  .pmd-toc-branches li::before{
    border-color:#55595d;
  }

  .pmd-page{
    border-color:#494b4e;
  }

  .pmd-page-gap{
    background:#171717;
  }

  .pmd-download-panel{
    border-color:#43464a;
    background:#222324;
    color:#d6d9dc;
  }

  .pmd-download-panel h2{
    color:#f2f3f4;
  }

  .pmd-download-eyebrow{
    color:#a2a8ae;
  }
}

@media print{
  .pmd-document-reader,
  .pmd-document-reader .site-main,
  .pmd-reader{
    background:#fff!important;
  }

  .pmd-reader{
    max-width:none;
    padding:0;
  }

  .pmd-breadcrumbs,
  .pmd-viewer-bar,
  .pmd-sidebar,
  .pmd-mobile-toc,
  .pmd-page-gap,
  .pmd-download-panel{
    display:none!important;
  }

  .pmd-shell{
    display:block;
  }

  .pmd-page{
    break-after:page;
    border:0;
  }

  .pmd-page:last-child{
    break-after:auto;
  }

  .pmd-page-inner{
    padding:12mm;
  }

  .pmd-exercise{
    break-inside:avoid;
  }
}
