/* A quiet white slide, blue folio and precise controls mirror the course identity. */
.topic-workspace-panel:has(.topic-presentation) { padding:clamp(12px,2vw,28px); }
.topic-presentation > .presentation-intro { margin:18px 0 0; font-size:14px; }
.pforr-deck { --deck-blue:#0071bc; --deck-ink:#083e62; width:100%; min-width:0; max-width:1180px; margin-inline:auto; border:1px solid #bfd4e4; border-radius:8px; overflow:hidden; background:#f1f6fa; color:var(--deck-ink); }
.pforr-deck-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:54px; padding:10px 20px; border-bottom:1px solid #d2e2ed; }
.pforr-deck-toolbar > div { display:flex; align-items:center; gap:14px; font:500 13px/1.3 "Segoe UI",sans-serif; }
.pforr-deck-brand { padding-right:14px; border-right:1px solid #bccfdd; color:#0068a9; font-size:19px; font-weight:750; letter-spacing:-.04em; }
.pforr-deck button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:8px 14px; border:1px solid #bfd4e4; border-radius:5px; background:#fff; color:var(--deck-ink); font:600 14px/1.3 "Segoe UI",sans-serif; cursor:pointer; }
.pforr-deck button:hover { border-color:#0071bc; background:#e8f5fd; }
.pforr-deck button:focus-visible, .pforr-deck-stage:focus-visible { outline:3px solid #0071bc; outline-offset:-3px; }
.pforr-deck button[aria-disabled="true"] { opacity:.42; cursor:default; background:#fff; border-color:#bfd4e4; }
.pforr-deck button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; }
.pforr-deck-stage { background:#fff; height:clamp(280px,calc(100dvh - var(--site-header-height,190px) - var(--topic-tabs-height,90px) - 188px),540px); overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.pforr-deck-slide { min-height:100%; display:flex; flex-direction:column; padding:26px clamp(24px,4vw,64px) 22px; border-left:6px solid var(--deck-blue); overflow-wrap:anywhere; }
.pforr-deck-slide[hidden] { display:none; }
.pforr-deck-slide-top { display:flex; justify-content:space-between; gap:20px; color:#517187; font:600 12px/1.4 "Segoe UI",sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.pforr-deck-slide-top > :last-child { color:#9cb8cb; text-transform:none; letter-spacing:-.03em; font-size:20px; }
.pforr-deck-copy { flex:1; display:flex; flex-direction:column; justify-content:center; padding-block:24px; }
.pforr-deck-copy h3 { max-width:26em; margin:0 0 24px; color:var(--deck-ink); font:700 clamp(25px,2.8vw,40px)/1.2 "Trebuchet MS","Segoe UI",sans-serif; letter-spacing:-.025em; text-wrap:balance; }
.pforr-deck .pforr-deck-copy > p { max-width:54em; margin:0; color:#304e63; font:400 clamp(18px,1.8vw,25px)/1.65 "Segoe UI",sans-serif; text-align:left; white-space:pre-line; }
.pforr-deck-source { padding-top:16px; border-top:1px solid #dfebf2; }
.pforr-deck .pforr-deck-source p { margin:0; color:#587389; font:400 12px/1.6 "Segoe UI",sans-serif; }
.pforr-deck-source:empty { display:none; }
.pforr-deck-source a { color:#0064a7; text-underline-offset:3px; }
.pforr-deck-progress { height:3px; background:#dbe9f2; }
.pforr-deck-progress > span { display:block; height:100%; background:#00b0f0; }
.pforr-deck-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px 10px; }
.pforr-deck-counter { font:600 14px/1.4 "Segoe UI",sans-serif; font-variant-numeric:tabular-nums; white-space:nowrap; }
.pforr-deck-bottom { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 20px 16px; }
.pforr-deck-pages { display:flex; gap:6px; min-width:0; max-width:100%; overflow-x:auto; padding:3px; }
.pforr-deck-pages button { flex:none; min-width:36px; min-height:34px; padding:6px; font-size:12px; font-variant-numeric:tabular-nums; }
.pforr-deck-pages button[aria-current] { border-color:#0071bc; color:#fff; background:#0071bc; text-decoration:underline; text-underline-offset:4px; }
.pforr-deck-hint { flex:none; color:#5a7387; font:400 12px/1.4 "Segoe UI",sans-serif; }
.presentation-empty { padding:24px; background:#f1f6fa; border:1px solid #c9dde9; border-radius:6px; }
.presentation-is-expanded { overflow:hidden; }
.presentation-dialog { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:clamp(8px,2vw,24px); border:0; background:#e5eef5; }
.presentation-dialog::backdrop { background:#082f4e; }
.presentation-dialog[open] { display:flex; align-items:center; justify-content:center; }
.presentation-dialog .pforr-deck { max-width:1600px; height:100%; max-height:100%; display:flex; flex-direction:column; }
.presentation-dialog .pforr-deck-stage { flex:1; min-height:0; height:auto; }
.presentation-dialog :is(.pforr-deck-toolbar,.pforr-deck-controls,.pforr-deck-bottom,.pforr-deck-progress) { flex-shrink:0; }
.presentation-dialog .pforr-deck-copy h3 { font-size:clamp(28px,3.6vw,54px); }
.presentation-dialog .pforr-deck-copy p { font-size:clamp(19px,2.2vw,32px); }
.presentation-dialog .pforr-deck:fullscreen { width:100%; height:100%; max-width:none; max-height:none; border:0; border-radius:0; }
@media (max-width:700px) {
  .pforr-deck-toolbar { padding:8px 12px; gap:8px; }
  .pforr-deck-toolbar > div { gap:8px; font-size:11px; }
  .pforr-deck-brand { padding-right:8px; font-size:17px; }
  .pforr-deck button { font-size:12px; padding:8px 10px; }
  .pforr-deck-stage { height:390px; }
  .pforr-deck-slide { padding:20px 20px 18px; border-left-width:4px; }
  .pforr-deck-copy h3 { margin-bottom:18px; }
  .pforr-deck-controls { padding:12px; gap:6px; }
  .pforr-deck-counter { font-size:12px; }
  .pforr-deck-bottom { padding:0 10px 12px; }
  .pforr-deck-hint { display:none; }
}
@media (max-width:360px) { .pforr-deck-toolbar > div > :last-child { max-width:75px; } }
@media (max-height:500px) {
  .presentation-dialog { padding:0; }
  .presentation-dialog .pforr-deck-toolbar { min-height:40px; padding:4px 12px; }
  .presentation-dialog .pforr-deck-controls { padding:5px 12px; }
  .presentation-dialog .pforr-deck-bottom { padding:0 10px 4px; }
  .presentation-dialog .pforr-deck-slide { padding:14px 24px; }
  .presentation-dialog .pforr-deck-copy { padding-block:12px; }
}
