.explorer-shell{
  background:#050608;
  color:#f6f7fb;
  min-height:100vh;
  padding-bottom: 136px;
}

.explorer-hero{
  padding: 80px 8vw 36px;
  background:
    linear-gradient(rgba(5,6,8,0.84), rgba(5,6,8,0.84)),
    radial-gradient(120% 120% at 12% 10%, rgba(244,180,26,0.18), transparent 48%),
    radial-gradient(120% 120% at 80% -10%, rgba(255,255,255,0.06), transparent 45%),
    url('../images/web/ai-search.jpg');
  background-size: cover;
  background-position:center;
}

.explorer-hero h1{
  font-family:'Playfair Display', serif;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  margin:0 0 10px;
}

.explorer-hero .muted{
  color: rgba(246,247,251,0.92);
}

.explorer-search{
  margin-top:14px;
  display:flex;
  gap:10px;
  align-items:center;
  max-width: 720px;
}

.explorer-search-input{
  flex:1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  color: #f6f7fb;
}

.explorer-search-input:focus{
  outline: none;
  border-color: rgba(244,180,26,0.7);
  box-shadow: 0 0 0 3px rgba(244,180,26,0.18);
}

.explorer-search-btn{
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.04);
  color: #f6f7fb;
  font-weight: 600;
}

.explorer-search-btn:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.explorer-selected{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-body{
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  padding: 18px 8vw 150px;
}

.explorer-facets{
  position: sticky;
  top: 18px;
  align-self: start;
  display:flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 28px);
  overflow:auto;
}

.facet-panel{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  overflow:hidden;
}

.facet-toggle{
  width:100%;
  text-align:left;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  color: #f6f7fb;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content: space-between;
}

.facet-toggle::after{
  content: "▾";
  opacity: 0.8;
}

.facet-toggle[aria-expanded="false"]::after{
  content: "▸";
}

.facet-content{
  padding: 10px 14px 14px;
}

.tree-help{
  margin-bottom: 8px;
}

.tree-filter{
  display:flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}

.tree-filter-input{
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 9px 10px;
  color: #f6f7fb;
  font-size: 0.92rem;
}

.tree-filter-input:focus{
  outline: none;
  border-color: rgba(244,180,26,0.7);
  box-shadow: 0 0 0 3px rgba(244,180,26,0.16);
}

.tree-filter-clear{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color:#c6c9d4;
  font-weight: 800;
  line-height: 1;
}

.tree-filter-clear:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.tree-mark{
  background: rgba(244,180,26,0.22);
  color: #f6f7fb;
  padding: 0 2px;
  border-radius: 4px;
}

.tree{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
}

.tree-node{
  border-radius: 12px;
  background: rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 8px 5px;
}

.tree-row{
  display: grid;
  align-items: center;
  gap: 6px;
}

.tree-row--parent{
  grid-template-columns: 22px 1fr auto auto;
}

.tree-row--leaf{
  grid-template-columns: 1fr auto;
}

.tree-twist{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tree-twist:hover{
  border-color:#f4b41a;
}

.tree-twist-icon{
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid rgba(246,247,251,0.85);
  transform: translateX(1px);
}

.tree-twist[aria-expanded="true"] .tree-twist-icon{
  transform: rotate(90deg) translateX(0);
}

.tree-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tree-check input[type="checkbox"]{
  width: 16px;
  height: 16px;
}

.tree-label{
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 400;
  line-height: 1.15;
}

.tree-count{
  color: #c6c9d4;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.tree-children{
  list-style: none;
  padding-left: 28px;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tree-node--period{
  padding: 4px 8px 4px;
  background: transparent;
  border-color: rgba(255,255,255,0.06);
}

.tree-more-btn{
  width: 100%;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.03);
  color: #f6f7fb;
  font-weight: 700;
}

.tree-more-btn:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.tree-inline-btn{
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.03);
  color: #c6c9d4;
  font-weight: 700;
  font-size: 0.82rem;
  justify-self: end;
}

.tree-inline-btn:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.tree-controls{
  margin: 8px 0 10px;
}

.explorer-main{
  display:flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.explorer-dock{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: linear-gradient(180deg, rgba(12,14,22,0.12), rgba(12,14,22,0.92) 40%, rgba(12,14,22,0.96));
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.explorer-dock-inner{
  padding: 10px 14px 12px;
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.explorer-dock-tabs{
  min-width: 0;
  flex: 0 0 auto;
  overflow-x: visible;
  padding-bottom: 0;
}

.explorer-dock-tabs .tab-row{
  flex-wrap: wrap;
  white-space: normal;
}

.explorer-clear-btn{
  flex: 0 0 auto;
}

.explorer-clear-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.explorer-dock-selected-wrap{
  min-width: 0;
  flex: 1 1 auto;
}

.explorer-dock-selected{
  display:flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
}

.explorer-dock-selected::-webkit-scrollbar,
.explorer-dock-tabs::-webkit-scrollbar{
  height: 8px;
}

.explorer-dock-selected::-webkit-scrollbar-thumb,
.explorer-dock-tabs::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

.explorer-dock .tab-row{
  gap: 8px;
}

.explorer-dock .tab-btn{
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 800;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}

.explorer-dock .tab-count{
  font-weight: 800;
  font-size: 0.90rem;
}

.explorer-dock .chip-btn{
  padding: 7px 10px;
  font-size: 0.88rem;
  border-color: rgba(255,255,255,0.20);
  border-radius: 999px;
  font-weight: 800;
}

.explorer-dock .chip-btn--facet{
  background: rgba(126,231,195,0.08);
}

.explorer-dock .chip-btn--q{
  background: rgba(244,180,26,0.08);
}

.explorer-dock .explorer-clear-btn{
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 800;
}

@media(max-width: 980px){
  .explorer-dock-inner{ justify-content: center; }
  .explorer-dock-selected{ justify-content: center; }
}

.explorer-status{
  color:#c6c9d4;
  font-size: 0.95rem;
}

.section-header{
  display:flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.section-header-row{
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.section-title{
  margin: 0;
  font-size: 1.2rem;
}

.section-subtitle{
  margin: 0;
  color:#c6c9d4;
  font-size: 0.95rem;
}

.timeline-surface,
.panel-surface{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px;
  min-height: 180px;
  position: relative;
}

.timeline-scroll{
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
}

.timeline-track{
  position: relative;
  height: 86px;
}

.timeline-axis{
  position:absolute;
  left:0;
  right:0;
  top: 44px;
  height: 2px;
  background: rgba(255,255,255,0.16);
}

.timeline-marker{
  position:absolute;
  top: 34px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f4b41a;
  border: 2px solid rgba(0,0,0,0.25);
}

.timeline-marker:hover,
.timeline-marker:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,180,26,0.22);
}

.timeline-labels{
  display:flex;
  justify-content: space-between;
  color: #c6c9d4;
  font-size: 0.85rem;
  margin-top: 4px;
}

.timeline-legend{
  display:flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 10px;
  color:#c6c9d4;
  font-size: 0.9rem;
}

.timeline-legend-item{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

.timeline-legend-swatch{
  width: 12px;
  height: 4px;
  border-radius: 999px;
  display:inline-block;
}

.timeline-graph{
  position: relative;
}

.timeline-graph.is-overflowing::before,
.timeline-graph.is-overflowing::after{
  content:'';
  position:absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  pointer-events:none;
}

.timeline-graph.is-overflowing::before{
  left: 0;
  background: linear-gradient(to right, rgba(5,6,8,0.88), rgba(5,6,8,0));
  opacity: 0.55;
}

.timeline-graph.is-overflowing::after{
  right: 0;
  background: linear-gradient(to left, rgba(5,6,8,0.88), rgba(5,6,8,0));
  opacity: 0.75;
}

.timeline-scroll--graph{
  cursor: grab;
  scrollbar-gutter: stable both-edges;
}

.timeline-scroll--graph.is-dragging{
  cursor: grabbing;
}

.timeline-svg{
  display:block;
}

.timeline-grid line{
  stroke: rgba(255,255,255,0.10);
  stroke-dasharray: 3 5;
}

.timeline-axis-line{
  stroke: rgba(255,255,255,0.18);
  stroke-width: 2;
}

.timeline-missing{
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1;
  opacity: 0.55;
}

.timeline-missing-label{
  fill: rgba(198,201,212,0.90);
  font-size: 11px;
  text-anchor: middle;
}

.timeline-ticks text{
  fill: rgba(198,201,212,0.95);
  font-size: 11px;
  text-anchor: middle;
}

.timeline-scroll-hint{
  position:absolute;
  right: 12px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(5,6,8,0.72);
  color: #f6f7fb;
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events:none;
}

.timeline-tooltip{
  position:absolute;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(5,6,8,0.86);
  color:#f6f7fb;
  pointer-events:none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.timeline-tooltip-title{
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-tooltip-row{
  font-size: 0.9rem;
  line-height: 1.25;
}

.entity-popover{
  position: fixed;
  z-index: 1200;
  width: min(380px, calc(100vw - 24px));
  max-height: min(440px, calc(100vh - 24px));
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(22,24,29,0.96);
  color:#f6f7fb;
  box-shadow: 0 18px 46px rgba(0,0,0,0.45);
}

.entity-popover-loading{
  padding: 12px 14px;
  color:#c6c9d4;
}

.entity-popover-title{
  padding: 12px 14px 2px;
  font-weight: 800;
  line-height: 1.2;
}

.entity-popover-subtitle{
  padding: 0 14px 10px;
  color:#c6c9d4;
  font-size: 0.9rem;
}

.entity-popover-list{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 8px 10px 10px;
  max-height: 280px;
  overflow: auto;
}

.entity-popover-ep{
  display:flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 8px;
  border-radius: 12px;
  color:#f6f7fb;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  font-size: 0.92rem;
  line-height: 1.2;
}

.entity-popover-ep:hover{
  border-color: rgba(244,180,26,0.35);
  color:#f4b41a;
}

.entity-popover-date{
  flex: 0 0 auto;
  color:#c6c9d4;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.entity-popover-empty{
  color:#c6c9d4;
  padding: 8px 10px;
}

.entity-popover-more{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 10px 14px 12px;
  color:#c6c9d4;
  font-size: 0.9rem;
}

.results-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 280px));
  justify-content: start;
  gap: 14px;
}

.results-grid h3{
  margin: 0 0 6px;
  font-size: 1.0rem;
  line-height: 1.15;
}

.results-grid h3.entity-result-title{
  display:flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.entity-author-pill{
  padding: 3px 8px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.explorer-shell .results-grid .timeline-card{
  display:block;
  text-decoration:none;
  color:#f6f7fb;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:14px;
  padding:14px;
  box-shadow:0 12px 32px rgba(0,0,0,0.28);
  transition: box-shadow .15s ease, border-color .15s ease;
}

.explorer-shell .results-grid .timeline-card:hover{
  border-color:#f4b41a;
  box-shadow:0 12px 36px rgba(0,0,0,0.36);
  color:#f6f7fb;
}

.explorer-shell .results-grid .timeline-card p{
  margin:6px 0 0;
}

.explorer-shell .card-meta{
  color:#c6c9d4;
  font-size:0.9rem;
}

.explorer-shell .pill-date{
  display:inline-block;
  margin-top: 2px;
  background: rgba(37,99,235,0.18);
  border:1px solid rgba(37,99,235,0.35);
  border-radius:10px;
  padding:4px 8px;
  color:#e7f0ff;
  font-size:0.88rem;
}

.results-grid .is-highlight{
  border: 1px solid rgba(244,180,26,0.7);
  box-shadow: 0 0 0 3px rgba(244,180,26,0.16);
  border-radius: 14px;
}

.results-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding-top: 10px;
}

.pager-btn{
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.04);
  color: #f6f7fb;
  font-weight: 600;
}

.pager-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.pager-label{
  color:#c6c9d4;
}

.tab-row{
  display:flex;
  gap: 8px;
}

.tab-btn{
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: #f6f7fb;
  font-weight: 700;
}

.tab-btn[aria-selected="true"]{
  border-color:#f4b41a;
  color:#f4b41a;
}

.chip-btn{
  padding: 7px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  border-color: rgba(126,231,195,0.35);
  background: rgba(126,231,195,0.10);
  color: #c9fff0;
}

.chip-btn:hover{
  border-color:#7ee7c3;
  color:#7ee7c3;
}

.chip-btn--q{
  border-color: rgba(244,180,26,0.38);
  background: rgba(244,180,26,0.10);
  color:#ffe6ad;
}

.chip-btn--q:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.explorer-clear-btn{
  border-color: rgba(255,107,107,0.48);
  background: rgba(255,107,107,0.12);
  color: #ffd0d0;
}

.explorer-clear-btn:hover{
  border-color:#ff6b6b;
  color:#ff6b6b;
}

.tab-count{
  opacity: 0.85;
  font-weight: 800;
}

.placeholder{
  color:#c6c9d4;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.map-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.map-region{
  border-radius: 14px;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.04);
  color: #f6f7fb;
  font-weight: 800;
  text-align: center;
}

.map-region:hover{
  border-color:#f4b41a;
  color:#f4b41a;
}

.map-region.is-selected{
  border-color:#f4b41a;
  box-shadow: 0 0 0 3px rgba(244,180,26,0.16);
}

.graph-wrap{
  display:grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 280px);
  gap: 14px;
  align-items: start;
}

.graph-svg{
  width:100%;
  height: 260px;
  display:block;
}

@media(max-width: 820px){
  .graph-wrap{
    grid-template-columns: 1fr;
  }
}

@media(max-width: 980px){
  .explorer-body{
    grid-template-columns: 1fr;
  }
  .explorer-facets{
    position: static;
    max-height: none;
  }
  .explorer-shell{ padding-bottom: 168px; }
}

@media(max-width: 720px){
  .explorer-hero{
    padding:72px 6vw 28px;
  }

  /* Facets: reduce decoration, keep readable. */
  .facet-panel{ border-radius: 12px; }
  .facet-toggle{
    padding: 10px 12px;
    font-weight: 600;
    font-size: 1rem;
  }
  .facet-toggle::after{
    font-size: 0.95rem;
    opacity: 0.65;
  }
  .facet-content{ padding: 8px 12px 12px; }
  .tree-filter{ margin-bottom: 8px; gap: 6px; }
  .tree-filter-input{ padding: 8px 9px; font-size: 0.9rem; border-radius: 12px; }
  .tree-filter-clear{ width: 30px; height: 30px; border-radius: 10px; }

  .tree{ gap: 5px; padding-bottom: 8px; }
  .tree-node{
    border-radius: 12px;
    padding: 5px 7px 4px;
    background: transparent;
    border-color: rgba(255,255,255,0.06);
  }
  .tree-row{ gap: 5px; }
  .tree-row--parent{ grid-template-columns: 18px 1fr auto auto; }
  .tree-twist{
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: transparent;
    border-color: rgba(255,255,255,0.18);
  }
  .tree-twist-icon{
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 6px;
  }
  .tree-check{ gap: 6px; }
  .tree-check input[type="checkbox"]{ width: 14px; height: 14px; }
  .tree-count{ font-size: 0.78rem; }
  .tree-children{ padding-left: 20px; gap: 3px; }
  .tree-controls{ margin: 6px 0 8px; }
  .tree-more-btn{
    padding: 7px 9px;
    border-radius: 10px;
    font-weight: 600;
  }
  .tree-inline-btn{
    padding: 5px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: transparent;
  }

  .results-grid{
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* ------------------------------------------------------------------
   Parchment / paper theme overrides (scoped to Explorer)
-------------------------------------------------------------------*/
html[data-site-theme='parchment'] .explorer-shell{
  --paper-bg: #FDF6E3;
  --paper-surface: #EFEADD;
  --paper-border: #D7CFB8;
  --ink: #2D2D2D;
  --ink-muted: #544840;
  --accent-red: #C0392B;
  --accent-gold: #B7950B;

  /* Override shared site variables inside this page */
  --bg: var(--paper-bg);
  --surface: var(--paper-surface);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --border: var(--paper-border);
  --accent: var(--accent-gold);
  --accent-ink: var(--ink);

  background: var(--bg);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .muted{ color: var(--muted); }
html[data-site-theme='parchment'] .explorer-shell .text-muted{ color: var(--muted) !important; }
html[data-site-theme='parchment'] .explorer-shell .section-subtitle{
  color: var(--text);
  opacity: 0.94;
}
html[data-site-theme='parchment'] .explorer-shell .explorer-status{
  color: var(--muted);
  font-weight: 600;
}
html[data-site-theme='parchment'] .explorer-shell .pager-label{
  color: var(--muted);
  font-weight: 600;
}

html[data-site-theme='parchment'] .explorer-shell .explorer-hero{
  background:
    linear-gradient(rgba(253,246,227,0.56), rgba(253,246,227,0.72)),
    radial-gradient(120% 120% at 12% 10%, rgba(183,149,11,0.14), transparent 48%),
    radial-gradient(120% 120% at 80% -10%, rgba(192,57,43,0.10), transparent 45%),
    url('../images/web/ai-search.jpg');
  background-size: cover;
  background-position:center;
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-hero .eyebrow{
  color: var(--text);
  opacity: 0.82;
}
html[data-site-theme='parchment'] .explorer-shell .explorer-hero .muted{
  color: var(--text);
  opacity: 0.90;
}

html[data-site-theme='parchment'] .explorer-shell .explorer-search-input{
  background: rgba(239,234,221,0.85);
  border-color: var(--border);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-search-input::placeholder{
  color: rgba(107,94,85,0.85);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-search-input:focus{
  border-color: rgba(183,149,11,0.95);
  box-shadow: 0 0 0 3px rgba(183,149,11,0.22);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-search-btn{
  background: rgba(192,57,43,0.12);
  border-color: rgba(192,57,43,0.42);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-search-btn:hover{
  border-color: var(--accent-red);
  color: var(--accent-red);
}

html[data-site-theme='parchment'] .explorer-shell .facet-panel{
  background: rgba(239,234,221,0.92);
  border-color: var(--border);
}

html[data-site-theme='parchment'] .explorer-shell .facet-toggle{
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .tree-filter-input{
  background: rgba(253,246,227,0.86);
  border-color: var(--border);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .tree-filter-input:focus{
  border-color: rgba(183,149,11,0.95);
  box-shadow: 0 0 0 3px rgba(183,149,11,0.18);
}

html[data-site-theme='parchment'] .explorer-shell .tree-filter-clear{
  background: rgba(253,246,227,0.70);
  border-color: var(--border);
  color: var(--muted);
}

html[data-site-theme='parchment'] .explorer-shell .tree-filter-clear:hover{
  border-color: var(--accent);
  color: var(--accent);
}

html[data-site-theme='parchment'] .explorer-shell .tree-mark{
  background: rgba(183,149,11,0.22);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .tree-node{
  background: rgba(253,246,227,0.70);
  border-color: rgba(215,207,184,0.85);
}

html[data-site-theme='parchment'] .explorer-shell .tree-twist{
  border-color: rgba(215,207,184,0.95);
  background: rgba(253,246,227,0.70);
}

html[data-site-theme='parchment'] .explorer-shell .tree-twist-icon{
  border-left-color: rgba(45,45,45,0.72);
}

html[data-site-theme='parchment'] .explorer-shell .tree-count{
  color: var(--muted);
}

html[data-site-theme='parchment'] .explorer-shell .tree-more-btn,
html[data-site-theme='parchment'] .explorer-shell .tree-inline-btn{
  border-color: rgba(215,207,184,0.95);
  background: rgba(253,246,227,0.65);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .tree-more-btn:hover,
html[data-site-theme='parchment'] .explorer-shell .tree-inline-btn:hover{
  border-color: var(--accent);
  color: var(--accent);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-surface,
html[data-site-theme='parchment'] .explorer-shell .panel-surface{
  background: rgba(239,234,221,0.92);
  border-color: var(--border);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-grid line{
  stroke: rgba(45,45,45,0.10);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-axis-line{
  stroke: rgba(45,45,45,0.18);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-ticks text{
  fill: rgba(107,94,85,0.95);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-scroll-hint{
  border-color: rgba(215,207,184,0.95);
  background: rgba(239,234,221,0.88);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-tooltip{
  border-color: rgba(215,207,184,0.95);
  background: rgba(239,234,221,0.96);
  color: var(--text);
  box-shadow: 0 14px 34px rgba(67,50,31,0.22);
}

html[data-site-theme='parchment'] .explorer-shell .timeline-graph.is-overflowing::before{
  background: linear-gradient(to right, rgba(249,245,230,0.92), rgba(249,245,230,0));
}

html[data-site-theme='parchment'] .explorer-shell .timeline-graph.is-overflowing::after{
  background: linear-gradient(to left, rgba(249,245,230,0.92), rgba(249,245,230,0));
}

html[data-site-theme='parchment'] .explorer-shell .results-grid .timeline-card{
  display:block;
  text-decoration:none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s ease, border-color .15s ease;
}

html[data-site-theme='parchment'] .explorer-shell .results-grid .timeline-card:hover{
  border-color: var(--trih-gold);
  box-shadow: 0 16px 34px rgba(67,50,31,0.14);
}

html[data-site-theme='parchment'] .explorer-shell .pill-date{
  display:inline-block;
  margin-top: 6px;
  background: rgba(183,149,11,0.14);
  border: 1px solid rgba(183,149,11,0.34);
  border-radius: 10px;
  padding: 4px 8px;
  color: var(--text);
  font-size: 0.88rem;
}

html[data-site-theme='parchment'] .explorer-shell .card-meta{
  color: var(--muted);
}

html[data-site-theme='parchment'] .explorer-shell .tab-btn{
  border-color: rgba(215,207,184,0.95);
  background: rgba(253,246,227,0.72);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .tab-btn[aria-selected="true"]{
  border-color: rgba(183,149,11,0.95);
  color: rgba(183,149,11,1);
}

html[data-site-theme='parchment'] .explorer-shell .chip-btn--facet{
  border-color: rgba(183,149,11,0.55);
  background: rgba(183,149,11,0.12);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .chip-btn--q{
  border-color: rgba(192,57,43,0.50);
  background: rgba(192,57,43,0.10);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-clear-btn{
  border-color: rgba(192,57,43,0.50);
  background: rgba(192,57,43,0.10);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-clear-btn:hover{
  border-color: rgba(192,57,43,0.95);
  color: rgba(192,57,43,0.95);
}

html[data-site-theme='parchment'] .explorer-shell .pager-btn{
  border-color: rgba(215,207,184,0.95);
  background: rgba(253,246,227,0.72);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .placeholder{
  color: var(--muted);
  border-color: rgba(215,207,184,0.95);
}

html[data-site-theme='parchment'] .explorer-shell .explorer-dock{
  background: rgba(239,234,221,0.98);
  border-top-color: rgba(215,207,184,0.95);
  box-shadow: 0 -14px 34px rgba(67,50,31,0.10);
}

html[data-site-theme='parchment'] .explorer-shell .entity-popover{
  background: rgba(239,234,221,0.98);
  border-color: rgba(215,207,184,0.95);
  color: var(--text);
  box-shadow: 0 18px 46px rgba(67,50,31,0.24);
}

html[data-site-theme='parchment'] .explorer-shell .entity-popover-ep{
  border-color: rgba(215,207,184,0.85);
  background: rgba(253,246,227,0.78);
  color: var(--text);
}

html[data-site-theme='parchment'] .explorer-shell .entity-popover-ep:hover{
  border-color: rgba(183,149,11,0.85);
  color: rgba(183,149,11,1);
}
