/* Wiki article: compact reading toolbar and accessible diagrams */
.wiki-reading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 30px;padding:11px 12px;border:1px solid #dbe6eb;border-radius:14px;background:#f7fafc}
.wiki-reading-label{font-size:12px;font-weight:700;letter-spacing:.04em;color:#667b85;margin:0 5px}
.wiki-reading-action{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:6px 13px;border-radius:9px;border:1px solid #d5e2e9;background:#fff;color:#314e5f!important;font-size:13px;font-weight:600;text-decoration:none!important;cursor:pointer;line-height:1.4;transition:background .2s,border-color .2s}
.wiki-reading-action:hover,.wiki-reading-action:focus-visible{background:#eaf5f4;border-color:#6bb7ad;color:#205f57!important}
.wiki-reading-action.is-active{background:#315e62;border-color:#315e62;color:#fff!important;cursor:default}
.wiki-reading-action:disabled{opacity:.55;cursor:wait}
.wiki-reading-status{font-size:12px;color:#577580;min-width:0}
.wiki-inline-visual{padding:19px;border:1px solid #dce8ec;border-radius:14px;background:linear-gradient(145deg,#f9fcfd,#edf6f7);margin:24px 0}
.wiki-inline-visual>strong{display:block;font-size:15px;margin-bottom:15px;color:#234f58}
.wiki-three-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.wiki-three-levels>div{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:12px;background:#fff;border-top:4px solid #6aa6a7}
.wiki-three-levels>div:nth-child(2){border-color:#7194c1}.wiki-three-levels>div:nth-child(3){border-color:#a19ac5}
.wiki-three-levels b{font-size:18px;color:#23394e}.wiki-three-levels small{color:#617f8d}.wiki-three-levels span{color:#475d69;font-size:13px;line-height:1.65}
.wiki-four-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.wiki-four-steps span{position:relative;padding:20px 8px;text-align:center;background:#fff;border:1px solid #cddfe4;border-radius:12px;color:#285962;font-weight:700}
.wiki-four-steps span:not(:last-child)::after{content:"→";position:absolute;right:-15px;top:50%;transform:translateY(-50%);color:#659d99}
@media(max-width:650px){.wiki-three-levels{grid-template-columns:1fr}.wiki-four-steps{grid-template-columns:1fr 1fr}.wiki-four-steps span::after{display:none}.wiki-reading-actions{gap:6px}.wiki-reading-label{width:100%;margin-bottom:2px}}
@media print{.wiki-reading-actions{display:none!important}.wiki-inline-visual{break-inside:avoid}a{color:#223e51!important}}

/* Contextual article controls. The global Fluid navbar remains unchanged by this component. */
.post-reader-panel{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;padding:18px 20px;margin:24px 0 34px;border:1px solid #d6e8e6;border-radius:15px;background:linear-gradient(120deg,#f1f8f7,#f7f9fd);box-shadow:0 5px 20px rgba(20,65,77,.035)}
.post-reader-heading{flex:1 1 240px;min-width:0}
.post-reader-kicker{display:block;margin-bottom:5px;color:#2b837e;font-size:12px;letter-spacing:.06em;font-weight:750}
.post-reader-heading strong{display:block;font-size:16px;line-height:1.45;color:#265262}
.post-reader-heading p{margin:5px 0 0!important;font-size:12px;line-height:1.65;color:#667e89}
.post-reader-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.post-reader-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;box-sizing:border-box;padding:9px 12px;border:1px solid #d1e2e4;border-radius:9px;background:#fff;color:#335764!important;text-decoration:none!important;cursor:pointer;font-family:inherit;font-size:13px;font-weight:650;line-height:1.3;white-space:nowrap;transition:background .16s,border-color .16s}
.post-reader-action svg{width:17px;height:17px;flex-shrink:0}
.post-reader-action:hover,.post-reader-action:focus-visible{background:#e8f5f2;border-color:#7dc7bd;color:#195b59!important}
.post-reader-action--slides{background:#285e66;border-color:#285e66;color:#fff!important}
.post-reader-action--slides:hover,.post-reader-action--slides:focus-visible{background:#16736f;border-color:#16736f;color:#fff!important}
.post-reader-arrow{font-size:16px}
.post-reader-status{flex-basis:100%;font-size:12px;color:#487676}
.post-reader-status:empty{display:none}
.post-reader-action:disabled{opacity:.55;cursor:wait}
@media(max-width:650px){.post-reader-panel{padding:14px 16px}.post-reader-heading{flex-basis:100%}.post-reader-actions{width:100%}.post-reader-action{flex:1 1 auto}.post-reader-action--slides{flex-basis:100%}}
@media print{.post-reader-panel{display:none!important}}

/* Critical icon containment even if a theme adds broad SVG rules. */
.post-reader-panel .post-reader-action .post-reader-symbol{
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:0 0 19px;box-sizing:border-box;width:19px!important;height:19px!important;
  max-width:19px;max-height:19px;margin:0;padding:0;
  font-size:18px!important;font-weight:750;line-height:1!important;
  vertical-align:middle;overflow:hidden
}
.post-reader-panel .post-reader-action .post-reader-symbol--pdf{font-size:9px!important;letter-spacing:-.03em}
.post-reader-panel .post-reader-actions .post-reader-action{
  display:inline-flex!important;flex-direction:row;align-items:center;gap:8px;
  max-width:100%;white-space:nowrap;text-transform:none;
  font-size:13px;line-height:1.45
}
.post-reader-panel .post-reader-heading strong{font-size:16px!important}
@media(max-width:650px){.post-reader-panel .post-reader-actions{flex-wrap:wrap}}
