/* HS6 drill-down (Exports / Imports by Country) */
#overview-root[hidden], #hs6-drill[hidden] { display: none !important; }

.hs6-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.hs6-index-card h3 { margin: 0 0 8px; font-size: .92rem; color: #78350f; }
.hs6-index-card a {
  display: block;
  color: #78350f;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  padding: 7px 8px;
  border-radius: 8px;
  line-height: 1.3;
}
.hs6-index-card a:hover,
.hs6-index-card a:focus {
  background: #fde68a;
  text-decoration: underline;
  outline: none;
}
.hs6-index-card .hs6-code {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.hs6-back-row { margin: 0 0 12px; }
.hs6-back-row a {
  font-weight: 700;
  color: #92400e;
  text-decoration: none;
  font-size: .95rem;
}
.hs6-back-row a:hover, .hs6-back-row a:focus { text-decoration: underline; }
.hs6-drill-head h2 { margin: 0 0 4px; font-size: 1.2rem; color: #78350f; }
.hs6-drill-head .sub { margin: 0 0 12px; font-size: .88rem; color: #666; }

.drawer-mix-wrap tr.hs6.clickable { cursor: pointer; }
.drawer-mix-wrap tr.hs6.clickable:hover { background: #fde68a; }
.drawer-mix-wrap tr.hs6.clickable td:first-child {
  color: #92400e;
  text-decoration: underline;
  font-weight: 600;
}

html.pd-mobile .hs6-index-card a,
html.pd-mobile .hs6-back-row a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
html.pd-mobile .hs6-drill-head h2 { font-size: 1.02rem; }
html.pd-mobile #hs6-country-select { max-width: 100%; min-height: 40px; }
