/* Local Timeline workspace. Standalone readers and homepage are unaffected. */
.historical-currents .currents-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px 5px}
.historical-currents .currents-heading p{display:none}
.historical-currents .currents-rows{height:86px;overflow:hidden;cursor:crosshair}
.historical-currents .current-group{display:none}
.historical-currents .current-waves{z-index:0;pointer-events:none}
.historical-currents .currents-scroll{overflow:visible;max-height:none}
.historical-currents .currents-selection{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;height:16px;font-size:11px}
.historical-currents .currents-selection:empty{display:block}
.historical-currents .currents-tooltip{display:none}
.current-wave{transition:fill .12s,stroke .12s,opacity .12s}
.wave-hovering .current-wave{opacity:.65}
.wave-hovering .current-wave[data-hovered=true]{opacity:1;fill:rgba(var(--current-color),.47);stroke:#79571e;stroke-width:2.5}
.current-wave[data-selected=true]{stroke:#79571e!important;stroke-width:2!important;stroke-dasharray:5 2}
.current-discovery{position:relative;z-index:5;cursor:default}
.current-discovery summary{cursor:pointer;font-size:13px;min-height:32px;display:flex;align-items:center;gap:8px;padding:3px 9px;border:1px solid #b49a68;background:#f8f3e8;color:#10232f;list-style:none}
.current-discovery summary::after{content:'⌄'}.current-discovery summary::-webkit-details-marker{display:none}
.current-options{position:absolute;right:0;top:100%;width:310px;max-width:calc(100vw - 40px);max-height:min(350px,55dvh);overflow:auto;background:#10232f;border:1px solid #b49a68;padding:6px;box-shadow:0 8px 20px #0004}
.current-option{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #ffffff20;border-radius:0;padding:10px;background:transparent;color:#f8f3e8;font:14px/1.4 Georgia,serif;cursor:pointer}
.current-option small{display:block;color:#cbc3b1;font-size:11px;margin-top:3px}.current-option:hover,.current-option:focus-visible{background:#243b46;outline:1px solid #dfbd70;outline-offset:-2px}.current-option[aria-pressed=true]{border-left:3px solid #dfbd70}
.current-discovery summary:focus-visible{outline:2px solid #88652d;outline-offset:3px}
.wave-label,.wave-chooser{position:fixed;z-index:60;max-width:min(350px,calc(100vw - 16px));padding:8px 12px;background:#10232f;color:#f8f3e8;border:1px solid #b49a68;box-shadow:0 5px 16px #0003;font:13px/1.5 Georgia,serif}.wave-label{pointer-events:none}.wave-chooser{max-height:45dvh;overflow:auto}.wave-chooser strong{display:block;font-size:12px;font-weight:400;color:#dfbd70;padding:4px 8px}.wave-label[hidden],.wave-chooser[hidden]{display:none}
@media(min-width:1000px){
 body{padding:8px 20px}
 header.monedial-header.timeline-header{padding:8px 12px;gap:6px 20px}
 header.timeline-header .m-emblem{height:36px;width:54px}header.timeline-header .m-wordmark{font-size:23px}header.timeline-header .m-brand small{margin-top:4px;font-size:10px}
 header.timeline-header .search{min-height:34px;height:34px}header.timeline-header #advanced-toggle{min-height:34px}
 .explorer .plot{margin:4px 0}.explorer .instructions{font-size:10px;line-height:14px;padding:0;margin:0 0 3px}
 .explorer .historical-currents{padding:5px 0 2px;margin-bottom:5px}.currents-heading h2{font-size:18px}
 .explorer .navigator{padding:7px 12px;gap:20px;min-height:65px}.navigator #nav-track{height:48px}.navigator .nav-title{font-size:16px;min-width:160px}.navigator .nav-title small{font-size:10px}.navigator .nav-title button{min-height:26px;padding:3px 7px;margin-top:2px}
 .workspace-desktop #timeline{height:var(--workspace-chart-height,380px)}
 .workspace-desktop .event-list{margin-top:16px}
}
@media(max-width:599px){.historical-currents .currents-heading h2{font-size:16px}.current-discovery summary{font-size:12px}.historical-currents .currents-rows{height:110px}.current-option{min-height:48px}}
@media(prefers-reduced-motion:reduce){.current-wave{transition:none}}

@media(min-width:1000px){.navigator #selection{top:2px;height:calc(100% - 4px)}.navigator .handle{top:50%;transform:translateY(-50%);height:30px}.navigator #nav-dates{max-width:100%}}
