/* 2027 정부안 사업 조회 화면. site.css 위에 얹는 최소한의 조정만 둔다. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.explorer-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 16px;
  align-items: end;
  margin: 16px 0 8px;
}

.explorer-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.explorer-filters select,
.explorer-filters input {
  font: inherit;
  font-weight: 400;
  padding: 8px 10px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #fff;
  min-width: 0;
}

.explorer-filters .btn {
  align-self: end;
}

.explorer-status {
  font-size: 13px;
  color: #4a5a6a;
  margin: 4px 0 16px;
}

/* 넓은 표는 지면이 아니라 표 안에서 가로로 흐르게 한다. */
.explorer-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #fff;
}

.explorer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}

.explorer-table th,
.explorer-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #e6ebf1;
  white-space: pre-line;
}

.explorer-table thead th {
  background: #f2f5f8;
  font-size: 12.5px;
  border-bottom: 2px solid #cfd8e2;
  position: sticky;
  top: 0;
}

.explorer-table.compact {
  min-width: 0;
  font-size: 13px;
}

.explorer-table tbody tr:last-child td {
  border-bottom: 0;
}

.explorer-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.explorer-layer {
  white-space: nowrap;
  color: #45566a;
}

.explorer-link {
  font: inherit;
  font-weight: 600;
  color: #10406e;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.explorer-link:hover,
.explorer-link:focus-visible {
  color: #08243f;
}

.explorer-code,
.explorer-marker {
  display: block;
  font-size: 11.5px;
  margin-top: 3px;
  color: #5b6b7c;
  font-variant-numeric: tabular-nums;
}

.explorer-marker {
  color: #8a5a12;
}

.explorer-empty {
  padding: 24px 12px;
  color: #5b6b7c;
}

.explorer-detail {
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
  margin-top: 8px;
}

.explorer-detail section {
  margin-top: 18px;
}

.explorer-detail h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.explorer-detail-head h3 {
  font-size: 19px;
}

.explorer-meta {
  color: #4a5a6a;
  font-size: 13px;
  margin: 4px 0 0;
}

.explorer-note {
  font-size: 12.5px;
  color: #5b6b7c;
  margin: 10px 0 0;
}

.explorer-error {
  font-size: 13px;
  color: #8a2318;
}

.explorer-boundaries {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: #43505f;
}

.explorer-boundaries li {
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  .explorer-filters {
    grid-template-columns: 1fr;
  }
}


/* 쪽 이동. 조회 결과가 5,453건이라 반드시 있어야 한다. */
.explorer-pager{display:flex;gap:.5rem;align-items:center;justify-content:center;
  flex-wrap:wrap;margin:1.2rem 0 2rem}
.explorer-page-btn{padding:.45rem .9rem;font-size:.92rem;white-space:nowrap}
.explorer-page-btn:disabled{opacity:.35;cursor:default}
.explorer-page-pos{padding:0 .8rem;font-variant-numeric:tabular-nums;
  font-weight:600;white-space:nowrap}
@media (max-width:520px){
  .explorer-pager{gap:.35rem}
  .explorer-page-btn{padding:.4rem .6rem;font-size:.85rem}
}
