/* Maker guides only: one compact sticky control, not a second directory. */
.od-reading{--od-site-stack:var(--od-site-header,0px);--od-scroll-gap:calc(var(--od-site-stack) + var(--od-menu-height,48px) + 12px);min-width:0;padding-bottom:1px}
.od-reading :is(.od-series,.od-issue,.ome-bell-comparison){scroll-margin-top:var(--od-scroll-gap)}
.od-reading .od-toc{
  position:sticky;top:var(--od-site-stack);z-index:22;margin:11px 0 13px;
  padding:0;border:1px solid var(--od-rule);border-radius:4px;
  background:var(--od-panel,var(--od-paper));box-shadow:var(--od-seam,0 2px 6px #0002)
}
.od-toc details{position:relative}
.od-toc summary{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:44px;padding:3px 14px;cursor:pointer;list-style:none;font-size:.94rem;
  color:var(--od-ink)
}
.od-toc summary::-webkit-details-marker{display:none}
.od-toc summary:focus-visible{outline:2px solid var(--od-accent);outline-offset:-3px}
.od-toc summary span{
  display:flex;align-items:center;gap:11px;color:var(--od-muted);font-size:.82rem;
  white-space:nowrap
}
.od-toc summary span::after{content:"";display:block;width:.47em;height:.47em;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-.16em)}
.od-toc details[open] summary span::after{transform:rotate(225deg) translate(-.1em,-.1em)}
.od-toc details ul{
  position:absolute;z-index:1;top:calc(100% + 5px);left:-1px;width:min(calc(100% + 2px),39rem);
  max-height:min(48dvh,max(70px,calc(100dvh - var(--od-scroll-gap) - 30px)));
  overflow:auto;overscroll-behavior:contain;background:var(--od-panel,var(--od-paper));
  border:1px solid var(--od-rule);border-radius:4px;padding:3px 12px;box-shadow:0 6px 20px #151a1940
}
.od-toc details:not([open]) ul{display:none}
.od-toc details li{display:block;font-size:.91rem;padding:0 0 0 14px}
.od-toc details li::before{top:19px}
.od-toc details a{display:flex;align-items:center;min-height:44px;padding:7px 0;text-decoration:none}
.od-toc details a:is(:hover,:focus-visible){text-decoration:underline}
.od-reading .od-series{margin-block:15px 0}
.od-reading .od-series>header{margin-block:0 9px}
.od-reading .od-series .od-eyebrow{margin-bottom:3px}
.od-years{
  display:flex;flex-wrap:wrap;gap:3px 12px;align-items:baseline;
  margin:11px 0 9px;font-size:.82rem;color:var(--od-muted)
}
.od-years>span{font-weight:640}
.od-years ul{display:flex;flex-wrap:wrap;gap:3px 7px;list-style:none;padding:0;margin:0}
.od-years a{display:inline-flex;align-items:center;min-height:26px;padding:0 7px;border:1px solid var(--od-rule);border-radius:3px;text-decoration:none}
.od-years a:hover{text-decoration:underline}
.od-issue-grid{display:grid;gap:10px;margin-top:10px}
@media(min-width:900px){.od-issue-grid:not([data-single]){grid-template-columns:repeat(2,minmax(0,1fr))}}
.od-reading .od-issue{min-width:0;margin:0;padding:10px 13px}
.od-reading .od-issue>header{padding-bottom:7px;border-bottom:1px solid var(--od-rule)}
.od-reading .od-issue h3{font-size:clamp(1rem,1.8vw,1.19rem);line-height:1.27}
.od-reading .od-issue :is(time,.od-date){color:var(--od-cherry,var(--od-accent));flex:none}
.od-reading .od-issue dl{display:grid;grid-template-columns:1fr;gap:4px;margin:7px 0 0;font-size:.875rem;line-height:1.38}
.od-reading .od-issue dl>div{grid-template-columns:minmax(86px,.39fr) minmax(0,1fr)}
.od-reading .od-issue dt{overflow-wrap:anywhere}
.od-reading .od-issue:target{outline:2px solid var(--od-accent);outline-offset:1px}
@media(max-width:599px){
  .od-years a{min-height:34px}
  .od-reading .od-issue dl>div{grid-template-columns:minmax(min(6.5rem,44%),.53fr) minmax(0,1fr);gap:9px}
}

/* The primary action reads as a button even before the menu docks. */
.od-toc summary{
  min-height:48px;padding:4px clamp(13px,2.4vw,21px);
  border-radius:3px;background:#782e3f;color:#fff9ec;
  font-size:clamp(1rem,1.65vw,1.125rem);line-height:1.2;
}
html[data-theme=dark] .ornament-directory .od-toc summary{background:#8e3a4d;color:#fff9ec}
.od-toc summary:hover{box-shadow:inset 0 0 0 2px #fff0d97c}
.od-toc summary:focus-visible{outline-color:#fff4cf}
.od-toc summary strong{font-weight:750}
.od-toc summary span{color:#fff6df;gap:10px}
.od-toc summary span::after{width:.65em;height:.65em;border-width:0 2px 2px 0;margin-inline:0 4px}
@media(forced-colors:active){.od-toc summary{border:1px solid ButtonText}.od-toc summary:focus-visible{outline-color:Highlight}}
