.explorer {
  color: var(--text);
  font: 400 1rem/1.5 var(--font-sans), system-ui, sans-serif;
  text-align: start;
}
.explorer *, .explorer *::before, .explorer *::after { box-sizing: border-box; }
.explorer [hidden] { display: none !important; }
.explorer :is(h3, h4, p, dl, dd, fieldset, legend, ul, ol) { margin: 0; padding: 0; }
.explorer button { font: inherit; }
.explorer :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.ex-frame { overflow: clip; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.ex-bar { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.4rem; border-bottom: 1px solid var(--rule); background: var(--surface-2); }
.ex-mark { width: 1.5rem; height: 1.5rem; }
.ex-workspace { font-size: .95rem; font-weight: 650; }
.ex-week { margin-inline-start: auto; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-layout { display: grid; grid-template-columns: minmax(12.25rem, 23%) minmax(0, 1fr); }
.ex-sidebar { padding: 1.6rem 1rem; background: var(--surface); border-inline-end: 1px solid var(--rule); }
.ex-picker { border: 0; min-width: 0; width: 100%; }
.explorer .ex-side-label { padding: 0 .55rem; color: var(--muted); font-size: .84rem; font-weight: 650; margin-bottom: .85rem; }
.ex-races { display: grid; gap: .4rem; }
.ex-race { display: block; position: relative; cursor: pointer; }
.ex-race input, .ex-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ex-race-face { display: block; padding: .7rem .8rem; border-inline-start: 3px solid transparent; border-radius: 0 .35rem .35rem 0; }
.ex-race-face strong, .ex-race-face small { display: block; }
.ex-race-face strong { font-size: .99rem; }
.ex-race-face small { font-size: .78rem; color: var(--muted); margin-top: .12rem; }
.ex-race input:checked + .ex-race-face { border-color: var(--sky); background: var(--surface-2); }
.ex-race input:checked + .ex-race-face strong { color: var(--sky); }
.ex-race:hover .ex-race-face { background: var(--surface-2); }
.ex-race input:focus-visible + .ex-race-face { outline: 2px solid var(--lime); outline-offset: 2px; }
.ex-coverage ul { list-style: none; padding-inline: .55rem; }
.ex-coverage li { display: flex; gap: .65rem; align-items: baseline; margin: .55rem 0; }
.ex-coverage li::before { content: ""; width: .38rem; height: .38rem; background: var(--muted); border-radius: 50%; flex: none; align-self: center; }
.ex-content { container-type: inline-size; min-width: 0; background: var(--bg); }
.ex-tabs { display: flex; border-bottom: 1px solid var(--rule); padding-inline: clamp(.5rem, 2.4vw, 2rem); gap: .3rem; }
.explorer .ex-tab {
  appearance: none; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent;
  padding: .95rem .8rem .8rem; cursor: pointer; line-height: 1.3; font-size: .94rem; font-weight: 650; border-radius: 0;
}
.explorer .ex-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--sky); }
.explorer .ex-tab:hover, .explorer .ex-drill:hover { color: var(--sky); }
.explorer .ex-tab:focus-visible { outline-offset: -4px; }
.ex-panel { padding: clamp(1rem, 2.4vw, 2.15rem); min-width: 0; overflow-wrap: anywhere; }
.ex-panel:focus-visible { outline-offset: -4px; }
.explorer .ex-kicker { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: .25rem; }
.explorer .ex-title { color: var(--text); font-family: var(--font-serif), Georgia, serif; font-style: normal; font-weight: 500; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.035em; }
.explorer .ex-deck, .explorer .ex-purpose { max-width: 60ch; color: var(--muted); font-size: .95rem; margin-block: .5rem 1.25rem; }
.ex-item-group { border-top: 1px solid var(--rule); padding: 1rem 0; }
.explorer .ex-item-group h4, .explorer .ex-firm-list h4 { color: var(--text); font: 650 1.05rem/1.35 var(--font-sans), system-ui, sans-serif; letter-spacing: normal; }
.ex-item-group h4 { display: flex; align-items: center; gap: .6rem; }
.ex-item-group h4::before { content: ""; width: .55rem; height: .55rem; border: 1px solid var(--sky); border-radius: 50%; flex: none; }
.explorer .ex-late h4 { color: var(--coral); }
.ex-late .late { color: var(--coral); font-weight: 650; }
.ex-late h4::before { border-color: var(--coral); border-radius: 1px; transform: rotate(45deg); background: var(--coral); }
.explorer .ex-item-group > p { color: var(--muted); margin: .35rem 0; font-size: .9rem; }
.explorer .ex-item-group ul, .explorer .ex-fold ul { margin: .4rem 0 0; padding-inline-start: 1.15rem; max-width: 68ch; }
.ex-item-group li + li, .ex-fold li + li { margin-top: .45rem; }
.ex-item-group li::marker, .ex-fold li::marker { color: var(--muted); font-size: .8em; }
.ex-fold { border-top: 1px solid var(--rule); }
.ex-fold summary, .ex-phase-title, .ex-task-details summary { cursor: pointer; }
.ex-fold summary { padding-block: .75rem; font-weight: 600; }
.ex-fold[open] { padding-bottom: 1rem; }
.ex-fold summary::marker, .ex-task-details summary::marker { color: var(--lime-dim); }
.explorer .ex-fine { color: var(--muted); font-size: .82rem; margin-top: 1.2rem; }
.explorer .ex-anchors { display: flex; gap: .8rem 1.9rem; flex-wrap: wrap; margin-block: 1.2rem 1.4rem; }
.ex-anchors dt, .ex-count { color: var(--muted); font-size: .8rem; }
.ex-anchors dd { font-size: .96rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.ex-timeline { margin-inline-start: .37rem; }
.ex-phase { position: relative; border-inline-start: 1px solid var(--rule); padding-inline-start: 1.15rem; }
.ex-phase:last-child { border-color: transparent; }
.ex-phase::before { content: ""; position: absolute; inset-inline-start: -.32rem; top: 1.4rem; width: .56rem; height: .56rem; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--muted); }
.ex-phase[open]::before { background: var(--sky); border-color: var(--sky); }
.ex-phase-title { display: flex; gap: .65rem; align-items: center; min-height: 3rem; padding-block: .85rem; border-top: 1px solid var(--rule); list-style: none; }
.ex-phase-title::-webkit-details-marker { display: none; }
.ex-phase-title > span:first-child { flex: 1; }
.ex-phase-title strong, .ex-phase-title small { display: block; }
.ex-phase-title small { color: var(--muted); font-size: .8rem; }
.ex-phase-title::after { content: ""; width: .48rem; height: .48rem; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin-inline: .3rem; flex: none; }
.ex-phase[open] > .ex-phase-title::after { transform: rotate(225deg); }
.explorer .ex-purpose { margin-top: 0; margin-bottom: .6rem; }
.ex-tasks { list-style: none; }
.ex-task { display: grid; grid-template-columns: minmax(7.8rem, 27%) 1fr; gap: .75rem; padding-block: .9rem; border-top: 1px solid var(--rule); }
.ex-when { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .82rem; }
.ex-when span { display: block; }
.ex-when .ex-start { color: var(--lime); }
.ex-task-name { font-size: .97rem; }
.explorer .ex-task-meta, .ex-task-details { font-size: .84rem; color: var(--muted); }
.ex-task-details { margin-top: .4rem; }
.ex-task-details summary { display: list-item; width: fit-content; text-decoration: underline; text-underline-offset: .15em; padding-block: .2rem; }
.ex-task-details p { margin-block: .45rem; }
.explorer .ex-firm-list { list-style: none; margin-top: 1rem; }
.ex-firm-list li { border-top: 1px solid var(--rule); padding: 1rem 0; }
.explorer .ex-firm-list p { margin-block: .4rem; }
.explorer .ex-drill { display: inline-flex; align-items: center; gap: .45rem; color: var(--sky); background: transparent; border: none; padding: .3rem 0; text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; cursor: pointer; }
.ex-drill::after { content: "→"; }
@media (max-width: 700px) {
  .ex-layout { display: block; }
  .ex-sidebar { padding: .8rem; border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .explorer .ex-side-label { margin-bottom: .5rem; }
  .ex-races { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
  .ex-race-face { padding: .45rem .4rem; height: 100%; }
  .ex-race-face strong { font-size: .84rem; }
  .ex-race-face small { font-size: .7rem; }
  .ex-coverage ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .85rem; }
  .ex-coverage li { margin: 0; }
  .ex-bar { padding: .75rem .85rem; gap: .5rem; }
  .ex-week { font-size: .75rem; }
  .ex-tabs { justify-content: space-around; padding: 0; }
  .explorer .ex-tab { flex: 1; padding-inline: .3rem; }
}
@media (max-width: 440px) {
  .ex-task { grid-template-columns: 1fr; gap: .25rem; }
  .ex-when { display: flex; flex-wrap: wrap; gap: 0 .7rem; }
  .ex-race-face small { display: none; }
  .ex-race-face { min-height: 2.75rem; display: flex; align-items: center; }
  .ex-count { display: none; }
  .ex-bar { flex-wrap: wrap; }
}
@media (forced-colors: active) {
  .ex-race input:checked + .ex-race-face, .explorer .ex-tab[aria-selected="true"] { border-color: Highlight; }
}

.explorer .ex-source-link { display: flex; width: fit-content; margin-top: .2rem; }
.ex-task:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.explorer .ex-sample-status { padding: .7rem 1.2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .8rem; }
.ex-note-heading { display: flex; align-items: flex-start; gap: clamp(.7rem, 1.5vw, 1.1rem); }
.ex-dispatch-wren { display: block; object-fit: contain; width: clamp(3.15rem, 7vw, 5.4rem); height: auto; flex: none; }

.ex-note-heading > div { min-width: 0; }
.ex-dispatch-wren { margin-top: .2rem; }
.ex-author { font-size: .86rem; color: var(--muted); margin-top: .3rem; }
.ex-author summary { color: var(--sky); width: fit-content; cursor: pointer; text-underline-offset: .18em; }
.ex-author summary:hover { text-decoration: underline; }
.ex-author summary::marker { color: var(--sky); }
.explorer .ex-author p { margin-top: .45rem; line-height: 1.5; max-width: 54ch; }


.ex-item-group.ex-start-now h4::before { background: var(--lime); border-color: var(--lime); }
.ex-task-details summary { color: var(--sky); }

@container (min-width: 48rem) {
  .ex-note:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .ex-note > :not(.ex-item-group), .ex-note .ex-late { grid-column: 1 / -1; }
}
