.explorer-hero{padding:28px 0 22px;max-width:870px}.explorer-hero h1{font-size:43px;margin-bottom:15px}.explorer-hero>p{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 12px}.explorer-hero .explorer-updated{font-size:11px}.explorer-filters{display:flex;align-items:end;flex-wrap:wrap;gap:13px;padding:19px;background:white;border:1px solid var(--line);border-radius:10px}.explorer-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:650}.explorer-filters select,.explorer-filters input{font:12px system-ui;color:var(--ink);background:#fafbf7;border:1px solid #bdcbb8;border-radius:6px;min-height:39px;padding:8px 10px;max-width:100%;min-width:0}.explorer-filters select{width:270px}.explorer-filters button,.explorer-toolbar button,.explorer-map-footer button,.explorer-popup button{font:600 11px system-ui;color:var(--ink);padding:11px 14px;border:1px solid #b0c4a2;border-radius:6px;background:#edf3e5;cursor:pointer}.explorer-filters .filter-apply{background:#315c4c;border-color:#315c4c;color:#fff}.explorer-filters input[aria-invalid=true]{border-color:#b43d32}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0}.explorer-toolbar p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.explorer-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:18px;height:640px}.explorer-workspace>section{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden;min-width:0}#explorer-map-panel{display:flex;flex-direction:column;min-height:0}#explorer-map{flex:1;min-height:220px;isolation:isolate;z-index:0;background:#e7efdc}.explorer-map-footer{display:flex;gap:15px;align-items:center;padding:12px 14px;border-top:1px solid var(--line)}.explorer-map-footer span{font-size:10px;line-height:1.6;color:var(--muted)}.explorer-map-footer button{flex:none;padding:8px 10px}#explorer-list-panel{display:flex;flex-direction:column}.explorer-list-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 19px;border-bottom:1px solid var(--line);background:#edf3e5}.explorer-list-heading h2{font-size:15px;margin:0}.explorer-list-heading span{font-size:12px;font-weight:700}#explorer-list{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}.explorer-item{padding:18px}.explorer-item+.explorer-item{border-top:1px solid var(--line)}.explorer-item-meta{font-size:9px!important;color:var(--muted);line-height:1.7;margin:0 0 9px!important}.explorer-item h3{font-size:15px;line-height:1.5;margin:0 0 10px}.explorer-item h3 a{color:var(--ink);text-decoration:none}.explorer-item h3 a:hover{text-decoration:underline}.explorer-item>p{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 13px}.explorer-item-place{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;font-size:10px;color:var(--muted)}.focus-place{border:0;background:none;color:var(--accent);font:600 10px system-ui;cursor:pointer;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.explorer-empty{padding:22px;font-size:13px;line-height:1.8;color:var(--muted)}.explorer-error{font-size:12px;color:#9a3029;line-height:1.7}.explorer-scope{font-size:11px;color:var(--muted);line-height:1.9;max-width:900px;margin:23px 0 0}.explorer-marker{display:flex;align-items:center;justify-content:center;background:#315c4c;border:3px solid #fff;border-radius:50%;color:#fff;font:700 12px/1 system-ui;box-shadow:0 2px 6px #17363855}.explorer-popup{font:12px/1.6 system-ui}.explorer-popup p{font-size:11px}.explorer-popup button{padding:7px 10px}.explorer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 38px}.explorer-entry{display:flex;align-items:center;gap:20px;border:1px solid #b9cbb0;border-radius:10px;background:#edf3e5;padding:22px;text-decoration:none}.explorer-entry h2{font-size:20px;margin:0 0 7px}.explorer-entry p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.explorer-entry b{margin-left:auto;font-size:22px}@media(max-width:1099px){.explorer-workspace{grid-template-columns:1fr;height:620px}.explorer-root:not([data-ready]) .explorer-workspace{height:auto}.explorer-root:not([data-ready]) #explorer-map{min-height:380px}.explorer-filters select{width:240px}}@media(max-width:699px){.explorer-hero{padding-top:20px}.explorer-hero h1{font-size:34px}.explorer-hero>p{font-size:13px}.explorer-hero .explorer-updated{font-size:10px}.explorer-filters{padding:15px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 10px}.explorer-filters label:first-child{grid-column:1/-1}.explorer-filters select{width:100%}.explorer-filters input{width:100%;font-size:11px;padding:8px}.explorer-filters button{padding:11px 8px;font-size:10px}.explorer-toolbar{gap:10px;padding:15px 0}.explorer-toolbar p{font-size:10px}.explorer-toolbar button{padding:10px 12px}.explorer-workspace{height:540px;max-height:76vh;min-height:380px}.explorer-map-footer{align-items:start;gap:9px;padding:10px}.explorer-map-footer span{font-size:9px}.explorer-list-heading{padding:15px}.explorer-item{padding:16px}.explorer-entry{padding:18px;gap:14px}.explorer-links{grid-template-columns:1fr;gap:12px}.explorer-entry h2{font-size:18px}.explorer-entry p{font-size:11px}.site-links a:last-child{display:inline}}
.nav-page:has(.explorer-root[data-explorer]) {
  padding-top: 14px;
}

[data-explorer] .explorer-hero {
  padding: 8px 0 12px;
}
[data-explorer] .explorer-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.15;
}
[data-explorer] .explorer-filters {
  display: block;
  padding: 12px;
}
.jobs-facets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px 10px;
}
[data-explorer] .jobs-facets label { min-width: 0; gap: 4px; }
[data-explorer] .jobs-facets > label:first-child { grid-column: auto; }
.jobs-facets .jobs-search { grid-column: 1 / -1; }
.explorer-root[data-explorer] .jobs-facets select,
.explorer-root[data-explorer] .jobs-facets input {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
}
.jobs-dates {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 10px;
}
.jobs-dates .range-filter {
  flex: 1 1 145px;
  max-width: 390px;
  min-width: 0;
}
.explorer-root[data-explorer] .jobs-dates summary {
  margin: 0;
  padding: 9px 8px;
  min-height: 40px;
  font-size: 13px;
  cursor: pointer;
}
.jobs-dates .range-fields {
  padding: 5px 0;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.jobs-dates .range-fields label { grid-column: auto; }
.jobs-dates button {
  min-height: 40px;
  padding: 8px 12px;
}
.explorer-root[data-explorer] .explorer-toolbar {
  padding: 10px 0;
  min-height: 0;
}
.explorer-root[data-explorer] #explorer-count {
  color: var(--ink);
  font-size: 13px;
}
.explorer-view-switch { display: none; }
.explorer-root[data-explorer] .explorer-workspace {
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 0;
  max-height: none;
  gap: 10px;
}
.explorer-root[data-explorer] #explorer-workspace-map {
  display: flex;
  flex: 1;
  min-height: 0;
}
.explorer-root[data-explorer] #explorer-map {
  height: clamp(235px, 37svh, 340px);
}
.explorer-screen-control button {
  background: #fff;
  border: 0;
  border-radius: 3px;
  color: var(--ink);
  cursor: pointer;
  font: 600 13px system-ui;
  min-height: 36px;
  padding: 7px 10px;
}
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #e7efdc;
}
#explorer-map-panel.explorer-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100dvh;
}
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) #explorer-map {
  height: auto;
}
/* Keep zoom and exit controls clear of the screen edges in the expanded map. */
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) .leaflet-top {
  top: env(safe-area-inset-top, 0px);
}
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) .leaflet-left {
  left: env(safe-area-inset-left, 0px);
}
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) .leaflet-right {
  right: env(safe-area-inset-right, 0px);
}
#explorer-map-panel:is(:fullscreen, .explorer-map-overlay) .leaflet-bottom {
  bottom: env(safe-area-inset-bottom, 0px);
}
body:has(.explorer-map-overlay) { overflow: hidden; }
.explorer-popup { overflow-wrap: anywhere; }

@media (pointer: coarse) {
  #explorer-map .leaflet-control-zoom a {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
  .explorer-screen-control button { min-height: 44px; }
}
.explorer-marker-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.explorer-marker-face > span {
  border-radius: 50%;
  background: #101c29;
  min-width: 17px;
  min-height: 17px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.explorer-type-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-inline-end: 5px;
  background: var(--type-color);
}
.explorer-root[data-explorer] #explorer-map-note {
  font-size: 12px;
  margin: 5px 8px;
}
.explorer-root[data-explorer] .explorer-list-heading { padding: 10px 14px; }
.explorer-root[data-explorer] .explorer-item { padding: 10px 14px 13px; }
.explorer-root[data-explorer] .explorer-item-meta { margin: 0 0 4px !important; }
.explorer-root[data-explorer] .explorer-item h3 { margin: 0 0 5px; }
.explorer-root[data-explorer] .explorer-item-place { font-size: 12px; }
.explorer-root[data-explorer] .explorer-item .explorer-conditions {
  color: var(--ink);
  font-size: 12px;
  margin: 2px 0 5px;
}
.explorer-root[data-explorer] .explorer-item-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
}
.explorer-reference { font-weight: 600; }
.explorer-marker-reference { border-style: dashed; }
.explorer-notice { display: inline-block; font-size: 12px; margin-inline-end: 12px; margin-top: 4px; }
.explorer-popup small { display: block; color: var(--muted); }
.auction-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(126px,1fr));
  gap: 7px 10px;
  margin: 8px 0 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7faf4;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.auction-facts dt { color: var(--muted); font-size: 11px; }
.auction-facts dd { margin: 2px 0 0; font-weight: 650; }
#explorer-filters #explorer-archive {
  margin-top: 6px;
  background: transparent;
  border: 0;
  padding: 7px 3px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1099px) {
  .explorer-view-switch:not([hidden]) {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 10px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
  }
  .explorer-view-switch button {
    min-height: 44px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    background: #edf3e5;
    color: var(--ink);
    font: 650 14px system-ui;
    cursor: pointer;
  }
  .explorer-view-switch button[aria-pressed="true"] {
    background: #315c4c;
    color: #fff;
  }
  .explorer-view-switch button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .explorer-root:has(.explorer-view-switch):not([data-mobile-view="map"]) #explorer-map-panel,
  .explorer-root[data-mobile-view="map"] #explorer-list-panel { display: none; }
  .explorer-root[data-explorer] #explorer-list {
    overflow: visible;
    overscroll-behavior: auto;
    flex: initial;
  }
  .explorer-root[data-explorer] :is(.explorer-item, #explorer-map-panel) {
    scroll-margin-block-start: 62px;
  }
  .explorer-root[data-explorer] #explorer-map {
    height: clamp(240px, 54svh, 460px);
  }
}

@media (max-width: 699px) {
  .explorer-root[data-explorer] .jobs-dates {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: start;
    gap: 6px;
  }
  .explorer-root[data-explorer] .jobs-dates .range-filter {
    grid-column: 1;
    max-width: none;
  }
  .explorer-root[data-explorer] .jobs-dates .range-filter[open] { grid-column: 1 / -1; }
  .explorer-root[data-explorer] .jobs-dates .filter-apply { grid-column: 2; }
  .explorer-root[data-explorer] #explorer-latest { grid-column: 3; }
  .explorer-root[data-explorer] .jobs-dates summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .jobs-search span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 360px) {
  body:has(.explorer-root[data-explorer="oposiciones"]) .site-links a[href="/boe/oposiciones/"],
  body:has(.explorer-root[data-explorer="subastas"]) .site-links a[href="/boe/subastas/"] { display: none; }
  .explorer-root[data-explorer] .explorer-filters { padding: 9px; }
  .explorer-root[data-explorer] .explorer-toolbar { gap: 6px; }
}
@media (min-width: 760px) {
  .jobs-facets { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .jobs-facets .jobs-search { grid-column: auto / span 2; }
}
@media (min-width: 760px) {
  .explorer-root[data-explorer="subastas"] .jobs-facets {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);
  }
  .explorer-root[data-explorer="subastas"] .jobs-search { grid-column: auto; }
}
.site-section-heading,
#explorer-applied,
.explorer-data-link { display: none; }
.explorer-sidebar { display: contents; }

@media (min-width: 1100px) {
  body:has(.explorer-root[data-explorer]) {
    display: grid;
    grid-template-rows: auto minmax(0,1fr);
    height: 100dvh;
    overflow: hidden;
  }
  body:has(.explorer-root[data-explorer]) .header-inner {
    max-width: none;
    padding-inline: clamp(24px, 2vw, 48px);
    gap: 16px;
  }
  body:has([data-explorer="oposiciones"]) .site-links a[href="/boe/oposiciones/"],
  body:has([data-explorer="subastas"]) .site-links a[href="/boe/subastas/"] { display: none; }
  .site-section-heading {
    display: block;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--line);
  }
  .nav-page:has(.explorer-root[data-explorer]) {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  .nav-page:has(.explorer-root[data-explorer]) > :is(.nav-breadcrumb, .article-footer),
  .explorer-root[data-explorer] .explorer-hero { display: none; }
  .explorer-root[data-explorer] {
    --panel-gap: clamp(12px,1.1vw,22px);
    --filters-width: clamp(296px,25vw,408px);
    --listing-width: clamp(365px,35vw,760px);
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 0;
  }
  .explorer-root[data-explorer] #explorer-map { height: auto; }
  .explorer-root[data-explorer] .explorer-workspace {
    display: block;
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }
  .explorer-root[data-explorer] #explorer-map-panel:not(:is(:fullscreen,.explorer-map-overlay)) {
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 0;
  }
  .explorer-root[data-explorer] #explorer-map-panel:not(:is(:fullscreen,.explorer-map-overlay)) .leaflet-top.leaflet-left {
    left: calc(var(--filters-width) + var(--panel-gap));
  }
  .explorer-root[data-explorer] #explorer-map-panel:not(:is(:fullscreen,.explorer-map-overlay)) .leaflet-right {
    right: calc(var(--listing-width) + var(--panel-gap));
  }
  .explorer-root[data-explorer] #explorer-map-panel:not(:is(:fullscreen,.explorer-map-overlay)) #explorer-map-note {
    position: absolute;
    left: calc(var(--filters-width) + var(--panel-gap) * 2);
    bottom: var(--panel-gap);
    max-width: calc(100% - var(--filters-width) - var(--listing-width) - var(--panel-gap) * 4);
    margin: 0;
    padding: 7px 9px;
    border-radius: 6px;
    background: white;
  }
  .explorer-root[data-explorer] #explorer-list-panel {
    position: absolute;
    inset: var(--panel-gap) var(--panel-gap) var(--panel-gap) auto;
    width: var(--listing-width);
    min-height: 0;
    z-index: 2;
  }
  .explorer-root[data-explorer] .explorer-sidebar {
    display: grid;
    grid-template-rows: minmax(0,1fr) auto;
    gap: var(--panel-gap);
    position: absolute;
    inset: var(--panel-gap) auto var(--panel-gap) var(--panel-gap);
    width: var(--filters-width);
    pointer-events: none;
    z-index: 3;
  }
  .explorer-root[data-explorer] :is(#explorer-filters, .explorer-toolbar, #explorer-list-panel) {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 22px #192f2924;
  }
  .explorer-root[data-explorer] #explorer-filters {
    align-self: start;
    max-height: 100%;
    padding: 14px;
    overflow: auto;
    pointer-events: auto;
  }
  .explorer-root[data-explorer] .jobs-facets {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .explorer-root[data-explorer] .jobs-search { grid-column: 1 / -1; }
  .explorer-root[data-explorer] .jobs-dates {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 6px;
  }
  .explorer-root[data-explorer] .jobs-dates .range-filter[open] { grid-column: 1 / -1; }
  .explorer-root[data-explorer] .jobs-dates .range-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .explorer-root[data-explorer] .jobs-dates .range-fields input { width: 100%; }
  .explorer-root[data-explorer] .jobs-dates summary {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .explorer-root[data-explorer] .jobs-dates .filter-apply { grid-column: 2; }
  .explorer-root[data-explorer] #explorer-latest { grid-column: 3; }
  .explorer-root[data-explorer] .explorer-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: baseline;
    gap: 7px 10px;
    padding: 12px 14px;
    max-height: min(150px, 32vh);
    overflow: auto;
    pointer-events: auto;
  }
  .explorer-root[data-explorer] #explorer-count { font-weight: 650; }
  #explorer-applied {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 4px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: var(--muted);
    overflow-wrap: anywhere;
  }
  .explorer-data-link {
    display: block;
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
    font-size: 12px;
  }
  .explorer-root[data-explorer] #explorer-list:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
}
